Lines Matching refs:allocator_
39 allocator_ = allocator; in Parcel()
41 allocator_ = new DefaultAllocator(); in Parcel()
64 delete allocator_; in ~Parcel()
65 allocator_ = nullptr; in ~Parcel()
141 if (allocator_ != nullptr) { in EnsureWritableCapacity()
142 void *newData = allocator_->Realloc(data_, newCapacity); in EnsureWritableCapacity()
234 if ((allocator == nullptr) || (allocator_ == allocator)) { in SetAllocator()
239 if (allocator_ == nullptr) { in SetAllocator()
253 allocator_->Dealloc(data_); in SetAllocator()
258 delete allocator_; in SetAllocator()
259 allocator_ = allocator; in SetAllocator()
311 if (allocator_ == nullptr) { in FlushBuffer()
316 allocator_->Dealloc(data_); in FlushBuffer()
331 if (allocator_ == nullptr || dataSize_ >= newCapacity) { in SetDataCapacity()
335 void *newData = allocator_->Realloc(data_, newCapacity); in SetDataCapacity()
641 if (allocator_ == nullptr) { in EnsureObjectsCapacity()