Home
last modified time | relevance | path

Searched refs:Arch (Results 1 – 25 of 41) 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.h64 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.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()
DManifestInstance.cpp67 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.cpp260 EXPECT_EQ(ARCH_ARM, arm_regs.Arch()); in TEST_F()
263 EXPECT_EQ(ARCH_ARM64, arm64_regs.Arch()); in TEST_F()
266 EXPECT_EQ(ARCH_X86, x86_regs.Arch()); in TEST_F()
269 EXPECT_EQ(ARCH_X86_64, x86_64_regs.Arch()); in TEST_F()
272 EXPECT_EQ(ARCH_MIPS, mips_regs.Arch()); in TEST_F()
275 EXPECT_EQ(ARCH_MIPS64, mips64_regs.Arch()); in TEST_F()
DRegsFake.h35 ArchEnum Arch() override { return fake_arch_; } in Arch() function
81 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()
DVerifyBionicTerminationTest.cpp97 ASSERT_TRUE(unwinder.Init(regs->Arch())); in TEST()
/system/core/libbacktrace/
DUnwindStack.cpp53 stack_map->SetArch(regs->Arch()); in Unwind()
55 unwinder.SetJitDebug(stack_map->GetJitDebug(), regs->Arch()); in Unwind()
59 unwinder.SetDexFiles(stack_map->GetDexFiles(), regs->Arch()); in Unwind()
DUnwindStackMap.cpp116 arch_ = regs->Arch(); in GetFunctionName()
/system/core/libunwindstack/include/unwindstack/
DRegsMips.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;
DRegsArm64.h38 ArchEnum Arch() override final;
DRegs.h53 virtual ArchEnum Arch() = 0;
/system/libvintf/test/
DLibVintfTest.cpp145 {Transport::HWBINDER, Arch::ARCH_EMPTY}, in testDeviceManifest()
151 {Transport::PASSTHROUGH, Arch::ARCH_32_64}, in testDeviceManifest()
170 {Transport::HWBINDER, Arch::ARCH_EMPTY}, in testFrameworkManfiest()
211 Arch a = Arch::ARCH_EMPTY; in TEST_F()
212 a |= Arch::ARCH_32; in TEST_F()
213 EXPECT_EQ(Arch::ARCH_32, a); in TEST_F()
215 a |= Arch::ARCH_64; in TEST_F()
216 EXPECT_EQ(Arch::ARCH_32_64, a); in TEST_F()
218 a = Arch::ARCH_EMPTY; in TEST_F()
219 a |= Arch::ARCH_64; in TEST_F()
[all …]
/system/core/libunwindstack/
DLocalUnwinder.cpp91 ArchEnum arch = regs->Arch(); in Unwind()
DRegsArm.cpp34 ArchEnum RegsArm::Arch() { in Arch() function in unwindstack::RegsArm
/system/libhidl/transport/
DServiceManagement.cpp513 using Arch = ::android::hidl::base::V1_0::DebugInfo::Architecture; in debugDump() typedef
519 static std::vector<std::pair<Arch, std::vector<const char*>>> sAllPaths{ in debugDump()
520 {Arch::IS_64BIT, in debugDump()
528 {Arch::IS_32BIT, in debugDump()
538 Arch arch = pair.first; in debugDump()

12