Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 103) sorted by relevance

12345

/system/extras/simpleperf/
Dperf_regs.cpp31 ArchType GetArchType(const std::string& arch) { in GetArchType() argument
32 if (arch == "x86" || arch == "i686") { in GetArchType()
34 } else if (arch == "x86_64") { in GetArchType()
36 } else if (arch == "aarch64") { in GetArchType()
38 } else if (android::base::StartsWith(arch, "arm")) { in GetArchType()
42 if (arch[3] == 'v') { in GetArchType()
43 int version = atoi(&arch[4]); in GetArchType()
50 LOG(ERROR) << "unsupported arch: " << arch; in GetArchType()
66 std::string GetArchString(ArchType arch) { in GetArchString() argument
67 switch (arch) { in GetArchString()
[all …]
Dperf_regs.h60 ArchType GetArchType(const std::string& arch);
62 std::string GetArchString(ArchType arch);
63 uint64_t GetSupportedRegMask(ArchType arch);
64 std::string GetRegName(size_t regno, ArchType arch);
68 explicit ScopedCurrentArch(ArchType arch) : saved_arch(current_arch) { in ScopedCurrentArch() argument
69 current_arch = arch; in ScopedCurrentArch()
70 current_arch32 = GetArchForAbi(arch, PERF_SAMPLE_REGS_ABI_32); in ScopedCurrentArch()
90 ArchType arch; member
/system/libvintf/include/vintf/
DTransportArch.h29 Arch arch = Arch::ARCH_EMPTY; member
32 TransportArch(Transport t, Arch a) : transport(t), arch(a) {} in TransportArch()
35 return transport == other.transport && arch == other.arch;
40 return arch < other.arch;
DArch.h44 inline bool has32(Arch arch) { in has32() argument
45 return arch == Arch::ARCH_32 || arch == Arch::ARCH_32_64; in has32()
48 inline bool has64(Arch arch) { in has64() argument
49 return arch == Arch::ARCH_64 || arch == Arch::ARCH_32_64; in has64()
DManifestHal.h64 inline Arch arch() const { return transportArch.arch; } in arch() function
/system/core/libpixelflinger/
DAndroid.bp19 arch: {
40 arch: {
75 arch: {
92 "arch-arm64/col32cb16blend.S",
93 "arch-arm64/t32cb16blend.S",
/system/libvintf/
DTransportArch.cpp26 return transport == Transport::EMPTY && arch == Arch::ARCH_EMPTY; in empty()
37 if (arch == Arch::ARCH_EMPTY) { in isValid()
46 if (arch != Arch::ARCH_EMPTY) { in isValid()
/system/core/adb/libs/adbconnection/include/adbconnection/
Dprocess_info.h34 ProcessInfo(uint64_t pid, bool dbg, bool prof, const std::string& arch) in ProcessInfo()
36 arch_name_length = std::min(arch.size(), kMaxArchNameLength); in ProcessInfo()
37 memcpy(arch_name, arch.data(), arch_name_length); in ProcessInfo()
/system/core/libunwindstack/tests/
DElfCacheTest.cpp136 EXPECT_EQ(ARCH_ARM, elf0_1->arch()); in VerifyWithinSameMap()
139 EXPECT_EQ(ARCH_ARM, elf0_2->arch()); in VerifyWithinSameMap()
150 EXPECT_EQ(ARCH_X86, elf100_1->arch()); in VerifyWithinSameMap()
153 EXPECT_EQ(ARCH_X86, elf100_2->arch()); in VerifyWithinSameMap()
164 EXPECT_EQ(ARCH_X86_64, elf200_1->arch()); in VerifyWithinSameMap()
167 EXPECT_EQ(ARCH_X86_64, elf200_2->arch()); in VerifyWithinSameMap()
178 EXPECT_EQ(ARCH_ARM, elf300_1->arch()); in VerifyWithinSameMap()
181 EXPECT_EQ(ARCH_ARM, elf300_2->arch()); in VerifyWithinSameMap()
226 EXPECT_EQ(ARCH_ARM, elf300_1->arch()); in VerifyWithinSameMapNeverReadAtZero()
229 EXPECT_EQ(ARCH_ARM, elf300_2->arch()); in VerifyWithinSameMapNeverReadAtZero()
[all …]
/system/extras/simpleperf/scripts/
Dutils.py98 def get_target_binary_path(arch, binary_name): argument
99 if arch == 'aarch64':
100 arch = 'arm64'
101 arch_dir = os.path.join(get_script_dir(), "bin", "android", arch)
170 def _get_binutils_path_in_ndk(toolname, arch, platform): argument
171 if not arch:
172 arch = 'arm64'
173 if arch == 'arm64':
175 elif arch == 'arm':
177 elif arch == 'x86_64':
[all …]
/system/core/libunwindstack/
DUnwinder.cpp149 ArchEnum arch = regs_->Arch(); in Unwind() local
170 elf = map_info->GetElf(process_memory_, arch); in Unwind()
184 pc_adjustment = GetPcAdjustment(rel_pc, elf, arch); in Unwind()
363 void Unwinder::SetJitDebug(JitDebug* jit_debug, ArchEnum arch) { in SetJitDebug() argument
364 jit_debug->SetArch(arch); in SetJitDebug()
368 void Unwinder::SetDexFiles(DexFiles* dex_files, ArchEnum arch) { in SetDexFiles() argument
369 dex_files->SetArch(arch); in SetDexFiles()
373 bool UnwinderFromPid::Init(ArchEnum arch) { in Init() argument
388 SetJitDebug(jit_debug_, arch); in Init()
392 SetDexFiles(dex_files_, arch); in Init()
[all …]
DRegs.cpp74 Regs* Regs::CreateFromUcontext(ArchEnum arch, void* ucontext) { in CreateFromUcontext() argument
75 switch (arch) { in CreateFromUcontext()
124 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch) { in GetPcAdjustment() argument
125 switch (arch) { in GetPcAdjustment()
DGlobal.cpp35 void Global::SetArch(ArchEnum arch) { in SetArch() argument
37 arch_ = arch; in SetArch()
82 Elf* elf = map_zero->GetElf(memory_, arch()); in FindAndReadVariable()
DLocalUnwinder.cpp91 ArchEnum arch = regs->Arch(); in Unwind() local
104 Elf* elf = map_info->GetElf(process_memory_, arch); in Unwind()
109 pc_adjustment = GetPcAdjustment(rel_pc, elf, arch); in Unwind()
/system/core/libunwindstack/tools/
Dunwind_reg_info.cpp68 ArchEnum arch) { in PrintRegInformation() argument
76 if (!section->GetCfaLocationInfo(pc, fde, &regs, arch)) { in PrintRegInformation()
208 PrintRegInformation(section, elf.memory(), pc, elf.class_type(), elf.arch()); in GetInfo()
216 PrintRegInformation(section, elf.memory(), pc, elf.class_type(), elf.arch()); in GetInfo()
229 elf.arch()); in GetInfo()
239 elf.arch()); in GetInfo()
/system/core/libunwindstack/include/unwindstack/
DGlobal.h43 void SetArch(ArchEnum arch);
45 ArchEnum arch() { return arch_; } in arch() function
DDwarfSection.h94 virtual bool Log(uint8_t indent, uint64_t pc, const DwarfFde* fde, ArchEnum arch) = 0;
101 ArchEnum arch) = 0;
146 ArchEnum arch) override;
148 bool Log(uint8_t indent, uint64_t pc, const DwarfFde* fde, ArchEnum arch) override;
DUnwinder.h93 void SetJitDebug(JitDebug* jit_debug, ArchEnum arch);
110 void SetDexFiles(DexFiles* dex_files, ArchEnum arch);
151 bool Init(ArchEnum arch);
/system/core/libunwindstack/tests/fuzz/
DUnwinderFuzz.cpp75 ArchEnum arch = static_cast<ArchEnum>(arch_val); in LLVMFuzzerTestOneInput() local
76 std::unique_ptr<Regs> regs = GetRegisters(arch); in LLVMFuzzerTestOneInput()
88 unwinder.SetJitDebug(jit_debug_ptr.get(), arch); in LLVMFuzzerTestOneInput()
/system/core/libbacktrace/
DUnwindStackMap.h63 void SetArch(unwindstack::ArchEnum arch) { arch_ = arch; } in SetArch() argument
/system/core/libcutils/
DAndroid.bp198 srcs: ["arch-arm/memset32.S"],
204 srcs: ["arch-arm64/android_memset.S"],
212 "arch-x86/android_memset16.S",
213 "arch-x86/android_memset32.S",
225 "arch-x86_64/android_memset16.S",
226 "arch-x86_64/android_memset32.S",
/system/core/code_coverage/
DAndroid.bp6 arch: {
49 arch: {
/system/libhidl/transport/base/1.0/
Dtypes.hal23 * arch: 64bit or 32bit
35 Architecture arch;
/system/core/libpixelflinger/tests/arch-arm64/
DAndroid.bp6 arch: {
/system/core/libpixelflinger/tests/codegen/
DAndroid.bp7 arch: {

12345