HomeSort by relevance Sort by last modified time
    Searched refs:capacity_ (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/webrtc/webrtc/modules/video_coding/
timestamp_map.cc 21 capacity_(capacity),
30 next_add_idx_ = (next_add_idx_ + 1) % capacity_;
34 next_pop_idx_ = (next_pop_idx_ + 1) % capacity_;
44 next_pop_idx_ = (next_pop_idx_ + 1) % capacity_;
53 next_pop_idx_ = (next_pop_idx_ + 1) % capacity_;
timestamp_map.h 40 const size_t capacity_; member in class:webrtc::VCMTimestampMap
  /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
  /external/v8/src/
identity-map.cc 31 capacity_ = 0;
46 if (size_ * kResizeFactor < capacity_ / kResizeFactor) {
47 Resize(capacity_ / kResizeFactor);
54 for (int index = start; index < capacity_; index++) {
69 int limit = capacity_ / 2;
79 Resize(capacity_ * kResizeFactor);
94 if (!is_iterable() && (size_ * kResizeFactor < capacity_ / kResizeFactor)) {
95 Resize(capacity_ / kResizeFactor);
141 DCHECK_LE(size_, capacity_);
159 if (capacity_ == 0)
    [all...]
  /frameworks/native/libs/vr/libpdx/private/pdx/rpc/
array_wrapper.h 30 ArrayWrapper() : buffer_(nullptr), capacity_(0), end_(0) {}
34 capacity_(capacity),
49 capacity_ = other.capacity_;
61 capacity_ = other.capacity_;
64 other.capacity_ = 0;
80 size_type max_size() const { return capacity_; }
81 size_type capacity() const { return capacity_; }
87 if (size <= capacity_)
98 size_type capacity_; member in class:android::pdx::rpc::ArrayWrapper
    [all...]
string_wrapper.h 32 StringWrapper() : buffer_(nullptr), capacity_(0), end_(0) {}
36 capacity_(capacity),
54 capacity_ = other.capacity_;
66 capacity_ = other.capacity_;
69 other.capacity_ = 0;
86 size_type max_size() const { return capacity_; }
87 size_type capacity() const { return capacity_; }
90 if (size <= capacity_)
101 size_type capacity_; member in class:android::pdx::rpc::StringWrapper
    [all...]
buffer_wrapper.h 30 BufferWrapper() : buffer_(nullptr), capacity_(0), end_(0) {}
34 capacity_(capacity),
49 capacity_ = other.capacity_;
61 capacity_ = other.capacity_;
64 other.capacity_ = 0;
80 size_type max_size() const { return capacity_; }
81 size_type capacity() const { return capacity_; }
84 if (size <= capacity_)
95 size_type capacity_; member in class:android::pdx::rpc::BufferWrapper
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
queue_op.h 36 OP_REQUIRES_OK(context, context->GetAttr("capacity", &capacity_));
37 if (capacity_ < 0) {
38 capacity_ = QueueBase::kUnbounded;
53 int32 capacity_; member in class:tensorflow::QueueOp
  /external/webrtc/webrtc/base/
buffer.cc 18 Buffer::Buffer() : size_(0), capacity_(0), data_(nullptr) {
27 capacity_(buf.capacity()),
38 capacity_(std::max(size, capacity)),
39 data_(new uint8_t[capacity_]) {
cryptstring.h 75 capacity_ = 32;
109 if (capacity_ >= n) {
113 size_t old_capacity = capacity_;
117 capacity_ *= 2;
118 if (capacity_ >= n)
122 storage_ = new char[capacity_];
137 if (capacity_) {
139 for (size_t i = 1; i < capacity_; i++) {
147 size_t capacity_; member in class:rtc::FormatCryptString
buffer.h 96 return capacity_;
108 capacity_ = buf.capacity_;
165 if (capacity <= capacity_)
170 capacity_ = capacity;
187 capacity_ = 0;
195 swap(a.capacity_, b.capacity_);
205 return (data_ || capacity_ == 0) && capacity_ >= size_
224 size_t capacity_; member in class:rtc::Buffer
    [all...]
bufferqueue.cc 16 : capacity_(capacity), default_size_(default_size) {
41 bool was_writable = queue_.size() < capacity_;
60 if (queue_.size() == capacity_) {
  /external/v8/src/compiler/
value-numbering-reducer.cc 54 capacity_(0),
68 DCHECK(capacity_ == 0);
70 capacity_ = kInitialCapacity;
78 DCHECK(size_ < capacity_);
79 DCHECK(size_ + size_ / 4 < capacity_);
81 const size_t mask = capacity_ - 1;
82 size_t dead = capacity_;
87 if (dead != capacity_) {
96 if (size_ + size_ / 4 >= capacity_) Grow();
98 DCHECK(size_ + size_ / 4 < capacity_);
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
bytestream.cc 67 : outbuf_(outbuf), capacity_(capacity), size_(0), overflowed_(false) {
71 size_t available = capacity_ - size_;
78 GOOGLE_DCHECK(!(outbuf_ <= bytes && bytes < (outbuf_ + capacity_)))
86 : capacity_(estimated_size),
96 size_t available = capacity_ - size_;
100 GOOGLE_DCHECK(!(buf_ <= bytes && bytes < (buf_ + capacity_)))
117 size_ = capacity_ = 0;
122 size_t new_capacity = std::max(capacity_ + amount, (3 * capacity_) / 2);
127 capacity_ = new_capacity
    [all...]
  /external/perfetto/src/ipc/
buffered_frame_deserializer.cc 41 : capacity_(max_capacity) {
55 buf_ = base::PageAllocator::Allocate(capacity_);
60 int res = madvise(buf() + base::kPageSize, capacity_ - base::kPageSize,
65 PERFETTO_CHECK(capacity_ > size_);
66 return ReceiveBuffer{buf() + size_, capacity_ - size_};
70 PERFETTO_CHECK(recv_size + size_ <= capacity_);
103 // Saturate the |payload_size| to prevent overflows. The > capacity_ check
106 std::min(static_cast<size_t>(payload_size), capacity_);
112 if (next_frame_size > capacity_) {
139 PERFETTO_CHECK(move_begin + size_ <= buf() + capacity_);
    [all...]
buffered_frame_deserializer.h 109 size_t capacity() const { return capacity_; }
123 const size_t capacity_ = 0; // sizeof(|buf_|). member in class:perfetto::ipc::BufferedFrameDeserializer
126 // EndReceive()). This is always <= |capacity_|.
  /external/vixl/src/
code-buffer-vixl.cc 48 capacity_(capacity) {
49 if (capacity_ == 0) {
53 buffer_ = reinterpret_cast<byte*>(malloc(capacity_));
78 capacity_(capacity) {
89 munmap(buffer_, capacity_);
99 int ret = mprotect(buffer_, capacity_, PROT_READ | PROT_EXEC);
107 int ret = mprotect(buffer_, capacity_, PROT_READ | PROT_WRITE);
156 memset(buffer_, 0, capacity_);
166 VIXL_ASSERT(new_capacity > capacity_);
179 mremap(buffer_, capacity_, new_capacity, MREMAP_MAYMOVE))
    [all...]
  /tools/dexter/slicer/export/slicer/
buffer.h 49 std::swap(capacity_, b.capacity_);
56 std::swap(capacity_, b.capacity_);
152 capacity_ = 0;
163 if (size_ + size > capacity_) {
164 capacity_ = std::max(size_t(capacity_ * 1.5), size_ + size);
165 buff_ = static_cast<dex::u1*>(::realloc(buff_, capacity_));
174 size_t capacity_ = 0 member in class:slicer::Buffer
    [all...]
  /system/nvram/messages/include/nvram/messages/
vector.h 46 capacity_ = 0;
92 size_t new_capacity = capacity_;
93 if (size < capacity_ / 2) {
95 } else if (size > capacity_) {
96 new_capacity = capacity_ * 2 > size ? capacity_ * 2 : size;
102 if (new_capacity != capacity_) {
138 capacity_ = new_capacity;
163 size_t capacity_ = 0; member in class:nvram::Vector
  /bionic/libc/bionic/
scandir.cpp 31 ScandirResult() : names_(nullptr), size_(0), capacity_(0) {
48 size_ = capacity_ = 0;
53 if (size_ >= capacity_) {
54 size_t new_capacity = capacity_ + 32;
61 capacity_ = new_capacity;
83 size_t capacity_; member in class:ScandirResult
  /external/icu/icu4c/source/i18n/
collationkeys.h 35 : buffer_(dest), capacity_(destCapacity),
46 if (appended_ < capacity_ || Resize(1, appended_)) {
64 return ignore_ + capacity_ - appended_;
67 UBool Overflowed() const { return appended_ > capacity_; }
77 capacity_ = 0;
81 int32_t capacity_; member in class:SortKeyByteSink
  /external/perfetto/src/traced/probes/filesystem/
lru_inode_cache.h 36 explicit LRUInodeCache(size_t capacity) : capacity_(capacity) {}
48 const size_t capacity_; member in class:perfetto::LRUInodeCache
  /system/connectivity/wifilogd/
message_buffer.h 78 size_t GetFreeSize() const { return capacity_ - write_pos_; }
102 const size_t capacity_; member in class:android::wifilogd::MessageBuffer
  /external/icu/icu4c/source/common/
bytestream.cpp 32 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity),
55 int32_t available = capacity_ - size_;
75 int32_t available = capacity_ - size_;

Completed in 1596 milliseconds

1 2 3 4