• Home
  • Raw
  • Download

Lines Matching refs:buffer_

303     buffer_.reserve(reserve_size);  in EndianOutputBuffered()
309 buffer_[offset + 0] = static_cast<uint8_t>((new_value >> 24) & 0xFF); in UpdateU4()
310 buffer_[offset + 1] = static_cast<uint8_t>((new_value >> 16) & 0xFF); in UpdateU4()
311 buffer_[offset + 2] = static_cast<uint8_t>((new_value >> 8) & 0xFF); in UpdateU4()
312 buffer_[offset + 3] = static_cast<uint8_t>((new_value >> 0) & 0xFF); in UpdateU4()
317 DCHECK_EQ(length_, buffer_.size()); in HandleU1List()
318 buffer_.insert(buffer_.end(), values, values + count); in HandleU1List()
322 DCHECK_EQ(length_, buffer_.size()); in HandleU1AsU2List()
325 buffer_.push_back(0); in HandleU1AsU2List()
329 buffer_.push_back(value); in HandleU1AsU2List()
335 DCHECK_EQ(length_, buffer_.size()); in HandleU2List()
338 buffer_.push_back(static_cast<uint8_t>((value >> 8) & 0xFF)); in HandleU2List()
339 buffer_.push_back(static_cast<uint8_t>((value >> 0) & 0xFF)); in HandleU2List()
345 DCHECK_EQ(length_, buffer_.size()); in HandleU4List()
348 buffer_.push_back(static_cast<uint8_t>((value >> 24) & 0xFF)); in HandleU4List()
349 buffer_.push_back(static_cast<uint8_t>((value >> 16) & 0xFF)); in HandleU4List()
350 buffer_.push_back(static_cast<uint8_t>((value >> 8) & 0xFF)); in HandleU4List()
351 buffer_.push_back(static_cast<uint8_t>((value >> 0) & 0xFF)); in HandleU4List()
357 DCHECK_EQ(length_, buffer_.size()); in HandleU8List()
360 buffer_.push_back(static_cast<uint8_t>((value >> 56) & 0xFF)); in HandleU8List()
361 buffer_.push_back(static_cast<uint8_t>((value >> 48) & 0xFF)); in HandleU8List()
362 buffer_.push_back(static_cast<uint8_t>((value >> 40) & 0xFF)); in HandleU8List()
363 buffer_.push_back(static_cast<uint8_t>((value >> 32) & 0xFF)); in HandleU8List()
364 buffer_.push_back(static_cast<uint8_t>((value >> 24) & 0xFF)); in HandleU8List()
365 buffer_.push_back(static_cast<uint8_t>((value >> 16) & 0xFF)); in HandleU8List()
366 buffer_.push_back(static_cast<uint8_t>((value >> 8) & 0xFF)); in HandleU8List()
367 buffer_.push_back(static_cast<uint8_t>((value >> 0) & 0xFF)); in HandleU8List()
373 DCHECK_EQ(buffer_.size(), length_); in HandleEndRecord()
376 static_cast<uint32_t>(buffer_[5]) << 24 | in HandleEndRecord()
377 static_cast<uint32_t>(buffer_[6]) << 16 | in HandleEndRecord()
378 static_cast<uint32_t>(buffer_[7]) << 8 | in HandleEndRecord()
379 static_cast<uint32_t>(buffer_[8]); in HandleEndRecord()
382 HandleFlush(buffer_.data(), length_); in HandleEndRecord()
383 buffer_.clear(); in HandleEndRecord()
389 std::vector<uint8_t> buffer_; member in art::hprof::EndianOutputBuffered