/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | ring_buffer.h | 33 Get(size_) = val; in Append() 34 size_++; in Append() 40 Get(size_) = std::move(val); in Append() 41 size_++; in Append() 44 bool IsEmpty() const { return size_ == 0; } in IsEmpty() 46 bool IsFull() const { return size_ == buffer_.size(); } in IsFull() 48 size_t GetSize() const { return size_; } in GetSize() 58 const T& Back() const { return Get(size_ - 1); } in Back() 60 T& Back() { return Get(size_ - 1); } in Back() 67 if (size_ != 0) { in PopBack() [all …]
|
/frameworks/base/tools/aapt2/util/ |
D | BigBuffer.h | 132 size_t size_; variable 137 : block_size_(block_size), size_(0) {} in BigBuffer() 141 size_(rhs.size_), in BigBuffer() 144 inline size_t BigBuffer::size() const { return size_; } in size() 159 size_ -= count; in BackUp() 165 size_ += buffer.size_; in AppendBuffer() 167 buffer.size_ = 0; in AppendBuffer() 173 const size_t unaligned = size_ % 4; in Align4()
|
D | BigBuffer.cpp | 33 size_ += size; in NextBlockImpl() 50 size_ += size; in NextBlockImpl() 61 size_ += size; in NextBlock() 74 size_ += block_size_; in NextBlock()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | vertex_frame.cpp | 30 size_(size) { in VertexFrame() 55 if (first_upload && size == size_) in WriteData() 57 else if (!first_upload && size <= size_) in WriteData() 61 "inside the vertex frame (%d bytes)!", size, size_); in WriteData() 70 size_ = size; in WriteData() 76 return size_; in Size()
|
D | native_frame.cpp | 22 NativeFrame::NativeFrame(int size) : data_(NULL), size_(size), capacity_(size) { in NativeFrame() 31 if (size_ >= (offset + size)) { in WriteData() 40 size_ = capacity_ = size; in SetData() 46 NativeFrame* result = new NativeFrame(size_); in Clone() 48 result->WriteData(data_, 0, size_); in Clone() 54 size_ = newSize; in Resize()
|
D | native_frame.h | 58 return size_; in Size() 74 int size_; variable
|
D | vertex_frame.h | 71 int size_; variable
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | utility.h | 38 std::swap(size_, other.size_); 46 inline size_t size() const { return size_; } in size() 51 iterator end() { return data_ + size_; } in end() 52 const_iterator end() const { return data_ + size_; } in end() 55 return size_ == other.size_ && 56 (size_ == 0 || memcmp(data_, other.data_, size_) == 0); 82 size_ = size; in resize() 86 size_t old_size = size_; in grow_by() 91 inline void clear() { size_ = 0; } in clear() 95 size_t size_{0};
|
/frameworks/base/tools/aapt2/io/ |
D | Data.h | 145 : data_(std::move(data)), size_(size) {} in MallocData() 150 size_t size() const override { return size_; } in size() 153 if (next_read_ == size_) { in Next() 157 *size = size_ - next_read_; in Next() 158 next_read_ = size_; in Next() 185 size_t size_; variable
|
/frameworks/native/libs/vr/libdisplay/include/private/dvr/ |
D | shared_buffer_helpers.h | 32 size_t Size() const { return size_; } in Size() 43 size_t size_ = 0; 120 std::tie(ring, import_ok) = RingType::Import(address_, size_); in Ring() 128 std::make_unique<RingType>(RingType::Create(address_, size_)); in Ring()
|
/frameworks/native/libs/vr/libdisplay/ |
D | shared_buffer_helpers.cpp | 92 size_ = width; in TryMapping()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Buffer.cpp | 292 C2ConstLinearBlock C2ConstLinearBlock::subBlock(size_t offset_, size_t size_) const { in subBlock() 293 C2LinearRange subRange(*mImpl, offset_, size_); in subBlock() 322 C2ConstLinearBlock C2LinearBlock::share(size_t offset_, size_t size_, C2Fence fence) { in share() argument 323 return ConstLinearBlockBuddy(mImpl, C2LinearRange(*this, offset_, size_), fence); in share()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 254 inline constexpr C2Segment(uint32_t offset_, uint32_t size_) in C2Segment() 256 size(size_) { in C2Segment()
|