Lines Matching defs:items
146 Item *items;
164 static OrderedHashmap *items = NULL, *globs = NULL;
222 Item *item = j->items + n;
429 if (ordered_hashmap_get(items, sub_path)) {
1682 j = ordered_hashmap_get(items, prefix);
1709 k = process_item(array->items + n);
1736 item_free_contents(a->items + n);
1737 free(a->items);
1761 /* check if the items are the same */
2067 h = needs_glob(i.type) ? globs : items;
2074 if (!item_compatible(existing->items + n, &i)) {
2087 if (!GREEDY_REALLOC(existing->items, existing->size, existing->count + 1))
2090 memcpy(existing->items + existing->count++, &i, sizeof(i));
2093 qsort_safe(existing->items, existing->count, sizeof(Item), item_compare);
2247 ORDERED_HASHMAP_FOREACH(j, items, iter) {
2293 items = ordered_hashmap_new(&string_hash_ops);
2296 if (!items || !globs) {
2331 ORDERED_HASHMAP_FOREACH(a, items, iterator) {
2346 while ((a = ordered_hashmap_steal_first(items)))
2352 ordered_hashmap_free(items);