Home
last modified time | relevance | path

Searched refs:buffer_ (Results 1 – 10 of 10) sorted by relevance

/art/compiler/utils/x86/
Dassembler_x86.cc70 AssemblerBuffer::EnsureCapacity ensured(&buffer_); in call()
77 AssemblerBuffer::EnsureCapacity ensured(&buffer_); in call()
84 AssemblerBuffer::EnsureCapacity ensured(&buffer_); in call()
93 AssemblerBuffer::EnsureCapacity ensured(&buffer_); in call()
94 intptr_t call_start = buffer_.GetPosition(); in call()
98 DCHECK_EQ((buffer_.GetPosition() - call_start), kCallExternalLabelSize); in call()
103 AssemblerBuffer::EnsureCapacity ensured(&buffer_); in pushl()
109 AssemblerBuffer::EnsureCapacity ensured(&buffer_); in pushl()
116 AssemblerBuffer::EnsureCapacity ensured(&buffer_); in pushl()
128 AssemblerBuffer::EnsureCapacity ensured(&buffer_); in popl()
[all …]
Dassembler_x86.h271 : buffer_(allocator->Adapter(kArenaAllocAssembler)) {} in ConstantArea()
294 return buffer_.size() == 0; in IsEmpty()
298 return buffer_.size() * elem_size_; in GetSize()
302 return ArrayRef<const int32_t>(buffer_); in GetBuffer()
307 ArenaVector<int32_t> buffer_; variable
929 buffer_.Emit<uint8_t>(value); in EmitUint8()
933 buffer_.Emit<int32_t>(value); in EmitInt32()
939 buffer_.Emit<uint8_t>(0xC0 + (rm << 3) + reg); in EmitRegisterOperand()
947 buffer_.EmitFixup(fixup); in EmitFixup()
/art/compiler/utils/
Dassembler.h190 buffer_ = buffer; in EnsureCapacity()
202 buffer_->has_ensured_capacity_ = false; in ~EnsureCapacity()
210 AssemblerBuffer* buffer_;
213 int ComputeGap() { return buffer_->Capacity() - buffer_->Size(); } in ComputeGap()
360 virtual void FinalizeCode() { buffer_.EmitSlowPaths(this); } in FinalizeCode()
363 virtual size_t CodeSize() const { return buffer_.Size(); } in CodeSize()
364 virtual const uint8_t* CodeBufferBaseAddress() const { return buffer_.contents(); } in CodeBufferBaseAddress()
378 buffer_.FinalizeInstructions(region); in FinalizeInstructions()
396 return buffer_.GetAllocator(); in GetAllocator()
400 return &buffer_; in GetBuffer()
[all …]
/art/libartbase/base/
Dsystrace.h85 ATraceBegin(buffer_.str().c_str()); in ~ScopedTraceMessageHelper()
89 return buffer_; in stream()
93 std::ostringstream buffer_;
/art/runtime/hprof/
Dhprof.cc302 buffer_.reserve(reserve_size); in EndianOutputBuffered()
308 buffer_[offset + 0] = static_cast<uint8_t>((new_value >> 24) & 0xFF); in UpdateU4()
309 buffer_[offset + 1] = static_cast<uint8_t>((new_value >> 16) & 0xFF); in UpdateU4()
310 buffer_[offset + 2] = static_cast<uint8_t>((new_value >> 8) & 0xFF); in UpdateU4()
311 buffer_[offset + 3] = static_cast<uint8_t>((new_value >> 0) & 0xFF); in UpdateU4()
316 DCHECK_EQ(length_, buffer_.size()); in HandleU1List()
317 buffer_.insert(buffer_.end(), values, values + count); in HandleU1List()
321 DCHECK_EQ(length_, buffer_.size()); in HandleU1AsU2List()
324 buffer_.push_back(0); in HandleU1AsU2List()
328 buffer_.push_back(value); in HandleU1AsU2List()
[all …]
/art/libelffile/stream/
Dbuffered_output_stream.cc45 memcpy(&buffer_[used_], src, byte_count); in WriteFully()
57 success = out_->WriteFully(&buffer_[0], used_); in FlushBuffer()
Dbuffered_output_stream.h46 uint8_t buffer_[kBufferSize]; variable
/art/tools/dexanalyze/
Ddexanalyze_bytecode.cc148 std::vector<uint8_t> buffer = std::move(buffer_); in ProcessDexFiles()
149 buffer_.clear(); in ProcessDexFiles()
520 << "Bytecode size " << code_item.InsnsSizeInBytes() << " -> " << buffer_.size(); in ProcessCodeItem()
527 const size_t buffer_start = buffer_.size(); in Add()
528 buffer_.push_back(opcode); in Add()
529 buffer_.insert(buffer_.end(), start + 1, start + 2 * inst.SizeInCodeUnits()); in Add()
531 ++instruction_freq_[std::vector<uint8_t>(buffer_.begin() + buffer_start, buffer_.end())]; in Add()
580 const size_t buffer_start = buffer_.size(); in InstNibbles()
581 buffer_.push_back(opcode); in InstNibbles()
583 buffer_.push_back(args[i] << 4); in InstNibbles()
[all …]
Ddexanalyze_bytecode.h93 std::vector<uint8_t> buffer_; variable
/art/compiler/utils/x86_64/
Dassembler_x86_64.h295 : buffer_(allocator->Adapter(kArenaAllocAssembler)) {} in ConstantArea()
318 return buffer_.size() * elem_size_; in GetSize()
322 return ArrayRef<const int32_t>(buffer_); in GetBuffer()
327 ArenaVector<int32_t> buffer_; variable
1042 buffer_.Emit<uint8_t>(value); in EmitUint8()
1046 buffer_.Emit<int32_t>(value); in EmitInt32()
1060 buffer_.Emit<uint8_t>((0xC0 | (reg & 7)) + (rm << 3)); in EmitRegisterOperand()
1068 buffer_.EmitFixup(fixup); in EmitFixup()