Lines Matching refs:Cache
38 typedef DenseSlabAllocCache Cache; typedef
39 typedef typename Cache::IndexT IndexT;
68 IndexT Alloc(Cache *c) { in Alloc()
74 void Free(Cache *c, IndexT idx) { in Free()
76 if (c->pos == Cache::kSize) in Free()
87 void FlushCache(Cache *c) { in FlushCache()
98 void InitCache(Cache *c) { in InitCache()
114 void Refill(Cache *c) { in Refill()
137 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill()
144 void Drain(Cache *c) { in Drain()
146 for (uptr i = 0; i < Cache::kSize / 2; i++) { in Drain()