Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dbytestream.cc87 buf_(new char[estimated_size]), in GrowingArrayByteSink()
92 delete[] buf_; // Just in case the user didn't call GetBuffer. in ~GrowingArrayByteSink()
97 if (bytes != (buf_ + size_)) { in Append()
100 GOOGLE_DCHECK(!(buf_ <= bytes && bytes < (buf_ + capacity_))) in Append()
106 if (n > 0 && bytes != (buf_ + size_)) { in Append()
107 memcpy(buf_ + size_, bytes, n); in Append()
114 char* b = buf_; in GetBuffer()
116 buf_ = NULL; in GetBuffer()
124 memcpy(bigger, buf_, size_); in Expand()
125 delete[] buf_; in Expand()
[all …]
Dbytestream.h241 char* buf_; variable
/frameworks/base/cmds/idmap/
Dinspect.cpp22 const char* buf_; member in __anond2da32b90111::IdmapBuffer
26 IdmapBuffer() : buf_((const char *)MAP_FAILED), len_(0), pos_(0) {} in IdmapBuffer()
29 if (buf_ != MAP_FAILED) { in ~IdmapBuffer()
30 munmap(const_cast<char*>(buf_), len_); in ~IdmapBuffer()
47 … if ((buf_ = (const char*)mmap(NULL, len_, PROT_READ, MAP_PRIVATE, fd, 0)) == MAP_FAILED) { in init()
57 if (!buf_) { in nextUint32()
68 if ((reinterpret_cast<uintptr_t>(buf_ + pos_) & 0x3) != 0) { in nextUint32()
73 *i = dtohl(*reinterpret_cast<const uint32_t*>(buf_ + pos_)); in nextUint32()
79 if (!buf_) { in nextUint16()
90 if ((reinterpret_cast<uintptr_t>(buf_ + pos_) & 0x1) != 0) { in nextUint16()
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc4708 alignas(alignment) char buf_[N]; member in mcld::arena
4723 {return buf_ <= p && p <= buf_ + N;} in pointer_in_buffer()
4726 arena() noexcept : ptr_(buf_) {} in arena()
4735 std::size_t used() const {return static_cast<std::size_t>(ptr_ - buf_);} in used()
4736 void reset() {ptr_ = buf_;} in reset()
4744 if (static_cast<std::size_t>(buf_ + N - ptr_) >= n) in allocate()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.h3388 const char *buf_; member
3977 h->buf_ = NULL; in upb_bufhandle_init()
3990 h->buf_ = buf; in upb_bufhandle_setbuf()
4000 return h->buf_; in upb_bufhandle_buf()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.h4084 const char *buf_;
4673 h->buf_ = NULL;
4686 h->buf_ = buf;
4696 return h->buf_;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt32437 Landroid/icu/text/StringSearch$CEBuffer;->buf_:[Landroid/icu/text/StringSearch$CEI;