/external/protobuf/gtest/src/ |
H A D | gtest-internal-inl.h | 255 Vector() : elements_(NULL), capacity_(0), size_(0) {} 269 capacity_ = size_ = 0; 452 if (new_capacity <= capacity_) 455 capacity_ = new_capacity; 457 realloc(elements_, capacity_*sizeof(elements_[0]))); 462 if (size_ < capacity_) 468 const int new_capacity = 3*(capacity_/2 + 1); 469 GTEST_CHECK_(new_capacity > capacity_) // Does the new capacity overflow? 470 << "Cannot grow a Vector with " << capacity_ << " elements already."; 480 int capacity_; // Th member in class:testing::internal::Vector [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | collationkeys.h | 33 : buffer_(dest), capacity_(destCapacity), 44 if (appended_ < capacity_ || Resize(1, appended_)) { 62 return ignore_ + capacity_ - appended_; 65 UBool Overflowed() const { return appended_ > capacity_; } 75 capacity_ = 0; 79 int32_t capacity_; member in class:SortKeyByteSink
|
/external/icu/icu4c/source/common/unicode/ |
H A D | bytestream.h | 214 const int32_t capacity_; member in class:CheckedArrayByteSink
|
/external/chromium_org/v8/src/ |
H A D | api.cc | 4565 capacity_(capacity), 4631 int remaining_capacity = capacity_ - static_cast<int>(buffer - start_); 4647 DCHECK(capacity_ == -1 || (buffer - start_) <= capacity_); 4657 DCHECK(capacity_ == -1 || (buffer - start_) <= capacity_); 4671 int remaining_capacity = capacity_ - static_cast<int>(buffer - start_); 4720 (capacity_ == -1 || (buffer_ - start_) < capacity_)) { 4731 int capacity_; member in class:v8::Utf8WriterVisitor [all...] |
H A D | hashmap.h | 66 uint32_t capacity() const { return capacity_; } 87 uint32_t capacity_; member in class:v8::internal::TemplateHashMapImpl 90 Entry* map_end() const { return map_ + capacity_; } 131 if (occupancy_ + occupancy_/4 >= capacity_) { 168 DCHECK(occupancy_ < capacity_); 187 Entry* r = map_ + (q->hash & (capacity_ - 1)); 243 DCHECK(base::bits::IsPowerOfTwo32(capacity_)); 244 Entry* p = map_ + (hash & (capacity_ - 1)); 248 DCHECK(occupancy_ < capacity_); // Guarantees loop termination. 269 capacity_ [all...] |
H A D | ostreams.h | 74 OStringStream() : size_(0), capacity_(32), data_(allocate(capacity_)) { 77 ~OStringStream() { deallocate(data_, capacity_); } 80 size_t capacity() const { return capacity_; } 97 size_t capacity_; member in class:v8::internal::OStringStream
|
H A D | string-stream.h | 82 capacity_(kInitialCapacity), 146 unsigned capacity_; member in class:v8::internal::FINAL 150 bool full() const { return (capacity_ - length_) == 1; } 151 int space() const { return capacity_ - length_; }
|
H A D | unique.h | 136 UniqueSet() : size_(0), capacity_(0), array_(NULL) { } 140 : size_(0), capacity_(capacity), 147 : size_(1), capacity_(1), array_(zone->NewArray<Unique<T> >(1)) { 326 uint16_t capacity_; member in class:v8::internal::FINAL 332 if (capacity_ < size) { 333 int new_capacity = 2 * capacity_ + size; 339 capacity_ = new_capacity;
|
/external/chromium_org/v8/src/heap/ |
H A D | spaces.h | 1016 intptr_t Available() { return capacity_ < size_ ? 0 : capacity_ - size_; } 1111 size_t capacity_; member in class:v8::internal::MemoryAllocator 1112 // Maximum subset of capacity_ that can be executable 1319 capacity_ = 0; 1326 size_ = capacity_; 1338 intptr_t Capacity() { return capacity_; } 1347 capacity_ += size_in_bytes; 1349 if (capacity_ > max_capacity_) { 1350 max_capacity_ = capacity_; 1383 intptr_t capacity_; member in class:v8::internal::BASE_EMBEDDED [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | atomicops.h | 64 capacity_(0), 69 capacity_(capacity), 76 if (capacity_ == 0) { 84 data_[pushed_count_ % capacity_] = value; 96 if (capacity_ == 0) { 104 *value_out = data_[popped_count_ % capacity_]; 122 capacity_ = new_capacity; 129 int IsFull() const { return pushed_count_ == popped_count_ + capacity_; } 137 size_t capacity() const { return capacity_; } 142 size_t capacity_; member in class:rtc::FixedSizeLockFreeQueue [all...] |
H A D | buffer.h | 41 size_t capacity() const { return capacity_; } 73 if (capacity > capacity_) { 77 capacity_ = capacity; 85 buf->capacity_ = capacity_; 91 data_.reset(new char[capacity_ = capacity]); 97 size_t capacity_; member in class:rtc::Buffer
|
H A D | cryptstring.h | 80 capacity_ = 32; 114 if (capacity_ >= n) { 118 size_t old_capacity = capacity_; 122 capacity_ *= 2; 123 if (capacity_ >= n) 127 storage_ = new char[capacity_]; 142 if (capacity_) { 144 for (size_t i = 1; i < capacity_; i++) { 152 size_t capacity_; member in class:rtc::FormatCryptString
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | audio_vector.h | 28 capacity_(kDefaultInitialSize) {} 34 capacity_(initial_size) { 114 size_t capacity_; // Allocated number of samples in the array. member in class:webrtc::AudioVector
|
/external/chromium_org/third_party/webrtc/modules/audio_device/android/ |
H A D | single_rw_fifo.h | 35 int capacity() const { return capacity_; } 39 int capacity_; member in class:webrtc::SingleRwFifo
|
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/ |
H A D | remote_bitrate_estimator_unittest_helper.h | 135 int capacity_; member in class:webrtc::testing::StreamGenerator
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/ |
H A D | unicodetext.h | 287 int utf8_capacity() const { return repr_.capacity_; } 332 int capacity_; member in class:i18n::phonenumbers::UnicodeText::Repr 335 Repr() : data_(NULL), size_(0), capacity_(0), ours_(true) {}
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
H A D | cache.cc | 141 void SetCapacity(size_t capacity) { capacity_ = capacity; } 157 size_t capacity_; member in class:leveldb::__anon12466::LRUCache 248 while (usage_ > capacity_ && lru_.next != &lru_) {
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | ucol.cpp | 4189 : buffer_(dest), capacity_(destCapacity), 4192 capacity_ = 0; 4193 } else if(capacity_ < 0) { 4195 capacity_ = 0; 4202 if (appended_ < capacity_ || Resize(1, appended_)) { 4209 if (a2 <= capacity_ || Resize(2, appended_)) { 4212 } else if(appended_ < capacity_) { 4231 capacity_ = 0; 4235 int32_t capacity_; member in class:SortKeyByteSink 4255 int32_t available = capacity_ [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
H A D | bytestream.h | 214 const int32_t capacity_; member in class:CheckedArrayByteSink
|
/external/chromium_org/net/base/ |
H A D | io_buffer.h | 195 int capacity() { return capacity_; } 208 int capacity_; member in class:net::GrowableIOBuffer
|
/external/chromium_org/net/http/ |
H A D | http_stream_parser.cc | 115 capacity_(capacity), 145 DCHECK_LE(size_ + bytes, capacity_); 161 int capacity() const { return capacity_; }; 170 const int capacity_; member in class:net::HttpStreamParser::SeekableIOBuffer
|
/external/chromium_org/net/quic/ |
H A D | quic_data_writer.cc | 21 capacity_(size), 32 capacity_ = 0; 121 if (length_ > capacity_) { 125 if (capacity_ - length_ < length) { 161 DCHECK_LE(length_, capacity_); 162 if (length_ > capacity_) { 165 memset(buffer_ + length_, 0x00, capacity_ - length_); 166 length_ = capacity_; 170 if (offset >= capacity_) { 171 LOG(DFATAL) << "offset: " << offset << " >= capacity: " << capacity_; local [all...] |
H A D | quic_data_writer.h | 65 return capacity_; 75 size_t capacity_; // Allocation size of payload (or -1 if buffer is const). member in class:net::QuicDataWriter
|
/external/chromium_org/net/spdy/ |
H A D | spdy_frame_builder.h | 53 // capacity_. The given type must be a control frame type. 60 // information from the |framer| and length information from capacity_. 67 // capacity_. The given type must be a control frame type. 82 capacity_ = 0; 143 size_t capacity_; // Allocation size of payload, set by constructor. member in class:net::SpdyFrameBuilder
|
/external/chromium_org/net/websockets/ |
H A D | websocket_inflater.cc | 170 : capacity_(capacity), 171 buffer_(capacity_ + 1), // 1 for sentinel 184 std::min(capacity_ - Size(), buffer_.size() - tail_)); 218 DCHECK_LE(advance + Size(), capacity_); 223 : capacity_(capacity), head_of_first_buffer_(0), tail_of_last_buffer_(0) {} 234 capacity_ - head_of_first_buffer_); 246 DCHECK(IsEmpty() || tail_of_last_buffer_ == capacity_); local 248 buffers_.push_back(new IOBufferWithSize(capacity_)); 257 DCHECK_LE(size + head_of_first_buffer_, capacity_); 260 if (head_of_first_buffer_ == capacity_) { [all...] |