/art/libartbase/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),
|
/art/libdexfile/dex/ |
H A D | dex_file_exception_helpers.cc | 23 CatchHandlerIterator::CatchHandlerIterator(const CodeItemDataAccessor& accessor, uint32_t address) { argument 34 if (address >= start) { 36 if (address < end) { 43 const DexFile::TryItem* try_item = accessor.FindTryItem(address);
|
H A D | dex_file_exception_helpers.h | 28 CatchHandlerIterator(const CodeItemDataAccessor& accessor, uint32_t address); 58 uint32_t address_; // handler address
|
/art/compiler/debug/ |
H A D | elf_symtab_writer.h | 68 uint64_t address = info.code_address; local 69 address += info.is_code_address_text_relative ? text->GetAddress() : 0; 70 mapping_symbol_address = std::min(mapping_symbol_address, address); 97 uint64_t address = info.code_address; local 98 address += info.is_code_address_text_relative ? text->GetAddress() : 0; 100 address += CompiledMethod::CodeDelta(info.isa); 101 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC);
|
/art/runtime/ |
H A D | memory_region.h | 59 // Load value of type `T` at `offset`. The memory address corresponding 63 T* address = ComputeInternalPointer<T>(offset); local 64 DCHECK(IsWordAligned(address)); 65 return *address; 68 // Store `value` (of type `T`) at `offset`. The memory address 73 T* address = ComputeInternalPointer<T>(offset); local 74 DCHECK(IsWordAligned(address)); 75 *address = value; 78 // Load value of type `T` at `offset`. The memory address corresponding 93 // Store `value` (of type `T`) at `offset`. The memory address 141 const uint8_t* address = begin() + bit_offset / kBitsPerByte; local 213 IsWordAligned(const T* address) argument [all...] |
H A D | mem_map.h | 85 // Request an anonymous region of length 'byte_count' and a requested base address. 86 // Use null as the requested base address if you don't care. 87 // "reuse" allows re-mapping an address range from an existing mapping. 134 // not relative. This version allows requesting a specific address for the base of the mapping. 245 static MemMap* GetLargestMemMapAt(void* address) 270 void* base_begin_; // Page-aligned base address. May be changed by AlignBy. 296 void ZeroAndReleasePages(void* address, size_t length);
|
/art/runtime/gc/accounting/ |
H A D | bitmap-inl.h | 137 uintptr_t* address = &bitmap_begin_[word_index]; local 138 uintptr_t old_word = *address; 140 *address = old_word | word_mask; 142 *address = old_word & ~word_mask;
|
H A D | card_table-inl.h | 33 static inline bool byte_cas(uint8_t old_value, uint8_t new_value, uint8_t* address) { argument 35 Atomic<uint8_t>* byte_atomic = reinterpret_cast<Atomic<uint8_t>*>(address); 39 const size_t shift_in_bytes = reinterpret_cast<uintptr_t>(address) % sizeof(uintptr_t); 40 // Align the address down. 41 address -= shift_in_bytes; 43 Atomic<uintptr_t>* word_atomic = reinterpret_cast<Atomic<uintptr_t>*>(address); 224 // Sanity check the caller was asking for address covered by the card table
|
/art/runtime/interpreter/mterp/x86_64/ |
H A D | op_instance_of.S | 12 leaq VREG_ADDRESS(%rax), OUT_ARG1 # Get object address
|
/art/runtime/native/ |
H A D | sun_misc_Unsafe.cc | 239 static void Unsafe_freeMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { argument 240 free(reinterpret_cast<void*>(static_cast<uintptr_t>(address))); 243 static void Unsafe_setMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong bytes, jbyte value) { argument 244 memset(reinterpret_cast<void*>(static_cast<uintptr_t>(address)), value, bytes); 247 static jbyte Unsafe_getByteJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { argument 248 return *reinterpret_cast<jbyte*>(address); 251 static void Unsafe_putByteJB(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jbyte value) { argument 252 *reinterpret_cast<jbyte*>(address) = value; 255 static jshort Unsafe_getShortJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { argument 256 return *reinterpret_cast<jshort*>(address); 259 Unsafe_putShortJS(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jshort value) argument 263 Unsafe_getCharJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 267 Unsafe_putCharJC(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jchar value) argument 271 Unsafe_getIntJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 275 Unsafe_putIntJI(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jint value) argument 279 Unsafe_getLongJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 283 Unsafe_putLongJJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong value) argument 287 Unsafe_getFloatJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 291 Unsafe_putFloatJF(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jfloat value) argument 294 Unsafe_getDoubleJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 298 Unsafe_putDoubleJD(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jdouble value) argument [all...] |
/art/compiler/utils/x86/ |
H A D | assembler_x86.h | 319 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); 739 LockCmpxchgl(const Address& address, Register reg) argument 743 LockCmpxchg8b(const Address& address) argument [all...] |
H A D | assembler_x86.cc | 58 return os << "<address?>"; 69 void X86Assembler::call(const Address& address) { argument 72 EmitOperand(2, address); 89 EmitInt32(label.address()); 101 void X86Assembler::pushl(const Address& address) { argument 104 EmitOperand(6, address); 126 void X86Assembler::popl(const Address& address) { argument 129 EmitOperand(0, address); 1899 void X86Assembler::xchgl(Register reg, const Address& address) { argument 1902 EmitOperand(reg, address); 1906 cmpb(const Address& address, const Immediate& imm) argument 1914 cmpw(const Address& address, const Immediate& imm) argument 1934 cmpl(Register reg, const Address& address) argument 1948 addl(Register reg, const Address& address) argument 1955 cmpl(const Address& address, Register reg) argument 1962 cmpl(const Address& address, const Immediate& imm) argument 1975 testl(Register reg, const Address& address) argument 2031 andl(Register reg, const Address& address) argument 2051 orl(Register reg, const Address& address) argument 2071 xorl(Register reg, const Address& address) argument 2090 addl(const Address& address, Register reg) argument 2097 addl(const Address& address, const Immediate& imm) argument 2103 addw(const Address& address, const Immediate& imm) argument 2124 adcl(Register dst, const Address& address) argument 2144 subl(Register reg, const Address& address) argument 2151 subl(const Address& address, Register reg) argument 2202 imull(Register reg, const Address& address) argument 2217 imull(const Address& address) argument 2231 mull(const Address& address) argument 2251 sbbl(Register dst, const Address& address) argument 2258 sbbl(const Address& address, Register src) argument 2271 incl(const Address& address) argument 2284 decl(const Address& address) argument 2301 shll(const Address& address, const Immediate& imm) argument 2306 shll(const Address& address, Register shifter) argument 2321 shrl(const Address& address, const Immediate& imm) argument 2326 shrl(const Address& address, Register shifter) argument 2341 sarl(const Address& address, const Immediate& imm) argument 2346 sarl(const Address& address, Register shifter) argument 2532 jmp(const Address& address) argument 2634 cmpxchgl(const Address& address, Register reg) argument 2642 cmpxchg8b(const Address& address) argument [all...] |
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.h | 250 // If no_rip is true then the Absolute address isn't RIP relative. 266 // An RIP relative address that will be fixed up later. 277 // If no_rip is true then the Absolute address isn't RIP relative. 364 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); 825 LockCmpxchgl(const Address& address, CpuRegister reg) argument 829 LockCmpxchgq(const Address& address, CpuRegister reg) argument [all...] |
H A D | assembler_x86_64.cc | 63 return os << "<address?>"; 75 void X86_64Assembler::call(const Address& address) { argument 77 EmitOptionalRex32(address); 79 EmitOperand(2, address); 98 void X86_64Assembler::pushq(const Address& address) { argument 100 EmitOptionalRex32(address); 102 EmitOperand(6, address); 126 void X86_64Assembler::popq(const Address& address) { argument 128 EmitOptionalRex32(address); 130 EmitOperand(0, address); 2179 xchgl(CpuRegister reg, const Address& address) argument 2187 cmpb(const Address& address, const Immediate& imm) argument 2197 cmpw(const Address& address, const Immediate& imm) argument 2222 cmpl(CpuRegister reg, const Address& address) argument 2230 cmpl(const Address& address, CpuRegister reg) argument 2238 cmpl(const Address& address, const Immediate& imm) argument 2262 cmpq(CpuRegister reg, const Address& address) argument 2270 cmpq(const Address& address, const Immediate& imm) argument 2286 addl(CpuRegister reg, const Address& address) argument 2302 testl(CpuRegister reg, const Address& address) argument 2344 testq(CpuRegister reg, const Address& address) argument 2379 andl(CpuRegister reg, const Address& address) argument 2426 orl(CpuRegister reg, const Address& address) argument 2473 xorl(CpuRegister reg, const Address& address) argument 2579 addq(CpuRegister dst, const Address& address) argument 2596 addl(const Address& address, CpuRegister reg) argument 2604 addl(const Address& address, const Immediate& imm) argument 2611 addw(const Address& address, const Immediate& imm) argument 2651 subq(CpuRegister reg, const Address& address) argument 2659 subl(CpuRegister reg, const Address& address) argument 2731 imull(CpuRegister reg, const Address& address) argument 2774 imulq(CpuRegister reg, const Address& address) argument 2799 imull(const Address& address) argument 2815 mull(const Address& address) argument 3067 jmp(const Address& address) argument 3126 cmpxchgl(const Address& address, CpuRegister reg) argument 3135 cmpxchgq(const Address& address, CpuRegister reg) argument [all...] |
/art/runtime/interpreter/mterp/x86/ |
H A D | op_instance_of.S | 13 leal VREG_ADDRESS(%eax), %ecx # Get object address
|
/art/compiler/optimizing/ |
H A D | instruction_simplifier_shared.cc | 256 // Proceed to extract the base address computation. 261 HIntermediateAddress* address = new (allocator) HIntermediateAddress(array, offset, kNoDexPc); local 262 // TODO: Is it ok to not have this on the intermediate address? 263 // address->SetReferenceTypeInfo(array->GetReferenceTypeInfo()); 264 access->GetBlock()->InsertInstructionBefore(address, access); 265 access->ReplaceInput(address, 0); 269 DCHECK(address->GetSideEffects().Includes(SideEffects::DependsOnGC())); 271 // TODO: Code generation for HArrayGet and HArraySet will check whether the input address 286 // If index is constant the whole address calculation often can be done by LDR/STR themselves. 299 // It is beneficial to extract index intermediate address onl 330 HIntermediateAddressIndex* address = local [all...] |
H A D | instruction_simplifier_mips.cc | 58 // If index is constant the whole address calculation often can be done by load/store 79 // It is beneficial to extract index intermediate address only if there are at least 2 users. 113 HIntermediateArrayAddressIndex* address = local 115 access->GetBlock()->InsertInstructionBefore(address, access); 116 access->ReplaceInput(address, 1);
|
H A D | block_builder.cc | 158 // Check if this dex_pc address starts a new basic block. 317 uint32_t address = iterator.GetHandlerAddress(); local 318 if (catch_blocks.find(address) != catch_blocks.end()) { 328 HBasicBlock* catch_block = GetBlockAt(address); 331 HBasicBlock* new_catch_block = new (allocator_) HBasicBlock(graph_, address); 332 new_catch_block->AddInstruction(new (allocator_) HGoto(address)); 338 catch_blocks.Put(address, catch_block);
|
/art/runtime/gc/space/ |
H A D | large_object_space.h | 82 // Current address at which the space begins, which may vary as the space is filled. 86 // Current address at which the space ends, which may vary as the space is filled. 94 // Return true if we contain the specified address. 186 size_t GetSlotIndexForAddress(uintptr_t address) const { 187 DCHECK(Contains(reinterpret_cast<mirror::Object*>(address))); 188 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment; 191 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address); 192 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
|
/art/compiler/ |
H A D | compiled_method.cc | 91 uintptr_t address = reinterpret_cast<uintptr_t>(code_pointer); local 93 address |= 0x1; 94 return reinterpret_cast<const void*>(address);
|
/art/runtime/arch/arm/ |
H A D | asm_support_arm.S | 49 add \rDest, pc @ Fixup GOT_PREL address. 50 ldr \rDest, [\rDest] @ Load address of Runtime::instance_.
|
/art/disassembler/ |
H A D | disassembler_x86.cc | 166 std::ostringstream address; local 168 if (!supports_rex_) { // Absolute address. 170 address << StringPrintf("[0x%x]", *address_bits); 172 address << StringPrintf("[RIP + 0x%x]", *reinterpret_cast<const uint32_t*>(*instr)); 181 address << "["; 192 DumpBaseReg(address, rex64, base); 198 address << " + "; 200 DumpAddrReg(address, rex64, index); 202 address << StringPrintf(" * %d", 1 << scale); 209 address << StringPrint 1485 std::string address = DumpAddress(mod, rm, rex64, rex_w, no_ops, byte_operand, local 1508 args << address; local 1512 args << address; local [all...] |
/art/openjdkjvmti/ |
H A D | jvmti_allocator.h | 110 pointer address(reference x) const { return &x; } function in class:openjdkjvmti::JvmtiAllocator 111 const_pointer address(const_reference x) const { return &x; } function in class:openjdkjvmti::JvmtiAllocator
|
/art/test/986-native-method-bind/ |
H A D | native_bind.cc | 60 void* address, 65 if (dladdr(address, &addr_info) == 0 || addr_info.dli_sname == nullptr) { 56 doJvmtiMethodBind(jvmtiEnv* jvmtienv ATTRIBUTE_UNUSED, JNIEnv* env, jthread thread ATTRIBUTE_UNUSED, jmethodID m, void* address, void** out_address) argument
|
/art/compiler/utils/ |
H A D | label.h | 57 uintptr_t address() const { function in class:art::ExternalLabel
|