Home
last modified time | relevance | path

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

12

/art/compiler/utils/x86/
Dassembler_x86.h215 void call(const Address& address);
220 void pushl(const Address& address);
224 void popl(const Address& address);
363 void xchgl(Register reg, const Address& address);
365 void cmpw(const Address& address, const Immediate& imm);
369 void cmpl(Register reg, const Address& address);
371 void cmpl(const Address& address, Register reg);
372 void cmpl(const Address& address, const Immediate& imm);
376 void testl(Register reg1, const Address& address);
380 void andl(Register dst, const Address& address);
[all …]
Dassembler_x86.cc42 void X86Assembler::call(const Address& address) { in call() argument
45 EmitOperand(2, address); in call()
62 EmitInt32(label.address()); in call()
74 void X86Assembler::pushl(const Address& address) { in pushl() argument
77 EmitOperand(6, address); in pushl()
99 void X86Assembler::popl(const Address& address) { in popl() argument
102 EmitOperand(0, address); in popl()
950 void X86Assembler::xchgl(Register reg, const Address& address) { in xchgl() argument
953 EmitOperand(reg, address); in xchgl()
957 void X86Assembler::cmpw(const Address& address, const Immediate& imm) { in cmpw() argument
[all …]
/art/runtime/
Dmemory_region.h56 T* address = ComputeInternalPointer<T>(offset); in Load() local
57 DCHECK(IsWordAligned(address)); in Load()
58 return *address; in Load()
66 T* address = ComputeInternalPointer<T>(offset); in Store() local
67 DCHECK(IsWordAligned(address)); in Store()
68 *address = value; in Store()
181 template<typename T> static bool IsWordAligned(const T* address) { in IsWordAligned() argument
184 return IsAlignedParam(address, kWordAlignment); in IsWordAligned()
Ddex_file.cc780 int32_t DexFile::FindTryItem(const CodeItem &code_item, uint32_t address) { in FindTryItem() argument
792 if (address < start) { in FindTryItem()
794 } else if (address >= end) { in FindTryItem()
804 int32_t DexFile::FindCatchHandlerOffset(const CodeItem &code_item, uint32_t address) { in FindCatchHandlerOffset() argument
805 int32_t try_item = FindTryItem(code_item, address); in FindCatchHandlerOffset()
820 uint32_t address = 0; in DecodeDebugInfo0() local
849 local_in_reg[arg_reg].start_address_ = address; in DecodeDebugInfo0()
881 address += DecodeUnsignedLeb128(&stream); in DecodeDebugInfo0()
905 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); in DecodeDebugInfo0()
912 local_in_reg[reg].start_address_ = address; in DecodeDebugInfo0()
[all …]
Dhandle_scope.h100 uintptr_t address = reinterpret_cast<uintptr_t>(this) + ReferencesOffset(sizeof(void*)); in GetReferences() local
101 return reinterpret_cast<StackReference<mirror::Object>*>(address); in GetReferences()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h314 void call(const Address& address);
318 void pushq(const Address& address);
322 void popq(const Address& address);
473 void xchgl(CpuRegister reg, const Address& address);
475 void cmpw(const Address& address, const Immediate& imm);
479 void cmpl(CpuRegister reg, const Address& address);
480 void cmpl(const Address& address, CpuRegister reg);
481 void cmpl(const Address& address, const Immediate& imm);
485 void cmpq(CpuRegister reg0, const Address& address);
486 void cmpq(const Address& address, const Immediate& imm);
[all …]
Dassembler_x86_64.cc47 void X86_64Assembler::call(const Address& address) { in call() argument
49 EmitOptionalRex32(address); in call()
51 EmitOperand(2, address); in call()
70 void X86_64Assembler::pushq(const Address& address) { in pushq() argument
72 EmitOptionalRex32(address); in pushq()
74 EmitOperand(6, address); in pushq()
98 void X86_64Assembler::popq(const Address& address) { in popq() argument
100 EmitOptionalRex32(address); in popq()
102 EmitOperand(0, address); in popq()
1191 void X86_64Assembler::xchgl(CpuRegister reg, const Address& address) { in xchgl() argument
[all …]
/art/disassembler/
Ddisassembler_x86.cc165 std::ostringstream address; in DumpAddress() local
169 address << StringPrintf("[0x%x]", *address_bits); in DumpAddress()
171 address << StringPrintf("[RIP + 0x%x]", *reinterpret_cast<const uint32_t*>(*instr)); in DumpAddress()
180 address << "["; in DumpAddress()
191 DumpBaseReg(address, rex64, base); in DumpAddress()
197 address << " + "; in DumpAddress()
199 DumpAddrReg(address, rex64, index); in DumpAddress()
201 address << StringPrintf(" * %d", 1 << scale); in DumpAddress()
208 address << StringPrintf(" + %d", *reinterpret_cast<const int32_t*>(*instr)); in DumpAddress()
212 address << StringPrintf("%d", *address_bits); in DumpAddress()
[all …]
/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.h31 static inline bool byte_cas(uint8_t old_value, uint8_t new_value, uint8_t* address) { in byte_cas() argument
33 Atomic<uint8_t>* byte_atomic = reinterpret_cast<Atomic<uint8_t>*>(address); in byte_cas()
37 const size_t shift_in_bytes = reinterpret_cast<uintptr_t>(address) % sizeof(uintptr_t); in byte_cas()
39 address -= shift_in_bytes; in byte_cas()
41 Atomic<uintptr_t>* word_atomic = reinterpret_cast<Atomic<uintptr_t>*>(address); in byte_cas()
Dspace_bitmap-inl.h167 uintptr_t* address = &bitmap_begin_[index]; in Modify() local
168 uintptr_t old_word = *address; in Modify()
170 *address = old_word | mask; in Modify()
172 *address = old_word & ~mask; in Modify()
/art/runtime/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()
Darena_containers.h154 pointer address(reference x) const { return &x; } in address() function
155 const_pointer address(const_reference x) const { return &x; } in address() function
Dscoped_arena_containers.h145 pointer address(reference x) const { return &x; } in address() function
146 const_pointer address(const_reference x) const { return &x; } in address() function
/art/runtime/gc/space/
Dlarge_object_space.h175 size_t GetSlotIndexForAddress(uintptr_t address) const { in GetSlotIndexForAddress() argument
176 DCHECK(Contains(reinterpret_cast<mirror::Object*>(address))); in GetSlotIndexForAddress()
177 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment; in GetSlotIndexForAddress()
180 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address);
181 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
Dlarge_object_space.cc332 AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) { in GetAllocationInfoForAddress() argument
333 return &allocation_info_[GetSlotIndexForAddress(address)]; in GetAllocationInfoForAddress()
336 const AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) const { in GetAllocationInfoForAddress()
337 return &allocation_info_[GetSlotIndexForAddress(address)]; in GetAllocationInfoForAddress()
542 uintptr_t address = GetAddressForAllocationInfo(cur_info); in Dump() local
544 os << "Free block at address: " << reinterpret_cast<const void*>(address) in Dump()
547 os << "Large object at address: " << reinterpret_cast<const void*>(address) in Dump()
/art/test/082-inline-execute/src/
DMain.java1078 long address = (long)address_of.invoke(runtime, b);
1079 Assert.assertEquals((byte)peek_byte.invoke(null, address), 0x12);
1080 Assert.assertEquals((byte)peek_byte.invoke(null, address + 1), 0x11);
1088 long address = (long)address_of.invoke(runtime, b);
1089 peek_short.invoke(null, address, false);
1090 Assert.assertEquals((short)peek_short.invoke(null, address, false), 0x1213); // Aligned read
1091 …Assert.assertEquals((short)peek_short.invoke(null, address + 1, false), 0x1112); // Unaligned read
1101 long address = (long)address_of.invoke(runtime, b);
1102 peek_int.invoke(null, address, false);
1103 Assert.assertEquals((int)peek_int.invoke(null, address, false), 0x12131415);
[all …]
/art/compiler/dwarf/
Ddebug_info_entry_writer.h161 void WriteStrp(Attribute attrib, int address) { in WriteStrp() argument
163 this->PushUint32(address); in WriteStrp()
168 int address = debug_str->size(); in WriteStrp() local
170 this->PushUint32(address); in WriteStrp()
/art/compiler/
Dcfi_test.h101 std::string address; in ReformatCfi() local
107 address = "0x" + line.substr(line.size() - 8); in ReformatCfi()
122 output->push_back(address + ": " + new_line); in ReformatCfi()
Delf_writer_quick.cc77 uintptr_t address = 0; // relative to start of section. in EncodeOatPatches() local
79 DCHECK_GE(location, address) << "Patch locations are not in sorted order"; in EncodeOatPatches()
80 EncodeUnsignedLeb128(buffer, dchecked_integral_cast<uint32_t>(location - address)); in EncodeOatPatches()
81 address = location; in EncodeOatPatches()
Dcompiled_method.cc104 uintptr_t address = reinterpret_cast<uintptr_t>(code_pointer); in CodePointer() local
106 address |= 0x1; in CodePointer()
107 return reinterpret_cast<const void*>(address); in CodePointer()
Doat_writer.cc854 uint32_t address = PointerToLowMemUInt32(object); in PatchObjectAddress() local
857 data[0] = address & 0xffu; in PatchObjectAddress()
858 data[1] = (address >> 8) & 0xffu; in PatchObjectAddress()
859 data[2] = (address >> 16) & 0xffu; in PatchObjectAddress()
860 data[3] = (address >> 24) & 0xffu; in PatchObjectAddress()
871 uint32_t address = PointerToLowMemUInt32(method); in PatchMethodAddress() local
874 data[0] = address & 0xffu; in PatchMethodAddress()
875 data[1] = (address >> 8) & 0xffu; in PatchMethodAddress()
876 data[2] = (address >> 16) & 0xffu; in PatchMethodAddress()
877 data[3] = (address >> 24) & 0xffu; in PatchMethodAddress()
[all …]
/art/runtime/native/
Djava_lang_DexCache.cc38 void* address = const_cast<void*>(reinterpret_cast<const void*>(dex_file->Begin())); in DexCache_getDexNative() local
39 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size()); in DexCache_getDexNative()
/art/runtime/arch/arm/
Dasm_support_arm.S43 add \rDest, pc @ Fixup GOT address.
44 ldr \rDest, [\rDest, \rTemp] @ Load address of Runtime::instance_.
/art/compiler/optimizing/
Dintrinsics_x86.cc1166 Register address = locations->InAt(0).AsRegisterPairLow<Register>(); in GenPeek() local
1172 __ movsxb(out_loc.AsRegister<Register>(), Address(address, 0)); in GenPeek()
1175 __ movsxw(out_loc.AsRegister<Register>(), Address(address, 0)); in GenPeek()
1178 __ movl(out_loc.AsRegister<Register>(), Address(address, 0)); in GenPeek()
1181 __ movl(out_loc.AsRegisterPairLow<Register>(), Address(address, 0)); in GenPeek()
1182 __ movl(out_loc.AsRegisterPairHigh<Register>(), Address(address, 4)); in GenPeek()
1237 Register address = locations->InAt(0).AsRegisterPairLow<Register>(); in GenPoke() local
1244 __ movb(Address(address, 0), in GenPoke()
1247 __ movb(Address(address, 0), value_loc.AsRegister<ByteRegister>()); in GenPoke()
1252 __ movw(Address(address, 0), in GenPoke()
[all …]

12