Home
last modified time | relevance | path

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

12

/art/compiler/utils/x86/
Dassembler_x86.h221 void call(const Address& address);
226 void pushl(const Address& address);
230 void popl(const Address& address);
338 void xchgl(Register reg, const Address& address);
342 void cmpl(Register reg, const Address& address);
344 void cmpl(const Address& address, Register reg);
345 void cmpl(const Address& address, const Immediate& imm);
349 void testl(Register reg1, const Address& address);
362 void addl(Register reg, const Address& address);
364 void addl(const Address& address, Register reg);
[all …]
Dassembler_x86.cc42 void X86Assembler::call(const Address& address) { in call() argument
45 EmitOperand(2, address); in call()
61 EmitInt32(label.address()); in call()
73 void X86Assembler::pushl(const Address& address) { in pushl() argument
76 EmitOperand(6, address); in pushl()
98 void X86Assembler::popl(const Address& address) { in popl() argument
101 EmitOperand(0, address); in popl()
748 void X86Assembler::xchgl(Register reg, const Address& address) { in xchgl() argument
751 EmitOperand(reg, address); in xchgl()
768 void X86Assembler::cmpl(Register reg, const Address& address) { in cmpl() argument
[all …]
/art/disassembler/
Ddisassembler_x86.cc1094 std::ostringstream address; in DumpInstruction() local
1098 address << StringPrintf("[0x%x]", address_bits); in DumpInstruction()
1100 address << StringPrintf("[RIP + 0x%x]", *reinterpret_cast<const uint32_t*>(instr)); in DumpInstruction()
1109 address << "["; in DumpInstruction()
1111 DumpBaseReg(address, rex64, base); in DumpInstruction()
1113 address << " + "; in DumpInstruction()
1117 DumpIndexReg(address, rex64, index); in DumpInstruction()
1119 address << StringPrintf(" * %d", 1 << scale); in DumpInstruction()
1125 address << StringPrintf(" + %d", *reinterpret_cast<const int32_t*>(instr)); in DumpInstruction()
1129 address << StringPrintf("%d", address_bits); in DumpInstruction()
[all …]
/art/compiler/utils/x86_64/
Dassembler_x86_64.h263 void call(const Address& address);
267 void pushq(const Address& address);
271 void popq(const Address& address);
379 void xchgl(CpuRegister reg, const Address& address);
383 void cmpl(CpuRegister reg, const Address& address);
384 void cmpl(const Address& address, CpuRegister reg);
385 void cmpl(const Address& address, const Immediate& imm);
389 void cmpq(CpuRegister reg0, const Address& address);
394 void testq(CpuRegister reg, const Address& address);
409 void addl(CpuRegister reg, const Address& address);
[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()
69 void X86_64Assembler::pushq(const Address& address) { in pushq() argument
71 EmitOptionalRex32(address); in pushq()
73 EmitOperand(6, address); in pushq()
97 void X86_64Assembler::popq(const Address& address) { in popq() argument
99 EmitOptionalRex32(address); in popq()
101 EmitOperand(0, address); in popq()
833 void X86_64Assembler::xchgl(CpuRegister reg, const Address& address) { in xchgl() argument
[all …]
/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()
/art/runtime/gc/space/
Dlarge_object_space.h157 size_t GetSlotIndexForAddress(uintptr_t address) const { in GetSlotIndexForAddress() argument
158 DCHECK(Contains(reinterpret_cast<mirror::Object*>(address))); in GetSlotIndexForAddress()
159 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment; in GetSlotIndexForAddress()
162 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address);
163 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
Dlarge_object_space.cc268 AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) { in GetAllocationInfoForAddress() argument
269 return &allocation_info_[GetSlotIndexForAddress(address)]; in GetAllocationInfoForAddress()
272 const AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) const { in GetAllocationInfoForAddress()
273 return &allocation_info_[GetSlotIndexForAddress(address)]; in GetAllocationInfoForAddress()
475 uintptr_t address = GetAddressForAllocationInfo(cur_info); in Dump() local
477 os << "Free block at address: " << reinterpret_cast<const void*>(address) in Dump()
480 os << "Large object at address: " << reinterpret_cast<const void*>(address) in Dump()
/art/runtime/native/
Djava_lang_DexCache.cc34 void* address = const_cast<void*>(reinterpret_cast<const void*>(dex_file->Begin())); in DexCache_getDexNative() local
35 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size()); in DexCache_getDexNative()
/art/runtime/
Ddex_file.cc721 int32_t DexFile::FindTryItem(const CodeItem &code_item, uint32_t address) { in FindTryItem() argument
733 if (address < start) { in FindTryItem()
735 } else if (address >= end) { in FindTryItem()
745 int32_t DexFile::FindCatchHandlerOffset(const CodeItem &code_item, uint32_t address) { in FindCatchHandlerOffset() argument
746 int32_t try_item = FindTryItem(code_item, address); in FindCatchHandlerOffset()
760 uint32_t address = 0; in DecodeDebugInfo0() local
789 local_in_reg[arg_reg].start_address_ = address; in DecodeDebugInfo0()
821 address += DecodeUnsignedLeb128(&stream); in DecodeDebugInfo0()
845 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); in DecodeDebugInfo0()
852 local_in_reg[reg].start_address_ = address; in DecodeDebugInfo0()
[all …]
Ddex_file.h756 static int32_t FindTryItem(const CodeItem &code_item, uint32_t address);
759 static int32_t FindCatchHandlerOffset(const CodeItem &code_item, uint32_t address);
772 typedef bool (*DexDebugNewPositionCb)(void* context, uint32_t address, uint32_t line_num);
783 static bool LineNumForPcCb(void* context, uint32_t address, uint32_t line_num);
817 LineNumFromPcContext(uint32_t address, uint32_t line_num) in LineNumFromPcContext()
818 : address_(address), line_num_(line_num) {} in LineNumFromPcContext()
1297 CatchHandlerIterator(const DexFile::CodeItem& code_item, uint32_t address);
Dmem_map.h152 static MemMap* GetLargestMemMapAt(void* address)
Dmem_map.cc632 MemMap* MemMap::GetLargestMemMapAt(void* address) { in GetLargestMemMapAt() argument
636 for (auto it = maps_->lower_bound(address), end = maps_->end(); in GetLargestMemMapAt()
637 it != end && it->first == address; ++it) { in GetLargestMemMapAt()
Dcheck_jni.cc1758 static jobject NewDirectByteBuffer(JNIEnv* env, void* address, jlong capacity) { in NewDirectByteBuffer() argument
1759 CHECK_JNI_ENTRY(kFlag_Default, "EpJ", env, address, capacity); in NewDirectByteBuffer()
1760 if (address == nullptr) { in NewDirectByteBuffer()
1764 return CHECK_JNI_EXIT("L", baseEnv(env)->NewDirectByteBuffer(env, address, capacity)); in NewDirectByteBuffer()
Ddebugger.cc1647 static bool Callback(void* context, uint32_t address, uint32_t line_number) { in OutputLineTable()
1649 expandBufAdd8BE(pContext->pReply, address); in OutputLineTable()
3364 static bool Callback(void* raw_context, uint32_t address, uint32_t line_number) { in ConfigureStep()
3369 context->last_pc = address; in ConfigureStep()
3376 for (uint32_t dex_pc = context->last_pc; dex_pc < address; ++dex_pc) { in ConfigureStep()
/art/runtime/gc/accounting/
Dcard_table-inl.h30 static inline bool byte_cas(byte old_value, byte new_value, byte* address) { in byte_cas() argument
32 Atomic<byte>* byte_atomic = reinterpret_cast<Atomic<byte>*>(address); in byte_cas()
36 const size_t shift_in_bytes = reinterpret_cast<uintptr_t>(address) % sizeof(uintptr_t); in byte_cas()
38 address -= shift_in_bytes; in byte_cas()
40 Atomic<uintptr_t>* word_atomic = reinterpret_cast<Atomic<uintptr_t>*>(address); in byte_cas()
Dspace_bitmap-inl.h166 uword* address = &bitmap_begin_[index]; in Modify() local
167 uword old_word = *address; in Modify()
169 *address = old_word | mask; in Modify()
171 *address = old_word & ~mask; in Modify()
/art/test/082-inline-execute/src/
DMain.java814 long address = (long)address_of.invoke(runtime, b);
815 Assert.assertEquals((byte)peek_byte.invoke(null, address), 0x12);
816 Assert.assertEquals((byte)peek_byte.invoke(null, address + 1), 0x11);
824 long address = (long)address_of.invoke(runtime, b);
825 Assert.assertEquals((short)peek_short.invoke(null, address, false), 0x1213); // Aligned read
826 …Assert.assertEquals((short)peek_short.invoke(null, address + 1, false), 0x1112); // Unaligned read
836 long address = (long)address_of.invoke(runtime, b);
837 Assert.assertEquals((int)peek_int.invoke(null, address, false), 0x12131415);
838 Assert.assertEquals((int)peek_int.invoke(null, address + 1, false), 0x11121314);
852 long address = (long)address_of.invoke(runtime, b);
[all …]
/art/compiler/
Dcompiled_method.cc120 uintptr_t address = reinterpret_cast<uintptr_t>(code_pointer); in CodePointer() local
122 address |= 0x1; in CodePointer()
123 return reinterpret_cast<const void*>(address); in CodePointer()
/art/compiler/utils/
Dscoped_arena_containers.h139 pointer address(reference x) const { return &x; } in address() function
140 const_pointer address(const_reference x) const { return &x; } in address() function
Darena_containers.h158 pointer address(reference x) const { return &x; } in address() function
159 const_pointer address(const_reference x) const { return &x; } in address() function
Dassembler.h59 ExternalLabel(const char* name, uword address) in ExternalLabel() argument
60 : name_(name), address_(address) { in ExternalLabel()
65 uword address() const { in address() function
/art/compiler/utils/mips/
Dassembler_mips.h105 void J(uint32_t address);
106 void Jal(uint32_t address);
273 void EmitJ(int opcode, int address);
Dassembler_mips.cc64 void MipsAssembler::EmitJ(int opcode, int address) { in EmitJ() argument
66 address; in EmitJ()
324 void MipsAssembler::J(uint32_t address) { in J() argument
325 EmitJ(0x2, address); in J()
329 void MipsAssembler::Jal(uint32_t address) { in Jal() argument
330 EmitJ(0x2, address); in Jal()
/art/compiler/dex/
Dmir_graph.cc324 uint32_t address = iterator.GetHandlerAddress(); in ProcessTryCatchBlocks() local
325 FindBlock(address, false /* split */, true /*create*/, in ProcessTryCatchBlocks()

12