Home
last modified time | relevance | path

Searched refs:Arch (Results 1 – 25 of 38) sorted by relevance

12

/system/libvintf/include/vintf/
DArch.h28 enum class Arch : size_t { enum
44 inline bool has32(Arch arch) { in has32()
45 return arch == Arch::ARCH_32 || arch == Arch::ARCH_32_64; in has32()
48 inline bool has64(Arch arch) { in has64()
49 return arch == Arch::ARCH_64 || arch == Arch::ARCH_32_64; in has64()
52 inline constexpr Arch operator|(Arch lft, Arch rgt) {
53 return static_cast<Arch>(static_cast<size_t>(lft) | static_cast<size_t>(rgt));
55 static_assert((Arch::ARCH_32 | Arch::ARCH_64) == Arch::ARCH_32_64, "bad Arch::operator|");
57 inline Arch& operator|=(Arch& lft, Arch rgt) {
62 inline constexpr bool contains(Arch lft, Arch rgt) { in contains()
[all …]
DTransportArch.h29 Arch arch = Arch::ARCH_EMPTY;
32 TransportArch(Transport t, Arch a) : transport(t), arch(a) {} in TransportArch()
DManifestInstance.h47 Arch arch() const;
DManifestHal.h63 inline Arch arch() const { return transportArch.arch; } in arch()
Dparse_string.h33 std::ostream &operator<<(std::ostream &os, Arch ar);
65 bool parse(const std::string &s, Arch *ar);
/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()
/system/core/libunwindstack/tools/
Dunwind.cpp67 switch (regs->Arch()) { in DoUnwind()
93 if (!unwinder.Init(regs->Arch())) { in DoUnwind()
/system/core/libunwindstack/tests/
DRegsTest.cpp271 EXPECT_EQ(ARCH_ARM, arm_regs.Arch()); in TEST_F()
274 EXPECT_EQ(ARCH_ARM64, arm64_regs.Arch()); in TEST_F()
277 EXPECT_EQ(ARCH_X86, x86_regs.Arch()); in TEST_F()
280 EXPECT_EQ(ARCH_X86_64, x86_64_regs.Arch()); in TEST_F()
283 EXPECT_EQ(ARCH_MIPS, mips_regs.Arch()); in TEST_F()
286 EXPECT_EQ(ARCH_MIPS64, mips64_regs.Arch()); in TEST_F()
DRegsFake.h35 ArchEnum Arch() override { return fake_arch_; } in Arch() function
83 ArchEnum Arch() override { return ARCH_UNKNOWN; } in Arch() function
DUnwindTest.cpp173 ASSERT_TRUE(unwinder_from_pid->Init(regs->Arch())); in InnerFunction()
286 ASSERT_TRUE(unwinder.Init(regs->Arch())); in TEST_F()
338 ASSERT_TRUE(unwinder.Init(regs->Arch())); in RemoteUnwindFromPid()
/system/core/libunwindstack/include/unwindstack/
DRegsMips.h37 ArchEnum Arch() override final;
DRegsArm64.h37 ArchEnum Arch() override final;
DRegsArm.h37 ArchEnum Arch() override final;
DRegsMips64.h37 ArchEnum Arch() override final;
DRegsX86_64.h38 ArchEnum Arch() override final;
DRegsX86.h38 ArchEnum Arch() override final;
DRegs.h53 virtual ArchEnum Arch() = 0;
/system/core/libbacktrace/
DUnwindStack.cpp52 stack_map->SetArch(regs->Arch()); in Unwind()
54 unwinder.SetJitDebug(stack_map->GetJitDebug(), regs->Arch()); in Unwind()
58 unwinder.SetDexFiles(stack_map->GetDexFiles(), regs->Arch()); in Unwind()
/system/libvintf/test/
DLibVintfTest.cpp143 {Transport::HWBINDER, Arch::ARCH_EMPTY}, in testDeviceManifest()
149 {Transport::PASSTHROUGH, Arch::ARCH_32_64}, in testDeviceManifest()
168 {Transport::HWBINDER, Arch::ARCH_EMPTY}, in testFrameworkManfiest()
207 Arch a = Arch::ARCH_EMPTY; in TEST_F()
208 a |= Arch::ARCH_32; in TEST_F()
209 EXPECT_EQ(Arch::ARCH_32, a); in TEST_F()
211 a |= Arch::ARCH_64; in TEST_F()
212 EXPECT_EQ(Arch::ARCH_32_64, a); in TEST_F()
214 a = Arch::ARCH_EMPTY; in TEST_F()
215 a |= Arch::ARCH_64; in TEST_F()
[all …]
/system/core/libunwindstack/
DLocalUnwinder.cpp91 ArchEnum arch = regs->Arch(); in Unwind()
DRegsArm64.cpp35 ArchEnum RegsArm64::Arch() { in Arch() function in unwindstack::RegsArm64
DRegsArm.cpp34 ArchEnum RegsArm::Arch() { in Arch() function in unwindstack::RegsArm
DRegsMips64.cpp35 ArchEnum RegsMips64::Arch() { in Arch() function in unwindstack::RegsMips64
/system/libhidl/transport/
DServiceManagement.cpp484 using Arch = ::android::hidl::base::V1_0::DebugInfo::Architecture; in debugDump() typedef
490 static std::vector<std::pair<Arch, std::vector<const char*>>> sAllPaths{ in debugDump()
491 {Arch::IS_64BIT, in debugDump()
499 {Arch::IS_32BIT, in debugDump()
509 Arch arch = pair.first; in debugDump()

12