/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | substitute.h | 90 : text_(value), size_(strlen(text_)) {} in SubstituteArg() 92 : text_(value.data()), size_(value.size()) {} in SubstituteArg() 96 : text_(NULL), size_(-1) {} in SubstituteArg() 105 : text_(scratch_), size_(1) { scratch_[0] = value; } in SubstituteArg() 107 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 109 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 111 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 113 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 115 : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 117 : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() [all …]
|
D | bytestream.cc | 67 : outbuf_(outbuf), capacity_(capacity), size_(0), overflowed_(false) { in CheckedArrayByteSink() 71 size_t available = capacity_ - size_; in Append() 76 if (n > 0 && bytes != (outbuf_ + size_)) { in Append() 80 memcpy(outbuf_ + size_, bytes, n); in Append() 82 size_ += n; in Append() 88 size_(0) { in GrowingArrayByteSink() 96 size_t available = capacity_ - size_; in Append() 97 if (bytes != (buf_ + size_)) { in Append() 106 if (n > 0 && bytes != (buf_ + size_)) { in Append() 107 memcpy(buf_ + size_, bytes, n); in Append() [all …]
|
D | stringpiece.h | 438 pod.size_ = str.size(); in CreateFromStringPiece() 443 operator StringPiece() const { return StringPiece(data_, size_); } in StringPiece() 446 return StringPiece(data_, size_) == StringPiece(value); 451 assert(i < size_); 458 return size_; in size() 461 std::string ToString() const { return std::string(data_, size_); } in ToString() 464 stringpiece_ssize_type size_; member
|
D | bytestream.h | 196 size_t NumberOfBytesWritten() const { return size_; } in NumberOfBytesWritten() 205 size_t size_; variable 242 size_t size_; variable
|
/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 61 size_(size), in ArrayInputStream() 71 if (position_ < size_) { in Next() 72 last_returned_size_ = std::min(block_size_, size_ - position_); in Next() 96 if (count > size_ - position_) { in Skip() 97 position_ = size_; in Skip() 114 size_(size), in ArrayOutputStream() 124 if (position_ < size_) { in Next() 125 last_returned_size_ = std::min(block_size_, size_ - position_); in Next()
|
D | zero_copy_stream_impl_lite.h | 87 const int size_; // Total size of the array. variable 119 const int size_; // Total size of the array. 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/cmds/dumpstate/ |
D | DumpstateSectionReporter.h | 49 size_ = size; in setSize() 57 int size_; variable
|
D | DumpstateSectionReporter.cpp | 28 : title_(title), listener_(listener), sendReport_(sendReport), status_(OK), size_(-1) { in DumpstateSectionReporter() 36 listener_->onSectionComplete(title_, status_, size_, (int32_t)elapsed.count()); in ~DumpstateSectionReporter()
|
/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()
|