Home
last modified time | relevance | path

Searched refs:Malloc (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dallocators.h65 void* Malloc(size_t size) { in Malloc() function
176 void* Malloc(size_t size) { in Malloc() function
192 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()
Ddocument.h1001 … 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));
Dpointer.h739 …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()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dallocatorstest.cpp23 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()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md139 void* Malloc(size_t size);
153 Note that `Malloc()` and `Realloc()` are member functions but `Free()` is static member function.