/system/unwinding/libunwindstack/tests/ |
D | ElfTestUtils.h | 28 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,
|
D | ElfTest.cpp | 48 void InitElf32(uint32_t machine_type) { in InitElf32() argument 50 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, machine_type); in InitElf32() 57 if (machine_type == EM_ARM) { in InitElf32() 72 if (machine_type == EM_ARM) { in InitElf32() 86 void InitElf64(uint32_t machine_type) { in InitElf64() argument 88 TestInitEhdr<Elf64_Ehdr>(&ehdr, ELFCLASS64, machine_type); in InitElf64() 199 ASSERT_EQ(static_cast<uint32_t>(EM_ARM), elf.machine_type()); in TEST_F() 211 ASSERT_EQ(static_cast<uint32_t>(EM_MIPS), elf.machine_type()); in TEST_F() 223 ASSERT_EQ(static_cast<uint32_t>(EM_386), elf.machine_type()); in TEST_F() 235 ASSERT_EQ(static_cast<uint32_t>(EM_AARCH64), elf.machine_type()); in TEST_F() [all …]
|
D | ElfTestUtils.cpp | 37 void TestInitEhdr(Ehdr* ehdr, uint32_t elf_class, uint32_t machine_type) { in TestInitEhdr() argument 45 ehdr->e_machine = machine_type; in TestInitEhdr()
|
D | MapInfoGetElfTest.cpp | 52 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() 91 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type()); in TEST_F() 111 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type()); in TEST_F() 138 EXPECT_EQ(static_cast<uint32_t>(EM_ARM), elf->machine_type()); in TEST_F() 154 EXPECT_EQ(static_cast<uint32_t>(EM_AARCH64), elf->machine_type()); in TEST_F()
|
D | JitDebugTest.cpp | 89 void CreateElf(uint64_t offset, uint8_t class_type, uint8_t machine_type, uint32_t pc, in CreateElf() argument 99 ehdr.e_machine = machine_type; in CreateElf()
|
D | RegsTest.cpp | 266 TEST_F(RegsTest, machine_type) { in TEST_F() argument
|
/system/update_engine/cros/ |
D | omaha_request_params_unittest.cc | 62 string machine_type; in GetMachineType() local 63 if (!utils::ReadPipe("uname -m", &machine_type)) in GetMachineType() 66 size_t newline_pos = machine_type.find('\n'); in GetMachineType() 68 machine_type.erase(newline_pos); in GetMachineType() 69 return machine_type; in GetMachineType()
|
/system/unwinding/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 251 void PutElfInMemory(MemoryFake* memory, uint64_t offset, uint8_t class_type, uint8_t machine_type, in PutElfInMemory() argument 258 ehdr.e_machine = machine_type; in PutElfInMemory() 335 uint8_t machine_type = data_provider->ConsumeIntegral<uint8_t>(); in PutElfFilesInMemory() local 341 PutElfInMemory<Elf64_Ehdr, Elf64_Shdr>(memory, offset, class_type, machine_type, pc, size); in PutElfFilesInMemory() 343 PutElfInMemory<Elf32_Ehdr, Elf32_Shdr>(memory, offset, class_type, machine_type, pc, size); in PutElfFilesInMemory()
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_symbols.cpp | 73 switch (elf.machine_type()) { in main()
|
D | unwind_info.cpp | 130 if (elf.machine_type() == EM_ARM) { in GetElfInfo()
|
D | unwind_reg_info.cpp | 201 if (elf.machine_type() == EM_ARM) { in GetInfo()
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | Elf.h | 83 uint32_t machine_type() { return machine_type_; } in machine_type() function
|
/system/extras/simpleperf/scripts/ |
D | report_html.py | 824 machine_type = self.arch 827 machine_type = '%s (%s) by %s, arch %s' % (model, name, manufacturer, self.arch) 828 record_info['machineType'] = machine_type
|