Searched refs:IteratedCache (Results 1 – 4 of 4) sorted by relevance
37 typedef struct IteratedCache IteratedCache; /* Caches the iterated order of one of the above */ typedef129 IteratedCache* iterated_cache_free(IteratedCache *cache);130 int iterated_cache_get(IteratedCache *cache, const void ***res_keys, const void ***res_values, unsi…147 IteratedCache* _hashmap_iterated_cache_new(HashmapBase *h);148 static inline IteratedCache* hashmap_iterated_cache_new(Hashmap *h) { in hashmap_iterated_cache_new()149 return (IteratedCache*) _hashmap_iterated_cache_new(HASHMAP_BASE(h)); in hashmap_iterated_cache_new()151 static inline IteratedCache* ordered_hashmap_iterated_cache_new(OrderedHashmap *h) { in ordered_hashmap_iterated_cache_new()152 return (IteratedCache*) _hashmap_iterated_cache_new(HASHMAP_BASE(h)); in ordered_hashmap_iterated_cache_new()449 DEFINE_TRIVIAL_CLEANUP_FUNC(IteratedCache*, iterated_cache_free);
238 struct IteratedCache { struct738 IteratedCache* _hashmap_iterated_cache_new(HashmapBase *h) { in _hashmap_iterated_cache_new()739 IteratedCache *cache; in _hashmap_iterated_cache_new()747 cache = new0(IteratedCache, 1); in _hashmap_iterated_cache_new()1919 int iterated_cache_get(IteratedCache *cache, const void ***res_keys, const void ***res_values, unsi… in iterated_cache_get()1984 IteratedCache* iterated_cache_free(IteratedCache *cache) { in iterated_cache_free()
50 static void compare_cache(Hashmap *map, IteratedCache *cache) { in compare_cache()72 IteratedCache *c; in TEST()
75 IteratedCache *files_cache;