Home
last modified time | relevance | path

Searched refs:endianness (Results 1 – 25 of 92) sorted by relevance

1234

/external/google-breakpad/src/common/linux/
Dsynth_elf.cc16 Endianness endianness) in ELF() argument
17 : Section(endianness), in ELF()
20 program_header_table_(endianness), in ELF()
22 section_header_table_(endianness), in ELF()
23 section_header_strings_(endianness) { in ELF()
41 D8(endianness == kLittleEndian ? ELFDATA2LSB : ELFDATA2MSB); in ELF()
59 Append(endianness, addr_size_, 0); in ELF()
61 Append(endianness, addr_size_, program_header_label_); in ELF()
63 Append(endianness, addr_size_, section_header_label_); in ELF()
100 .Append(endianness(), addr_size_, flags) in AddSection()
[all …]
Dsynth_elf.h66 StringTable(Endianness endianness = kUnsetEndian)
67 : Section(endianness) { in Section() argument
98 Endianness endianness = kLittleEndian);
166 SymbolTable(Endianness endianness, size_t addr_size, StringTable& table);
183 Notes(Endianness endianness) in Notes() argument
184 : Section(endianness) { in Notes()
Delf_symbols_to_module_unittest.cc60 ELFSymbolsToModuleTestFixture(Endianness endianness, in ELFSymbolsToModuleTestFixture() argument
62 section(endianness), in ELFSymbolsToModuleTestFixture()
63 table(endianness), in ELFSymbolsToModuleTestFixture()
75 section.endianness() == kBigEndian, in ProcessSection()
Ddump_symbols.cc233 const dwarf2reader::Endianness endianness = big_endian ? in LoadDwarf() local
235 dwarf2reader::ByteReader byte_reader(endianness); in LoadDwarf()
335 const dwarf2reader::Endianness endianness = big_endian ? in LoadDwarfCFI() local
346 dwarf2reader::ByteReader byte_reader(endianness); in LoadDwarfCFI()
469 const dwarf2reader::Endianness endianness = big_endian ? in ReadDebugLink() local
471 dwarf2reader::ByteReader byte_reader(endianness); in ReadDebugLink()
/external/llvm/include/llvm/Support/
DEndian.h23 enum endianness {big, little, native}; enum
38 template<typename value_type, endianness endian>
47 endianness endian,
61 template<typename value_type, endianness endian, std::size_t alignment,
71 endianness endian,
86 template <typename value_type, endianness endian, std::size_t alignment>
120 template <typename value_type, endianness endian, std::size_t alignment>
173 endianness endian,
300 template <typename T, endianness E> inline T read(const void *P) { in read()
304 template <endianness E> inline uint16_t read16(const void *P) { in read16()
[all …]
DEndianStream.h26 template <endianness endian> struct Writer {
/external/google-breakpad/src/common/
Dtest_assembler.h272 Section(Endianness endianness = kUnsetEndian)
273 : endianness_(endianness) { }; in endianness_() argument
282 void set_endianness(Endianness endianness) { in set_endianness() argument
283 endianness_ = endianness; in set_endianness()
287 Endianness endianness() const { return endianness_; } in endianness() function
310 Section &Append(Endianness endianness, size_t size, uint64_t number);
311 Section &Append(Endianness endianness, size_t size, const Label &label);
452 : offset(set_offset), endianness(set_endianness), size(set_size), in Reference()
459 Endianness endianness; member
Dtest_assembler.cc205 static inline void InsertEndian(test_assembler::Endianness endianness, in InsertEndian() argument
208 if (endianness == kLittleEndian) { in InsertEndian()
214 assert(endianness == kBigEndian); in InsertEndian()
221 Section &Section::Append(Endianness endianness, size_t size, uint64_t number) { in Append() argument
222 InsertEndian(endianness, size, number, in Append()
227 Section &Section::Append(Endianness endianness, size_t size, in Append() argument
233 return Append(endianness, size, value); in Append()
237 assert(endianness != kUnsetEndian); in Append()
239 references_.push_back(Reference(contents_.size(), endianness, size, label)); in Append()
298 references_.push_back(Reference(base + it->offset, it->endianness, in Append()
[all …]
/external/llvm/include/llvm/Object/
DELFTypes.h22 using support::endianness;
24 template <endianness target_endianness, bool is64Bits> struct ELFType {
25 static const endianness TargetEndianness = target_endianness;
38 template <endianness target_endianness> struct ELFDataTypeTypedefHelperCommon {
54 template <endianness TargetEndianness>
65 template <endianness TargetEndianness>
94 template <endianness TargetEndianness>
109 template <endianness TargetEndianness>
139 template <endianness TargetEndianness>
150 template <endianness TargetEndianness>
[all …]
/external/llvm/lib/ProfileData/
DCoverageMappingReader.cpp309 template <typename T, support::endianness Endian>
399 support::endianness &Endian) { in loadTestingFormat()
401 Endian = support::endianness::little; in loadTestingFormat()
441 support::endianness &Endian, StringRef Arch) { in loadBinaryFormat()
466 Endian = OF->isLittleEndian() ? support::endianness::little in loadBinaryFormat()
467 : support::endianness::big; in loadBinaryFormat()
495 support::endianness Endian; in create()
507 if (BytesInAddress == 4 && Endian == support::endianness::little) in create()
508 EC = readCoverageMappingData<uint32_t, support::endianness::little>( in create()
510 else if (BytesInAddress == 4 && Endian == support::endianness::big) in create()
[all …]
DInstrProf.cpp360 void ValueProfRecord::swapBytes(support::endianness Old, in swapBytes()
361 support::endianness New) { in swapBytes()
397 static T swapToHostOrder(const unsigned char *&D, support::endianness Orig) { in swapToHostOrder()
431 support::endianness Endianness) { in getValueProfData()
453 void ValueProfData::swapBytesToHost(support::endianness Endianness) { in swapBytesToHost()
468 void ValueProfData::swapBytesFromHost(support::endianness Endianness) { in swapBytesFromHost()
/external/google-breakpad/src/common/dwarf/
Dcfi_assembler.h98 CFISection(Endianness endianness, size_t address_size,
100 : Section(endianness), address_size_(address_size), eh_frame_(eh_frame), in Section() argument
175 Section::Append(endianness(), address_size_, address); in Address()
179 Section::Append(endianness(), address_size_, address); in Address()
Ddwarf2reader_die_unittest.cc150 DwarfHeaderParams(Endianness endianness, size_t format_size, in DwarfHeaderParams()
152 : endianness(endianness), format_size(format_size), in DwarfHeaderParams()
154 Endianness endianness; member
172 info.set_endianness(GetParam().endianness); in TEST_P()
197 ByteReader byte_reader(GetParam().endianness == kLittleEndian ? in TEST_P()
247 info.set_endianness(params.endianness); in StartSingleAttributeDIE()
275 ByteReader byte_reader(params.endianness == kLittleEndian ? in ParseCompilationUnit()
Ddwarf2reader_cfi_unittest.cc662 dwarf2reader::Endianness endianness; in ParseSection() local
663 if (section->endianness() == kBigEndian) in ParseSection()
664 endianness = ENDIANNESS_BIG; in ParseSection()
666 assert(section->endianness() == kLittleEndian); in ParseSection()
667 endianness = ENDIANNESS_LITTLE; in ParseSection()
669 ByteReader byte_reader(endianness); in ParseSection()
1983 dwarf2reader::Endianness endianness; in ParseEHFrameSection() local
1984 if (section->endianness() == kBigEndian) in ParseEHFrameSection()
1985 endianness = ENDIANNESS_BIG; in ParseEHFrameSection()
1987 assert(section->endianness() == kLittleEndian); in ParseEHFrameSection()
[all …]
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h192 support::endianness getDataEndianness() const { in getDataEndianness()
193 support::endianness HostEndian = getHostEndianness(); in getDataEndianness()
241 support::endianness ValueProfDataEndianness;
278 void setValueProfDataEndianness(support::endianness Endianness) { in setValueProfDataEndianness()
292 virtual void setValueProfDataEndianness(support::endianness Endianness) = 0;
322 void setValueProfDataEndianness(support::endianness Endianness) override { in setValueProfDataEndianness()
378 void setValueProfDataEndianness(support::endianness Endianness) { in setValueProfDataEndianness()
DInstrProfWriter.h53 void setValueProfDataEndianness(support::endianness Endianness);
/external/libmtp/examples/
Ddetect.c35 static int endianness = 0; // 0 = LE, 1 = BE in dump_xml_fragment() local
40 endianness = 0; in dump_xml_fragment()
42 endianness = 1; in dump_xml_fragment()
46 if (endianness == 0) { in dump_xml_fragment()
/external/deqp/external/vulkancts/modules/vulkan/
DvktInfoTests.cpp91 std::string getEndiannessName (int endianness) in getEndiannessName() argument
93 switch (endianness) in getEndiannessName()
98 return de::toString(endianness); in getEndiannessName()
/external/google-breakpad/src/processor/
Dsynth_minidump.cc41 : test_assembler::Section(dump.endianness()) { } in Section()
137 assert(dump.endianness() == kLittleEndian); in Context()
185 assert(dump.endianness() == kLittleEndian); in Context()
319 Endianness endianness, in Dump() argument
322 : test_assembler::Section(endianness), in Dump()
/external/google-breakpad/src/common/mac/
Dmacho_reader_unittest.cc469 WithConfiguration(Endianness endianness, size_t word_size) in WithConfiguration() argument
470 : endianness_(endianness), word_size_(word_size), saved_(current_) { in WithConfiguration()
474 static Endianness endianness() { in endianness() function in WithConfiguration
503 explicit SizedSection(Endianness endianness, size_t word_size) in SizedSection() argument
504 : test_assembler::Section(endianness), word_size_(word_size) { in SizedSection()
508 : test_assembler::Section(WithConfiguration::endianness()), in SizedSection()
527 assert(section->endianness() == endianness()); in Place()
589 Append(endianness(), word_size() / 8, contents.address()); in Header()
590 Append(endianness(), word_size() / 8, vmsize_); in Header()
591 Append(endianness(), word_size() / 8, contents.start()); in Header()
[all …]
/external/deqp/modules/internal/
DditBuildInfoTests.cpp79 static const char* getEndiannessName (int endianness) in getEndiannessName() argument
81 switch (endianness) in getEndiannessName()
/external/deqp/framework/delibs/debase/
DdeDefs.h144 # error Invalid MIPS endianness.
151 # error Unknown endianness.
156 # error Invalid x86(_64) endianness.
/external/webrtc/webrtc/modules/audio_device/android/
Dopensles_common.cc37 configuration.endianness = SL_BYTEORDER_LITTLEENDIAN; in CreatePcmConfiguration()
/external/dbus/test/data/invalid-messages/
Dbad-endian.message1 ## message with invalid endianness tag
/external/dbus/test/data/valid-messages/
Dopposite-endian.message1 ## Message of opposite endianness, with lots of random fields in it

1234