Home
last modified time | relevance | path

Searched refs:buf_ (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Dutils.h30 LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) { in LineReader()
34 free(buf_); in ~LineReader()
39 if (getline(&buf_, &bufsize_, fp_) != -1) { in ReadLine()
40 return buf_; in ReadLine()
51 char* buf_; variable
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h148 : buf_(reinterpret_cast<uint8_t*>(&t)), size_(sizeof(t)) {} in Eraser()
150 template <size_t N> explicit Eraser(uint8_t(&arr)[N]) : buf_(arr), size_(N) {} in Eraser()
152 Eraser(void* buf, size_t size) : buf_(static_cast<uint8_t*>(buf)), size_(size) {} in Eraser()
153 ~Eraser() { memset_s(buf_, 0, size_); } in ~Eraser()
159 uint8_t* buf_; variable
/system/core/libziparchive/
Dzip_archive.cc982 buf_(buf), size_(size), bytes_written_(0) { in MemoryWriter()
992 memcpy(buf_ + bytes_written_, buf, buf_size); in Append()
998 uint8_t* const buf_; member in MemoryWriter