Searched refs:p_ (Results 1 – 3 of 3) sorted by relevance
/art/runtime/jdwp/ |
D | jdwp_request.cc | 29 Request::Request(const uint8_t* bytes, uint32_t available) : p_(bytes) { in Request() 48 if (p_ < end_) { in CheckConsumed() 49 CHECK(p_ == end_) << "read too few bytes: " << (end_ - p_); in CheckConsumed() 50 } else if (p_ > end_) { in CheckConsumed() 51 CHECK(p_ == end_) << "read too many bytes: " << (p_ - end_); in CheckConsumed() 59 memcpy(&s[0], p_, length); in ReadUtf8String() 60 p_ += length; in ReadUtf8String() 160 return *p_++; in Read1() 164 uint16_t result = p_[0] << 8 | p_[1]; in Read2BE() 165 p_ += 2; in Read2BE() [all …]
|
D | jdwp.h | 481 size_t size() { return end_ - p_; } in size() 484 const uint8_t* data() { return p_; } in data() 486 void Skip(size_t count) { p_ += count; } in Skip() 501 const uint8_t* p_; variable
|
/art/runtime/ |
D | debugger.cc | 4551 if (p_ > &buf_[0]) { in ~HeapChunkContext() 4570 JDWP::Write4BE(&p_, 1); // Heap id (bogus; we only have one heap). in EnsureHeader() 4571 JDWP::Write1BE(&p_, 8); // Size of allocation unit, in bytes. in EnsureHeader() 4573 … JDWP::Write4BE(&p_, reinterpret_cast<uintptr_t>(chunk_ptr)); // virtual address of segment start. in EnsureHeader() 4574 JDWP::Write4BE(&p_, 0); // offset of this piece (relative to the virtual address). in EnsureHeader() 4577 pieceLenField_ = p_; in EnsureHeader() 4578 JDWP::Write4BE(&p_, 0x55555555); in EnsureHeader() 4590 CHECK_LE(pieceLenField_, p_); in Flush() 4593 ArrayRef<const uint8_t> out(&buf_[0], p_ - &buf_[0]); in Flush() 4613 p_ = &buf_[0]; in Reset() [all …]
|