Lines Matching defs:children_count
59 size_t children_count;
69 uint8_t children_count;
99 child = realloc(node->children, (node->children_count + 1) * sizeof(struct trie_child_entry));
104 trie->children_count++;
105 node->children[node->children_count].c = c;
106 node->children[node->children_count].child = node_child;
107 node->children_count++;
108 qsort(node->children, node->children_count, sizeof(struct trie_child_entry), trie_children_cmp);
119 child = bsearch(&search, node->children, node->children_count, sizeof(struct trie_child_entry), trie_children_cmp);
128 for (i = 0; i < node->children_count; i++)
222 new_child->children_count = node->children_count;
237 node->children_count = 0;
289 uint64_t children_count;
297 for (i = 0; i < node->children_count; i++)
301 for (i = 0; i < node->children_count; i++)
311 .children_count = node->children_count,
317 if (node->children_count) {
318 children = new0(struct trie_child_entry_f, node->children_count);
324 for (i = 0; i < node->children_count; i++) {
342 if (node->children_count) {
343 fwrite(children, sizeof(struct trie_child_entry_f), node->children_count, trie->f);
344 trie->children_count += node->children_count;
430 t.children_count * sizeof(struct trie_child_entry_f), t.children_count);
632 trie->children_count * sizeof(struct trie_child_entry), trie->children_count);