/systemd-251/src/userdb/ |
D | userdbctl.c | 38 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 88 json_variant_dump(ur->json, arg_json_format_flags, NULL, 0); in show_user() 449 … r = table_print_with_pager(table, arg_json_format_flags, arg_pager_flags, arg_legend); in display_user() 493 json_variant_dump(gr->json, arg_json_format_flags, NULL, 0); in show_group() 758 … r = table_print_with_pager(table, arg_json_format_flags, arg_pager_flags, arg_legend); in display_group() 801 json_variant_dump(v, arg_json_format_flags, NULL, NULL); in show_membership() 906 … r = table_print_with_pager(table, arg_json_format_flags, arg_pager_flags, arg_legend); in display_memberships() 977 r = table_print_with_pager(t, arg_json_format_flags, arg_pager_flags, arg_legend); in display_services() 1214 …arg_json_format_flags = arg_output == OUTPUT_JSON ? JSON_FORMAT_PRETTY|JSON_FORMAT_COLOR_AUTO : JS… in parse_argv() 1218 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv() [all …]
|
/systemd-251/src/dissect/ |
D | dissect.c | 57 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 282 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv() 418 if (arg_json_format_flags & (JSON_FORMAT_OFF|JSON_FORMAT_PRETTY|JSON_FORMAT_PRETTY_AUTO)) in action_dissect() 421 if (arg_json_format_flags & JSON_FORMAT_OFF) in action_dissect() 426 else if (arg_json_format_flags & JSON_FORMAT_OFF) in action_dissect() 429 if (arg_json_format_flags & JSON_FORMAT_OFF) in action_dissect() 445 else if (arg_json_format_flags & JSON_FORMAT_OFF) { in action_dissect() 599 if (arg_json_format_flags & JSON_FORMAT_OFF) { in action_dissect() 616 json_variant_dump(v, arg_json_format_flags, stdout, NULL); in action_dissect()
|
/systemd-251/src/creds/ |
D | creds.c | 37 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 223 if ((arg_json_format_flags & JSON_FORMAT_OFF) && table_get_rows(t) <= 1) { in verb_list() 228 return table_print_with_pager(t, arg_json_format_flags, arg_pager_flags, arg_legend); in verb_list() 320 arg_json_format_flags != JSON_FORMAT_OFF) { in write_blob() 336 json_variant_dump(v, arg_json_format_flags, f, NULL); in write_blob() 759 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv()
|
/systemd-251/src/hostname/ |
D | hostnamectl.c | 35 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 367 if (arg_json_format_flags != JSON_FORMAT_OFF) { in show_status() 393 json_variant_dump(v, arg_json_format_flags, NULL, NULL); in show_status() 649 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv()
|
/systemd-251/src/busctl/ |
D | busctl.c | 37 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 357 return table_print_with_pager(table, arg_json_format_flags, arg_pager_flags, arg_legend); in list_bus_names() 1202 json_variant_dump(w, arg_json_format_flags, f, NULL); in message_json() 1328 …return monitor(argc, argv, (arg_json_format_flags & JSON_FORMAT_OFF) ? message_dump : message_json… in verb_monitor() 2044 if (!FLAGS_SET(arg_json_format_flags, JSON_FORMAT_OFF)) { in call() 2047 if (arg_json_format_flags & (JSON_FORMAT_PRETTY|JSON_FORMAT_PRETTY_AUTO)) in call() 2054 json_variant_dump(v, arg_json_format_flags, NULL, NULL); in call() 2152 if (!FLAGS_SET(arg_json_format_flags, JSON_FORMAT_OFF)) { in get_property() 2155 if (arg_json_format_flags & (JSON_FORMAT_PRETTY|JSON_FORMAT_PRETTY_AUTO)) in get_property() 2162 json_variant_dump(v, arg_json_format_flags, NULL, NULL); in get_property() [all …]
|
/systemd-251/src/sysext/ |
D | sysext.c | 41 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 233 r = table_print_with_pager(t, arg_json_format_flags, arg_pager_flags, arg_legend); in verb_status() 854 if ((arg_json_format_flags & JSON_FORMAT_OFF) && hashmap_isempty(images)) { in verb_list() 876 return table_print_with_pager(t, arg_json_format_flags, arg_pager_flags, arg_legend); in verb_list() 967 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv()
|
/systemd-251/src/analyze/ |
D | analyze.c | 104 JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 437 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv() 495 …if (arg_json_format_flags != JSON_FORMAT_OFF && !STRPTR_IN_SET(argv[optind], "security", "inspect-… in parse_argv()
|
D | analyze.h | 36 extern JsonFormatFlags arg_json_format_flags;
|
D | analyze-inspect-elf.c | 133 return analyze_elf(strv_skip(argv, 1), arg_json_format_flags); in verb_elf_inspection()
|
D | analyze-security.c | 2952 arg_json_format_flags, in verb_security()
|
/systemd-251/src/sysupdate/ |
D | sysupdate.c | 40 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 455 return table_print_with_pager(t, arg_json_format_flags, arg_pager_flags, arg_legend); in context_show_table() 485 if (arg_json_format_flags & (JSON_FORMAT_OFF|JSON_FORMAT_PRETTY|JSON_FORMAT_PRETTY_AUTO)) in context_show_version() 488 if (FLAGS_SET(arg_json_format_flags, JSON_FORMAT_OFF)) in context_show_version() 661 return table_print_with_pager(t, arg_json_format_flags, arg_pager_flags, arg_legend); in context_show_version() 1311 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv()
|
/systemd-251/src/home/ |
D | homectl.c | 70 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 182 if (table_get_rows(table) > 1 || !FLAGS_SET(arg_json_format_flags, JSON_FORMAT_OFF)) { in list_homes() 187 … r = table_print_with_pager(table, arg_json_format_flags, arg_pager_flags, arg_legend); in list_homes() 192 if (arg_legend && (arg_json_format_flags & JSON_FORMAT_OFF)) { in list_homes() 651 if (arg_json_format_flags & JSON_FORMAT_OFF) in dump_home_record() 667 json_variant_dump(hr->json, arg_json_format_flags, stdout, NULL); in dump_home_record() 3634 arg_json_format_flags = JSON_FORMAT_PRETTY_AUTO|JSON_FORMAT_COLOR_AUTO; in parse_argv() 3638 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv() 3652 arg_json_format_flags &= ~JSON_FORMAT_OFF; in parse_argv() 3653 if (arg_json_format_flags == 0) in parse_argv() [all …]
|
/systemd-251/src/coredump/ |
D | coredumpctl.c | 52 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 327 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv() 895 r = table_print_with_pager(t, arg_json_format_flags, arg_pager_flags, arg_legend); in dump_list()
|
/systemd-251/src/boot/ |
D | bootctl.c | 76 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 1470 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv() 1733 if (config.n_entries == 0 && FLAGS_SET(arg_json_format_flags, JSON_FORMAT_OFF)) { in verb_list() 1739 return show_boot_entries(&config, arg_json_format_flags); in verb_list()
|
/systemd-251/src/network/ |
D | networkctl.c | 80 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 111 json_variant_dump(v, arg_json_format_flags, NULL, NULL); in dump_manager_description() 156 json_variant_dump(i, arg_json_format_flags, NULL, NULL); in dump_link_description() 795 if (arg_json_format_flags != JSON_FORMAT_OFF) { in list_links() 2389 if (arg_json_format_flags != JSON_FORMAT_OFF) { in link_status() 2893 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv()
|
/systemd-251/src/journal/ |
D | journalctl.c | 88 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 583 … arg_json_format_flags = output_mode_to_json_format_flags(arg_output) | JSON_FORMAT_COLOR_AUTO; in parse_argv() 585 arg_json_format_flags = JSON_FORMAT_OFF; in parse_argv() 1489 r = table_print_with_pager(table, arg_json_format_flags, arg_pager_flags, !arg_quiet); in list_boots()
|
/systemd-251/src/partition/ |
D | repart.c | 107 static JsonFormatFlags arg_json_format_flags = JSON_FORMAT_OFF; variable 1991 if ((arg_json_format_flags & JSON_FORMAT_OFF) && context->n_partitions == 0) { in context_dump_partitions() 2001 if (arg_json_format_flags & JSON_FORMAT_OFF) in context_dump_partitions() 2065 if ((arg_json_format_flags & JSON_FORMAT_OFF) && (sum_padding > 0 || sum_size > 0)) { in context_dump_partitions() 2090 return table_print_with_pager(t, arg_json_format_flags, arg_pager_flags, arg_legend); in context_dump_partitions() 3458 !FLAGS_SET(arg_json_format_flags, JSON_FORMAT_OFF)) { in context_write_partition_table() 3464 if (arg_json_format_flags & JSON_FORMAT_OFF) in context_write_partition_table() 4288 r = parse_json_argument(optarg, &arg_json_format_flags); in parse_argv()
|