Searched refs:strings (Results 1 - 2 of 2) sorted by relevance

/systemd/src/hwdb/
H A Dhwdb.c40 * Generic udev properties, key/value database based on modalias strings.
56 struct strbuf *strings; member in struct:trie
142 strbuf_cleanup(trie->strings);
153 return strcmp(trie->strings->buf + val1->key_off,
154 trie->strings->buf + val2->key_off);
162 k = strbuf_add_string(trie->strings, key, strlen(key));
165 v = strbuf_add_string(trie->strings, value, strlen(value));
206 for (p = 0; (c = trie->strings->buf[node->prefix_off + p]); p++) {
227 s = strndup(trie->strings->buf + node->prefix_off, p);
231 off = strbuf_add_string(trie->strings,
[all...]
/systemd/src/udev/
H A Dudevadm-hwdb.c37 * Generic udev properties, key/value database based on modalias strings.
50 struct strbuf *strings; member in struct:trie
134 return strcmp(trie->strings->buf + val1->key_off,
135 trie->strings->buf + val2->key_off);
143 k = strbuf_add_string(trie->strings, key, strlen(key));
146 v = strbuf_add_string(trie->strings, value, strlen(value));
187 for (p = 0; (c = trie->strings->buf[node->prefix_off + p]); p++) {
208 s = strndup(trie->strings->buf + node->prefix_off, p);
212 off = strbuf_add_string(trie->strings, s, p);
243 off = strbuf_add_string(trie->strings, searc
[all...]

Completed in 304 milliseconds