Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 74) 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()
Dmemory_type_table.h56 bool Contains(uintptr_t address) const { in Contains() argument
57 return address >= Start() && address < Limit(); in Contains()
97 const MemoryTypeRange<T>* Lookup(uintptr_t address) const { in Lookup() argument
101 if (address < ranges_[m].Start()) { in Lookup()
103 } else if (address >= ranges_[m].Limit()) { in Lookup()
106 DCHECK(ranges_[m].Contains(address)) in Lookup()
107 << reinterpret_cast<void*>(address) << " " << ranges_[m]; in Lookup()
145 inline const MemoryTypeRange<T>* Lookup(uintptr_t address) const;
271 const MemoryTypeRange<T>* MemoryTypeTable<T>::Builder::Lookup(uintptr_t address) const { in Lookup() argument
272 auto it = ranges_.upper_bound(address); in Lookup()
[all …]
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()
Dmemory_type_table_test.cc330 const uintptr_t address = i * kRangeSize + delta; in TEST() local
331 const MemoryTypeRange<int>* actual = builder.Lookup(address); in TEST()
332 ASSERT_TRUE(actual != nullptr) << reinterpret_cast<void*>(address); in TEST()
333 EXPECT_EQ(expected, *actual) << reinterpret_cast<void*>(address); in TEST()
342 const uintptr_t address = i * kRangeSize + delta; in TEST() local
343 const MemoryTypeRange<int>* actual = table.Lookup(address); in TEST()
344 ASSERT_TRUE(actual != nullptr) << reinterpret_cast<void*>(address); in TEST()
345 EXPECT_EQ(expected, *actual) << reinterpret_cast<void*>(address); in TEST()
/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.h242 uint32_t address = 0; in DecodeDebugLocalInfo() local
256 address += DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
279 local_in_reg[reg].end_address_ = address; in DecodeDebugLocalInfo()
286 local_in_reg[reg].start_address_ = address; in DecodeDebugLocalInfo()
301 local_in_reg[reg].end_address_ = address; in DecodeDebugLocalInfo()
317 local_in_reg[reg].start_address_ = address; in DecodeDebugLocalInfo()
329 address += (opcode - DBG_FIRST_SPECIAL) / DBG_LINE_RANGE; in DecodeDebugLocalInfo()
/art/compiler/utils/x86/
Dassembler_x86.h319 void call(const Address& address);
324 void pushl(const Address& address);
328 void popl(const Address& address);
614 void xchgl(Register reg, const Address& address);
616 void cmpb(const Address& address, const Immediate& imm);
617 void cmpw(const Address& address, const Immediate& imm);
621 void cmpl(Register reg, const Address& address);
623 void cmpl(const Address& address, Register reg);
624 void cmpl(const Address& address, const Immediate& imm);
628 void testl(Register reg1, const Address& address);
[all …]
/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_64/
Dassembler_x86_64.h364 void call(const Address& address);
368 void pushq(const Address& address);
372 void popq(const Address& address);
654 void xchgl(CpuRegister reg, const Address& address);
656 void cmpb(const Address& address, const Immediate& imm);
657 void cmpw(const Address& address, const Immediate& imm);
661 void cmpl(CpuRegister reg, const Address& address);
662 void cmpl(const Address& address, CpuRegister reg);
663 void cmpl(const Address& address, const Immediate& imm);
667 void cmpq(CpuRegister reg0, const Address& address);
[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/disassembler/
Ddisassembler_x86.cc166 std::ostringstream address; in DumpAddress() local
170 address << StringPrintf("[0x%x]", *address_bits); in DumpAddress()
172 address << StringPrintf("[RIP + 0x%x]", *reinterpret_cast<const uint32_t*>(*instr)); in DumpAddress()
181 address << "["; in DumpAddress()
192 DumpBaseReg(address, rex64, base); in DumpAddress()
198 address << " + "; in DumpAddress()
200 DumpAddrReg(address, rex64, index); in DumpAddress()
202 address << StringPrintf(" * %d", 1 << scale); in DumpAddress()
209 address << StringPrintf(" + %d", *reinterpret_cast<const int32_t*>(*instr)); in DumpAddress()
213 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()
Dinstruction_simplifier_mips.cc113 HIntermediateArrayAddressIndex* address = in TryExtractArrayAccessIndex() local
115 access->GetBlock()->InsertInstructionBefore(address, access); in TryExtractArrayAccessIndex()
116 access->ReplaceInput(address, 1); in TryExtractArrayAccessIndex()
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/tools/timeout_dumper/
DAndroid.bp27 address: false,
42 address: true,
/art/test/562-checker-no-intermediate/
Dinfo.txt2 intermediate address live across a Java call.
/art/compiler/
Dcompiled_method.cc90 uintptr_t address = reinterpret_cast<uintptr_t>(code_pointer); in CodePointer() local
92 address |= 0x1; in CodePointer()
93 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.h202 size_t GetSlotIndexForAddress(uintptr_t address) const { in GetSlotIndexForAddress() argument
203 DCHECK(Contains(reinterpret_cast<mirror::Object*>(address))); in GetSlotIndexForAddress()
204 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment; in GetSlotIndexForAddress()
207 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address);
208 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
/art/test/412-new-array/
Dinfo.txt3 address, zero-extending a register instead of sign-extending.
/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/runtime/arch/arm/
Dasm_support_arm.S49 add \rDest, pc @ Fixup GOT_PREL address.
50 ldr \rDest, [\rDest] @ Load address of Runtime::instance_.

123