/art/runtime/base/ |
H A D | hex_dump.h | 32 HexDump(const void* address, size_t byte_count, bool show_actual_addresses, const char* prefix) argument 33 : address_(address), byte_count_(byte_count), show_actual_addresses_(show_actual_addresses),
|
H A D | hash_set.h | 343 allocfn_.construct(allocfn_.address(data_[i])); 350 allocfn_.destroy(allocfn_.address(data_[i])); 380 allocfn_.destroy(allocfn_.address(element));
|
/art/runtime/native/ |
H A D | java_lang_DexCache.cc | 34 void* address = const_cast<void*>(reinterpret_cast<const void*>(dex_file->Begin())); local 35 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size());
|
/art/compiler/utils/x86/ |
H A D | assembler_x86.h | 221 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, Registe 447 LockCmpxchgl(const Address& address, Register reg) argument [all...] |
H A D | assembler_x86.cc | 42 void X86Assembler::call(const Address& address) { argument 45 EmitOperand(2, address); 61 EmitInt32(label.address()); 73 void X86Assembler::pushl(const Address& address) { argument 76 EmitOperand(6, address); 98 void X86Assembler::popl(const Address& address) { argument 101 EmitOperand(0, address); 748 void X86Assembler::xchgl(Register reg, const Address& address) { argument 751 EmitOperand(reg, address); 768 void X86Assembler::cmpl(Register reg, const Address& address) { argument 782 addl(Register reg, const Address& address) argument 789 cmpl(const Address& address, Register reg) argument 796 cmpl(const Address& address, const Immediate& imm) argument 809 testl(Register reg, const Address& address) argument 884 addl(const Address& address, Register reg) argument 891 addl(const Address& address, const Immediate& imm) argument 910 adcl(Register dst, const Address& address) argument 930 subl(Register reg, const Address& address) argument 966 imull(Register reg, const Address& address) argument 981 imull(const Address& address) argument 995 mull(const Address& address) argument 1015 sbbl(Register dst, const Address& address) argument 1028 incl(const Address& address) argument 1041 decl(const Address& address) argument 1179 jmp(const Address& address) argument 1213 cmpxchgl(const Address& address, Register reg) argument [all...] |
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.h | 228 // If no_rip is true then the Absolute address isn't RIP relative. 242 // If no_rip is true then the Absolute address isn't RIP relative. 263 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); 489 LockCmpxchgl(const Address& address, CpuRegister reg) argument [all...] |
H A D | assembler_x86_64.cc | 47 void X86_64Assembler::call(const Address& address) { argument 49 EmitOptionalRex32(address); 51 EmitOperand(2, address); 69 void X86_64Assembler::pushq(const Address& address) { argument 71 EmitOptionalRex32(address); 73 EmitOperand(6, address); 97 void X86_64Assembler::popq(const Address& address) { argument 99 EmitOptionalRex32(address); 101 EmitOperand(0, address); 833 void X86_64Assembler::xchgl(CpuRegister reg, const Address& address) { argument 856 cmpl(CpuRegister reg, const Address& address) argument 880 cmpq(CpuRegister reg, const Address& address) argument 896 addl(CpuRegister reg, const Address& address) argument 904 cmpl(const Address& address, CpuRegister reg) argument 912 cmpl(const Address& address, const Immediate& imm) argument 953 testq(CpuRegister reg, const Address& address) argument 1090 addq(CpuRegister dst, const Address& address) argument 1107 addl(const Address& address, CpuRegister reg) argument 1115 addl(const Address& address, const Immediate& imm) argument 1153 subq(CpuRegister reg, const Address& address) argument 1161 subl(CpuRegister reg, const Address& address) argument 1201 imull(CpuRegister reg, const Address& address) argument 1218 imull(const Address& address) argument 1234 mull(const Address& address) argument 1374 jmp(const Address& address) argument 1409 cmpxchgl(const Address& address, CpuRegister reg) argument [all...] |
/art/disassembler/ |
H A D | disassembler_x86.cc | 182 // Group 4 - address size override: 1094 std::ostringstream address; local 1096 if (!supports_rex_) { // Absolute address. 1098 address << StringPrintf("[0x%x]", address_bits); 1100 address << StringPrintf("[RIP + 0x%x]", *reinterpret_cast<const uint32_t*>(instr)); 1109 address << "["; 1111 DumpBaseReg(address, rex64, base); 1113 address << " + "; 1117 DumpIndexReg(address, rex64, index); 1119 address << StringPrint [all...] |
/art/runtime/gc/accounting/ |
H A D | card_table-inl.h | 30 static inline bool byte_cas(byte old_value, byte new_value, byte* address) { argument 32 Atomic<byte>* byte_atomic = reinterpret_cast<Atomic<byte>*>(address); 36 const size_t shift_in_bytes = reinterpret_cast<uintptr_t>(address) % sizeof(uintptr_t); 37 // Align the address down. 38 address -= shift_in_bytes; 40 Atomic<uintptr_t>* word_atomic = reinterpret_cast<Atomic<uintptr_t>*>(address); 211 // Sanity check the caller was asking for address covered by the card table
|
H A D | space_bitmap-inl.h | 166 uword* address = &bitmap_begin_[index]; local 167 uword old_word = *address; 169 *address = old_word | mask; 171 *address = old_word & ~mask;
|
/art/runtime/gc/space/ |
H A D | large_object_space.h | 73 // Current address at which the space begins, which may vary as the space is filled. 77 // Current address at which the space ends, which may vary as the space is filled. 85 // Return true if we contain the specified address. 157 size_t GetSlotIndexForAddress(uintptr_t address) const { 158 DCHECK(Contains(reinterpret_cast<mirror::Object*>(address))); 159 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment; 162 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address); 163 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
|
H A D | large_object_space.cc | 231 // Returns the address of the object associated with this allocation info. 268 AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) { argument 269 return &allocation_info_[GetSlotIndexForAddress(address)]; 272 const AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) const { 273 return &allocation_info_[GetSlotIndexForAddress(address)]; 475 uintptr_t address = GetAddressForAllocationInfo(cur_info); local 477 os << "Free block at address: " << reinterpret_cast<const void*>(address) 480 os << "Large object at address: " << reinterpret_cast<const void*>(address) [all...] |
/art/runtime/ |
H A D | dex_file.cc | 728 int32_t DexFile::FindTryItem(const CodeItem &code_item, uint32_t address) { argument 740 if (address < start) { 742 } else if (address >= end) { 752 int32_t DexFile::FindCatchHandlerOffset(const CodeItem &code_item, uint32_t address) { argument 753 int32_t try_item = FindTryItem(code_item, address); 767 uint32_t address = 0; local 796 local_in_reg[arg_reg].start_address_ = address; 828 address += DecodeUnsignedLeb128(&stream); 852 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); 859 local_in_reg[reg].start_address_ = address; 940 LineNumForPcCb(void* raw_context, uint32_t address, uint32_t line_num) argument 1231 CatchHandlerIterator(const DexFile::CodeItem& code_item, uint32_t address) argument [all...] |
H A D | mem_map.h | 55 // Request an anonymous region of length 'byte_count' and a requested base address. 56 // Use NULL as the requested base address if you don't care. 77 // requesting a specific address for the base of the 152 static MemMap* GetLargestMemMapAt(void* address) 159 void* const base_begin_; // Page-aligned base address.
|
H A D | handle_scope.h | 125 uintptr_t address = reinterpret_cast<uintptr_t>(this) + ReferencesOffset(sizeof(void*)); local 126 return reinterpret_cast<StackReference<mirror::Object>*>(address);
|
H A D | dex_file.h | 148 uint32_t string_data_off_; // offset in bytes from the base address 759 // Find which try region is associated with the given address (ie dex pc). Returns -1 if none. 760 static int32_t FindTryItem(const CodeItem &code_item, uint32_t address); 762 // Find the handler offset associated with the given address (ie dex pc). Returns -1 if none. 763 static int32_t FindCatchHandlerOffset(const CodeItem &code_item, uint32_t address); 776 typedef bool (*DexDebugNewPositionCb)(void* context, uint32_t address, uint32_t line_num); 787 static bool LineNumForPcCb(void* context, uint32_t address, uint32_t line_num); 821 LineNumFromPcContext(uint32_t address, uint32_t line_num) argument 822 : address_(address), line_num_(line_num) {} 921 // Opens a .dex file at the given address backe [all...] |
H A D | mem_map.cc | 76 // Handling mem_map in 32b address range for 64b architectures that do not support MAP_32BIT. 82 // To not interfere with image position, take the image's address and only place it below. Current 134 // Return true if the address range is contained in a single /proc/self/map entry. 158 // Return true if the address range does not conflict with any /proc/self/maps entry. 211 // We asked for an address but didn't get what we wanted, all paths below here should fail. 228 os << StringPrintf("Failed to mmap at expected address, mapped at " 285 *error_msg = StringPrintf("The requested address space (%p, %p) cannot fit in low_4gb", 632 MemMap* MemMap::GetLargestMemMapAt(void* address) { argument 636 for (auto it = maps_->lower_bound(address), end = maps_->end(); 637 it != end && it->first == address; [all...] |
/art/test/082-inline-execute/src/ |
H A D | Main.java | 850 long address = (long)address_of.invoke(runtime, b); 851 Assert.assertEquals((byte)peek_byte.invoke(null, address), 0x12); 852 Assert.assertEquals((byte)peek_byte.invoke(null, address + 1), 0x11); 860 long address = (long)address_of.invoke(runtime, b); 861 Assert.assertEquals((short)peek_short.invoke(null, address, false), 0x1213); // Aligned read 862 Assert.assertEquals((short)peek_short.invoke(null, address + 1, false), 0x1112); // Unaligned read 872 long address = (long)address_of.invoke(runtime, b); 873 Assert.assertEquals((int)peek_int.invoke(null, address, false), 0x12131415); 874 Assert.assertEquals((int)peek_int.invoke(null, address + 1, false), 0x11121314); 888 long address [all...] |
/art/compiler/ |
H A D | compiled_method.cc | 118 uintptr_t address = reinterpret_cast<uintptr_t>(code_pointer); local 120 address |= 0x1; 121 return reinterpret_cast<const void*>(address);
|
/art/compiler/utils/ |
H A D | arena_containers.h | 158 pointer address(reference x) const { return &x; } function in class:art::ArenaAllocatorAdapter 159 const_pointer address(const_reference x) const { return &x; } function in class:art::ArenaAllocatorAdapter
|
H A D | scoped_arena_containers.h | 139 pointer address(reference x) const { return &x; } function in class:art::ScopedArenaAllocatorAdapter 140 const_pointer address(const_reference x) const { return &x; } function in class:art::ScopedArenaAllocatorAdapter
|
H A D | swap_space.h | 161 pointer address(reference x) const { return &x; } function in class:art::SwapAllocator 162 const_pointer address(const_reference x) const { return &x; } function in class:art::SwapAllocator
|
H A D | assembler.h | 59 ExternalLabel(const char* name, uword address) argument 60 : name_(name), address_(address) { 65 uword address() const { function in class:art::ExternalLabel 490 // Call to address held at [base+offset]
|
/art/compiler/utils/mips/ |
H A D | assembler_mips.h | 105 void J(uint32_t address); 106 void Jal(uint32_t address); 261 // Call to address held at [base+offset] 273 void EmitJ(int opcode, int address);
|
H A D | assembler_mips.cc | 64 void MipsAssembler::EmitJ(int opcode, int address) { argument 66 address; 324 void MipsAssembler::J(uint32_t address) { argument 325 EmitJ(0x2, address); 329 void MipsAssembler::Jal(uint32_t address) { argument 330 EmitJ(0x2, address); 549 // Push callee saves and return address 572 // Pop callee saves and return address 584 // Then jump to the return address. 840 // the address i [all...] |