Searched refs:partial_buf_ (Results 1 – 3 of 3) sorted by relevance
/external/perfetto/src/trace_processor/importers/proto/ |
D | proto_trace_tokenizer.h | 45 if (!partial_buf_.empty()) { in Tokenize() 48 if (PERFETTO_UNLIKELY(partial_buf_.size() < kHeaderBytes)) { in Tokenize() 49 size_t missing_len = std::min(kHeaderBytes - partial_buf_.size(), size); in Tokenize() 50 partial_buf_.insert(partial_buf_.end(), &data[0], &data[missing_len]); in Tokenize() 51 if (partial_buf_.size() < kHeaderBytes) in Tokenize() 59 const uint8_t* pos = &partial_buf_[0]; in Tokenize() 65 ++pos, &partial_buf_.front() + partial_buf_.size(), &field_size); in Tokenize() 75 size_t hdr_size = static_cast<size_t>(pos - &partial_buf_[0]); in Tokenize() 77 PERFETTO_DCHECK(size_incl_header > partial_buf_.size()); in Tokenize() 81 if (partial_buf_.size() + size >= size_incl_header) { in Tokenize() [all …]
|
/external/perfetto/src/trace_processor/importers/systrace/ |
D | systrace_trace_parser.cc | 71 partial_buf_.insert(partial_buf_.end(), &owned_buf[0], &owned_buf[size]); in Parse() 74 state_ = partial_buf_[0] == '<' ? ParseState::kHtmlBeforeSystrace in Parse() 83 auto start_it = partial_buf_.begin(); in Parse() 85 auto line_it = std::find(start_it, partial_buf_.end(), '\n'); in Parse() 86 if (line_it == partial_buf_.end()) in Parse() 183 partial_buf_.clear(); in Parse() 185 partial_buf_.erase(partial_buf_.begin(), start_it); in Parse()
|
D | systrace_trace_parser.h | 57 std::deque<uint8_t> partial_buf_; variable
|