Home
last modified time | relevance | path

Searched refs:machine_type (Results 1 – 12 of 12) sorted by relevance

/system/core/libunwindstack/tests/
DElfTestUtils.h28 void TestInitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine_type);
31 void TestInitGnuDebugdata(uint32_t elf_class, uint32_t machine_type, bool init_gnu_debudata,
DElfTest.cpp47 void InitElf32(uint32_t machine_type) { in InitElf32() argument
49 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, machine_type); in InitElf32()
56 if (machine_type == EM_ARM) { in InitElf32()
71 if (machine_type == EM_ARM) { in InitElf32()
85 void InitElf64(uint32_t machine_type) { in InitElf64() argument
87 TestInitEhdr<Elf64_Ehdr>(&ehdr, ELFCLASS64, machine_type); in InitElf64()
176 ASSERT_EQ(static_cast<uint32_t>(EM_ARM), elf.machine_type()); in TEST_F()
188 ASSERT_EQ(static_cast<uint32_t>(EM_MIPS), elf.machine_type()); in TEST_F()
200 ASSERT_EQ(static_cast<uint32_t>(EM_386), elf.machine_type()); in TEST_F()
212 ASSERT_EQ(static_cast<uint32_t>(EM_AARCH64), elf.machine_type()); in TEST_F()
[all …]
DMapInfoGetElfTest.cpp52 static void InitElf(uint64_t sh_offset, Ehdr* ehdr, uint8_t class_type, uint8_t machine_type) { in InitElf() argument
56 ehdr->e_machine = machine_type; in InitElf()
89 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type()); in TEST_F()
109 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type()); in TEST_F()
136 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type()); in TEST_F()
152 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type()); in TEST_F()
DElfTestUtils.cpp37 void TestInitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine_type) { in TestInitEhdr() argument
45 ehdr->e_machine = machine_type; in TestInitEhdr()
DJitDebugTest.cpp86 void CreateElf(uint64_t offset, uint8_t class_type, uint8_t machine_type, uint32_t pc, in CreateElf() argument
93 ehdr.e_machine = machine_type; in CreateElf()
DRegsTest.cpp269 TEST_F(RegsTest, machine_type) { in TEST_F() argument
/system/update_engine/
Domaha_request_params_unittest.cc66 string machine_type; in GetMachineType() local
67 if (!utils::ReadPipe("uname -m", &machine_type)) in GetMachineType()
70 size_t newline_pos = machine_type.find('\n'); in GetMachineType()
72 machine_type.erase(newline_pos); in GetMachineType()
73 return machine_type; in GetMachineType()
/system/core/libunwindstack/tools/
Dunwind_symbols.cpp79 switch (elf.machine_type()) { in main()
Dunwind_info.cpp136 if (elf.machine_type() == EM_ARM) { in GetElfInfo()
Dunwind_reg_info.cpp201 if (elf.machine_type() == EM_ARM) { in GetInfo()
/system/core/libunwindstack/include/unwindstack/
DElf.h88 uint32_t machine_type() { return machine_type_; } in machine_type() function
/system/extras/simpleperf/scripts/
Dreport_html.py685 machine_type = self.arch
688 machine_type = '%s (%s) by %s, arch %s' % (model, name, manufacturer, self.arch)
689 record_info['machineType'] = machine_type