Home
last modified time | relevance | path

Searched refs:size_ (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dring_buffer.h33 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/
DBigBuffer.h132 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()
DBigBuffer.cpp33 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/
Dvertex_frame.cpp30 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()
Dnative_frame.cpp22 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()
Dnative_frame.h58 return size_; in Size()
74 int size_; variable
Dvertex_frame.h71 int size_; variable
/frameworks/native/libs/vr/libpdx/private/pdx/
Dutility.h36 std::swap(size_, other.size_);
44 inline size_t size() const { return size_; } in size()
49 iterator end() { return data_ + size_; } in end()
50 const_iterator end() const { return data_ + size_; } in end()
53 return size_ == other.size_ &&
54 (size_ == 0 || memcmp(data_, other.data_, size_) == 0);
80 size_ = size; in resize()
84 size_t old_size = size_; in grow_by()
89 inline void clear() { size_ = 0; } in clear()
93 size_t size_{0};
/frameworks/base/tools/aapt2/io/
DData.h141 : data_(std::move(data)), size_(size) {} in MallocData()
146 size_t size() const override { return size_; } in size()
149 if (next_read_ == size_) { in Next()
153 *size = size_ - next_read_; in Next()
154 next_read_ = size_; in Next()
181 size_t size_; variable