Searched refs:children_count (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/shared/ |
D | hwdb-util.c | 42 size_t children_count; member 52 uint8_t children_count; member 82 … child = reallocarray(node->children, node->children_count + 1, sizeof(struct trie_child_entry)); in node_add_child() 87 trie->children_count++; in node_add_child() 88 node->children[node->children_count].c = c; in node_add_child() 89 node->children[node->children_count].child = node_child; in node_add_child() 90 node->children_count++; in node_add_child() 91 typesafe_qsort(node->children, node->children_count, trie_children_cmp); in node_add_child() 102 child = typesafe_bsearch(&search, node->children, node->children_count, trie_children_cmp); in node_lookup() 112 for (size_t i = 0; i < node->children_count; i++) in trie_node_cleanup() [all …]
|
/systemd-251/src/basic/ |
D | strbuf.c | 53 for (i = 0; i < node->children_count; i++) in strbuf_node_cleanup() 90 int left = 0, right = node->children_count; in bubbleinsert() 101 sizeof(struct strbuf_child_entry) * (node->children_count - left)); in bubbleinsert() 104 node->children_count++; in bubbleinsert() 143 … child = typesafe_bsearch(&search, node->children, node->children_count, strbuf_children_cmp); in strbuf_add_string() 171 … child = reallocarray(node->children, node->children_count + 1, sizeof(struct strbuf_child_entry)); in strbuf_add_string()
|
D | strbuf.h | 27 uint8_t children_count; member
|
/systemd-251/src/libsystemd/sd-hwdb/ |
D | sd-hwdb.c | 79 base += node->children_count * le64toh(hwdb->head->child_entry_size); in trie_node_value() 104 …child = bsearch(&search, (const char *)node + le64toh(hwdb->head->node_size), node->children_count, in node_lookup_f() 193 for (i = 0; i < node->children_count; i++) { in trie_fnmatch_f()
|
D | hwdb-internal.h | 53 uint8_t children_count; member
|