Searched refs:machine_type (Results 1 - 11 of 11) sorted by relevance

/system/core/libunwindstack/tests/
H A 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,
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;
H A DRegsTest.cpp269 TEST_F(RegsTest, 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
/system/core/libunwindstack/tools/
H A Dunwind_symbols.cpp79 switch (elf.machine_type()) {
H A Dunwind_info.cpp128 if (elf.machine_type() == EM_ARM) {
/system/extras/simpleperf/scripts/
H A Dreport_html.py719 machine_type = self.arch
722 machine_type = '%s (%s) by %s, arch %s' % (model, name, manufacturer, self.arch)
723 record_info['machineType'] = machine_type

Completed in 349 milliseconds