Searched defs:capacity_ (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/net/quic/
H A Dquic_data_writer.h65 return capacity_;
75 size_t capacity_; // Allocation size of payload (or -1 if buffer is const). member in class:net::QuicDataWriter
H A Dquic_data_writer.cc21 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...]
/external/chromium_org/media/filters/
H A Dh264_bitstream_buffer.h109 size_t capacity_; member in class:media::H264BitstreamBuffer
H A Daudio_renderer_algorithm.h62 int QueueCapacity() const { return capacity_; }
129 int capacity_; member in class:media::AudioRendererAlgorithm
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_vector.h28 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 Dsingle_rw_fifo.h35 int capacity() const { return capacity_; }
39 int capacity_; member in class:webrtc::SingleRwFifo
/external/chromium_org/chrome/browser/thumbnails/
H A Dthumbnail_service_unittest.cc20 capacity_(1) {
25 return known_url_map_.size() >= capacity_;
53 const size_t capacity_; member in class:MockTopSites
/external/chromium_org/net/spdy/
H A Dspdy_frame_builder.h53 // 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 Dwebsocket_inflater.h85 const size_t capacity_; member in class:net::WebSocketInflater::OutputBuffer
111 const size_t capacity_; member in class:net::WebSocketInflater::InputQueue
H A Dwebsocket_inflater.cc170 : 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...]
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dbytestream.h214 const int32_t capacity_; member in class:CheckedArrayByteSink
/external/icu/icu4c/source/common/unicode/
H A Dbytestream.h214 const int32_t capacity_; member in class:CheckedArrayByteSink
/external/chromium_org/net/base/
H A Dio_buffer.h195 int capacity() { return capacity_; }
208 int capacity_; member in class:net::GrowableIOBuffer
/external/chromium_org/third_party/webrtc/base/
H A Datomicops.h64 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 Dbuffer.h41 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 Dcryptstring.h80 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/v8/src/
H A Dostreams.h74 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 Dhashmap.h66 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 Dstring-stream.h82 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 Dunique.h136 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/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_util.h74 size_t capacity() const { return capacity_; }
130 capacity_ = 0;
137 size_t capacity_; member in class:crazy::String
149 Vector() : items_(0), count_(0), capacity_(0) {}
193 size_t capacity_; member in class:crazy::Vector
207 if (count_ >= capacity_)
208 Reserve(capacity_ + (capacity_ >> 1) + 4);
238 capacity_ = new_capacity;
239 if (count_ > capacity_)
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
H A Dunicodetext.h287 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/webrtc/modules/remote_bitrate_estimator/
H A Dremote_bitrate_estimator_unittest_helper.h135 int capacity_; member in class:webrtc::testing::StreamGenerator
/external/icu/icu4c/source/i18n/
H A Dcollationkeys.h33 : 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/chromium_org/third_party/leveldatabase/src/util/
H A Dcache.cc141 void SetCapacity(size_t capacity) { capacity_ = capacity; }
157 size_t capacity_; member in class:leveldb::__anon12466::LRUCache
248 while (usage_ > capacity_ && lru_.next != &lru_) {

Completed in 572 milliseconds

12