Searched refs:new_size (Results 1 – 5 of 5) sorted by relevance
111 void Resize(size_t new_size);146 void Resize(size_t new_size) in Resize() argument148 ASSERT(new_size <= GetOccupiedSize()); in Resize()149 curPos_ = static_cast<char *>(ToVoidPtr(ToUintPtr(&buff_[0]) + new_size)); in Resize()170 void Resize(size_t new_size) in Resize() argument172 (void)new_size; in Resize()
118 void ArenaAllocatorT<use_oom_handler>::Resize(size_t new_size) in Resize() argument120 LOG(DEBUG, ALLOC) << "ArenaAllocator: resize to new size " << new_size; in Resize()122 if (cur_size <= new_size) { in Resize()123 …LOG_IF(cur_size < new_size, FATAL, ALLOC) << "ArenaAllocator: resize to bigger size than we have. … in Resize()127 size_t bytes_to_delete = cur_size - new_size; in Resize()
127 void Arena::Resize(size_t new_size) in Resize() argument130 ASSERT(new_size <= old_size); in Resize()131 curPos_ = ToVoidPtr(ToUintPtr(GetStartPos()) + new_size); in Resize()132 ASAN_POISON_MEMORY_REGION(curPos_, old_size - new_size); in Resize()
110 void Resize(size_t new_size);
262 prop("resize(size_t)", [](BSet &&bset, size_t new_size) { in __anon823681b81102() argument264 new_size %= bset.Bits.size(); in __anon823681b81102()265 bset.Bits.resize(new_size); in __anon823681b81102()266 auto universum = Universum(new_size); in __anon823681b81102()269 RC_ASSERT(bset.Bits.size() == new_size); in __anon823681b81102()