Lines Matching refs:fieldlen
689 int fieldlen; in output_verbose() local
698 fieldlen = c - (const char*) data; in output_verbose()
699 if (!journal_field_valid(data, fieldlen, true)) in output_verbose()
702 r = field_set_test(output_fields, data, fieldlen); in output_verbose()
708 valuelen = length - 1 - fieldlen; in output_verbose()
724 fprintf(f, " %s%.*s=", on, fieldlen, (const char*)data); in output_verbose()
725 print_multiline(f, 4 + fieldlen + 1, 0, OUTPUT_FULL_WIDTH, 0, false, in output_verbose()
790 size_t fieldlen; in output_export() local
801 fieldlen = c - (const char*) data; in output_export()
802 if (!journal_field_valid(data, fieldlen, true)) in output_export()
805 r = field_set_test(output_fields, data, fieldlen); in output_export()
816 fwrite(data, fieldlen, 1, f); in output_export()
818 le64 = htole64(length - fieldlen - 1); in output_export()
820 fwrite(c + 1, length - fieldlen - 1, 1, f); in output_export()
957 size_t fieldlen; in update_json_data_split() local
971 fieldlen = eq - (const char*) data; in update_json_data_split()
972 if (!journal_field_valid(data, fieldlen, true)) in update_json_data_split()
975 name = strndupa_safe(data, fieldlen); in update_json_data_split()
979 return update_json_data(h, flags, name, eq + 1, size - fieldlen - 1); in update_json_data_split()