Home
last modified time | relevance | path

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

1234

/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.h63 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",
101 "arch-mips/t32cb16blend.S",
110 "arch-mips64/col32cb16blend.S",
111 "arch-mips64/t32cb16blend.S",
/system/libvintf/
DTransportArch.cpp24 return transport == Transport::EMPTY && arch == Arch::ARCH_EMPTY; in empty()
31 return arch == Arch::ARCH_EMPTY; in isValid()
34 return arch != Arch::ARCH_EMPTY; in isValid()
DManifestInstance.cpp65 Arch ManifestInstance::arch() const { in arch() function in android::vintf::ManifestInstance
66 return mTransportArch.arch; in arch()
/system/core/libbacktrace/
DUnwindStack.cpp195 UnwindStackOffline::UnwindStackOffline(ArchEnum arch, pid_t pid, pid_t tid, BacktraceMap* map, in UnwindStackOffline() argument
197 : Backtrace(pid, tid, map), arch_(arch) { in UnwindStackOffline()
206 unwindstack::ArchEnum arch; in Unwind() local
209 arch = unwindstack::ARCH_ARM; in Unwind()
212 arch = unwindstack::ARCH_ARM64; in Unwind()
215 arch = unwindstack::ARCH_X86; in Unwind()
218 arch = unwindstack::ARCH_X86_64; in Unwind()
224 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::CreateFromUcontext(arch, ucontext)); in Unwind()
241 Backtrace* Backtrace::CreateOffline(ArchEnum arch, pid_t pid, pid_t tid, in CreateOffline() argument
249 return new UnwindStackOffline(arch, pid, tid, map.release(), false); in CreateOffline()
[all …]
Dbacktrace_offline_test.cpp100 std::string GetTestPath(const std::string& arch, const std::string& path) { in GetTestPath() argument
101 return android::base::GetExecutableDirectory() + "/testdata/" + arch + '/' + path; in GetTestPath()
253 Backtrace::ArchEnum arch; in BacktraceOfflineTest() local
255 arch = Backtrace::ARCH_ARM; in BacktraceOfflineTest()
257 arch = Backtrace::ARCH_ARM64; in BacktraceOfflineTest()
259 arch = Backtrace::ARCH_X86; in BacktraceOfflineTest()
261 arch = Backtrace::ARCH_X86_64; in BacktraceOfflineTest()
267 arch, testdata.pid, testdata.tid, testdata.maps, testdata.stack_info)); in BacktraceOfflineTest()
336 Backtrace::ArchEnum arch; in LibUnwindingTest() local
338 arch = Backtrace::ARCH_ARM; in LibUnwindingTest()
[all …]
DUnwindStackMap.h62 void SetArch(unwindstack::ArchEnum arch) { arch_ = arch; } in SetArch() argument
/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.py87 def get_target_binary_path(arch, binary_name): argument
88 if arch == 'aarch64':
89 arch = 'arm64'
90 arch_dir = os.path.join(get_script_dir(), "bin", "android", arch)
158 def _get_binutils_path_in_ndk(toolname, arch, platform): argument
159 if not arch:
160 arch = 'arm64'
161 if arch == 'arm64':
164 elif arch == 'arm':
167 elif arch == 'x86_64':
[all …]
/system/core/libcutils/
DAndroid.bp117 srcs: ["arch-arm/memset32.S"],
123 srcs: ["arch-arm64/android_memset.S"],
130 srcs: ["arch-mips/android_memset.c"],
136 srcs: ["arch-mips/android_memset.c"],
144 "arch-x86/android_memset16.S",
145 "arch-x86/android_memset32.S",
157 "arch-x86_64/android_memset16.S",
158 "arch-x86_64/android_memset32.S",
/system/core/libunwindstack/
DGlobal.cpp35 void Global::SetArch(ArchEnum arch) { in SetArch() argument
37 arch_ = arch; in SetArch()
57 Elf* elf = info->GetElf(memory_, arch()); in GetVariableOffset()
DUnwinder.cpp147 ArchEnum arch = regs_->Arch(); in Unwind() local
168 elf = map_info->GetElf(process_memory_, arch); in Unwind()
354 void Unwinder::SetJitDebug(JitDebug* jit_debug, ArchEnum arch) { in SetJitDebug() argument
355 jit_debug->SetArch(arch); in SetJitDebug()
360 void Unwinder::SetDexFiles(DexFiles* dex_files, ArchEnum arch) { in SetDexFiles() argument
361 dex_files->SetArch(arch); in SetDexFiles()
366 bool UnwinderFromPid::Init(ArchEnum arch) { in Init() argument
381 SetJitDebug(jit_debug_, arch); in Init()
385 SetDexFiles(dex_files_, arch); in Init()
DRegs.cpp74 Regs* Regs::CreateFromUcontext(ArchEnum arch, void* ucontext) { in CreateFromUcontext() argument
75 switch (arch) { in CreateFromUcontext()
/system/core/libunwindstack/include/unwindstack/
DGlobal.h43 void SetArch(ArchEnum arch);
45 ArchEnum arch() { return arch_; } in arch() function
DUnwinder.h93 void SetJitDebug(JitDebug* jit_debug, ArchEnum arch);
111 void SetDexFiles(DexFiles* dex_files, ArchEnum arch);
148 bool Init(ArchEnum arch);
/system/libhidl/transport/base/1.0/
Dtypes.hal23 * arch: 64bit or 32bit
35 Architecture arch;
/system/core/libpixelflinger/tests/arch-mips64/
DAndroid.bp6 arch: {
/system/core/libpixelflinger/tests/arch-mips/
DAndroid.bp6 arch: {
/system/core/libpixelflinger/tests/arch-arm64/
DAndroid.bp6 arch: {
/system/core/libpixelflinger/tests/codegen/
DAndroid.bp7 arch: {
/system/extras/crypto-perf/
DAndroid.bp13 arch: {

1234