Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_request.cc28 Request::Request(const uint8_t* bytes, uint32_t available) : p_(bytes) { in Request()
47 if (p_ < end_) { in CheckConsumed()
48 CHECK(p_ == end_) << "read too few bytes: " << (end_ - p_); in CheckConsumed()
49 } else if (p_ > end_) { in CheckConsumed()
50 CHECK(p_ == end_) << "read too many bytes: " << (p_ - end_); in CheckConsumed()
58 memcpy(&s[0], p_, length); in ReadUtf8String()
59 p_ += length; in ReadUtf8String()
159 return *p_++; in Read1()
163 uint16_t result = p_[0] << 8 | p_[1]; in Read2BE()
164 p_ += 2; in Read2BE()
[all …]
Djdwp.h477 size_t size() { return end_ - p_; } in size()
480 const uint8_t* data() { return p_; } in data()
482 void Skip(size_t count) { p_ += count; } in Skip()
497 const uint8_t* p_; variable
/art/runtime/
Ddebugger.cc4512 if (p_ > &buf_[0]) { in ~HeapChunkContext()
4531 JDWP::Write4BE(&p_, 1); // Heap id (bogus; we only have one heap). in EnsureHeader()
4532 JDWP::Write1BE(&p_, 8); // Size of allocation unit, in bytes. in EnsureHeader()
4534 … JDWP::Write4BE(&p_, reinterpret_cast<uintptr_t>(chunk_ptr)); // virtual address of segment start. in EnsureHeader()
4535 JDWP::Write4BE(&p_, 0); // offset of this piece (relative to the virtual address). in EnsureHeader()
4538 pieceLenField_ = p_; in EnsureHeader()
4539 JDWP::Write4BE(&p_, 0x55555555); in EnsureHeader()
4551 CHECK_LE(pieceLenField_, p_); in Flush()
4554 Dbg::DdmSendChunk(type_, p_ - &buf_[0], &buf_[0]); in Flush()
4573 p_ = &buf_[0]; in Reset()
[all …]