Lines Matching refs:e_machine
137 Elf32_Half e_machine; in CreateInterfaceFromMemory() local
138 if (!memory->Read(EI_NIDENT + sizeof(Elf32_Half), &e_machine, sizeof(e_machine))) { in CreateInterfaceFromMemory()
142 if (e_machine != EM_ARM && e_machine != EM_386) { in CreateInterfaceFromMemory()
144 ALOGI("32 bit elf that is neither arm nor x86: e_machine = %d\n", e_machine); in CreateInterfaceFromMemory()
148 machine_type_ = e_machine; in CreateInterfaceFromMemory()
149 if (e_machine == EM_ARM) { in CreateInterfaceFromMemory()
151 } else if (e_machine == EM_386) { in CreateInterfaceFromMemory()
154 ALOGI("32 bit elf that is neither arm nor x86: e_machine = %d\n", e_machine); in CreateInterfaceFromMemory()
158 Elf64_Half e_machine; in CreateInterfaceFromMemory() local
159 if (!memory->Read(EI_NIDENT + sizeof(Elf64_Half), &e_machine, sizeof(e_machine))) { in CreateInterfaceFromMemory()
162 if (e_machine != EM_AARCH64 && e_machine != EM_X86_64) { in CreateInterfaceFromMemory()
164 ALOGI("64 bit elf that is neither aarch64 nor x86_64: e_machine = %d\n", e_machine); in CreateInterfaceFromMemory()
167 machine_type_ = e_machine; in CreateInterfaceFromMemory()