Searched refs:strcmp_ptr (Results 1 – 12 of 12) sorted by relevance
/systemd-251/src/test/ |
D | test-string-util.c | 362 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/ |
D | string-util-fundamental.h | 31 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()
|
D | string-util-fundamental.c | 127 return strcmp_ptr(a, b); in strverscmp_improved()
|
/systemd-251/src/network/tc/ |
D | tclass.c | 147 return strcmp_ptr(tclass_get_tca_kind(a), tclass_get_tca_kind(b)); in tclass_compare_func()
|
D | qdisc.c | 177 return strcmp_ptr(qdisc_get_tca_kind(a), qdisc_get_tca_kind(b)); in qdisc_compare_func()
|
/systemd-251/src/basic/ |
D | strv.c | 766 r = strcmp_ptr(*a, *b); in strv_compare()
|
/systemd-251/src/network/ |
D | networkd-routing-policy-rule.c | 279 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()
|
D | networkd-address.c | 366 r = strcmp_ptr(a1->label, a2->label); in address_compare_func()
|
/systemd-251/src/busctl/ |
D | busctl.c | 757 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/ |
D | bootspec.c | 321 r = strcmp_ptr(a->machine_id, b->machine_id); in boot_entry_compare()
|
/systemd-251/src/boot/efi/ |
D | boot.c | 1701 r = strcmp_ptr(a->machine_id, b->machine_id); in config_entry_compare()
|
/systemd-251/src/resolve/ |
D | resolvectl.c | 104 return strcmp_ptr(a->name, b->name); in interface_info_compare()
|