Home
last modified time | relevance | path

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

/art/runtime/
Dtrace.cc555 buf_(new uint8_t[std::max(kMinBufSize, buffer_size)]()), in Trace()
569 memset(buf_.get(), 0, kTraceHeaderLength); in Trace()
570 Append4LE(buf_.get(), kTraceMagicValue); in Trace()
571 Append2LE(buf_.get() + 4, trace_version); in Trace()
572 Append2LE(buf_.get() + 6, kTraceHeaderLength); in Trace()
573 Append8LE(buf_.get() + 8, start_time_); in Trace()
576 Append2LE(buf_.get() + 16, record_size); in Trace()
683 memcpy(data.data() + header.length(), buf_.get(), final_offset); in FinishTracing()
689 DumpBuf(buf_.get(), final_offset, clock_source_); in FinishTracing()
693 !trace_file_->WriteFully(buf_.get(), final_offset)) { in FinishTracing()
[all …]
Dtrace.h320 std::unique_ptr<uint8_t[]> buf_; variable
Ddebugger.cc4539 : buf_(16384 - 16), in HeapChunkContext()
4551 if (p_ > &buf_[0]) { in ~HeapChunkContext()
4589 CHECK_LE(&buf_[0], pieceLenField_); in Flush()
4593 ArrayRef<const uint8_t> out(&buf_[0], p_ - &buf_[0]); in Flush()
4613 p_ = &buf_[0]; in Reset()
4688 size_t byte_left = &buf_.back() - p_; in AppendChunk()
4697 byte_left = &buf_.back() - p_; in AppendChunk()
4758 std::vector<uint8_t> buf_; member in art::HeapChunkContext