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.h31 Arch arch = Arch::ARCH_EMPTY;
36 TransportArch(Transport t, Arch a) : transport(t), arch(a) {} in TransportArch()
DManifestInstance.h49 Arch arch() const;
DManifestHal.h56 inline Arch arch() const { return transportArch.arch; } in arch()
Dparse_string.h34 std::ostream &operator<<(std::ostream &os, Arch ar);
64 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 && !ip.has_value() && !port.has_value()) { in isValid()
47 if (arch != Arch::ARCH_EMPTY && !ip.has_value() && !port.has_value()) { in isValid()
55 if (arch == Arch::ARCH_EMPTY && ip.has_value() && port.has_value()) { in isValid()
DManifestInstance.cpp78 Arch ManifestInstance::arch() const { in arch()
/system/unwinding/libunwindstack/tests/
DRegsRemoteTest.cpp61 ASSERT_EQ(ARCH_ARM, regs->Arch()); in TEST_F()
63 ASSERT_EQ(ARCH_ARM64, regs->Arch()); in TEST_F()
65 ASSERT_EQ(ARCH_X86, regs->Arch()); in TEST_F()
67 ASSERT_EQ(ARCH_X86_64, regs->Arch()); in TEST_F()
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()
/system/unwinding/libunwindstack/include/unwindstack/
DRegs.h54 virtual ArchEnum Arch() = 0;
56 bool Is32Bit() { return ArchIs32Bit(Arch()); } in Is32Bit()
DRegsArm.h36 ArchEnum Arch() override final;
DRegsRiscv64.h36 ArchEnum Arch() override final;
DRegsMips64.h36 ArchEnum Arch() override final;
DRegsMips.h36 ArchEnum Arch() override final;
DRegsX86_64.h37 ArchEnum Arch() override final;
DRegsX86.h37 ArchEnum Arch() override final;
DRegsArm64.h37 ArchEnum Arch() override final;
DUnwinder.h61 arch_(regs->Arch()) {} in Unwinder()
94 arch_ = regs_ != nullptr ? regs->Arch() : ARCH_UNKNOWN; in SetRegs()
/system/unwinding/libunwindstack/utils/
DRegsFake.h34 ArchEnum Arch() override { return fake_arch_; } in Arch() function
80 ArchEnum Arch() override { return ARCH_UNKNOWN; } in Arch() function
/system/unwinding/libunwindstack/tools/
Dunwind.cpp67 switch (regs->Arch()) { in DoUnwind()
/system/unwinding/libunwindstack/
DRegsArm.cpp34 ArchEnum RegsArm::Arch() { in Arch() function in unwindstack::RegsArm
DRegsRiscv64.cpp35 ArchEnum RegsRiscv64::Arch() { in Arch() function in unwindstack::RegsRiscv64
DRegsMips64.cpp35 ArchEnum RegsMips64::Arch() { in Arch() function in unwindstack::RegsMips64
DRegsMips.cpp35 ArchEnum RegsMips::Arch() { in Arch() function in unwindstack::RegsMips
/system/libhidl/transport/
DServiceManagement.cpp605 using Arch = ::android::hidl::base::V1_0::DebugInfo::Architecture; in debugDump() typedef
609 static std::vector<std::pair<Arch, std::vector<const char*>>> sAllPaths{ in debugDump()
610 {Arch::IS_64BIT, in debugDump()
618 {Arch::IS_32BIT, in debugDump()
628 Arch arch = pair.first; in debugDump()

12