Lines Matching refs:chunk
11 Chunk* chunk = head_; in ~TypedSlots() local
12 while (chunk != nullptr) { in ~TypedSlots()
13 Chunk* next = chunk->next; in ~TypedSlots()
14 delete chunk; in ~TypedSlots()
15 chunk = next; in ~TypedSlots()
23 Chunk* chunk = EnsureChunk(); in Insert() local
24 DCHECK_LT(chunk->buffer.size(), chunk->buffer.capacity()); in Insert()
25 chunk->buffer.push_back(slot); in Insert()
54 Chunk* chunk = new Chunk; in NewChunk() local
55 chunk->next = next; in NewChunk()
56 chunk->buffer.reserve(capacity); in NewChunk()
57 DCHECK_EQ(chunk->buffer.capacity(), capacity); in NewChunk()
58 return chunk; in NewChunk()
63 Chunk* chunk = LoadHead(); in ClearInvalidSlots() local
64 while (chunk != nullptr) { in ClearInvalidSlots()
65 for (TypedSlot& slot : chunk->buffer) { in ClearInvalidSlots()
80 chunk = LoadNext(chunk); in ClearInvalidSlots()