Home
last modified time | relevance | path

Searched refs:trie (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/shared/
Dhwdb-util.c37 struct trie { struct
78 static int node_add_child(struct trie *trie, struct trie_node *node, struct trie_node *node_child, … in node_add_child() argument
87 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() argument
120 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 …]