Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 33) sorted by relevance

12

/systemd-251/src/fundamental/
Dstring-util-fundamental.h15 #define strcmp(a, b) StrCmp((a), (b)) macro
24 #define streq(a,b) (strcmp((a),(b)) == 0)
33 return strcmp(a, b); in strcmp_ptr()
Dstring-util-fundamental.c53 if (strcmp(s + sl - pl, postfix) != 0) in endswith()
/systemd-251/man/
Dinotify-watch-tmp.c30 strcmp(event->name, "exit") == 0) in inotify_handler()
/systemd-251/src/systemctl/
Dsystemctl-list-units.c344 r = strcmp(a->path, b->path); in socket_info_compare()
348 return strcmp(a->type, b->type); in socket_info_compare()
597 return strcmp(a->id, b->id); in timer_info_compare()
/systemd-251/src/libudev/
Dlibudev-list.c135 return strcmp((*a)->name, (*b)->name); in udev_list_entry_compare_func()
/systemd-251/src/basic/
Dhash-funcs.h77 #define string_compare_func strcmp
Dconf-files.c136 return strcmp(basename(*a), basename(*b)); in base_cmp()
Drecurse-dir.c15 return strcmp((*a)->d_name, (*b)->d_name); in sort_func()
Dpath-util.c444 return strcmp(a, b); in path_compare()
Dstrv.c744 return strcmp(*a, *b); in str_compare()
/systemd-251/src/libsystemd/sd-journal/
Djournal-vacuum.c47 return strcmp(a->filename, b->filename); in vacuum_compare()
Dcatalog.c71 return strcmp(a->language, b->language); in catalog_compare_func()
/systemd-251/src/pstore/
Dpstore.c115 return strcmp(a->dirent.d_name, b->dirent.d_name); in compare_pstore_entries()
/systemd-251/src/shared/
Dbus-unit-procs.c131 return strcmp((*a)->cgroup_path, (*b)->cgroup_path); in cgroup_info_compare_func()
Dmount-setup.c325 if (strcmp(controller, other_controller) < 0) in mount_cgroup_controllers()
Defi-api.c505 …if (strcmp(de->d_name + 8, EFI_GLOBAL_VARIABLE_STR("")) != 0) /* generate variable suffix using m… in efi_get_boot_options()
Dhwdb-util.c131 return strcmp(trie->strings->buf + a->key_off, in trie_values_cmp()
Djson.c704 if (prev && strcmp(k, prev) <= 0) in json_variant_new_object()
1241 c = strcmp(key, f); in json_variant_by_key_full()
4579 return strcmp(json_variant_string(*a), json_variant_string(*b)); in json_cmp_strings()
Dbootspec.c317 r = strcmp(a->sort_key, b->sort_key); in boot_entry_compare()
Dconf-parser.c723 r = strcmp(x->filename, y->filename); in config_section_compare_func()
/systemd-251/src/test/
Dtest-seccomp.c242 strcmp(syscall_filter_sets[i-1].name, syscall_filter_sets[i].name) < 0); in TEST()
251 strcmp(p, k) < 0)); in TEST()
/systemd-251/src/udev/
Dudevadm-info.c83 return strcmp(a->name, b->name); in sysattr_compare()
/systemd-251/src/libsystemd/sd-bus/
Dbus-objects.c1664 r = strcmp(x->path, y->path); in vtable_member_compare_func()
1668 r = strcmp(x->interface, y->interface); in vtable_member_compare_func()
1672 return strcmp(x->member, y->member); in vtable_member_compare_func()
/systemd-251/src/network/
Dnetworkd-ndisc.c777 return strcmp(NDISC_DNSSL_DOMAIN(a), NDISC_DNSSL_DOMAIN(b)); in ndisc_dnssl_compare_func()
/systemd-251/src/coredump/
Dcoredump.c1256 proc_self_root_is_slash = strcmp(t, "/") == 0; in gather_pid_metadata()

12