/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | BinaryByteStream.h | 35 BinaryByteStream(ArrayRef<uint8_t> Data, llvm::support::endianness Endian) in BinaryByteStream() argument 36 : Endian(Endian), Data(Data) {} in BinaryByteStream() 37 BinaryByteStream(StringRef Data, llvm::support::endianness Endian) in BinaryByteStream() argument 38 : Endian(Endian), Data(Data.bytes_begin(), Data.bytes_end()) {} in BinaryByteStream() 40 llvm::support::endianness getEndian() const override { return Endian; } in getEndian() 68 llvm::support::endianness Endian; 79 llvm::support::endianness Endian) in MemoryBufferByteStream() argument 80 : BinaryByteStream(Buffer->getBuffer(), Endian), in MemoryBufferByteStream() 94 llvm::support::endianness Endian) in MutableBinaryByteStream() argument 95 : Data(Data), ImmutableStream(Data, Endian) {} in MutableBinaryByteStream() [all …]
|
D | EndianStream.h | 54 endianness Endian; member 55 Writer(raw_ostream &OS, endianness Endian) : OS(OS), Endian(Endian) {} in Writer() 57 endian::write(OS, Val, Endian); in write() 60 endian::write(OS, Val, Endian); in write()
|
D | BinaryItemStream.h | 37 explicit BinaryItemStream(llvm::support::endianness Endian) in BinaryItemStream() argument 38 : Endian(Endian) {} in BinaryItemStream() 40 llvm::support::endianness getEndian() const override { return Endian; } in getEndian() 99 llvm::support::endianness Endian; variable
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 508 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash() 509 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash() 512 template <support::endianness Endian> uint32_t getDataSize() const { in getDataSize() 513 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize() 516 template <support::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef() 517 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef() 520 template <support::endianness Endian> 522 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName() 523 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName() 536 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | BinaryStreamRef.cpp | 20 ArrayRefImpl(ArrayRef<uint8_t> Data, endianness Endian) : BBS(Data, Endian) {} in ArrayRefImpl() argument 41 MutableArrayRefImpl(MutableArrayRef<uint8_t> Data, endianness Endian) in MutableArrayRefImpl() argument 42 : BBS(Data, Endian) {} in MutableArrayRefImpl() 73 BinaryStreamRef::BinaryStreamRef(ArrayRef<uint8_t> Data, endianness Endian) in BinaryStreamRef() argument 74 : BinaryStreamRefBase(std::make_shared<ArrayRefImpl>(Data, Endian), 0, in BinaryStreamRef() 76 BinaryStreamRef::BinaryStreamRef(StringRef Data, endianness Endian) in BinaryStreamRef() argument 78 Endian) {} in BinaryStreamRef() 113 endianness Endian) in WritableBinaryStreamRef() argument 114 : BinaryStreamRefBase(std::make_shared<MutableArrayRefImpl>(Data, Endian), in WritableBinaryStreamRef()
|
D | BinaryStreamReader.cpp | 23 endianness Endian) in BinaryStreamReader() argument 24 : Stream(Data, Endian) {} in BinaryStreamReader() 26 BinaryStreamReader::BinaryStreamReader(StringRef Data, endianness Endian) in BinaryStreamReader() argument 27 : Stream(Data, Endian) {} in BinaryStreamReader()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 695 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash() 696 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash() 700 template <support::endianness Endian> uint32_t getDataSize() const { in getDataSize() 701 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize() 705 template <support::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef() 706 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef() 710 template <support::endianness Endian> 712 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName() 713 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName() 726 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash() [all …]
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingReader.cpp | 363 template <class IntPtrT, support::endianness Endian> 372 support::endianness Endian> 394 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded() 395 NameRefType NameRef = CFR->template getFuncNameRef<Endian>(); in insertFunctionRecordIfNeeded() 400 if (Error Err = CFR->template getFuncName<Endian>(ProfileNames, FuncName)) in insertFunctionRecordIfNeeded() 443 uint32_t NRecords = CovHeader->getNRecords<Endian>(); in readFunctionRecords() 444 uint32_t FilenamesSize = CovHeader->getFilenamesSize<Endian>(); in readFunctionRecords() 445 uint32_t CoverageSize = CovHeader->getCoverageSize<Endian>(); in readFunctionRecords() 446 assert((CovMapVersion)CovHeader->getVersion<Endian>() == Version); in readFunctionRecords() 477 uint32_t DataSize = CFR->template getDataSize<Endian>(); in readFunctionRecords() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingReader.cpp | 389 template <class IntPtrT, support::endianness Endian> 397 template <CovMapVersion Version, class IntPtrT, support::endianness Endian> 418 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded() 419 NameRefType NameRef = CFR->template getFuncNameRef<Endian>(); in insertFunctionRecordIfNeeded() 424 if (Error Err = CFR->template getFuncName<Endian>(ProfileNames, FuncName)) in insertFunctionRecordIfNeeded() 471 uint32_t NRecords = CovHeader->getNRecords<Endian>(); in readFunctionRecords() 472 uint32_t FilenamesSize = CovHeader->getFilenamesSize<Endian>(); in readFunctionRecords() 473 uint32_t CoverageSize = CovHeader->getCoverageSize<Endian>(); in readFunctionRecords() 474 assert((CovMapVersion)CovHeader->getVersion<Endian>() == Version); in readFunctionRecords() 505 uint32_t DataSize = CFR->template getDataSize<Endian>(); in readFunctionRecords() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/MCTargetDesc/ |
D | BPFAsmBackend.cpp | 27 BPFAsmBackend(support::endianness Endian) : MCAsmBackend(Endian) {} in BPFAsmBackend() argument 65 support::endian::write<uint64_t>(OS, 0x15000000, Endian); in writeNopData() 83 support::endian::write<uint32_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup() 85 support::endian::write<uint64_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup() 88 if (Endian == support::little) { in applyFixup() 99 Endian); in applyFixup()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCAsmBackend.cpp | 26 MCAsmBackend::MCAsmBackend(support::endianness Endian) in MCAsmBackend() argument 27 : CodePadder(new MCCodePadder()), Endian(Endian) {} in MCAsmBackend() 37 Endian == support::little); in createObjectWriter() 40 OS, Endian == support::little); in createObjectWriter() 59 OS, DwoOS, Endian == support::little); in createDwoObjectWriter()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCAsmBackend.cpp | 79 PPCAsmBackend(const Target &T, support::endianness Endian) in PPCAsmBackend() argument 80 : MCAsmBackend(Endian), TheTarget(T) {} in PPCAsmBackend() 113 return (Endian == support::little in getFixupKindInfo() 132 unsigned Idx = Endian == support::little ? i : (NumBytes - 1 - i); in applyFixup() 184 support::endian::write<uint32_t>(OS, 0x60000000, Endian); in writeNopData() 220 ELFPPCAsmBackend(const Target &T, support::endianness Endian, in ELFPPCAsmBackend() argument 222 : PPCAsmBackend(T, Endian), OSABI(OSABI) {} in ELFPPCAsmBackend()
|
/external/piex/src/ |
D | tiff_parser.h | 112 const tiff_directory::Endian& endian, std::uint16_t* value); 118 const tiff_directory::Endian& endian, std::uint32_t* value); 129 tiff_directory::Endian* endian); 150 const tiff_directory::Endian endian, 200 tiff_directory::Endian endian_;
|
D | piex.cc | 34 using tiff_directory::Endian; 137 bool GetExifIfd(const Endian endian, StreamInterface* stream, in GetExifIfd() 162 bool GetMakernoteIfd(const TiffDirectory& exif_ifd, const Endian endian, in GetMakernoteIfd() 182 const Endian endian, StreamInterface* stream, in GetCameraSettingsIfd() 206 const Endian endian, StreamInterface* stream, in GetRawProcessingIfd() 231 Endian endian; in GetOlympusPreviewImage() 303 Endian endian; in PefGetColorSpace() 335 const Endian endian = tiff_directory::kBigEndian; in RafGetOrientation() 348 const Endian endian = tiff_directory::kBigEndian; in RafGetDimension() 553 const Endian endian = tiff_directory::kBigEndian; in RafGetPreviewData()
|
D | tiff_parser.cc | 28 using tiff_directory::Endian; 264 const std::uint32_t max_number_ifds, const Endian endian, in ParseSubIfds() 279 TiffDirectory sub_ifd(static_cast<Endian>(endian)); in ParseSubIfds() 294 const Endian& endian, std::uint16_t* value) { in Get16u() 309 const Endian& endian, std::uint32_t* value) { in Get32u() 348 Endian* endian) { in GetEndianness() 434 const Endian endian = kBigEndian; in GetJpegDimensions() 471 const std::uint32_t ifd_offset, const Endian endian, in ParseDirectory() 723 TiffDirectory tiff_ifd(static_cast<Endian>(endian_)); in ParseIfd()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAsmBackend.cpp | 159 return (Endian == support::little ? InfosLE in getFixupKindInfo() 306 support::endian::write(OS, nopEncoding, Endian); in writeNopData() 316 support::endian::write(OS, nopEncoding, Endian); in writeNopData() 422 return swapHalfWords(Value, Endian == support::little); in adjustFixupValue() 445 return swapHalfWords(Value, Endian == support::little); in adjustFixupValue() 478 return swapHalfWords(out, Endian == support::little); in adjustFixupValue() 515 return swapHalfWords(out, Endian == support::little); in adjustFixupValue() 533 return swapHalfWords(out, Endian == support::little); in adjustFixupValue() 569 return joinHalfWords(FirstHalf, SecondHalf, Endian == support::little); in adjustFixupValue() 605 return joinHalfWords(FirstHalf, SecondHalf, Endian == support::little); in adjustFixupValue() [all …]
|
D | ARMAsmBackendELF.h | 24 support::endianness Endian) in ARMAsmBackendELF() argument 25 : ARMAsmBackend(T, STI, Endian), OSABI(OSABI) {} in ARMAsmBackendELF()
|
D | ARMAsmBackend.h | 29 support::endianness Endian) in ARMAsmBackend() argument 30 : MCAsmBackend(Endian), STI(STI), in ARMAsmBackend()
|
/external/llvm/unittests/Support/ |
D | EndianTest.cpp | 22 TEST(Endian, Read) { in TEST() argument 35 TEST(Endian, ReadBitAligned) { in TEST() argument 72 TEST(Endian, WriteBitAligned) { in TEST() argument 167 TEST(Endian, Write) { in TEST() argument 192 TEST(Endian, PackedEndianSpecificIntegral) { in TEST() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | EndianTest.cpp | 22 TEST(Endian, Read) { in TEST() argument 35 TEST(Endian, ReadBitAligned) { in TEST() argument 72 TEST(Endian, WriteBitAligned) { in TEST() argument 167 TEST(Endian, Write) { in TEST() argument 192 TEST(Endian, PackedEndianSpecificIntegral) { in TEST() argument
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | EndianTest.cpp | 22 TEST(Endian, Read) { in TEST() argument 35 TEST(Endian, Write) { in TEST() argument 60 TEST(Endian, PackedEndianSpecificIntegral) { in TEST() argument
|
/external/piex/src/tiff_directory/ |
D | tiff_directory.h | 31 enum Endian { enum 70 explicit TiffDirectory(Endian endianness); 148 Endian endian_;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcAsmBackend.cpp | 207 if (Endian == support::little) in getFixupKindInfo() 273 support::endian::write<uint32_t>(OS, 0x01000000, Endian); in writeNopData() 299 unsigned Idx = Endian == support::little ? i : 3 - i; in applyFixup()
|
/external/flatbuffers/dart/lib/ |
D | flat_buffers.dart | 47 _buffer.getFloat64(offset, Endian.little); 50 _buffer.getFloat32(offset, Endian.little); 53 _buffer.getInt64(offset, Endian.little); 56 _buffer.getInt32(offset, Endian.little); 59 _buffer.getInt16(offset, Endian.little); 64 _buffer.getUint64(offset, Endian.little); 67 _buffer.getUint32(offset, Endian.little); 70 _buffer.getUint16(offset, Endian.little); 309 final int vt2Size = _buf.getUint16(vt2Start, Endian.little); 736 _buf.setFloat64(_buf.lengthInBytes - tail, x, Endian.little); [all …]
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/target/ |
D | llvm_target.ml | 10 module Endian = struct module 26 external byte_order : TargetData.t -> Endian.t = "llvm_byte_order"
|