Lines Matching defs:entries
74 /** Max entries in the cache */
77 /** Array [size] of entries */
78 struct util_cache_entry *entries;
80 /** Number of entries in the cache */
94 * Create a new cache with 'size' entries. Also provide functions for
118 cache->entries = CALLOC(size, sizeof(struct util_cache_entry));
119 if (!cache->entries) {
150 struct util_cache_entry *current = &cache->entries[i];
258 * Remove all entries from the cache. The 'destroy' function will be called
271 util_cache_entry_destroy(cache, &cache->entries[i]);
272 cache->entries[i].state = EMPTY;
282 * Destroy the cache and all entries.
298 double z = fabs(cache->entries[i].count - mean)/stddev;
308 FREE(cache->entries);
348 struct util_cache_entry *header = &cache->entries[i];