/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | array_wrapper.h | 30 ArrayWrapper() : buffer_(nullptr), capacity_(0), end_(0) {} in ArrayWrapper() 34 capacity_(capacity), in ArrayWrapper() 49 capacity_ = other.capacity_; 61 capacity_ = other.capacity_; 64 other.capacity_ = 0; 80 size_type max_size() const { return capacity_; } in max_size() 81 size_type capacity() const { return capacity_; } in capacity() 87 if (size <= capacity_) in resize() 90 end_ = capacity_; in resize() 98 size_type capacity_; variable
|
D | string_wrapper.h | 32 StringWrapper() : buffer_(nullptr), capacity_(0), end_(0) {} in StringWrapper() 36 capacity_(capacity), in StringWrapper() 54 capacity_ = other.capacity_; 66 capacity_ = other.capacity_; 69 other.capacity_ = 0; 86 size_type max_size() const { return capacity_; } in max_size() 87 size_type capacity() const { return capacity_; } in capacity() 90 if (size <= capacity_) in resize() 93 end_ = capacity_; in resize() 101 size_type capacity_; variable
|
D | buffer_wrapper.h | 30 BufferWrapper() : buffer_(nullptr), capacity_(0), end_(0) {} in BufferWrapper() 34 capacity_(capacity), in BufferWrapper() 49 capacity_ = other.capacity_; 61 capacity_ = other.capacity_; 64 other.capacity_ = 0; 80 size_type max_size() const { return capacity_; } in max_size() 81 size_type capacity() const { return capacity_; } in capacity() 84 if (size <= capacity_) in resize() 87 end_ = capacity_; in resize() 95 size_type capacity_; variable
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | native_frame.cpp | 22 NativeFrame::NativeFrame(int size) : data_(NULL), size_(size), capacity_(size) { in NativeFrame() 23 data_ = capacity_ == 0 ? NULL : new uint8_t[capacity_]; in NativeFrame() 40 size_ = capacity_ = size; in SetData() 53 if (newSize <= capacity_ && newSize >= 0) { in Resize()
|
D | native_frame.h | 63 return capacity_; in Capacity() 77 int capacity_; variable
|
/frameworks/native/services/vr/bufferhubd/ |
D | producer_queue_channel.cpp | 24 capacity_(0) { in ProducerQueueChannel() 98 return BufferInfo(channel_id(), consumer_channels_.size(), capacity_, in GetBufferInfo() 206 if (capacity_ >= BufferHubRPC::kMaxQueueCapacity) { in AllocateBuffer() 271 capacity_++; in AllocateBuffer() 292 if (capacity_ >= BufferHubRPC::kMaxQueueCapacity) { in OnProducerQueueInsertBuffer() 351 capacity_++; in OnProducerQueueInsertBuffer() 375 if (capacity_ == 0) { in OnProducerQueueRemoveBuffer() 383 capacity_--; in OnProducerQueueRemoveBuffer()
|
D | consumer_queue_channel.cpp | 19 capacity_(0), in ConsumerQueueChannel() 78 info.capacity = capacity_; in GetBufferInfo()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | utility.h | 39 std::swap(capacity_, other.capacity_); 47 inline size_t capacity() const { return capacity_; } in capacity() 64 if (size <= capacity_) in reserve() 77 capacity_ = size; in reserve() 96 size_t capacity_{0};
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | consumer_queue_channel.h | 69 size_t capacity_; variable
|
D | producer_queue_channel.h | 79 size_t capacity_; variable
|
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
D | buffer_hub_queue_client.h | 79 size_t capacity() const { return capacity_; } in capacity() 265 size_t capacity_{0};
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
D | buffer_hub_queue_client.cpp | 283 ALOGE("%s: queue is at maximum capacity: %zu", __FUNCTION__, capacity_); in AddBuffer() 309 capacity_++; in AddBuffer() 332 capacity_--; in RemoveBuffer()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 389 inline constexpr _C2LinearRangeAspect(uint32_t capacity_, size_t offset, size_t size) in _C2LinearRangeAspect() argument 390 : _C2LinearCapacityAspect(capacity_), in _C2LinearRangeAspect()
|
D | C2Config.h | 1979 inline C2StoreIonUsageStruct(uint64_t usage_, uint32_t capacity_) in C2StoreIonUsageStruct() 1980 : usage(usage_), capacity(capacity_), heapMask(0), allocFlags(0), minAlignment(0) { } in C2StoreIonUsageStruct()
|