Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 88) sorted by relevance

1234

/art/runtime/
Dmemory_region.h63 T* address = ComputeInternalPointer<T>(offset); in Load() local
64 DCHECK(IsWordAligned(address)); in Load()
65 return *address; in Load()
73 T* address = ComputeInternalPointer<T>(offset); in Store() local
74 DCHECK(IsWordAligned(address)); in Store()
75 *address = value; in Store()
141 const uint8_t* address = begin() + bit_offset / kBitsPerByte; in LoadBits() local
145 uint32_t value = address[0] >> shift; in LoadBits()
147 value |= static_cast<uint32_t>(address[1]) << (8 - shift); in LoadBits()
149 value |= static_cast<uint32_t>(address[2]) << (16 - shift); in LoadBits()
[all …]
/art/compiler/debug/
Delf_symtab_writer.h68 uint64_t address = info.code_address; in WriteDebugSymbols() local
69 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
70 mapping_symbol_address = std::min(mapping_symbol_address, address); in WriteDebugSymbols()
97 uint64_t address = info.code_address; in WriteDebugSymbols() local
98 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
100 address += CompiledMethod::CodeDelta(info.isa); in WriteDebugSymbols()
101 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
/art/compiler/utils/x86/
Dassembler_x86.h319 void call(const Address& address);
324 void pushl(const Address& address);
328 void popl(const Address& address);
600 void xchgl(Register reg, const Address& address);
602 void cmpb(const Address& address, const Immediate& imm);
603 void cmpw(const Address& address, const Immediate& imm);
607 void cmpl(Register reg, const Address& address);
609 void cmpl(const Address& address, Register reg);
610 void cmpl(const Address& address, const Immediate& imm);
614 void testl(Register reg1, const Address& address);
[all …]
Dassembler_x86.cc69 void X86Assembler::call(const Address& address) { in call() argument
72 EmitOperand(2, address); in call()
89 EmitInt32(label.address()); in call()
101 void X86Assembler::pushl(const Address& address) { in pushl() argument
104 EmitOperand(6, address); in pushl()
126 void X86Assembler::popl(const Address& address) { in popl() argument
129 EmitOperand(0, address); in popl()
1899 void X86Assembler::xchgl(Register reg, const Address& address) { in xchgl() argument
1902 EmitOperand(reg, address); in xchgl()
1906 void X86Assembler::cmpb(const Address& address, const Immediate& imm) { in cmpb() argument
[all …]
/art/libdexfile/dex/
Ddex_file_exception_helpers.cc23 CatchHandlerIterator::CatchHandlerIterator(const CodeItemDataAccessor& accessor, uint32_t address) { in CatchHandlerIterator() argument
34 if (address >= start) { in CatchHandlerIterator()
36 if (address < end) { in CatchHandlerIterator()
43 const DexFile::TryItem* try_item = accessor.FindTryItem(address); in CatchHandlerIterator()
Ddex_file-inl.h288 uint32_t address = 0; in DecodeDebugLocalInfo() local
302 address += DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
325 local_in_reg[reg].end_address_ = address; in DecodeDebugLocalInfo()
332 local_in_reg[reg].start_address_ = address; in DecodeDebugLocalInfo()
347 local_in_reg[reg].end_address_ = address; in DecodeDebugLocalInfo()
363 local_in_reg[reg].start_address_ = address; in DecodeDebugLocalInfo()
375 address += (opcode - DBG_FIRST_SPECIAL) / DBG_LINE_RANGE; in DecodeDebugLocalInfo()
/art/runtime/native/
Dsun_misc_Unsafe.cc239 static void Unsafe_freeMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_freeMemory() argument
240 free(reinterpret_cast<void*>(static_cast<uintptr_t>(address))); in Unsafe_freeMemory()
243 static void Unsafe_setMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong bytes, jby… in Unsafe_setMemory() argument
244 memset(reinterpret_cast<void*>(static_cast<uintptr_t>(address)), value, bytes); in Unsafe_setMemory()
247 static jbyte Unsafe_getByteJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getByteJ() argument
248 return *reinterpret_cast<jbyte*>(address); in Unsafe_getByteJ()
251 static void Unsafe_putByteJB(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jbyte value) { in Unsafe_putByteJB() argument
252 *reinterpret_cast<jbyte*>(address) = value; in Unsafe_putByteJB()
255 static jshort Unsafe_getShortJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getShortJ() argument
256 return *reinterpret_cast<jshort*>(address); in Unsafe_getShortJ()
[all …]
/art/compiler/utils/x86_64/
Dassembler_x86_64.h364 void call(const Address& address);
368 void pushq(const Address& address);
372 void popq(const Address& address);
644 void xchgl(CpuRegister reg, const Address& address);
646 void cmpb(const Address& address, const Immediate& imm);
647 void cmpw(const Address& address, const Immediate& imm);
651 void cmpl(CpuRegister reg, const Address& address);
652 void cmpl(const Address& address, CpuRegister reg);
653 void cmpl(const Address& address, const Immediate& imm);
657 void cmpq(CpuRegister reg0, const Address& address);
[all …]
Dassembler_x86_64.cc75 void X86_64Assembler::call(const Address& address) { in call() argument
77 EmitOptionalRex32(address); in call()
79 EmitOperand(2, address); in call()
98 void X86_64Assembler::pushq(const Address& address) { in pushq() argument
100 EmitOptionalRex32(address); in pushq()
102 EmitOperand(6, address); in pushq()
126 void X86_64Assembler::popq(const Address& address) { in popq() argument
128 EmitOptionalRex32(address); in popq()
130 EmitOperand(0, address); in popq()
2179 void X86_64Assembler::xchgl(CpuRegister reg, const Address& address) { in xchgl() argument
[all …]
/art/libartbase/base/
Dhex_dump.h32 HexDump(const void* address, size_t byte_count, bool show_actual_addresses, const char* prefix) in HexDump() argument
33 : address_(address), byte_count_(byte_count), show_actual_addresses_(show_actual_addresses), in HexDump()
/art/runtime/gc/accounting/
Dbitmap-inl.h137 uintptr_t* address = &bitmap_begin_[word_index]; in ModifyBit() local
138 uintptr_t old_word = *address; in ModifyBit()
140 *address = old_word | word_mask; in ModifyBit()
142 *address = old_word & ~word_mask; in ModifyBit()
Dcard_table-inl.h33 static inline bool byte_cas(uint8_t old_value, uint8_t new_value, uint8_t* address) { in byte_cas() argument
35 Atomic<uint8_t>* byte_atomic = reinterpret_cast<Atomic<uint8_t>*>(address); in byte_cas()
39 const size_t shift_in_bytes = reinterpret_cast<uintptr_t>(address) % sizeof(uintptr_t); in byte_cas()
41 address -= shift_in_bytes; in byte_cas()
43 Atomic<uintptr_t>* word_atomic = reinterpret_cast<Atomic<uintptr_t>*>(address); in byte_cas()
/art/disassembler/
Ddisassembler_x86.cc166 std::ostringstream address; in DumpAddress() local
170 address << StringPrintf("[0x%x]", *address_bits); in DumpAddress()
172 address << StringPrintf("[RIP + 0x%x]", *reinterpret_cast<const uint32_t*>(*instr)); in DumpAddress()
181 address << "["; in DumpAddress()
192 DumpBaseReg(address, rex64, base); in DumpAddress()
198 address << " + "; in DumpAddress()
200 DumpAddrReg(address, rex64, index); in DumpAddress()
202 address << StringPrintf(" * %d", 1 << scale); in DumpAddress()
209 address << StringPrintf(" + %d", *reinterpret_cast<const int32_t*>(*instr)); in DumpAddress()
213 address << StringPrintf("%d", *address_bits); in DumpAddress()
[all …]
/art/compiler/optimizing/
Dinstruction_simplifier_shared.cc261 HIntermediateAddress* address = new (allocator) HIntermediateAddress(array, offset, kNoDexPc); in TryExtractArrayAccessAddress() local
264 access->GetBlock()->InsertInstructionBefore(address, access); in TryExtractArrayAccessAddress()
265 access->ReplaceInput(address, 0); in TryExtractArrayAccessAddress()
269 DCHECK(address->GetSideEffects().Includes(SideEffects::DependsOnGC())); in TryExtractArrayAccessAddress()
330 HIntermediateAddressIndex* address = in TryExtractVecArrayAccessAddress() local
333 access->GetBlock()->InsertInstructionBefore(address, access); in TryExtractVecArrayAccessAddress()
334 access->ReplaceInput(address, 1); in TryExtractVecArrayAccessAddress()
Dinstruction_simplifier_mips.cc113 HIntermediateArrayAddressIndex* address = in TryExtractArrayAccessIndex() local
115 access->GetBlock()->InsertInstructionBefore(address, access); in TryExtractArrayAccessIndex()
116 access->ReplaceInput(address, 1); in TryExtractArrayAccessIndex()
Dblock_builder.cc317 uint32_t address = iterator.GetHandlerAddress(); in InsertTryBoundaryBlocks() local
318 if (catch_blocks.find(address) != catch_blocks.end()) { in InsertTryBoundaryBlocks()
328 HBasicBlock* catch_block = GetBlockAt(address); in InsertTryBoundaryBlocks()
331 HBasicBlock* new_catch_block = new (allocator_) HBasicBlock(graph_, address); in InsertTryBoundaryBlocks()
332 new_catch_block->AddInstruction(new (allocator_) HGoto(address)); in InsertTryBoundaryBlocks()
338 catch_blocks.Put(address, catch_block); in InsertTryBoundaryBlocks()
/art/runtime/gc/space/
Dlarge_object_space.h186 size_t GetSlotIndexForAddress(uintptr_t address) const { in GetSlotIndexForAddress() argument
187 DCHECK(Contains(reinterpret_cast<mirror::Object*>(address))); in GetSlotIndexForAddress()
188 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment; in GetSlotIndexForAddress()
191 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address);
192 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
/art/test/562-checker-no-intermediate/
Dinfo.txt2 intermediate address live across a Java call.
/art/compiler/
Dcompiled_method.cc91 uintptr_t address = reinterpret_cast<uintptr_t>(code_pointer); in CodePointer() local
93 address |= 0x1; in CodePointer()
94 return reinterpret_cast<const void*>(address); in CodePointer()
Dcfi_test.h111 std::string address; in ReformatCfi() local
117 address = "0x" + line.substr(line.size() - 8); in ReformatCfi()
132 output->push_back(address + ": " + new_line); in ReformatCfi()
/art/dt_fd_forward/
Ddt_fd_forward.cc675 const char* address, in Attach() argument
678 if (address == nullptr || *address == '\0') { in Attach()
682 jdwpTransportError err = ParseAddress(address, &listen_fd); in Attach()
690 const char* address, in StartListening() argument
692 if (address == nullptr || *address == '\0') { in StartListening()
696 jdwpTransportError err = ParseAddress(address, &listen_fd); in StartListening()
705 *actual_address = reinterpret_cast<char*>(AsFdForward(env)->Alloc(strlen(address) + 1)); in StartListening()
706 memcpy(*actual_address, address, strlen(address) + 1); in StartListening()
/art/test/412-new-array/
Dinfo.txt3 address, zero-extending a register instead of sign-extending.
/art/runtime/arch/arm/
Dasm_support_arm.S49 add \rDest, pc @ Fixup GOT_PREL address.
50 ldr \rDest, [\rDest] @ Load address of Runtime::instance_.
/art/test/501-regression-packed-switch/
Dinfo.txt4 address, zero-extending a register instead of sign-extending.
/art/runtime/interpreter/mterp/x86_64/
Dop_instance_of.S12 leaq VREG_ADDRESS(%rax), OUT_ARG1 # Get object address

1234