/external/chromium/net/flip/ |
flip_frame_builder.cc | 165 bool FlipFrameBuilder::Resize(size_t new_capacity) { 166 if (new_capacity < capacity_) 169 char* p = new char[new_capacity]; 174 if (!p && new_capacity > 0) 177 capacity_ = new_capacity;
|
flip_frame_builder.h | 140 // the header: new_capacity = sizeof(Header) + desired_payload_capacity. 143 bool Resize(size_t new_capacity);
|
/frameworks/base/libs/utils/ |
VectorImpl.cpp | 314 ssize_t VectorImpl::setCapacity(size_t new_capacity) 317 ssize_t amount = new_capacity - size(); 322 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); 331 return new_capacity; 355 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); 356 // LOGV("grow vector %p, new_capacity=%d", this, (int)new_capacity); 363 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); 366 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); 408 const size_t new_capacity = max(kMinVectorCapacity, new_size*2) [all...] |
/system/core/libpixelflinger/tinyutils/ |
VectorImpl.cpp | 242 ssize_t VectorImpl::setCapacity(size_t new_capacity) 245 ssize_t amount = new_capacity - size(); 250 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); 259 return new_capacity; 283 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); 284 // LOGV("grow vector %p, new_capacity=%d", this, (int)new_capacity); 291 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); 294 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); 336 const size_t new_capacity = max(kMinVectorCapacity, new_size*2) [all...] |
/external/v8/src/ |
list-inl.h | 71 int new_capacity = 1 + capacity_ + (capacity_ >> 1); local 75 Resize(new_capacity); 81 void List<T, P>::Resize(int new_capacity) { 82 T* new_data = List<T, P>::NewData(new_capacity); 86 capacity_ = new_capacity;
|
string-stream.cc | 61 unsigned new_capacity = capacity_; 62 char* new_buffer = allocator_->grow(&new_capacity); 63 if (new_capacity > capacity_) { 64 capacity_ = new_capacity;
|
list.h | 144 void Resize(int new_capacity);
|
scanner.cc | 65 int new_capacity = local 67 char* new_data = NewArray<char>(new_capacity); 72 limit_ = ComputeLimit(new_data, new_capacity); 73 ASSERT(Capacity() == new_capacity && pos() == old_position); [all...] |
spaces.cc | 1120 int new_capacity = Max(InitialCapacity(), 2 * Size()); local [all...] |
objects.cc | 5264 int new_capacity = value > min ? value : min; local 5636 int new_capacity = NewElementsCapacity(index+1); local [all...] |
spaces.h | [all...] |
objects.h | [all...] |
/external/astl/include/ |
vector | 324 const size_type new_capacity = grow(); 325 if (0 == new_capacity || !reserve(new_capacity)) return; 471 size_type new_capacity; 474 new_capacity = mCapacity + kLinearIncrement; 478 new_capacity = mCapacity == 0 ? kExponentialFactor : mCapacity * kExponentialFactor; 480 if (mCapacity > new_capacity || new_capacity > max_size()) 482 new_capacity = mCapacity == max_size() ? 0 : max_size(); 484 return new_capacity; [all...] |
/external/chromium/base/ |
pickle.cc | 391 bool Pickle::Resize(size_t new_capacity) { 392 new_capacity = AlignInt(new_capacity, kPayloadUnit); 395 void* p = realloc(header_, new_capacity); 400 capacity_ = new_capacity;
|
pickle.h | 205 // the header: new_capacity = sizeof(Header) + desired_payload_capacity. 208 bool Resize(size_t new_capacity);
|
/external/protobuf/gtest/src/ |
gtest-internal-inl.h | 451 void Reserve(int new_capacity) { 452 if (new_capacity <= capacity_) 455 capacity_ = new_capacity; 468 const int new_capacity = 3*(capacity_/2 + 1); local 469 GTEST_CHECK_(new_capacity > capacity_) // Does the new capacity overflow? 471 Reserve(new_capacity); [all...] |
/prebuilt/sdk/tools/linux/ |
zipalign | |
aapt | |