Home
last modified time | relevance | path

Searched refs:Realloc (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/include/
H A Dmaple_string.h86 data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (1 + size) * sizeof(char))); in operator =()
108 data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (1 + size) * sizeof(char))); in operator =()
131 data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (1 + size) * sizeof(char))); in operator =()
149 data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (dataLength + 1 + 1) * sizeof(char))); in operator +=()
166 static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (dataLength + size + 1) * sizeof(char))); in operator +=()
181 memPool->Realloc(data, oldSize * sizeof(char), (dataLength + str.dataLength + 1) * sizeof(char))); in operator +=()
196 static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (dataLength + size + 1) * sizeof(char))); in operator +=()
H A Dmempool.h174 void *Realloc(const void *ptr, size_t oldSize, size_t newSize);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/src/
H A Dmempool.cpp176 // Realloc new size of memory
177 void *MemPool::Realloc(const void *ptr, size_t oldSize, size_t newSize) in Realloc() function in maple::MemPool
180 DEBUG_ASSERT(result != nullptr, "ERROR: Realloc error"); in Realloc()
H A Dmaple_string.cpp198 memPool->Realloc(data, (1 + dataLength) * sizeof(char), (1 + dataLength + str.dataLength) * sizeof(char))); in insert()

Completed in 3 milliseconds