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

/frameworks/base/cmds/idmap/
H A Dinspect.cpp21 const char* buf_; member in class:__anon781::IdmapBuffer
25 IdmapBuffer() : buf_((const char *)MAP_FAILED), len_(0), pos_(0) {}
28 if (buf_ != MAP_FAILED) {
29 munmap(const_cast<char*>(buf_), len_);
46 if ((buf_ = (const char*)mmap(NULL, len_, PROT_READ, MAP_PRIVATE, fd, 0)) == MAP_FAILED) {
56 if (!buf_) {
67 if ((reinterpret_cast<uintptr_t>(buf_ + pos_) & 0x3) != 0) {
72 *i = dtohl(*reinterpret_cast<const uint32_t*>(buf_ + pos_));
78 if (!buf_) {
89 if ((reinterpret_cast<uintptr_t>(buf_
[all...]

Completed in 446 milliseconds