Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tools/
Dunwind_reg_info.cpp52 void PrintExpression(Memory* memory, uint8_t class_type, uint64_t end, uint64_t length) { in PrintExpression() argument
55 if (class_type == ELFCLASS32) { in PrintExpression()
67 void PrintRegInformation(DwarfSection* section, Memory* memory, uint64_t pc, uint8_t class_type, in PrintRegInformation() argument
122 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
128 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
207 PrintRegInformation(section, elf.memory(), pc, elf.class_type(), elf.arch()); in GetInfo()
215 PrintRegInformation(section, elf.memory(), pc, elf.class_type(), elf.arch()); in GetInfo()
227 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/unwinding/libunwindstack/
DElf.cpp233 uint8_t class_type; in GetInfo() local
234 if (!memory->ReadFully(EI_CLASS, &class_type, 1)) { in GetInfo()
239 if (class_type == ELFCLASS32) { in GetInfo()
241 } else if (class_type == ELFCLASS64) { in GetInfo()
342 uint8_t class_type; in GetLoadBias() local
343 if (!memory->Read(EI_CLASS, &class_type, 1)) { in GetLoadBias()
347 if (class_type == ELFCLASS32) { in GetLoadBias()
349 } else if (class_type == ELFCLASS64) { in GetLoadBias()
427 uint8_t class_type; in GetBuildID() local
428 if (!memory->Read(EI_CLASS, &class_type, 1)) { in GetBuildID()
[all …]
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp251 void PutElfInMemory(MemoryFake* memory, uint64_t offset, uint8_t class_type, uint8_t machine_type, in PutElfInMemory() argument
257 ehdr.e_ident[EI_CLASS] = class_type; in PutElfInMemory()
290 if (class_type == ELFCLASS32) { in PutElfInMemory()
333 uint8_t class_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/tests/
DElfTest.cpp198 ASSERT_EQ(ELFCLASS32, elf.class_type()); in TEST_F()
210 ASSERT_EQ(ELFCLASS32, elf.class_type()); in TEST_F()
222 ASSERT_EQ(ELFCLASS32, elf.class_type()); in TEST_F()
234 ASSERT_EQ(ELFCLASS64, elf.class_type()); in TEST_F()
246 ASSERT_EQ(ELFCLASS64, elf.class_type()); in TEST_F()
258 ASSERT_EQ(ELFCLASS64, elf.class_type()); in TEST_F()
270 ASSERT_EQ(ELFCLASS64, elf.class_type()); in TEST_F()
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()
91 EXPECT_EQ(ELFCLASS32, elf->class_type()); in TEST_F()
110 EXPECT_EQ(ELFCLASS64, elf->class_type()); in TEST_F()
135 EXPECT_EQ(ELFCLASS32, elf->class_type()); in TEST_F()
150 EXPECT_EQ(ELFCLASS64, elf->class_type()); in TEST_F()
DJitDebugTest.cpp89 void CreateElf(uint64_t offset, uint8_t class_type, uint8_t machine_type, uint32_t pc, in CreateElf() argument
98 ehdr.e_ident[EI_CLASS] = class_type; in CreateElf()
141 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/unwinding/libunwindstack/include/unwindstack/
DElf.h90 uint8_t class_type() { return class_type_; } in class_type() function
/system/tools/aidl/
Daidl_to_cpp_common.h56 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type,
Daidl_to_cpp_common.cpp84 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type, in HeaderFile() argument
90 class_type = ClassNames::RAW; in HeaderFile()
99 paths.push_back(ClassName(*toplevel, class_type)); in HeaderFile()