Searched refs:size_ (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/wifi/1.5/default/ |
D | ringbuffer.cpp | 27 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() 52 size_ = 0; in clear()
|
D | ringbuffer.h | 44 size_t size_; variable
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
D | confirmationui_utils.h | 132 : 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
|
D | cbor.h | 83 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 …]
|