Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DElf.cpp215 uint8_t class_type; in GetInfo() local
216 if (!memory->ReadFully(EI_CLASS, &class_type, 1)) { in GetInfo()
221 if (class_type == ELFCLASS32) { in GetInfo()
223 } else if (class_type == ELFCLASS64) { in GetInfo()
307 uint8_t class_type; in GetLoadBias() local
308 if (!memory->Read(EI_CLASS, &class_type, 1)) { in GetLoadBias()
312 if (class_type == ELFCLASS32) { in GetLoadBias()
314 } else if (class_type == ELFCLASS64) { in GetLoadBias()
399 uint8_t class_type; in GetBuildID() local
400 if (!memory->Read(EI_CLASS, &class_type, 1)) { in GetBuildID()
[all …]
/system/core/libunwindstack/tools/
Dunwind_reg_info.cpp51 void PrintExpression(Memory* memory, uint8_t class_type, uint64_t end, uint64_t length) { in PrintExpression() argument
54 if (class_type == ELFCLASS32) { in PrintExpression()
66 void PrintRegInformation(DwarfSection* section, Memory* memory, uint64_t pc, uint8_t class_type) { in PrintRegInformation() argument
120 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
126 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
208 PrintRegInformation(section, memory, pc, elf.class_type()); in GetInfo()
216 PrintRegInformation(section, memory, pc, elf.class_type()); in GetInfo()
228 PrintRegInformation(section, gnu_debugdata_interface->memory(), pc, elf.class_type()); in GetInfo()
237 PrintRegInformation(section, gnu_debugdata_interface->memory(), pc, elf.class_type()); in GetInfo()
/system/tools/aidl/
Dast_java_unittest.cpp44 Type class_type(&types, "TestClass", ValidatableType::KIND_GENERATED, false); in TEST() local
50 a_class.type = class_type.JavaType(); in TEST()
Daidl_to_cpp_common.h45 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type,
Daidl_to_cpp_common.cpp51 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type, in HeaderFile() argument
62 file_path += ClassName(defined_type, class_type); in HeaderFile()
/system/core/libunwindstack/tests/
DMapInfoGetElfTest.cpp52 static void InitElf(uint64_t sh_offset, Ehdr* ehdr, uint8_t class_type, uint8_t machine_type) { in InitElf() argument
55 ehdr->e_ident[EI_CLASS] = class_type; in InitElf()
90 EXPECT_EQ(ELFCLASS32, elf->class_type()); in TEST_F()
110 EXPECT_EQ(ELFCLASS64, elf->class_type()); in TEST_F()
137 EXPECT_EQ(ELFCLASS32, elf->class_type()); in TEST_F()
153 EXPECT_EQ(ELFCLASS64, elf->class_type()); in TEST_F()
DElfTest.cpp177 ASSERT_EQ(ELFCLASS32, elf.class_type()); in TEST_F()
189 ASSERT_EQ(ELFCLASS32, elf.class_type()); in TEST_F()
201 ASSERT_EQ(ELFCLASS32, elf.class_type()); in TEST_F()
213 ASSERT_EQ(ELFCLASS64, elf.class_type()); in TEST_F()
225 ASSERT_EQ(ELFCLASS64, elf.class_type()); in TEST_F()
237 ASSERT_EQ(ELFCLASS64, elf.class_type()); in TEST_F()
DJitDebugTest.cpp86 void CreateElf(uint64_t offset, uint8_t class_type, uint8_t machine_type, uint32_t pc, in CreateElf() argument
92 ehdr.e_ident[EI_CLASS] = class_type; in CreateElf()
125 if (class_type == ELFCLASS32) { in CreateElf()
DMapInfoCreateMemoryTest.cpp45 static void InitElf(int fd, uint64_t file_offset, uint64_t sh_offset, uint8_t class_type) { in InitElf() argument
52 ehdr.e_ident[EI_CLASS] = class_type; in InitElf()
/system/core/libunwindstack/include/unwindstack/
DElf.h90 uint8_t class_type() { return class_type_; } in class_type() function