Home
last modified time | relevance | path

Searched refs:isLittleEndian (Results 1 – 25 of 118) sorted by relevance

12345

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DOutputBuffer.h29 bool is64Bit, isLittleEndian; variable
33 : Output(Out), is64Bit(is64bit), isLittleEndian(le) {} in OutputBuffer()
56 if (isLittleEndian) { in outhalf()
65 if (isLittleEndian) { in outword()
78 if (isLittleEndian) { in outxword()
128 P[0] = (X >> (isLittleEndian ? 0 : 8)) & 255; in fixhalf()
129 P[1] = (X >> (isLittleEndian ? 8 : 0)) & 255; in fixhalf()
133 P[0] = (X >> (isLittleEndian ? 0 : 24)) & 255; in fixword()
134 P[1] = (X >> (isLittleEndian ? 8 : 16)) & 255; in fixword()
135 P[2] = (X >> (isLittleEndian ? 16 : 8)) & 255; in fixword()
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp145 DataExtractor arangesData(getARangeSection(), isLittleEndian(), 0); in dump()
162 DataExtractor lineData(getLineSection().Data, isLittleEndian(), in dump()
184 DataExtractor lineData(getLineDWOSection().Data, isLittleEndian(), in dump()
195 DataExtractor strData(getStringSection(), isLittleEndian(), 0); in dump()
207 DataExtractor strDWOData(getStringDWOSection(), isLittleEndian(), 0); in dump()
222 DataExtractor rangesData(getRangeSection(), isLittleEndian(), in dump()
232 isLittleEndian(), false); in dump()
236 isLittleEndian(), false); in dump()
240 isLittleEndian(), true /* GnuStyle */); in dump()
244 isLittleEndian(), true /* GnuStyle */); in dump()
[all …]
DDWARFUnit.cpp23 C.getLineSection().Data, C.isLittleEndian(), false); in parse()
31 C.getAddrSection(), C.getLineDWOSection().Data, C.isLittleEndian(), in parseDWO()
47 AddrOffsetSection(AOS), isLittleEndian(LE), isDWO(IsDWO),
60 DataExtractor DA(AddrOffsetSection, isLittleEndian, AddrSize); in getAddrOffsetSectionItem()
72 DataExtractor DA(StringOffsetSection, isLittleEndian, 0); in getStringOffsetSectionItem()
125 DataExtractor RangesData(RangeSection, isLittleEndian, AddrSize); in extractRangeList()
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFContext.cpp27 DataExtractor arangesData(getARangeSection(), isLittleEndian(), 0); in dump()
40 DataExtractor lineData(getLineSection(), isLittleEndian(), in dump()
48 DataExtractor strData(getStringSection(), isLittleEndian(), 0); in dump()
61 DataExtractor abbrData(getAbbrevSection(), isLittleEndian(), 0); in getDebugAbbrev()
72 DataExtractor arangesData(getARangeSection(), isLittleEndian(), 0); in getDebugAranges()
97 DataExtractor lineData(getLineSection(), isLittleEndian(), in getLineTableForCompileUnit()
105 isLittleEndian(), 0); in parseCompileUnits()
DDWARFContext.h40 DWARFContext(bool isLittleEndian) : IsLittleEndian(isLittleEndian) {} in DWARFContext() argument
71 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian() function
95 DWARFContextInMemory(bool isLittleEndian, in DWARFContextInMemory() argument
101 : DWARFContext(isLittleEndian), in DWARFContextInMemory()
DDIContext.cpp16 DIContext *DIContext::getDWARFContext(bool isLittleEndian, in getDWARFContext() argument
22 return new DWARFContextInMemory(isLittleEndian, infoSection, abbrevSection, in getDWARFContext()
/external/swiftshader/third_party/LLVM/lib/Support/
DDataExtractor.cpp18 bool isLittleEndian, const char *Data) { in getU() argument
23 if (sys::isLittleEndianHost() != isLittleEndian) in getU()
34 const DataExtractor *de, bool isLittleEndian, const char *Data){ in getUs() argument
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); in getUs()
/external/llvm/lib/Support/
DDataExtractor.cpp18 bool isLittleEndian, const char *Data) { in getU() argument
23 if (sys::IsLittleEndianHost != isLittleEndian) in getU()
34 const DataExtractor *de, bool isLittleEndian, const char *Data){ in getUs() argument
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); in getUs()
/external/flatbuffers/php/
DByteBuffer.php104 public static function isLittleEndian() function in Google\\FlatBuffers\\ByteBuffer
122 if (ByteBuffer::isLittleEndian()) {
145 if (ByteBuffer::isLittleEndian() && $force_bigendian == false) {
375 $sign = $index + (ByteBuffer::isLittleEndian() ? 1 : 0);
399 $sign = $index + (ByteBuffer::isLittleEndian() ? 3 : 0);
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetELFWriterInfo.h31 bool is64Bit, isLittleEndian; variable
71 return isLittleEndian ? ELFDATA2LSB : ELFDATA2MSB; in getEIData()
DTargetData.h133 LittleEndian(TD.isLittleEndian()), in TargetData()
148 bool isLittleEndian() const { return LittleEndian; } in isLittleEndian() function
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DBinaryObject.h40 BinaryObject(bool isLittleEndian, bool is64Bit) in BinaryObject() argument
41 : IsLittleEndian(isLittleEndian), Is64Bit(is64Bit) {} in BinaryObject()
43 BinaryObject(const std::string &name, bool isLittleEndian, bool is64Bit) in BinaryObject() argument
44 : Name(name), IsLittleEndian(isLittleEndian), Is64Bit(is64Bit) {} in BinaryObject()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp710 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteral4Section()
714 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteral4Section()
724 Hi = (O->isLittleEndian()) ? l1 : l0; in DumpLiteral8()
725 Lo = (O->isLittleEndian()) ? l0 : l1; in DumpLiteral8()
754 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteral8Section()
759 if (O->isLittleEndian() != sys::IsLittleEndianHost) { in DumpLiteral8Section()
789 if (O->isLittleEndian() != sys::IsLittleEndianHost) { in DumpLiteral16Section()
854 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteralPointerSection()
859 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteralPointerSection()
928 if (O->isLittleEndian() != sys::IsLittleEndianHost) { in DumpLiteralPointerSection()
[all …]
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnit.h50 bool isLittleEndian, bool isDWO) = 0;
116 bool isLittleEndian; variable
174 return DataExtractor(InfoSection.Data, isLittleEndian, AddrSize); in getDebugInfoExtractor()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetELFWriterInfo.cpp21 is64Bit(is64Bit_), isLittleEndian(isLittleEndian_) { in TargetELFWriterInfo()
/external/flatbuffers/js/
Dflatbuffers.js81 flatbuffers.isLittleEndian = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1;
940 flatbuffers.int32[flatbuffers.isLittleEndian ? 0 : 1] = this.readInt32(offset);
941 flatbuffers.int32[flatbuffers.isLittleEndian ? 1 : 0] = this.readInt32(offset + 4);
997 this.writeInt32(offset, flatbuffers.int32[flatbuffers.isLittleEndian ? 0 : 1]);
998 this.writeInt32(offset + 4, flatbuffers.int32[flatbuffers.isLittleEndian ? 1 : 0]);
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELF.h193 ELFSection(const std::string &name, bool isLittleEndian, bool is64Bit) in ELFSection() argument
194 : BinaryObject(name, isLittleEndian, is64Bit), Type(0), Flags(0), Addr(0), in ELFSection()
DELFWriter.h102 bool is64Bit, isLittleEndian; variable
159 SectionList.push_back(new ELFSection(Name, isLittleEndian, is64Bit));
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCAsmBackend.cpp194 bool isLittleEndian() const { in isLittleEndian() function in __anon9e9e03870111::PPCAsmBackend
225 return createPPCELFObjectWriter(OS, is64, isLittleEndian(), OSABI); in createObjectWriter()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMELFWriterInfo.cpp30 TM.getTargetData()->isLittleEndian()) { in ARMELFWriterInfo()
/external/skia/src/codec/
DSkCodecPriv.h219 static inline bool is_valid_endian_marker(const uint8_t* data, bool* isLittleEndian) { in is_valid_endian_marker() argument
225 *isLittleEndian = ('I' == data[0]); in is_valid_endian_marker()
/external/llvm/tools/obj2yaml/
Dmacho2yaml.cpp47 if (Obj.isLittleEndian() != sys::IsLittleEndianHost) \
118 LoadCmd, LC.Sections, Obj.isLittleEndian()); in processLoadCommandData()
126 LoadCmd, LC.Sections, Obj.isLittleEndian()); in processLoadCommandData()
188 if (Obj.isLittleEndian() != sys::IsLittleEndianHost) in dumpLoadCommands()
/external/swiftshader/third_party/LLVM/lib/MC/
DELFObjectWriter.h218 if (isLittleEndian()) in String16()
227 if (isLittleEndian()) in String32()
236 if (isLittleEndian()) in String64()
/external/swiftshader/third_party/LLVM/include/llvm/DebugInfo/
DDIContext.h54 static DIContext *getDWARFContext(bool isLittleEndian,
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeELFWriterInfo.cpp30 TM.getTargetData()->isLittleEndian()) { in MBlazeELFWriterInfo()

12345