/systemd-251/src/shared/ |
D | bus-print-properties.c | 16 int bus_print_property_value(const char *name, const char *expected_value, BusPrintPropertyFlags fl… in bus_print_property_value() argument 19 if (expected_value && !streq_ptr(expected_value, value)) in bus_print_property_value() 33 int bus_print_property_valuef(const char *name, const char *expected_value, BusPrintPropertyFlags f… in bus_print_property_valuef() argument 47 return bus_print_property_value(name, expected_value, flags, s); in bus_print_property_valuef() 50 static int bus_print_property(const char *name, const char *expected_value, sd_bus_message *m, BusP… in bus_print_property() argument 77 … bus_print_property_value(name, expected_value, flags, good ? s : "[unprintable]"); in bus_print_property() 90 if (expected_value && parse_boolean(expected_value) != b) in bus_print_property() 110 bus_print_property_value(name, expected_value, flags, FORMAT_TIMESTAMP(u)); in bus_print_property() 113 … bus_print_property_value(name, expected_value, flags, FORMAT_TIMESPAN(u, 0)); in bus_print_property() 116 bus_print_property_valuef(name, expected_value, flags, "0x%"PRIx64, u); in bus_print_property() [all …]
|
D | bus-print-properties.h | 16 typedef int (*bus_message_print_t) (const char *name, const char *expected_value, sd_bus_message *m… 18 int bus_print_property_value(const char *name, const char *expected_value, BusPrintPropertyFlags fl… 19 int bus_print_property_valuef(const char *name, const char *expected_value, BusPrintPropertyFlags f…
|
/systemd-251/test/units/ |
D | testsuite-54.sh | 27 expected_value=strangevalue 35 expected_value=othervalue 39 expected_value="" 44 [ "$(systemd-creds --system cat "$expected_credential")" = "$expected_value" ] 47 …expected_credential" --pipe --wait systemd-creds cat "$expected_credential")" = "$expected_value" ] 50 …Credential=miau:"$expected_credential" --pipe --wait systemd-creds cat miau)" = "$expected_value" ] 53 …cted_credential":zzz --pipe --wait systemd-creds cat "$expected_credential")" = "$expected_value" ]
|
/systemd-251/src/systemctl/ |
D | systemctl-show.c | 972 static int print_property(const char *name, const char *expected_value, sd_bus_message *m, BusPrint… in print_property() argument 997 … bus_print_property_valuef(name, expected_value, flags, "%"PRIi32, i); in print_property() 999 bus_print_property_value(name, expected_value, flags, "[not set]"); in print_property() 1009 … bus_print_property_valuef(name, expected_value, flags, "%s", strna(mpol_to_string(i))); in print_property() 1023 …bus_print_property_value(name, expected_value, flags, FORMAT_TIMESTAMP_STYLE(timestamp, arg_timest… in print_property() 1039 … bus_print_property_valuef(name, expected_value, flags, "%"PRIu32, u); in print_property() 1041 bus_print_property_value(name, expected_value, flags, NULL); in print_property() 1052 bus_print_property_value(name, expected_value, flags, s); in print_property() 1064 … bus_print_property_valuef(name, expected_value, flags, "%s \"%s\"", strempty(a), strempty(b)); in print_property() 1066 bus_print_property_value(name, expected_value, flags, NULL); in print_property() [all …]
|
/systemd-251/src/test/ |
D | test-udev-util.c | 11 static void test_udev_rule_parse_value_one(const char *in, const char *expected_value, int expected… in test_udev_rule_parse_value_one() argument 16 log_info("/* %s (%s, %s, %d) */", __func__, in, expected_value, expected_retval); in test_udev_rule_parse_value_one() 25 assert_se(streq_ptr(value, expected_value)); in test_udev_rule_parse_value_one()
|
/systemd-251/src/login/ |
D | loginctl.c | 693 static int print_property(const char *name, const char *expected_value, sd_bus_message *m, BusPrint… in print_property() argument 716 bus_print_property_value(name, expected_value, flags, s); in print_property() 732 bus_print_property_valuef(name, expected_value, flags, UID_FMT, uid); in print_property()
|
/systemd-251/src/timedate/ |
D | timedatectl.c | 701 static int print_timesync_property(const char *name, const char *expected_value, sd_bus_message *m,… in print_timesync_property() argument 758 bus_print_property_value(name, expected_value, flags, str); in print_timesync_property()
|