Lines Matching defs:children_count
53 size_t children_count;
63 uint8_t children_count;
93 child = realloc(node->children, (node->children_count + 1) * sizeof(struct trie_child_entry));
98 trie->children_count++;
99 node->children[node->children_count].c = c;
100 node->children[node->children_count].child = node_child;
101 node->children_count++;
102 qsort(node->children, node->children_count, sizeof(struct trie_child_entry), trie_children_cmp);
113 child = bsearch(&search, node->children, node->children_count, sizeof(struct trie_child_entry), trie_children_cmp);
122 for (i = 0; i < node->children_count; i++)
203 new_child->children_count = node->children_count;
218 node->children_count = 0;
270 uint64_t children_count;
278 for (i = 0; i < node->children_count; i++)
282 for (i = 0; i < node->children_count; i++)
292 .children_count = node->children_count,
298 if (node->children_count) {
299 children = new0(struct trie_child_entry_f, node->children_count);
305 for (i = 0; i < node->children_count; i++) {
323 if (node->children_count) {
324 fwrite(children, sizeof(struct trie_child_entry_f), node->children_count, trie->f);
325 trie->children_count += node->children_count;
411 t.children_count * sizeof(struct trie_child_entry_f), t.children_count);
644 trie->children_count * sizeof(struct trie_child_entry), trie->children_count);