Home
last modified time | relevance | path

Searched refs:strcmp_ptr (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/test/
Dtest-string-util.c362 TEST(strcmp_ptr) { in TEST() argument
363 assert_se(strcmp_ptr(NULL, NULL) == 0); in TEST()
364 assert_se(strcmp_ptr("", NULL) > 0); in TEST()
365 assert_se(strcmp_ptr("foo", NULL) > 0); in TEST()
366 assert_se(strcmp_ptr(NULL, "") < 0); in TEST()
367 assert_se(strcmp_ptr(NULL, "bar") < 0); in TEST()
368 assert_se(strcmp_ptr("foo", "bar") > 0); in TEST()
369 assert_se(strcmp_ptr("bar", "baz") < 0); in TEST()
370 assert_se(strcmp_ptr("foo", "foo") == 0); in TEST()
371 assert_se(strcmp_ptr("", "") == 0); in TEST()
/systemd-251/src/fundamental/
Dstring-util-fundamental.h31 static inline sd_int strcmp_ptr(const sd_char *a, const sd_char *b) { in strcmp_ptr() function
46 return strcmp_ptr(a, b) == 0; in streq_ptr()
Dstring-util-fundamental.c127 return strcmp_ptr(a, b); in strverscmp_improved()
/systemd-251/src/network/tc/
Dtclass.c147 return strcmp_ptr(tclass_get_tca_kind(a), tclass_get_tca_kind(b)); in tclass_compare_func()
Dqdisc.c177 return strcmp_ptr(qdisc_get_tca_kind(a), qdisc_get_tca_kind(b)); in qdisc_compare_func()
/systemd-251/src/basic/
Dstrv.c766 r = strcmp_ptr(*a, *b); in strv_compare()
/systemd-251/src/network/
Dnetworkd-routing-policy-rule.c279 r = strcmp_ptr(a->iif, b->iif); in routing_policy_rule_compare_func()
283 r = strcmp_ptr(a->oif, b->oif); in routing_policy_rule_compare_func()
Dnetworkd-address.c366 r = strcmp_ptr(a1->label, a2->label); in address_compare_func()
/systemd-251/src/busctl/
Dbusctl.c757 d = strcmp_ptr(x->interface, y->interface); in member_compare_func()
765 return strcmp_ptr(x->name, y->name); in member_compare_func()
/systemd-251/src/shared/
Dbootspec.c321 r = strcmp_ptr(a->machine_id, b->machine_id); in boot_entry_compare()
/systemd-251/src/boot/efi/
Dboot.c1701 r = strcmp_ptr(a->machine_id, b->machine_id); in config_entry_compare()
/systemd-251/src/resolve/
Dresolvectl.c104 return strcmp_ptr(a->name, b->name); in interface_info_compare()