Searched refs:buf_ (Results 1 – 8 of 8) sorted by relevance
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 545 buf_(allocator.allocate(reserved_)), 546 cur_(buf_ + reserved_), 550 if (buf_) 551 allocator_.deallocate(buf_); 555 if (buf_ == nullptr) 556 buf_ = allocator_.allocate(reserved_); 558 cur_ = buf_ + reserved_; 566 std::bind(&simple_allocator::deallocate, allocator_, buf_)); 572 buf_ = nullptr; 584 if (len > static_cast<size_t>(cur_ - buf_)) { [all …]
|
/system/core/logd/ |
D | CommandListener.h | 36 LogBuffer* buf_; variable 50 LogBuffer* buf() const { return parent_->buf_; } \
|
D | CommandListener.cpp | 45 : FrameworkListener(getLogSocket()), buf_(buf), tags_(tags), prune_(prune), stats_(stats) { in CommandListener()
|
/system/tools/aidl/ |
D | code_writer.cpp | 119 : CodeWriter(std::unique_ptr<std::ostream>(new std::stringstream())), buf_(buf) {} in ForString() 124 *buf_ = static_cast<std::stringstream*>(ostream_.get())->str(); in ForString() 129 std::string* buf_; in ForString() member in android::aidl::CodeWriter::ForString::StringCodeWriter
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 170 explicit Eraser(T& t) : buf_(reinterpret_cast<uint8_t*>(&t)), size_(sizeof(t)) {} in Eraser() 172 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {} in Eraser() 174 Eraser(void* buf, size_t size) : buf_(static_cast<uint8_t*>(buf)), size_(size) {} in Eraser() 175 ~Eraser() { memset_s(buf_, 0, size_); } in ~Eraser() 181 uint8_t* buf_; variable
|
/system/core/trusty/storage/proxy/ |
D | storage.c | 126 static ssize_t write_with_retry(int fd, const void *buf_, size_t size, off_t offset) in write_with_retry() argument 129 const uint8_t *buf = buf_; in write_with_retry() 142 static ssize_t read_with_retry(int fd, void *buf_, size_t size, off_t offset) in read_with_retry() argument 146 uint8_t *buf = buf_; in read_with_retry()
|
/system/extras/simpleperf/ |
D | environment.cpp | 56 explicit LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) { in LineReader() 60 free(buf_); in ~LineReader() 65 if (getline(&buf_, &bufsize_, fp_) != -1) { in ReadLine() 66 return buf_; in ReadLine() 77 char* buf_; member in LineReader
|
/system/libziparchive/ |
D | zip_archive.cc | 1053 memcpy(buf_ + bytes_written_, buf, buf_size); in Append() 1059 MemoryWriter(uint8_t* buf, size_t size) : Writer(), buf_(buf), size_(size), bytes_written_(0) {} in MemoryWriter() 1061 uint8_t* const buf_{nullptr}; member in MemoryWriter
|