HomeSort by relevance Sort by last modified time
    Searched defs:new_capacity (Results 1 - 6 of 6) sorted by null

  /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;
scanner-base.h 209 int new_capacity = Min(capacity * kGrowthFactory, capacity + kMaxGrowth); local
210 return new_capacity;
spaces.cc 1306 int new_capacity = Max(InitialCapacity(), 2 * SizeAsInt()); local
    [all...]
objects.cc 6843 int new_capacity = value > min ? value : min; local
7444 int new_capacity = NewElementsCapacity(index+1); local
    [all...]
  /external/flac/libFLAC/
bitwriter.c 122 unsigned new_capacity; local
129 new_capacity = bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WORD);
134 if(bw->capacity >= new_capacity)
138 if((new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT)
139 new_capacity += FLAC__BITWRITER_DEFAULT_INCREMENT - ((new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT);
141 FLAC__ASSERT(0 == (new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT);
142 FLAC__ASSERT(new_capacity > bw->capacity);
143 FLAC__ASSERT(new_capacity >= bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WORD));
145 new_buffer = (bwword*)safe_realloc_mul_2op_(bw->buffer, sizeof(bwword), /*times*/new_capacity);
    [all...]
  /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...]

Completed in 489 milliseconds