Searched defs:values (Results 1 - 4 of 4) sorted by relevance
/systemd/src/shared/ |
H A D | fstab-util.c | 154 int fstab_extract_values(const char *opts, const char *name, char ***values) { argument 160 assert(values); 178 *values = res; 181 return !!*values;
|
/systemd/src/test/ |
H A D | test-path-util.c | 120 static const char* values[] = { "/a/b/c/d", "/a/b/c", "/a/b", "/a", "", NULL}; local 128 assert_se(streq(s, values[i++])); 130 assert_se(values[i] == NULL); 135 assert_se(streq(s, values[i++])); 137 assert_se(values[i] == NULL); 141 assert_se(streq(s, values[i++])); 142 assert_se(values[i] == NULL); 146 assert_se(streq(s, values[i++])); 147 assert_se(values[i] == NULL);
|
/systemd/src/hwdb/ |
H A D | hwdb.c | 72 struct trie_value_entry *values; member in struct:trie_node 131 free(node->values); 175 val = xbsearch_r(&search, node->values, node->values_count, sizeof(struct trie_value_entry), trie_values_cmp, trie); 184 val = realloc(node->values, (node->values_count + 1) * sizeof(struct trie_value_entry)); 188 node->values = val; 189 node->values[node->values_count].key_off = k; 190 node->values[node->values_count].value_off = v; 192 qsort_r(node->values, node->values_count, sizeof(struct trie_value_entry), trie_values_cmp, trie); 219 /* move values from parent to child */ 223 new_child->values [all...] |
/systemd/src/udev/ |
H A D | udevadm-hwdb.c | 66 struct trie_value_entry *values; member in struct:trie_node 125 free(node->values); 156 val = xbsearch_r(&search, node->values, node->values_count, sizeof(struct trie_value_entry), trie_values_cmp, trie); 165 val = realloc(node->values, (node->values_count + 1) * sizeof(struct trie_value_entry)); 169 node->values = val; 170 node->values[node->values_count].key_off = k; 171 node->values[node->values_count].value_off = v; 173 qsort_r(node->values, node->values_count, sizeof(struct trie_value_entry), trie_values_cmp, trie); 200 /* move values from parent to child */ 204 new_child->values [all...] |
Completed in 1181 milliseconds