Home | History | Annotate | Download | only in program

Lines Matching refs:items

47    struct cache_item **items;
84 struct cache_item **items;
91 items = (struct cache_item**) malloc(size * sizeof(*items));
92 memset(items, 0, size * sizeof(*items));
95 for (c = cache->items[i]; c; c = next) {
97 c->next = items[c->hash % size];
98 items[c->hash % size] = c;
101 free(cache->items);
102 cache->items = items;
117 for (c = cache->items[i]; c; c = next) {
129 cache->items[i] = NULL;
144 cache->items = (struct cache_item **)
146 if (!cache->items) {
159 free(cache->items);
168 free(cache->items);
185 for (c = cache->items[hash % cache->size]; c; c = c->next) {
221 c->next = cache->items[hash % cache->size];
222 cache->items[hash % cache->size] = c;
249 c->next = cache->items[hash % cache->size];
250 cache->items[hash % cache->size] = c;