Searched refs:ordered_set_put (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/test/ |
D | test-ordered-set.c | 18 assert_se(ordered_set_put(m, (void*) "1") == 1); in TEST() 19 assert_se(ordered_set_put(m, (void*) "22") == 1); in TEST() 20 assert_se(ordered_set_put(m, (void*) "333") == 1); in TEST() 50 assert_se(ordered_set_put(m, items + i) == 1); in TEST() 53 … assert_se(ordered_set_put(m, items + i) == 0); /* We get 0 here, because we use trivial hash in TEST() 70 assert_se(ordered_set_put(m, (void*) "1") == 1); in TEST() 71 assert_se(ordered_set_put(m, (void*) "22") == 1); in TEST() 72 assert_se(ordered_set_put(m, (void*) "333") == 1); in TEST() 73 assert_se(ordered_set_put(m, (void*) "333") == 0); in TEST() 75 assert_se(ordered_set_put(m, (void*) "333") == 1); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | ordered-set.c | 25 return ordered_set_put(*s, p); in _ordered_set_ensure_put() 31 r = ordered_set_put(s, p); in ordered_set_consume()
|
D | ordered-set.h | 41 static inline int ordered_set_put(OrderedSet *s, void *p) { in ordered_set_put() function
|
/systemd-251/src/resolve/ |
D | resolved-dns-answer.c | 135 r = ordered_set_put(a->items, item); in dns_answer_add_raw() 204 assert_se(ordered_set_put(a->items, exist) == 1); in dns_answer_add() 659 assert_se(ordered_set_put(a->items, items[i]) >= 0); in dns_answer_order_by_scope() 830 assert_se(ordered_set_put(a->items, items[i]) >= 0); in dns_answer_randomize()
|
D | resolved-manager.c | 1349 r = ordered_set_put(*dns, s); in manager_compile_dns_servers() 1359 r = ordered_set_put(*dns, s); in manager_compile_dns_servers() 1370 r = ordered_set_put(*dns, s); in manager_compile_dns_servers() 1403 r = ordered_set_put(*domains, d->name); in manager_compile_search_domains() 1418 r = ordered_set_put(*domains, d->name); in manager_compile_search_domains()
|
D | resolved-dns-stream.c | 578 r = ordered_set_put(s->write_queue, p); in dns_stream_write_packet()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-objects.c | 2381 r = ordered_set_put(s, c->interface); in object_added_append_all_prefix() 2601 r = ordered_set_put(s, c->interface); in object_removed_append_all_prefix()
|