Searched refs:StackChunk (Results 1 – 2 of 2) sorted by relevance
125 struct StackChunk { struct126 StackChunk *Next; argument127 StackChunk *Prev; argument130 StackChunk(StackChunk *Prev = nullptr) argument142 static_assert(sizeof(StackChunk) < ChunkSize, "Invalid chunk size"); argument145 StackChunk *Chunk = nullptr;
38 assert(Size < ChunkSize - sizeof(StackChunk) && "Object too large"); in grow()40 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow()44 StackChunk *Next = new (std::malloc(ChunkSize)) StackChunk(Chunk); in grow()60 StackChunk *Ptr = Chunk; in peekData()