Home
last modified time | relevance | path

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

123456

/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/swiftshader/third_party/LLVM/lib/Object/
DELFObjectFile.cpp33 template<support::endianness target_endianness>
49 template<support::endianness target_endianness, bool is64Bits>
53 template<support::endianness target_endianness>
63 template<support::endianness target_endianness>
92 template<support::endianness target_endianness, bool is64Bits>
95 template<support::endianness target_endianness>
110 template<support::endianness target_endianness>
125 template<support::endianness target_endianness, bool is64Bits>
140 template<support::endianness target_endianness, bool is64Bits>
143 template<support::endianness target_endianness>
[all …]
/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,
304 template <typename T, endianness E> inline T read(const void *P) { in read()
308 template <endianness E> inline uint16_t read16(const void *P) { in read16()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DEndian.h22 enum endianness {big, little, native}; enum
37 template<typename value_type, endianness endian>
46 endianness endian,
60 template<typename value_type, endianness endian, std::size_t alignment,
70 endianness endian,
85 template <typename value_type, endianness endian, std::size_t alignment>
119 template <typename value_type, endianness endian, std::size_t alignment>
172 endianness endian,
303 template <typename T, endianness E> inline T read(const void *P) { in read()
307 template <endianness E> inline uint16_t read16(const void *P) { in read16()
[all …]
/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;
39 template <endianness E, bool Is64> struct ELFType {
45 static const endianness TargetEndianness = E;
89 template <endianness target_endianness> struct ELFDataTypeTypedefHelperCommon {
105 template <endianness TargetEndianness>
116 template <endianness TargetEndianness>
145 template <endianness TargetEndianness>
160 template <endianness TargetEndianness>
190 template <endianness TargetEndianness>
201 template <endianness TargetEndianness>
[all …]
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp363 template <class IntPtrT, support::endianness Endian>
372 support::endianness Endian>
495 template <class IntPtrT, support::endianness Endian>
515 template <typename T, support::endianness Endian>
546 support::endianness &Endian) { in loadTestingFormat()
548 Endian = support::endianness::little; in loadTestingFormat()
597 support::endianness &Endian, StringRef Arch) { in loadBinaryFormat()
622 Endian = OF->isLittleEndian() ? support::endianness::little in loadBinaryFormat()
623 : support::endianness::big; in loadBinaryFormat()
650 support::endianness Endian; in create()
[all …]
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h508 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash()
512 template <support::endianness Endian> uint32_t getDataSize() const { in getDataSize()
516 template <support::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef()
520 template <support::endianness Endian>
536 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash()
540 template <support::endianness Endian> uint32_t getDataSize() const { in getDataSize()
544 template <support::endianness Endian> uint64_t getFuncNameRef() const { in getFuncNameRef()
548 template <support::endianness Endian>
561 template <support::endianness Endian> uint32_t getNRecords() const { in getNRecords()
564 template <support::endianness Endian> uint32_t getFilenamesSize() const { in getFilenamesSize()
[all …]
/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()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h212 support::endianness getDataEndianness() const { in getDataEndianness()
213 support::endianness HostEndian = getHostEndianness(); in getDataEndianness()
264 support::endianness ValueProfDataEndianness;
301 void setValueProfDataEndianness(support::endianness Endianness) { in setValueProfDataEndianness()
315 virtual void setValueProfDataEndianness(support::endianness Endianness) = 0;
346 void setValueProfDataEndianness(support::endianness Endianness) override { in setValueProfDataEndianness()
412 void setValueProfDataEndianness(support::endianness Endianness) { in setValueProfDataEndianness()
/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/selinux/libselinux/src/
Dregex.c23 #error Neither __BYTE_ORDER__ nor __BYTE_ORDER defined. Unable to determine endianness.
37 char const *endianness = NULL; in regex_arch_string() local
42 endianness = "el"; in regex_arch_string()
44 endianness = "eb"; in regex_arch_string()
46 if (!endianness) in regex_arch_string()
52 endianness); in regex_arch_string()
/external/syslinux/gpxe/src/drivers/bitbash/
Dspi_bit.c88 unsigned int len, int endianness ) { in spi_bit_transfer() argument
104 bit_offset = ( ( endianness == SPI_BIT_BIG_ENDIAN ) ? in spi_bit_transfer()
208 spibit->endianness ); in spi_bit_rw()
/external/tensorflow/tensorflow/core/protobuf/
Dtensor_bundle.proto27 // An enum indicating the endianness of the platform that produced this
28 // bundle. A bundle can only be read by a platform with matching endianness.
36 Endianness endianness = 2; field
/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/mesa3d/src/gallium/state_trackers/clover/core/
Dkernel.cpp393 byteswap(w, ctx.q->device().endianness()); in bind()
426 byteswap(v, ctx.q->device().endianness()); in bind()
461 byteswap(v, ctx.q->device().endianness()); in bind()
491 byteswap(v, ctx.q->device().endianness()); in bind()
526 byteswap(v, ctx.q->device().endianness()); in bind()
557 byteswap(v, ctx.q->device().endianness()); in bind()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMemoryMappedFile.java79 private BufferIterator getHeapBufferIterator(ByteOrder endianness) { in getHeapBufferIterator() argument
80 return new RoboBufferIterator(bytes, endianness); in getHeapBufferIterator()
/external/deqp/modules/internal/
DditBuildInfoTests.cpp79 static const char* getEndiannessName (int endianness) in getEndiannessName() argument
81 switch (endianness) in getEndiannessName()

123456