/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
|
H A D | spdy_frame_builder.cc | 37 capacity_(size), 70 flags, capacity_ - framer.GetControlFrameHeaderSize()); 89 size_t length_field = capacity_ - framer.GetDataFrameMinimumSize(); 124 success &= WriteUInt24(capacity_ - offset_ - framer.GetPrefixLength(type)); 217 if (offset_ + length_ + length > capacity_) {
|
/external/chromium_org/net/websockets/ |
H A D | websocket_inflater.h | 85 const size_t capacity_; member in class:net::WebSocketInflater::OutputBuffer 111 const size_t capacity_; member in class:net::WebSocketInflater::InputQueue
|
/external/chromium_org/media/filters/ |
H A D | audio_renderer_algorithm.cc | 79 capacity_(kStartingBufferSizeInFrames), 208 // Reset |capacity_| so growth triggered by underflows doesn't penalize 210 capacity_ = kStartingBufferSizeInFrames; 220 return audio_buffer_.frames() >= capacity_; 225 DCHECK_LE(capacity_, max_capacity); 227 capacity_ = std::min(2 * capacity_, max_capacity);
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/ |
H A D | unicodetext.cc | 110 if (capacity_ >= new_capacity && ours_) return; 113 capacity_ = max(new_capacity, (3 * capacity_) / 2 + 20); 114 char* new_data = new char[capacity_]; 130 if (!ours_ || new_size > capacity_) reserve(new_size); 143 size_ = capacity_ = 0; 157 capacity_ = capacity; 165 capacity_ = size; 179 << size_ << " capacity=" << capacity_ << " "
|
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/icu/source/common/unicode/ |
H A D | bytestream.h | 214 const int32_t capacity_; member in class:CheckedArrayByteSink
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | audio_vector.cc | 28 assert(copy_to->capacity_ >= Size()); 100 position = std::min(capacity_, position); 157 if (capacity_ < n) { 161 capacity_ = n;
|
/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 | 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;
|
H A D | string-stream.cc | 23 DCHECK(length_ < capacity_); 25 // indicated by a difference of 1 between length_ and capacity_. Thus when 27 if (length_ == capacity_ - 2) { 28 unsigned new_capacity = capacity_; 30 if (new_capacity > capacity_) { 31 capacity_ = new_capacity; 35 DCHECK(capacity_ >= 5); 36 length_ = capacity_ - 1; // Indicate fullness of the stream.
|
H A D | list.h | 79 INLINE(int capacity() const) { return capacity_; } 158 int capacity_;
|
H A D | gdb-jit.cc | 43 capacity_(1024), 44 buffer_(reinterpret_cast<byte*>(malloc(capacity_))) { 104 if (capacity_ < pos) { 105 while (capacity_ < pos) capacity_ *= 2; 106 buffer_ = reinterpret_cast<byte*>(realloc(buffer_, capacity_)); 159 DCHECK(offset < capacity_ && offset + sizeof(T) <= capacity_); 165 uintptr_t capacity_;
|
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...] |
/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/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common.h | 363 capacity_ = Max(initial_capacity, (uptr)1); 365 data_ = (T *)MmapOrDie(capacity_ * sizeof(T), "InternalMmapVector"); 368 UnmapOrDie(data_, capacity_ * sizeof(T)); 379 CHECK_LE(size_, capacity_); 380 if (size_ == capacity_) { 401 return capacity_; 415 UnmapOrDie(old_data, capacity_ * sizeof(T)); 416 capacity_ = new_capacity; 423 uptr capacity_;
|
/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/webrtc/modules/remote_bitrate_estimator/ |
H A D | remote_bitrate_estimator_unittest_helper.h | 135 int capacity_; member in class:webrtc::testing::StreamGenerator
|
H A D | remote_bitrate_estimator_unittest_helper.cc | 115 : capacity_(capacity), 134 capacity_ = capacity_bps; 170 assert(capacity_ > 0); 177 int capacity_bpus = capacity_ / 1000;
|
/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/icu/icu4c/source/i18n/ |
H A D | collationkeys.cpp | 48 int32_t available = capacity_ - length; 71 int32_t available = capacity_ - appended_; 76 *result_capacity = capacity_ - appended_;
|
H A D | rulebasedcollator.cpp | 77 // buffer_ != NULL && bytes != NULL && n > 0 && appended_ > capacity_ 79 int32_t available = capacity_ - length; 111 // buffer_ != NULL && bytes != NULL && n > 0 && appended_ > capacity_ 122 int32_t newCapacity = 2 * capacity_; 136 capacity_ = newCapacity;
|
/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...] |
H A D | spaces.cc | 254 capacity_(0), 263 capacity_ = RoundUp(capacity, Page::kPageSize); 265 DCHECK_GE(capacity_, capacity_executable_); 279 capacity_ = 0; 797 float pct = static_cast<float>(capacity_ - size_) / capacity_; 803 capacity_, size_, static_cast<int>(pct * 100));
|
/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...] |