Home
last modified time | relevance | path

Searched refs:EI_CLASS (Results 1 – 10 of 10) sorted by relevance

/system/unwinding/libunwindstack/tests/
DMapInfoCreateMemoryTest.cpp52 ehdr.e_ident[EI_CLASS] = class_type; in InitElf()
64 buffer[EI_CLASS] = ELFCLASS32; in SetUp()
69 buffer[0x1000 + EI_CLASS] = ELFCLASS64; in SetUp()
123 ASSERT_EQ(ELFCLASS32, buffer[EI_CLASS]); in TEST_F()
124 for (size_t i = EI_CLASS + 1; i < buffer.size(); i++) { in TEST_F()
192 ASSERT_EQ(ELFCLASS64, buffer[EI_CLASS]); in TEST_F()
193 for (size_t i = EI_CLASS + 1; i < buffer.size(); i++) { in TEST_F()
DGenGnuDebugdata.cpp36 ehdr->e_ident[EI_CLASS] = elf_class; in InitEhdr()
DElfTestUtils.cpp43 ehdr->e_ident[EI_CLASS] = elf_class; in TestInitEhdr()
DJitDebugTest.cpp98 ehdr.e_ident[EI_CLASS] = class_type; in CreateElf()
DMapInfoGetElfTest.cpp55 ehdr->e_ident[EI_CLASS] = class_type; in InitElf()
/system/unwinding/libunwindstack/
DElf.cpp232 if (!memory->ReadFully(EI_CLASS, &class_type, 1)) { in GetInfo()
287 if (!memory->ReadFully(EI_CLASS, &class_type_, 1)) { in CreateInterfaceFromMemory()
336 if (!memory->Read(EI_CLASS, &class_type, 1)) { in GetLoadBias()
421 if (!memory->Read(EI_CLASS, &class_type, 1)) { in GetBuildID()
/system/memory/libmeminfo/libelf64/
Dparse.cpp52 return elf64Binary.ehdr.e_ident[EI_CLASS] == ELFCLASS64; in IsElf64()
/system/chre/platform/shared/include/chre/platform/shared/
Dloader_util.h69 #define EI_CLASS 4 macro
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp251 ehdr.e_ident[EI_CLASS] = class_type; in PutElfInMemory()
/system/update_engine/common/
Dutils.cc791 if (size < EI_CLASS + 1) in GetFileFormatELF()
793 switch (buffer[EI_CLASS]) { in GetFileFormatELF()