Home
last modified time | relevance | path

Searched refs:trivial_compare_func (Results 1 – 20 of 20) sorted by relevance

/systemd-251/src/basic/
Dhash-funcs.c69 int trivial_compare_func(const void *a, const void *b) { in trivial_compare_func() function
75 .compare = trivial_compare_func,
80 .compare = trivial_compare_func,
86 .compare = trivial_compare_func,
Dhash-funcs.h90 int trivial_compare_func(const void *a, const void *b) _const_;
/systemd-251/src/test/
Dtest-hashmap.c39 TEST(trivial_compare_func) { in TEST() argument
40 assert_se(trivial_compare_func(INT_TO_PTR('a'), INT_TO_PTR('a')) == 0); in TEST()
41 assert_se(trivial_compare_func(INT_TO_PTR('a'), INT_TO_PTR('b')) == -1); in TEST()
42 assert_se(trivial_compare_func(INT_TO_PTR('b'), INT_TO_PTR('a')) == 1); in TEST()
Dtest-ordered-set.c41 …OPS_WITH_VALUE_DESTRUCTOR(item_hash_ops, void, trivial_hash_func, trivial_compare_func, Item, item…
Dtest-prioq.c24 assert_se(q = prioq_new(trivial_compare_func)); in TEST()
Dtest-set.c53 …OPS_WITH_VALUE_DESTRUCTOR(item_hash_ops, void, trivial_hash_func, trivial_compare_func, Item, item…
Dtest-hashmap-plain.c690 .compare = trivial_compare_func,
/systemd-251/src/network/
Dnetworkd-address-label.c155 label, NULL, trivial_hash_func, trivial_compare_func, in link_request_static_address_labels()
Dnetworkd-queue.c176 trivial_hash_func, trivial_compare_func, in netdev_queue_request()
Dnetworkd-bridge-mdb.c233 trivial_compare_func, in link_request_static_bridge_mdb()
Dnetworkd-bridge-fdb.c241 trivial_compare_func, in link_request_static_bridge_fdb()
/systemd-251/src/shared/
Dbus-util.c598 .compare = trivial_compare_func,
Dbpf-program.c42 …ITH_KEY_DESTRUCTOR(bpf_program_hash_ops, void, trivial_hash_func, trivial_compare_func, bpf_progra…
Duserdb.c22 …OPS_WITH_VALUE_DESTRUCTOR(link_hash_ops, void, trivial_hash_func, trivial_compare_func, Varlink, v…
/systemd-251/src/libsystemd-network/
Ddhcp-option.c436 trivial_compare_func,
Ddhcp6-option.c976 trivial_compare_func,
/systemd-251/src/network/netdev/
Dnetdev.c687 trivial_hash_func, trivial_compare_func, in link_request_stacked_netdev()
/systemd-251/src/home/
Dhomed-manager.c69 …_VALUE_DESTRUCTOR(homes_by_uid_hash_ops, void, trivial_hash_func, trivial_compare_func, Home, home…
71 …DESTRUCTOR(homes_by_worker_pid_hash_ops, void, trivial_hash_func, trivial_compare_func, Home, home…
Dhomed-home.c56 …ITH_VALUE_DESTRUCTOR(operation_hash_ops, void, trivial_hash_func, trivial_compare_func, Operation,…
/systemd-251/src/udev/
Dudevd.c218 …PS_WITH_VALUE_DESTRUCTOR(worker_hash_op, void, trivial_hash_func, trivial_compare_func, Worker, wo…