Searched refs:oldSize (Results 1 - 9 of 9) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/include/ |
H A D | maple_string.h | 84 size_t oldSize = ((data == nullptr) ? 0 : (dataLength + 1)); in operator =() local 85 if (oldSize < (1 + size)) { in operator =() 86 data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (1 + size) * sizeof(char))); in operator =() 106 size_t oldSize = (data == nullptr) ? 0 : (dataLength + 1); in operator =() local 107 if (oldSize < (1 + size)) { in operator =() 108 data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (1 + size) * sizeof(char))); in operator =() 130 size_t oldSize = (data == nullptr) ? 0 : (dataLength + 1); in operator =() local 131 data = static_cast<char *>(memPool->Realloc(data, oldSize * sizeof(char), (1 + size) * sizeof(char))); in operator =() 146 size_t oldSize = ((data == nullptr) ? 0 : (dataLength + 1)); in operator +=() local 147 CHECK_FATAL(oldSize < in operator +=() 162 size_t oldSize = ((data == nullptr) ? 0 : (dataLength + 1)); operator +=() local 177 size_t oldSize = ((data == nullptr) ? 0 : (dataLength + 1)); operator +=() local 192 size_t oldSize = ((data == nullptr) ? 0 : (dataLength + 1)); operator +=() local [all...] |
H A D | mempool.h | 174 void *Realloc(const void *ptr, size_t oldSize, size_t newSize);
|
/arkcompiler/runtime_core/static_core/libpandabase/mem/ |
H A D | arena-inl.h | 131 size_t oldSize = GetOccupiedSize(); in Resize() local 132 ASSERT(newSize <= oldSize); in Resize() 134 ASAN_POISON_MEMORY_REGION(curPos_, oldSize - newSize); in Resize()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | value_numbering.cpp | 89 size_t const oldSize = entriesLength_; in Grow() local 95 for (size_t i = 0; i < oldSize; i++) { in Grow()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/src/ |
H A D | mempool.cpp | 177 void *MemPool::Realloc(const void *ptr, size_t oldSize, size_t newSize) in Realloc() argument 181 size_t copySize = ((newSize > oldSize) ? oldSize : newSize); in Realloc()
|
/arkcompiler/ets_runtime/ecmascript/serializer/ |
H A D | serialize_data.h | 144 size_t oldSize = bufferSize_; in AllocateBuffer() local 145 size_t newSize = oldSize + bytes; in AllocateBuffer()
|
/arkcompiler/runtime_core/static_core/static_linker/ |
H A D | linker_code_parser_context.cpp | 90 const auto oldSize = changes_.size(); in Devour() local 95 ranges_.emplace_back(oldSize, newSize); in Devour()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | arena_allocator_test.cpp | 583 size_t oldSize = aa.GetAllocatedSize(); in TEST_F() local 591 ASSERT_EQ(oldSize, aa.GetAllocatedSize()); in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler.cpp | 273 uint32_t oldSize = trackInfo->GetArrayLength(); in UpdateTrackArrayLength() local 274 if (oldSize >= newSize) { in UpdateTrackArrayLength()
|
Completed in 9 milliseconds