Lines Matching refs:expected_value
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()
134 bus_print_property_value(name, expected_value, flags, result); in bus_print_property()
143 bus_print_property_value(name, expected_value, flags, result); in bus_print_property()
152 bus_print_property_value(name, expected_value, flags, s); in bus_print_property()
160 bus_print_property_value(name, expected_value, flags, "[not set]"); in bus_print_property()
167 bus_print_property_value(name, expected_value, flags, "infinity"); in bus_print_property()
169 bus_print_property_value(name, expected_value, flags, "[no data]"); in bus_print_property()
171 bus_print_property_valuef(name, expected_value, flags, "%"PRIu64, u); in bus_print_property()
183 bus_print_property_valuef(name, expected_value, flags, "%"PRIi64, i); in bus_print_property()
195 bus_print_property_valuef(name, expected_value, flags, "%04o", u); in bus_print_property()
199 bus_print_property_value(name, expected_value, flags, "[not set]"); in bus_print_property()
201 … bus_print_property_valuef(name, expected_value, flags, "%"PRIu32, u); in bus_print_property()
204 bus_print_property_value(name, expected_value, flags, "[not set]"); in bus_print_property()
206 … bus_print_property_valuef(name, expected_value, flags, "%"PRIu32, u); in bus_print_property()
208 bus_print_property_valuef(name, expected_value, flags, "%"PRIu32, u); in bus_print_property()
220 bus_print_property_valuef(name, expected_value, flags, "%"PRIi32, i); in bus_print_property()
231 bus_print_property_valuef(name, expected_value, flags, "%g", d); in bus_print_property()
342 const char *name, *contents, *expected_value = NULL; in bus_message_print_all_properties() local
359 (expected_value = strv_find_startswith(filter, name_with_equal))) { in bus_message_print_all_properties()
369 r = func(name, expected_value, m, flags); in bus_message_print_all_properties()
371 r = bus_print_property(name, expected_value, m, flags); in bus_message_print_all_properties()
375 … if (FLAGS_SET(flags, BUS_PRINT_PROPERTY_SHOW_EMPTY) && !expected_value) in bus_message_print_all_properties()