Searched refs:Malloc (Results 1 – 5 of 5) sorted by relevance
65 void* Malloc(size_t size) { in Malloc() function176 void* Malloc(size_t size) { in Malloc() function192 return Malloc(newSize); in Realloc()212 void* newBuffer = Malloc(newSize); in Realloc()234 …ChunkHeader* chunk = reinterpret_cast<ChunkHeader*>(baseAllocator_->Malloc(RAPIDJSON_ALIGN(sizeof(… in AddChunk()
1001 … o.members = reinterpret_cast<Member*>(allocator.Malloc(o.capacity * sizeof(Member)));1686 data_.a.elements = (GenericValue*)allocator.Malloc(count * sizeof(GenericValue));1698 data_.o.members = (Member*)allocator.Malloc(count * sizeof(Member));1723 str = (Ch *)allocator.Malloc((s.length + 1) * sizeof(Ch));
739 …tokens_ = static_cast<Token *>(allocator_->Malloc(tokenCount_ * sizeof(Token) + (nameBufferSize + …782 …Token* token = tokens_ = static_cast<Token *>(allocator_->Malloc(tokenCount_ * sizeof(Token) + len… in Parse()
23 EXPECT_TRUE(a.Malloc(0) == 0); in TestAllocator()25 uint8_t* p = (uint8_t*)a.Malloc(100); in TestAllocator()47 EXPECT_TRUE(a.Realloc(a.Malloc(1), 1, 0) == 0); in TestAllocator()60 EXPECT_TRUE(a.Malloc(i) != 0); in TEST()
139 void* Malloc(size_t size);153 Note that `Malloc()` and `Realloc()` are member functions but `Free()` is static member function.