Searched defs:buf_ (Results 1 - 5 of 5) sorted by relevance

/system/core/trusty/storage/proxy/
H A Dstorage.c126 static ssize_t write_with_retry(int fd, const void *buf_, size_t size, off_t offset) argument
129 const uint8_t *buf = buf_;
142 static ssize_t read_with_retry(int fd, void *buf_, size_t size, off_t offset) argument
146 uint8_t *buf = buf_;
/system/keymaster/include/keymaster/
H A Dandroid_keymaster_utils.h147 explicit Eraser(T& t) : buf_(reinterpret_cast<uint8_t*>(&t)), size_(sizeof(t)) {}
149 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {}
151 Eraser(void* buf, size_t size) : buf_(static_cast<uint8_t*>(buf)), size_(size) {}
152 ~Eraser() { memset_s(buf_, 0, size_); }
158 uint8_t* buf_; member in class:keymaster::Eraser
/system/extras/simpleperf/
H A Denvironment.cpp51 explicit LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) {
55 free(buf_);
60 if (getline(&buf_, &bufsize_, fp_) != -1) {
61 return buf_;
72 char* buf_; member in class:LineReader
/system/chre/external/flatbuffers/include/flatbuffers/
H A Dflatbuffers.h545 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_)) {
1249 vector_downward& buf_; member in struct:flatbuffers::Vector::TableKeyComparator
1371 vector_downward buf_; member in class:flatbuffers::Vector
1407 const vector_downward *buf_; member in struct:flatbuffers::Vector::StringOffsetCompare
1617 const uint8_t *buf_; member in class:flatbuffers::FLATBUFFERS_FINAL_CLASS
[all...]
/system/core/libziparchive/
H A Dzip_archive.cc757 MemoryWriter(uint8_t* buf, size_t size) : Writer(), buf_(buf), size_(size), bytes_written_(0) {}
766 memcpy(buf_ + bytes_written_, buf, buf_size);
772 uint8_t* const buf_; member in class:MemoryWriter

Completed in 113 milliseconds