Home
last modified time | relevance | path

Searched refs:IsLittleEndian (Results 1 – 25 of 75) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DDWARFEmitter.cpp38 static void writeInteger(T Integer, raw_ostream &OS, bool IsLittleEndian) { in writeInteger() argument
39 if (IsLittleEndian != sys::IsLittleEndianHost) in writeInteger()
45 raw_ostream &OS, bool IsLittleEndian) { in writeVariableSizedInteger() argument
47 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
49 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
51 writeInteger((uint16_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
53 writeInteger((uint8_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
65 raw_ostream &OS, bool IsLittleEndian) { in writeInitialLength() argument
66 writeInteger((uint32_t)Length.TotalLength, OS, IsLittleEndian); in writeInitialLength()
68 writeInteger((uint64_t)Length.TotalLength64, OS, IsLittleEndian); in writeInitialLength()
[all …]
DMachOEmitter.cpp82 if (Obj.IsLittleEndian != sys::IsLittleEndianHost) in writeHeader()
109 bool IsLittleEndian) { in writeLoadCommandData() argument
116 bool IsLittleEndian) { in writeLoadCommandData() argument
120 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommandData()
131 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() argument
136 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommandData()
157 bool IsLittleEndian) { in writeLoadCommandData() argument
164 bool IsLittleEndian) { in writeLoadCommandData() argument
171 bool IsLittleEndian) { in writeLoadCommandData() argument
177 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DDataExtractor.h27 uint32_t getAsUint32(bool IsLittleEndian) const { in getAsUint32()
28 int LoIx = IsLittleEndian ? 0 : 2; in getAsUint32()
43 uint8_t IsLittleEndian; variable
83 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DataExtractor() argument
84 : Data(Data), IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor()
85 DataExtractor(ArrayRef<uint8_t> Data, bool IsLittleEndian, in DataExtractor() argument
89 IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor()
94 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDataExtractor.cpp73 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err); in getU8()
78 return getUs<uint8_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU8()
83 return getUs<uint8_t>(&C.Offset, Dst, Count, this, IsLittleEndian, in getU8()
88 return getU<uint16_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err); in getU16()
93 return getUs<uint16_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU16()
99 getU<uint24_t>(offset_ptr, this, IsLittleEndian, Data.data(), nullptr); in getU24()
105 return getU<uint32_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err); in getU32()
110 return getUs<uint32_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU32()
115 return getU<uint64_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err); in getU64()
120 return getUs<uint64_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU64()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/MCTargetDesc/
DBPFMCCodeEmitter.cpp35 bool IsLittleEndian; member in __anonc86832990111::BPFMCCodeEmitter
39 bool IsLittleEndian) in BPFMCCodeEmitter() argument
40 : MCII(mcii), MRI(mri), IsLittleEndian(IsLittleEndian) {} in BPFMCCodeEmitter()
126 IsLittleEndian ? support::little : support::big); in encodeInstruction()
131 if (IsLittleEndian) in encodeInstruction()
148 if (IsLittleEndian) in encodeInstruction()
/third_party/flatbuffers/net/FlatBuffers/
DByteBuffer.cs332 if (BitConverter.IsLittleEndian) in WriteLittleEndian()
352 if (BitConverter.IsLittleEndian) in ReadLittleEndian()
371 if (BitConverter.IsLittleEndian) in WriteLittleEndian()
391 if (BitConverter.IsLittleEndian) in ReadLittleEndian()
510 *(ushort*)(ptr + offset) = BitConverter.IsLittleEndian in PutUshort()
531 *(uint*)(ptr + offset) = BitConverter.IsLittleEndian in PutUint()
552 *(ulong*)(ptr + offset) = BitConverter.IsLittleEndian in PutUlong()
568 if (BitConverter.IsLittleEndian) in PutFloat()
588 if (BitConverter.IsLittleEndian) in PutDouble()
717 return BitConverter.IsLittleEndian in GetUshort()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDataExtractor.h28 bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument
29 : DataExtractor(Section.Data, IsLittleEndian, AddressSize), Obj(&Obj), in DWARFDataExtractor()
33 DWARFDataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument
34 : DataExtractor(Data, IsLittleEndian, AddressSize) {} in DWARFDataExtractor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/Disassembler/
DBPFDisassembler.cpp139 bool IsLittleEndian) { in readInstruction64() argument
148 if (IsLittleEndian) { in readInstruction64()
165 bool IsLittleEndian = getContext().getAsmInfo()->isLittleEndian(); in getInstruction() local
169 Result = readInstruction64(Bytes, Address, Size, Insn, IsLittleEndian); in getInstruction()
194 if (IsLittleEndian) in getInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCAsmInfo.cpp28 IsLittleEndian = T.getArch() == Triple::ppc64le; in PPCELFMCAsmInfo()
60 assert(!IsLittleEndian && "Little-endian XCOFF not supported."); in PPCXCOFFMCAsmInfo()
DPPCMCCodeEmitter.cpp100 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getImm16Encoding()
118 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIEncoding()
136 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIXEncoding()
157 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIX16Encoding()
292 support::endianness E = IsLittleEndian ? support::little : support::big; in encodeInstruction()
DPPCMCCodeEmitter.h28 bool IsLittleEndian; variable
33 IsLittleEndian(ctx.getAsmInfo()->isLittleEndian()) {} in PPCMCCodeEmitter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DDWARFEmitter.h36 bool IsLittleEndian);
42 bool IsLittleEndian = sys::IsLittleEndianHost);
/third_party/abseil-cpp/absl/base/internal/
Dendian.h159 inline constexpr bool IsLittleEndian() { return true; } in IsLittleEndian() function
172 inline constexpr bool IsLittleEndian() { return false; }
219 inline constexpr bool IsLittleEndian() { return true; } in IsLittleEndian() function
232 inline constexpr bool IsLittleEndian() { return false; }
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp23 IsLittleEndian = false; in ARMMCAsmInfoDarwin()
49 IsLittleEndian = false; in ARMELFMCAsmInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/Disassembler/
DPPCDisassembler.cpp28 bool IsLittleEndian; member in __anon289fc32d0111::PPCDisassembler
32 bool IsLittleEndian) in PPCDisassembler() argument
33 : MCDisassembler(STI, Ctx), IsLittleEndian(IsLittleEndian) {} in PPCDisassembler()
335 uint32_t Inst = IsLittleEndian ? support::endian::read32le(Bytes.data()) in getInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DELFObjectWriter.cpp167 bool IsLittleEndian, DwoMode Mode) in ELFWriter()
169 W(OS, IsLittleEndian ? support::little : support::big), Mode(Mode) {} in ELFWriter()
287 bool IsLittleEndian; member in __anon091576c40111::ELFSingleObjectWriter
291 raw_pwrite_stream &OS, bool IsLittleEndian) in ELFSingleObjectWriter() argument
293 IsLittleEndian(IsLittleEndian) {} in ELFSingleObjectWriter()
296 return ELFWriter(*this, OS, IsLittleEndian, ELFWriter::AllSections) in writeObject()
305 bool IsLittleEndian; member in __anon091576c40111::ELFDwoObjectWriter
310 bool IsLittleEndian) in ELFDwoObjectWriter() argument
312 IsLittleEndian(IsLittleEndian) {} in ELFDwoObjectWriter()
329 uint64_t Size = ELFWriter(*this, OS, IsLittleEndian, ELFWriter::NonDwoOnly) in writeObject()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DDecompressor.cpp52 bool IsLittleEndian) { in consumeCompressedZLibHeader() argument
58 DataExtractor Extractor(SectionData, IsLittleEndian, 0); in consumeCompressedZLibHeader()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dendian.h160 inline constexpr bool IsLittleEndian() { return true; } in IsLittleEndian() function
173 inline constexpr bool IsLittleEndian() { return false; }
250 inline constexpr bool IsLittleEndian() { return true; } in IsLittleEndian() function
263 inline constexpr bool IsLittleEndian() { return false; }
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCSubtarget.h130 bool IsLittleEndian; variable
239 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
391 bool isXRaySupported() const override { return IsPPC64 && IsLittleEndian; } in isXRaySupported()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCMachObjectWriter.h129 raw_pwrite_stream &OS, bool IsLittleEndian) in MachObjectWriter() argument
131 W(OS, IsLittleEndian ? support::little : support::big) {} in MachObjectWriter()
285 raw_pwrite_stream &OS, bool IsLittleEndian);
DMCELFObjectWriter.h154 raw_pwrite_stream &OS, bool IsLittleEndian);
159 bool IsLittleEndian);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFObjectFile.h1057 bool IsLittleEndian = ELFT::TargetEndianness == support::little; in getFileFormatName() local
1068 return (IsLittleEndian ? "ELF32-arm-little" : "ELF32-arm-big"); in getFileFormatName()
1098 return (IsLittleEndian ? "ELF64-aarch64-little" : "ELF64-aarch64-big"); in getFileFormatName()
1123 bool IsLittleEndian = ELFT::TargetEndianness == support::little; in getArch() local
1131 return IsLittleEndian ? Triple::aarch64 : Triple::aarch64_be; in getArch()
1143 return IsLittleEndian ? Triple::mipsel : Triple::mips; in getArch()
1145 return IsLittleEndian ? Triple::mips64el : Triple::mips64; in getArch()
1154 return IsLittleEndian ? Triple::ppc64le : Triple::ppc64; in getArch()
1169 return IsLittleEndian ? Triple::sparcel : Triple::sparc; in getArch()
1174 if (!IsLittleEndian) in getArch()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmInfo.cpp18 IsLittleEndian = false; in SystemZMCAsmInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DTrace.cpp36 Error loadNaiveFormatLog(StringRef Data, bool IsLittleEndian, in loadNaiveFormatLog() argument
49 DataExtractor Reader(Data, IsLittleEndian, 8); in loadNaiveFormatLog()
267 Error loadFDRLog(StringRef Data, bool IsLittleEndian, in loadFDRLog() argument
273 DataExtractor DE(Data, IsLittleEndian, 8); in loadFDRLog()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCAsmInfo.cpp23 IsLittleEndian = false; in LanaiMCAsmInfo()

123