Searched refs:p_ (Results 1 – 3 of 3) sorted by relevance
/art/runtime/jdwp/ |
D | jdwp_request.cc | 28 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 …]
|
D | jdwp.h | 445 size_t size() { return end_ - p_; } in size() 448 const uint8_t* data() { return p_; } in data() 450 void Skip(size_t count) { p_ += count; } in Skip() 465 const uint8_t* p_; variable
|
/art/runtime/ |
D | debugger.cc | 4070 if (p_ > &buf_[0]) { in ~HeapChunkContext() 4089 JDWP::Write4BE(&p_, 1); // Heap id (bogus; we only have one heap). in EnsureHeader() 4090 JDWP::Write1BE(&p_, 8); // Size of allocation unit, in bytes. in EnsureHeader() 4092 … JDWP::Write4BE(&p_, reinterpret_cast<uintptr_t>(chunk_ptr)); // virtual address of segment start. in EnsureHeader() 4093 JDWP::Write4BE(&p_, 0); // offset of this piece (relative to the virtual address). in EnsureHeader() 4096 pieceLenField_ = p_; in EnsureHeader() 4097 JDWP::Write4BE(&p_, 0x55555555); in EnsureHeader() 4109 CHECK_LE(pieceLenField_, p_); in Flush() 4112 Dbg::DdmSendChunk(type_, p_ - &buf_[0], &buf_[0]); in Flush() 4126 p_ = &buf_[0]; in Reset() [all …]
|