Home
last modified time | relevance | path

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

/art/runtime/
Dtrace.cc556 buf_(new uint8_t[std::max(kMinBufSize, buffer_size)]()), in Trace()
570 memset(buf_.get(), 0, kTraceHeaderLength); in Trace()
571 Append4LE(buf_.get(), kTraceMagicValue); in Trace()
572 Append2LE(buf_.get() + 4, trace_version); in Trace()
573 Append2LE(buf_.get() + 6, kTraceHeaderLength); in Trace()
574 Append8LE(buf_.get() + 8, start_time_); in Trace()
577 Append2LE(buf_.get() + 16, record_size); in Trace()
684 memcpy(data.data() + header.length(), buf_.get(), final_offset); in FinishTracing()
690 DumpBuf(buf_.get(), final_offset, clock_source_); in FinishTracing()
694 !trace_file_->WriteFully(buf_.get(), final_offset)) { in FinishTracing()
[all …]
Ddebugger.cc476 : buf_(16384 - 16), in HeapChunkContext()
488 if (p_ > &buf_[0]) { in ~HeapChunkContext()
526 CHECK_LE(&buf_[0], pieceLenField_); in Flush()
530 ArrayRef<const uint8_t> out(&buf_[0], p_ - &buf_[0]); in Flush()
550 p_ = &buf_[0]; in Reset()
625 size_t byte_left = &buf_.back() - p_; in AppendChunk()
634 byte_left = &buf_.back() - p_; in AppendChunk()
695 std::vector<uint8_t> buf_; member in art::HeapChunkContext
Dtrace.h321 std::unique_ptr<uint8_t[]> buf_; variable