Searched refs:strcmp_ptr (Results 1 - 4 of 4) sorted by relevance

/systemd/src/basic/
H A Dstring-util.h46 int strcmp_ptr(const char *a, const char *b) _pure_;
49 return strcmp_ptr(a, b) == 0;
H A Dstring-util.c33 int strcmp_ptr(const char *a, const char *b) { function
/systemd/src/test/
H A Dtest-util.c1590 assert_se(strcmp_ptr(NULL, NULL) == 0);
1591 assert_se(strcmp_ptr("", NULL) > 0);
1592 assert_se(strcmp_ptr("foo", NULL) > 0);
1593 assert_se(strcmp_ptr(NULL, "") < 0);
1594 assert_se(strcmp_ptr(NULL, "bar") < 0);
1595 assert_se(strcmp_ptr("foo", "bar") > 0);
1596 assert_se(strcmp_ptr("bar", "baz") < 0);
1597 assert_se(strcmp_ptr("foo", "foo") == 0);
1598 assert_se(strcmp_ptr("", "") == 0);
/systemd/src/libsystemd/sd-bus/
H A Dbusctl.c664 d = strcmp_ptr(x->interface, y->interface);
672 return strcmp_ptr(x->name, y->name);

Completed in 1898 milliseconds