Home
last modified time | relevance | path

Searched refs:endianness (Results 1 - 25 of 107) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DEndian.h29 enum endianness {big, little, native}; enum
46 constexpr endianness system_endianness() { in system_endianness()
51 inline value_type byte_swap(value_type value, endianness endian) { in byte_swap()
57 /// Swap the bytes of value to match the given endianness.
58 template<typename value_type, endianness endian>
63 /// Read a value of a particular endianness from memory.
65 inline value_type read(const void *memory, endianness endian) { in read()
76 endianness endian,
82 /// Read a value of a particular endianness from a buffer, and increment the
85 inline value_type readNext(const CharT *&memory, endianness endia
[all...]
H A DEndianStream.h27 inline void write(raw_ostream &os, value_type value, endianness endian) { in write()
33 inline void write<float>(raw_ostream &os, float value, endianness endian) { in write()
39 endianness endian) { in write()
45 endianness endian) { in write()
53 endianness Endian;
54 Writer(raw_ostream &OS, endianness Endian) : OS(OS), Endian(Endian) {} in Writer()
H A DBinaryByteStream.h34 BinaryByteStream(ArrayRef<uint8_t> Data, llvm::support::endianness Endian) in BinaryByteStream()
36 BinaryByteStream(StringRef Data, llvm::support::endianness Endian) in BinaryByteStream()
39 llvm::support::endianness getEndian() const override { return Endian; }
67 llvm::support::endianness Endian;
78 llvm::support::endianness Endian) in MemoryBufferByteStream()
93 llvm::support::endianness Endian) in MutableBinaryByteStream()
96 llvm::support::endianness getEndian() const override {
137 llvm::support::endianness Endian = llvm::support::little;
141 AppendingBinaryByteStream(llvm::support::endianness Endian) in AppendingBinaryByteStream()
146 llvm::support::endianness getEndia
[all...]
H A DBinaryItemStream.h36 explicit BinaryItemStream(llvm::support::endianness Endian) in BinaryItemStream()
39 llvm::support::endianness getEndian() const override { return Endian; }
98 llvm::support::endianness Endian;
H A DBinaryStreamRef.h47 llvm::support::endianness getEndian() const { in getEndian()
170 llvm::support::endianness Endian);
171 explicit BinaryStreamRef(StringRef Data, llvm::support::endianness Endian);
245 llvm::support::endianness Endian);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DEndian.h22 enum endianness {big, little, native}; enum
36 /// Swap the bytes of value to match the given endianness.
37 template<typename value_type, endianness endian>
44 /// Read a value of a particular endianness from memory.
46 endianness endian,
58 /// Read a value of a particular endianness from a buffer, and increment the
60 template<typename value_type, endianness endian, std::size_t alignment,
68 /// Write a value to memory with a particular endianness.
70 endianness endian,
83 /// Read a value of a particular endianness fro
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DBinaryStreamRef.cpp19 ArrayRefImpl(ArrayRef<uint8_t> Data, endianness Endian) : BBS(Data, Endian) {} in ArrayRefImpl()
21 llvm::support::endianness getEndian() const override {
40 MutableArrayRefImpl(MutableArrayRef<uint8_t> Data, endianness Endian) in MutableArrayRefImpl()
44 llvm::support::endianness getEndian() const override {
72 BinaryStreamRef::BinaryStreamRef(ArrayRef<uint8_t> Data, endianness Endian) in BinaryStreamRef()
75 BinaryStreamRef::BinaryStreamRef(StringRef Data, endianness Endian) in BinaryStreamRef()
112 endianness Endian) in WritableBinaryStreamRef()
H A DBinaryStreamReader.cpp16 using endianness = llvm::support::endianness;
23 endianness Endian) in BinaryStreamReader()
26 BinaryStreamReader::BinaryStreamReader(StringRef Data, endianness Endian) in BinaryStreamReader()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DELFTypes.h26 using support::endianness;
47 template <endianness E, bool Is64> struct ELFType {
53 static const endianness TargetEndianness = E;
119 template <endianness TargetEndianness>
134 template <endianness TargetEndianness>
164 template <endianness TargetEndianness>
175 template <endianness TargetEndianness>
324 template <endianness TargetEndianness>
334 template <endianness TargetEndianness>
358 template <endianness TargetEndiannes
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp398 template <class IntPtrT, support::endianness Endian>
406 template <CovMapVersion Version, class IntPtrT, support::endianness Endian>
533 template <class IntPtrT, support::endianness Endian>
559 template <typename T, support::endianness Endian>
592 support::endianness Endian) { in createCoverageReaderFromBuffer()
595 if (BytesInAddress == 4 && Endian == support::endianness::little) { in createCoverageReaderFromBuffer()
597 readCoverageMappingData<uint32_t, support::endianness::little>( in createCoverageReaderFromBuffer()
601 } else if (BytesInAddress == 4 && Endian == support::endianness::big) { in createCoverageReaderFromBuffer()
602 if (Error E = readCoverageMappingData<uint32_t, support::endianness::big>( in createCoverageReaderFromBuffer()
606 } else if (BytesInAddress == 8 && Endian == support::endianness in createCoverageReaderFromBuffer()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h697 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash()
702 template <support::endianness Endian> uint32_t getDataSize() const { in getDataSize()
707 template <support::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef()
712 template <support::endianness Endian>
728 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash()
733 template <support::endianness Endian> uint32_t getDataSize() const { in getDataSize()
738 template <support::endianness Endian> uint64_t getFuncNameRef() const { in getFuncNameRef()
743 template <support::endianness Endian>
756 template <support::endianness Endian> uint32_t getNRecords() const { in getNRecords()
760 template <support::endianness Endia
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dspirv_endian.h20 // Converts a word in the specified endianness to the host native endianness.
21 uint32_t spvFixWord(const uint32_t word, const spv_endianness_t endianness);
23 // Converts a pair of words in the specified endianness to the host native
24 // endianness.
26 const spv_endianness_t endianness);
28 // Gets the endianness of the SPIR-V module given in the binary parameter.
30 // otherwise writes the determined endianness into *endian.
34 // Returns true if the given endianness matches the host's native endiannes.
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dspirv_endian.h20 // Converts a word in the specified endianness to the host native endianness.
21 uint32_t spvFixWord(const uint32_t word, const spv_endianness_t endianness);
23 // Converts a pair of words in the specified endianness to the host native
24 // endianness.
26 const spv_endianness_t endianness);
28 // Gets the endianness of the SPIR-V module given in the binary parameter.
30 // otherwise writes the determined endianness into *endian.
34 // Returns true if the given endianness matches the host's native endiannes.
/third_party/spirv-tools/source/
H A Dspirv_endian.h20 // Converts a word in the specified endianness to the host native endianness.
21 uint32_t spvFixWord(const uint32_t word, const spv_endianness_t endianness);
23 // Converts a pair of words in the specified endianness to the host native
24 // endianness.
26 const spv_endianness_t endianness);
28 // Gets the endianness of the SPIR-V module given in the binary parameter.
30 // otherwise writes the determined endianness into *endian.
34 // Returns true if the given endianness matches the host's native endianness
[all...]
/third_party/skia/third_party/externals/oboe/src/opensles/
H A DOpenSLESUtilities.cpp75 format_pcm_ex.endianness = format.endianness; in OpenSLES_createExtendedFormat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h241 support::endianness getDataEndianness() const { in getDataEndianness()
242 support::endianness HostEndian = getHostEndianness(); in getDataEndianness()
305 support::endianness ValueProfDataEndianness = support::little;
342 void setValueProfDataEndianness(support::endianness Endianness) { in setValueProfDataEndianness()
359 virtual void setValueProfDataEndianness(support::endianness Endianness) = 0;
397 void setValueProfDataEndianness(support::endianness Endianness) override {
502 void setValueProfDataEndianness(support::endianness Endianness) { in setValueProfDataEndianness()
/third_party/libsnd/src/
H A Daudio_detect.c67 if (ad->endianness == SF_ENDIAN_LITTLE && vote.le_float > (3 * datalen) / 4) in audio_detect()
72 if (ad->endianness == SF_ENDIAN_LITTLE && vote.le_int_24_32 > (3 * datalen) / 4) in audio_detect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
H A DFileWriter.h31 llvm::support::endianness ByteOrder;
33 FileWriter(llvm::raw_pwrite_stream &S, llvm::support::endianness B) in FileWriter()
/third_party/node/deps/simdutf/
H A Dsimdutf.cpp470 template <endianness big_endian>
658 template <endianness endian>
935 // Change the endianness
1688 template <endianness big_endian>
1968 template <endianness endian>
2194 // Change the endianness
2594 template <endianness big_endian>
2904 template <endianness endian>
3159 // Change the endianness
4344 template <endianness big_endia
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
H A DvktInfoTests.cpp92 std::string getEndiannessName (int endianness) in getEndiannessName() argument
94 switch (endianness) in getEndiannessName()
99 return de::toString(endianness); in getEndiannessName()
/third_party/node/test/parallel/
H A Dtest-os.js76 const endianness = os.endianness();
77 is.string(endianness);
78 assert.match(endianness, /[BL]E/);
252 assert.strictEqual(`${os.endianness}`, os.endianness());
/third_party/selinux/libselinux/src/
H A Dregex.c23 #error Neither __BYTE_ORDER__ nor __BYTE_ORDER defined. Unable to determine endianness.
42 char const *endianness = NULL; in regex_arch_string() local
47 endianness = "el"; in regex_arch_string()
49 endianness = "eb"; in regex_arch_string()
51 if (!endianness) in regex_arch_string()
57 endianness); in regex_arch_string()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCheckerImpl.h31 GetGOTInfoFunction GetGOTInfo, support::endianness Endianness,
67 support::endianness Endianness;
/third_party/node/lib/
H A Dos.js206 function endianness() { function
209 endianness[SymbolToPrimitive] = () => kEndianness;
379 endianness,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
H A DvktInfoTests.cpp98 std::string getEndiannessName (int endianness) in getEndiannessName() argument
100 switch (endianness) in getEndiannessName()
105 return de::toString(endianness); in getEndiannessName()

Completed in 25 milliseconds

12345