/external/chromium_org/third_party/webrtc/base/ |
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...] |
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
|
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_device/android/ |
single_rw_fifo.h | 35 int capacity() const { return capacity_; } 39 int capacity_; member in class:webrtc::SingleRwFifo
|
/frameworks/base/media/mca/filterfw/native/core/ |
native_frame.cpp | 22 NativeFrame::NativeFrame(int size) : data_(NULL), size_(size), capacity_(size) { 23 data_ = capacity_ == 0 ? NULL : new uint8_t[capacity_]; 40 size_ = capacity_ = size; 53 if (newSize <= capacity_ && newSize >= 0) {
|
native_frame.h | 63 return capacity_; 77 int capacity_; member in class:android::filterfw::NativeFrame
|
/art/runtime/ |
monitor_pool.cc | 31 : num_chunks_(0), capacity_(0), first_free_(nullptr) { 41 if (num_chunks_ == capacity_) { 42 if (capacity_ == 0U) { 44 capacity_ = kInitialChunkStorage; 45 uintptr_t* new_backing = new uintptr_t[capacity_]; 48 size_t new_capacity = 2 * capacity_; 51 memcpy(new_backing, old_backing, sizeof(uintptr_t) * capacity_); 53 capacity_ = new_capacity; 55 VLOG(monitor) << "Resizing to capacity " << capacity_;
|
/external/chromium_org/net/quic/ |
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...] |
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
|
/bionic/libc/bionic/ |
scandir.cpp | 28 ScandirResult() : names_(NULL), size_(0), capacity_(0) { 45 size_ = capacity_ = 0; 50 if (size_ >= capacity_) { 51 size_t new_capacity = capacity_ + 32; 57 capacity_ = new_capacity; 78 size_t capacity_; member in class:ScandirResult
|
/external/icu/icu4c/source/i18n/ |
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/chromium_org/media/filters/ |
audio_renderer_algorithm.h | 62 int QueueCapacity() const { return capacity_; } 129 int capacity_; member in class:media::AudioRendererAlgorithm
|
h264_bitstream_buffer.cc | 24 capacity_ = 0; 34 data_ = static_cast<uint8*>(realloc(data_, capacity_ + kGrowBytes)); 36 capacity_ += kGrowBytes; 53 if (pos_ + bytes_in_reg < capacity_)
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
crazy_linker_util.h | 74 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/icu/source/common/ |
bytestream.cpp | 30 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity), 47 int32_t available = capacity_ - size_; 67 int32_t available = capacity_ - size_;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
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/icu/icu4c/source/common/ |
bytestream.cpp | 30 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity), 47 int32_t available = capacity_ - size_; 67 int32_t available = capacity_ - size_;
|
/ndk/sources/android/crazy_linker/src/ |
crazy_linker_util.h | 74 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/v8/src/ |
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
|
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_ = capacity [all...] |
/ndk/sources/android/support/tests/minitest/ |
minitest.cc | 102 capacity_ = 0; 106 if (new_size > capacity_) { 107 size_t new_capacity = capacity_; 119 if (new_capacity > capacity_) 120 ::memset(str_ + capacity_, '\0', new_capacity - capacity_); 121 capacity_ = new_capacity;
|
/external/chromium_org/net/base/ |
io_buffer.cc | 96 capacity_(0), 104 capacity_ = capacity; 113 DCHECK_LE(offset, capacity_); 119 return capacity_ - offset_;
|
io_buffer.h | 195 int capacity() { return capacity_; } 208 int capacity_; member in class:net::GrowableIOBuffer
|
/external/chromium_org/net/websockets/ |
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...] |
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
|