Home
last modified time | relevance | path

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

1234

/art/compiler/utils/x86/
Dassembler_x86.h348 void call(const Address& address);
353 void pushl(const Address& address);
357 void popl(const Address& address);
698 void xchgb(ByteRegister reg, const Address& address);
699 void xchgb(Register reg, const Address& address);
700 void xchgw(Register reg, const Address& address);
703 void xchgl(Register reg, const Address& address);
705 void cmpb(const Address& address, const Immediate& imm);
706 void cmpw(const Address& address, const Immediate& imm);
710 void cmpl(Register reg, const Address& address);
[all …]
Dassembler_x86.cc76 void X86Assembler::call(const Address& address) { in call() argument
79 EmitOperand(2, address); in call()
96 EmitInt32(label.address()); in call()
108 void X86Assembler::pushl(const Address& address) { in pushl() argument
111 EmitOperand(6, address); in pushl()
133 void X86Assembler::popl(const Address& address) { in popl() argument
136 EmitOperand(0, address); in popl()
2890 void X86Assembler::xchgb(Register reg, const Address& address) { in xchgb() argument
2892 xchgb(static_cast<ByteRegister>(reg), address); in xchgb()
2896 void X86Assembler::xchgb(ByteRegister reg, const Address& address) { in xchgb() argument
[all …]
/art/libartbase/base/
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()
152 template<typename T> static constexpr bool IsWordAligned(const T* address) { in IsWordAligned() argument
154 return IsAligned<kRuntimePointerSize>(address); in IsWordAligned()
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/libdexfile/dex/
Ddex_file_exception_helpers.cc24 CatchHandlerIterator::CatchHandlerIterator(const CodeItemDataAccessor& accessor, uint32_t address) { in CatchHandlerIterator() argument
35 if (address >= start) { in CatchHandlerIterator()
37 if (address < end) { in CatchHandlerIterator()
44 const dex::TryItem* try_item = accessor.FindTryItem(address); in CatchHandlerIterator()
Ddex_file-inl.h247 uint32_t address = 0; in DecodeDebugLocalInfo() local
261 address += DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
284 local_in_reg[reg].end_address_ = address; in DecodeDebugLocalInfo()
291 local_in_reg[reg].start_address_ = address; in DecodeDebugLocalInfo()
306 local_in_reg[reg].end_address_ = address; in DecodeDebugLocalInfo()
322 local_in_reg[reg].start_address_ = address; in DecodeDebugLocalInfo()
334 address += (opcode - DBG_FIRST_SPECIAL) / DBG_LINE_RANGE; in DecodeDebugLocalInfo()
/art/runtime/native/
Dsun_misc_Unsafe.cc245 static void Unsafe_freeMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_freeMemory() argument
246 free(reinterpret_cast<void*>(static_cast<uintptr_t>(address))); in Unsafe_freeMemory()
249 static void Unsafe_setMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong bytes, jby… in Unsafe_setMemory() argument
250 memset(reinterpret_cast<void*>(static_cast<uintptr_t>(address)), value, bytes); in Unsafe_setMemory()
253 static jbyte Unsafe_getByteJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getByteJ() argument
254 return *reinterpret_cast<jbyte*>(address); in Unsafe_getByteJ()
257 static void Unsafe_putByteJB(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jbyte value) { in Unsafe_putByteJB() argument
258 *reinterpret_cast<jbyte*>(address) = value; in Unsafe_putByteJB()
261 static jshort Unsafe_getShortJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getShortJ() argument
262 return *reinterpret_cast<jshort*>(address); in Unsafe_getShortJ()
[all …]
/art/compiler/debug/
Delf_symtab_writer.h108 uint64_t address = info.code_address; in WriteDebugSymbols() local
109 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
110 mapping_symbol_address = std::min(mapping_symbol_address, address); in WriteDebugSymbols()
153 uint64_t address = info.code_address; in WriteDebugSymbols() local
154 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
156 address += CompiledMethod::CodeDelta(info.isa); in WriteDebugSymbols()
157 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h369 void call(const Address& address);
373 void pushq(const Address& address);
377 void popq(const Address& address);
714 void xchgl(CpuRegister reg, const Address& address);
716 void cmpb(const Address& address, const Immediate& imm);
717 void cmpw(const Address& address, const Immediate& imm);
721 void cmpl(CpuRegister reg, const Address& address);
722 void cmpl(const Address& address, CpuRegister reg);
723 void cmpl(const Address& address, const Immediate& imm);
727 void cmpq(CpuRegister reg0, const Address& address);
[all …]
Dassembler_x86_64.cc83 void X86_64Assembler::call(const Address& address) { in call() argument
85 EmitOptionalRex32(address); in call()
87 EmitOperand(2, address); in call()
106 void X86_64Assembler::pushq(const Address& address) { in pushq() argument
108 EmitOptionalRex32(address); in pushq()
110 EmitOperand(6, address); in pushq()
134 void X86_64Assembler::popq(const Address& address) { in popq() argument
136 EmitOptionalRex32(address); in popq()
138 EmitOperand(0, address); in popq()
3860 void X86_64Assembler::xchgl(CpuRegister reg, const Address& address) { in xchgl() argument
[all …]
/art/disassembler/
Ddisassembler_x86.cc176 std::ostringstream address; in DumpAddress() local
180 address << StringPrintf("[0x%x]", *address_bits); in DumpAddress()
182 address << StringPrintf("[RIP + 0x%x]", *reinterpret_cast<const uint32_t*>(*instr)); in DumpAddress()
191 address << "["; in DumpAddress()
202 DumpBaseReg(address, rex64, base); in DumpAddress()
208 address << " + "; in DumpAddress()
210 DumpAddrReg(address, rex64, index); in DumpAddress()
212 address << StringPrintf(" * %d", 1 << scale); in DumpAddress()
219 address << StringPrintf(" + %d", *reinterpret_cast<const int32_t*>(*instr)); in DumpAddress()
223 address << StringPrintf("%d", *address_bits); in DumpAddress()
[all …]
Ddisassembler_arm.cc77 uintptr_t address = label.GetLocation() + (options_->absolute_addresses_ ? 0u : begin); in operator <<() local
78 if ((address >= begin && address < end && end - address >= 4u) && in operator <<()
79 reinterpret_cast<const uint16_t*>(address)[0] == 0xf8d9 && // LDR Rt, [tr, #imm12] in operator <<()
80 (reinterpret_cast<const uint16_t*>(address)[1] >> 12) == 0xf) { // Rt == PC in operator <<()
81 uint32_t imm12 = reinterpret_cast<const uint16_t*>(address)[1] & 0xfffu; in operator <<()
/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/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()
Dblock_builder.cc317 uint32_t address = iterator.GetHandlerAddress(); in InsertTryBoundaryBlocks() local
318 auto existing = catch_blocks.find(address); in InsertTryBoundaryBlocks()
336 HBasicBlock* catch_block = GetBlockAt(address); in InsertTryBoundaryBlocks()
339 HBasicBlock* new_catch_block = new (allocator_) HBasicBlock(graph_, address); in InsertTryBoundaryBlocks()
340 new_catch_block->AddInstruction(new (allocator_) HGoto(address)); in InsertTryBoundaryBlocks()
346 catch_blocks.Put(address, catch_block); in InsertTryBoundaryBlocks()
/art/compiler/
Dcompiled_method.cc86 uintptr_t address = reinterpret_cast<uintptr_t>(code_pointer); in CodePointer() local
88 address |= 0x1; in CodePointer()
89 return reinterpret_cast<const void*>(address); in CodePointer()
Dcfi_test.h112 std::string address; in ReformatCfi() local
118 address = "0x" + line.substr(line.size() - 8); in ReformatCfi()
133 output->push_back(address + ": " + new_line); in ReformatCfi()
/art/runtime/gc/space/
Dlarge_object_space.h205 size_t GetSlotIndexForAddress(uintptr_t address) const { in GetSlotIndexForAddress() argument
206 DCHECK(Contains(reinterpret_cast<mirror::Object*>(address))); in GetSlotIndexForAddress()
207 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment; in GetSlotIndexForAddress()
210 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address);
211 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
/art/dt_fd_forward/
Ddt_fd_forward.cc695 const char* address, in Attach() argument
698 if (address == nullptr || *address == '\0') { in Attach()
702 jdwpTransportError err = ParseAddress(address, &listen_fd); in Attach()
710 const char* address, in StartListening() argument
712 if (address == nullptr || *address == '\0') { in StartListening()
716 jdwpTransportError err = ParseAddress(address, &listen_fd); in StartListening()
725 *actual_address = reinterpret_cast<char*>(AsFdForward(env)->Alloc(strlen(address) + 1)); in StartListening()
726 memcpy(*actual_address, address, strlen(address) + 1); in StartListening()
/art/runtime/jit/
Djit_memory_region.h118 void FillData(const T* address, size_t n, const T& t) REQUIRES(Locks::jit_lock_) { in FillData() argument
119 std::fill_n(GetWritableDataAddress(address), n, t); in FillData()
125 void WriteData(const T* address, const T& value) { in WriteData() argument
126 *GetWritableDataAddress(address) = value; in WriteData()
/art/test/562-checker-no-intermediate/
Dinfo.txt2 intermediate address live across a Java call.
/art/runtime/interpreter/mterp/arm/
Dobject.S39 add r0, rSELF, #THREAD_INTERPRETER_CACHE_OFFSET @ cache address
41 add r0, r0, r1, lsl #3 @ entry address within the cache
/art/libdexfile/external/include/art_api/
Ddex_file_support.h96 static Error Create(const void* address, in Create() argument
103 ADexFile_Error error = g_ADexFile_create(address, size, new_size, location, &adex); in Create()
/art/test/412-new-array/
Dinfo.txt3 address, zero-extending a register instead of sign-extending.

1234