Home
last modified time | relevance | path

Searched refs:oldSize (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/include/
H A Dmaple_string.h84 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 Dmempool.h174 void *Realloc(const void *ptr, size_t oldSize, size_t newSize);
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Darena-inl.h131 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 Dvalue_numbering.cpp89 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 Dmempool.cpp177 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 Dserialize_data.h144 size_t oldSize = bufferSize_; in AllocateBuffer() local
145 size_t newSize = oldSize + bytes; in AllocateBuffer()
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlinker_code_parser_context.cpp90 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 Darena_allocator_test.cpp583 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 Dpgo_profiler.cpp273 uint32_t oldSize = trackInfo->GetArrayLength(); in UpdateTrackArrayLength() local
274 if (oldSize >= newSize) { in UpdateTrackArrayLength()

Completed in 9 milliseconds