Home
last modified time | relevance | path

Searched refs:json_flags (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/shared/ !
Dgroup-record.c170 static int group_record_augment(GroupRecord *h, JsonDispatchFlags json_flags) { in group_record_augment() argument
181 return json_log_oom(h->json, json_flags); in group_record_augment()
218 JsonDispatchFlags json_flags = USER_RECORD_LOAD_FLAGS_TO_JSON_DISPATCH_FLAGS(load_flags); in group_record_load() local
227 …return json_log(v, json_flags, SYNTHETIC_ERRNO(EINVAL), "Secret and privileged section currently n… in group_record_load()
233 r = json_dispatch(h->json, group_dispatch_table, NULL, json_flags, h); in group_record_load()
240 … r = dispatch_per_machine("perMachine", json_variant_by_key(h->json, "perMachine"), json_flags, h); in group_record_load()
244 r = dispatch_binding("binding", json_variant_by_key(h->json, "binding"), json_flags, h); in group_record_load()
248 r = dispatch_status("status", json_variant_by_key(h->json, "status"), json_flags, h); in group_record_load()
253 …return json_log(h->json, json_flags, SYNTHETIC_ERRNO(EINVAL), "Group name field missing, refusing.… in group_record_load()
255 r = group_record_augment(h, json_flags); in group_record_load()
Duser-record.c1344 static int user_record_augment(UserRecord *h, JsonDispatchFlags json_flags) { in user_record_augment() argument
1357 return json_log_oom(h->json, json_flags); in user_record_augment()
1367 return json_log_oom(h->json, json_flags); in user_record_augment()
1373 … return json_log(h->json, json_flags, r, "Failed to determine default image path: %m"); in user_record_augment()
1397 JsonDispatchFlags json_flags = USER_RECORD_LOAD_FLAGS_TO_JSON_DISPATCH_FLAGS(load_flags); in user_group_record_mangle() local
1416 …return json_log(v, json_flags, SYNTHETIC_ERRNO(EBADMSG), "Record is not a JSON object, refusing."); in user_group_record_mangle()
1419 … return json_log(v, json_flags, SYNTHETIC_ERRNO(EINVAL), "Nothing allowed in record, refusing."); in user_group_record_mangle()
1422 …return json_log(v, json_flags, SYNTHETIC_ERRNO(EINVAL), "Stripping everything from record, refusin… in user_group_record_mangle()
1434 … return json_log(w, json_flags, r, "Failed to remove field from variant: %m"); in user_group_record_mangle()
1442 …return json_log(e, json_flags, SYNTHETIC_ERRNO(EBADMSG), "Record contains '%s' field, which is not… in user_group_record_mangle()
[all …]
Dformat-table.h130 int table_print_json(Table *t, FILE *f, JsonFormatFlags json_flags);
/systemd-251/src/analyze/ !
Danalyze-inspect-elf.c14 static int analyze_elf(char **filenames, JsonFormatFlags json_flags) { in analyze_elf() argument
117 if (json_flags & JSON_FORMAT_OFF) { in analyze_elf()
124 json_variant_dump(package_metadata, json_flags, stdout, NULL); in analyze_elf()