Home
last modified time | relevance | path

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

123

/art/compiler/debug/
Delf_symtab_writer.h68 uint64_t address = info.code_address; in WriteDebugSymbols() local
69 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
70 mapping_symbol_address = std::min(mapping_symbol_address, address); in WriteDebugSymbols()
97 uint64_t address = info.code_address; in WriteDebugSymbols() local
98 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
100 address += CompiledMethod::CodeDelta(info.isa); in WriteDebugSymbols()
101 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
/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.h243 uint32_t address = 0; in DecodeDebugLocalInfo() local
257 address += DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
280 local_in_reg[reg].end_address_ = address; in DecodeDebugLocalInfo()
287 local_in_reg[reg].start_address_ = address; in DecodeDebugLocalInfo()
302 local_in_reg[reg].end_address_ = address; in DecodeDebugLocalInfo()
318 local_in_reg[reg].start_address_ = address; in DecodeDebugLocalInfo()
330 address += (opcode - DBG_FIRST_SPECIAL) / DBG_LINE_RANGE; in DecodeDebugLocalInfo()
Ddex_file_exception_helpers.h34 CatchHandlerIterator(const CodeItemDataAccessor& accessor, uint32_t address);
Dcode_item_accessors-inl.h222 inline bool CodeItemDebugInfoAccessor::GetLineNumForPc(const uint32_t address, in GetLineNumForPc() argument
227 if (entry.address_ > address) { in GetLineNumForPc()
232 return entry.address_ == address; in GetLineNumForPc()
/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/utils/x86/
Dassembler_x86.h324 void call(const Address& address);
329 void pushl(const Address& address);
333 void popl(const Address& address);
675 void xchgl(Register reg, const Address& address);
677 void cmpb(const Address& address, const Immediate& imm);
678 void cmpw(const Address& address, const Immediate& imm);
682 void cmpl(Register reg, const Address& address);
684 void cmpl(const Address& address, Register reg);
685 void cmpl(const Address& address, const Immediate& imm);
689 void testl(Register reg1, 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()
2897 void X86Assembler::xchgl(Register reg, const Address& address) { in xchgl() argument
2900 EmitOperand(reg, address); in xchgl()
2904 void X86Assembler::cmpb(const Address& address, const Immediate& imm) { in cmpb() argument
[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.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/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 …]
/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 …]
/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/test/562-checker-no-intermediate/
Dinfo.txt2 intermediate address live across a Java call.
/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/test/412-new-array/
Dinfo.txt3 address, zero-extending a register instead of sign-extending.
/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/dt_fd_forward/
Ddt_fd_forward.cc686 const char* address, in Attach() argument
689 if (address == nullptr || *address == '\0') { in Attach()
693 jdwpTransportError err = ParseAddress(address, &listen_fd); in Attach()
701 const char* address, in StartListening() argument
703 if (address == nullptr || *address == '\0') { in StartListening()
707 jdwpTransportError err = ParseAddress(address, &listen_fd); in StartListening()
716 *actual_address = reinterpret_cast<char*>(AsFdForward(env)->Alloc(strlen(address) + 1)); in StartListening()
717 memcpy(*actual_address, address, strlen(address) + 1); in StartListening()
/art/test/501-regression-packed-switch/
Dinfo.txt4 address, zero-extending a register instead of sign-extending.
/art/test/986-native-method-bind/
Dnative_bind.cc60 void* address, in doJvmtiMethodBind() argument
65 if (dladdr(address, &addr_info) == 0 || addr_info.dli_sname == nullptr) { in doJvmtiMethodBind()

123