Searched defs:machine_type (Results 1 - 6 of 6) sorted by relevance

/system/core/libunwindstack/tests/
H A DElfTestUtils.cpp37 void TestInitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine_type) { argument
45 ehdr->e_machine = machine_type;
H A DMapInfoGetElfTest.cpp53 static void InitElf(uint64_t sh_offset, Ehdr* ehdr, uint8_t class_type, uint8_t machine_type) { argument
57 ehdr->e_machine = machine_type;
90 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type());
104 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type());
119 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type());
135 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type());
151 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type());
167 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type());
H A DElfTest.cpp47 void InitElf32(uint32_t machine_type) { argument
49 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, machine_type);
56 if (machine_type == EM_ARM) {
71 if (machine_type == EM_ARM) {
85 void InitElf64(uint32_t machine_type) { argument
87 TestInitEhdr<Elf64_Ehdr>(&ehdr, ELFCLASS64, machine_type);
172 ASSERT_EQ(static_cast<uint32_t>(EM_ARM), elf.machine_type());
184 ASSERT_EQ(static_cast<uint32_t>(EM_MIPS), elf.machine_type());
196 ASSERT_EQ(static_cast<uint32_t>(EM_386), elf.machine_type());
208 ASSERT_EQ(static_cast<uint32_t>(EM_AARCH64), elf.machine_type());
[all...]
H A DJitDebugTest.cpp89 void CreateElf(uint64_t offset, uint8_t class_type, uint8_t machine_type, uint32_t pc, argument
96 ehdr.e_machine = machine_type;
/system/update_engine/
H A Domaha_request_params_unittest.cc69 string machine_type; local
70 if (!utils::ReadPipe("uname -m", &machine_type))
73 size_t newline_pos = machine_type.find('\n');
75 machine_type.erase(newline_pos);
76 return machine_type;
/system/core/libunwindstack/include/unwindstack/
H A DElf.h83 uint32_t machine_type() { return machine_type_; } function in class:unwindstack::Elf

Completed in 137 milliseconds