Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/runtime/mem/
Dtlab.cpp62 size_t requestedSize = GetAlignedObjectSize(size); in Alloc() local
63 if (requestedSize <= freeSize) { in Alloc()
67 curFreePosition_ = ToVoidPtr(ToUintPtr(curFreePosition_) + requestedSize); in Alloc()
Dframe_allocator-inl.h166 size_t requestedSize = size + sizeof(FramesArena) + GetAlignmentInBytes(ALIGNMENT); in GetNextArenaSize() local
167 if ((arenaSizeNeedToGrow_) || (biggestArenaSize_ < requestedSize)) { in GetNextArenaSize()
169 if (biggestArenaSize_ < requestedSize) { in GetNextArenaSize()
170 biggestArenaSize_ = RoundUp(requestedSize, ARENA_SIZE_GREW_LEVEL); in GetNextArenaSize()
/arkcompiler/ets_runtime/ecmascript/serializer/
Dserialize_data.h92 bool ExpandBuffer(size_t requestedSize) in ExpandBuffer() argument
95 newCapacity = std::max(newCapacity, requestedSize); in ExpandBuffer()
/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.h142 bool ExpandBuffer(size_t requestedSize);
Djs_serializer.cpp215 bool JSSerializer::ExpandBuffer(size_t requestedSize) in ExpandBuffer() argument
218 newCapacity = std::max(newCapacity, requestedSize); in ExpandBuffer()