Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h147 explicit Eraser(T& t) : buf_(reinterpret_cast<uint8_t*>(&t)), size_(sizeof(t)) {} in Eraser()
149 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {} in Eraser()
151 Eraser(void* buf, size_t size) : buf_(static_cast<uint8_t*>(buf)), size_(size) {} in Eraser()
152 ~Eraser() { memset_s(buf_, 0, size_); } in ~Eraser()
158 uint8_t* buf_; variable
/system/extras/simpleperf/
Denvironment.cpp43 LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) { in LineReader()
47 free(buf_); in ~LineReader()
52 if (getline(&buf_, &bufsize_, fp_) != -1) { in ReadLine()
53 return buf_; in ReadLine()
64 char* buf_; member in LineReader
/system/core/libziparchive/
Dzip_archive.cc774 buf_(buf), size_(size), bytes_written_(0) { in MemoryWriter()
784 memcpy(buf_ + bytes_written_, buf, buf_size); in Append()
790 uint8_t* const buf_; member in MemoryWriter