Home
last modified time | relevance | path

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

/hardware/interfaces/wifi/1.3/default/
Dringbuffer.cpp27 Ringbuffer::Ringbuffer(size_t maxSize) : size_(0), maxSize_(maxSize) {} in Ringbuffer()
39 size_ += input.size() * sizeof(input[0]); in append()
40 while (size_ > maxSize_) { in append()
41 size_ -= data_.front().size() * sizeof(data_.front()[0]); in append()
Dringbuffer.h43 size_t size_; variable
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dconfirmationui_utils.h132 : data_(reinterpret_cast<const uint8_t*>(buffer.data())), size_(buffer.size()) {
141 : data_(reinterpret_cast<const uint8_t*>(buffer.c_str())), size_(buffer.size()) {
147 : data_(reinterpret_cast<const uint8_t*>(buffer)), size_(size - 1) { in ByteBufferProxy()
152 ByteBufferProxy(const uint8_t (&buffer)[size]) : data_(buffer), size_(size) {} in ByteBufferProxy()
154 ByteBufferProxy() : data_(nullptr), size_(0) {} in ByteBufferProxy()
157 size_t size() const { return size_; } in size()
160 const uint8_t* end() const { return data_ + size_; } in end()
164 size_t size_; variable
Dcbor.h83 size_t size_;
84 StringBuffer(const T* data, size_t size) : data_(data), size_(size) {
88 size_t size() const { return size_; }
199 WriteState() : data_(nullptr), size_(0), error_(Error::OK) {}
200 WriteState(uint8_t* buffer, size_t size) : data_(buffer), size_(size), error_(Error::OK) {}
202 : data_(buffer), size_(size), error_(error) {}
204 WriteState(uint8_t (&buffer)[size]) : data_(buffer), size_(size), error_(Error::OK) {}
207 if (size_) {
209 --size_;
216 if (offset > size_) {
[all …]
/hardware/google/av/codec2/vndk/
DC2Buffer.cpp292 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()
/hardware/google/av/codec2/include/
DC2Buffer.h254 inline constexpr C2Segment(uint32_t offset_, uint32_t size_) in C2Segment()
256 size(size_) { in C2Segment()