Searched refs:trie (Results 1 – 1 of 1) sorted by relevance
37 struct trie { struct78 static int node_add_child(struct trie *trie, struct trie_node *node, struct trie_node *node_child, … in node_add_child() argument87 trie->children_count++; in node_add_child()92 trie->nodes_count++; in node_add_child()119 static struct trie* trie_free(struct trie *trie) { in trie_free() argument120 if (!trie) in trie_free()123 trie_node_cleanup(trie->root); in trie_free()124 strbuf_free(trie->strings); in trie_free()125 return mfree(trie); in trie_free()128 DEFINE_TRIVIAL_CLEANUP_FUNC(struct trie*, trie_free);[all …]