Searched refs:compare (Results 1 - 22 of 22) sorted by relevance

/systemd/src/basic/
H A Dhash-funcs.c33 .compare = string_compare_func
46 .compare = trivial_compare_func
62 .compare = uint64_compare_func
79 .compare = devt_compare_func
H A Dhash-funcs.h31 compare_func_t compare; member in struct:hash_ops
38 /* This will compare the passed pointers directly, and will not
59 .compare = devt_compare_func
H A Dprioq.h31 Prioq *prioq_new(compare_func_t compare);
H A Dhashmap.c217 const struct hash_ops *hash_ops; /* hash and compare ops to use */
1184 if (h->hash_ops->compare(e->key, key) == 0)
/systemd/src/libsystemd/sd-bus/
H A Dbus-match.c104 hashmap_remove(node->parent->compare.children, UINT_TO_PTR(node->value.u8));
106 hashmap_remove(node->parent->compare.children, node->value.str);
112 assert(hashmap_isempty(node->compare.children));
113 hashmap_free(node->compare.children);
128 if (BUS_MATCH_IS_COMPARE(node->type) && !hashmap_isempty(node->compare.children))
396 found = hashmap_get(node->compare.children, test_str);
401 found = hashmap_get(node->compare.children, *i);
411 found = hashmap_get(node->compare.children, UINT_TO_PTR(test_u8));
465 n = hashmap_get(c->compare.children, UINT_TO_PTR(value_u8));
467 n = hashmap_get(c->compare
[all...]
H A Dbus-match.h31 /* The following are all different kinds of compare nodes */
66 } compare; member in union:bus_match_node::__anon119
H A Dbusctl.c858 .compare = member_compare_func,
H A Dbus-objects.c1611 .compare = vtable_member_compare_func
/systemd/src/test/
H A Dtest-rbtree.c287 static int compare(CRBTree *t, void *k, CRBNode *n) { function
315 assert(!c_rbtree_find_entry(&t, compare, (void *)nodes[i]->key, Node, rb));
317 slot = c_rbtree_find_slot(&t, compare, (void *)nodes[i]->key, &p);
322 assert(nodes[i] == c_rbtree_find_entry(&t, compare, (void *)nodes[i]->key, Node, rb));
331 assert(nodes[i] == c_rbtree_find_entry(&t, compare, (void *)nodes[i]->key, Node, rb));
336 assert(!c_rbtree_find_entry(&t, compare, (void *)nodes[i]->key, Node, rb));
H A Dtest-prioq.c99 .compare = test_compare
H A Dtest-hashmap-plain.c703 .compare = trivial_compare_func,
/systemd/src/shared/
H A Dcgroup-show.c40 static int compare(const void *a, const void *b) { function
56 qsort(pids, n_pids, sizeof(pid_t), compare);
H A Ddns-domain.c541 .compare = dns_name_compare_func
896 * compare against DNS_HOSTNAME_MAX + 2 (which is 255) this
/systemd/src/analyze/
H A Danalyze.c48 #define compare(a, b) (((a) > (b))? 1 : (((b) > (a))? -1 : 0)) macro
187 return compare(((struct unit_times *)b)->time,
192 return compare(((struct unit_times *)a)->activating,
/systemd/src/resolve/
H A Dresolved-etc-hosts.c95 .compare = etc_hosts_item_compare_func,
H A Dresolved-dns-server.c588 .compare = dns_server_compare_func
H A Dresolved-dns-rr.c306 .compare = dns_resource_key_compare_func
1459 .compare = dns_resource_record_compare_func,
/systemd/src/journal/
H A Dcatalog.c92 .compare = catalog_compare_func
/systemd/src/libsystemd-network/
H A Dsd-lldp.c102 .compare = chassis_id_compare_func
H A Dsd-dhcp-server.c142 .compare = client_id_compare_func
/systemd/src/network/
H A Dnetworkd-address.c157 /* compare the peer prefixes */
190 .compare = address_compare_func
H A Dnetworkd-route.c173 .compare = route_compare_func

Completed in 320 milliseconds