Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/
Dcompare.py61 new_size = 0 variable
74 new_size = new_res[filename]["code_item section"] variable
76 sum_new += new_size
77 diff = old_size - new_size
79 "new_size": new_size, "diff": diff}
83 sum_optimized_new += new_size
/arkcompiler/runtime_core/libpandabase/mem/
Darena_allocator.h117 void Resize(size_t new_size);
152 void Resize(size_t new_size) in Resize() argument
154 ASSERT(new_size <= GetOccupiedSize()); in Resize()
155 curPos_ = static_cast<char *>(ToVoidPtr(ToUintPtr(&buff_[0]) + new_size)); in Resize()
176 void Resize(size_t new_size) in Resize() argument
178 (void)new_size; in Resize()
Darena_allocator.cpp118 void ArenaAllocatorT<use_oom_handler>::Resize(size_t new_size) in Resize() argument
120 LOG(DEBUG, ALLOC) << "ArenaAllocator: resize to new size " << new_size; in Resize()
123 if (cur_size <= new_size) { in Resize()
124 …LOG_IF(cur_size < new_size, FATAL, ALLOC) << "ArenaAllocator: resize to bigger size than we have. … in Resize()
128 size_t bytes_to_delete = cur_size - new_size; in Resize()
Darena-inl.h129 inline void Arena::Resize(size_t new_size) in Resize() argument
132 ASSERT(new_size <= old_size); in Resize()
133 curPos_ = ToVoidPtr(ToUintPtr(GetStartPos()) + new_size); in Resize()
134 ASAN_POISON_MEMORY_REGION(curPos_, old_size - new_size); in Resize()
Darena.h117 void Resize(size_t new_size);