Home
last modified time | relevance | path

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

123456789

/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-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp405 DataExtractor arangesData(DObj->getARangeSection(), isLittleEndian(), 0); in dump()
430 DWARFDataExtractor LineData(*DObj, DObj->getLineSection(), isLittleEndian(), in dump()
440 isLittleEndian(), 0); in dump()
458 DataExtractor strData(DObj->getStringSection(), isLittleEndian(), 0); in dump()
468 DataExtractor strDWOData(DObj->getStringDWOSection(), isLittleEndian(), 0); in dump()
478 DataExtractor strData(DObj->getLineStringSection(), isLittleEndian(), 0); in dump()
492 isLittleEndian(), 0); in dump()
500 isLittleEndian(), savedAddressByteSize); in dump()
515 isLittleEndian(), 0); in dump()
522 isLittleEndian(), 0); in dump()
[all …]
DDWARFUnit.cpp38 &D.getAddrSection(), D.getLineSection(), D.isLittleEndian(), false, in parse()
47 &D.getAddrSection(), D.getLineDWOSection(), C.isLittleEndian(), in parseDWO()
59 StringOffsetSection(SOS), AddrOffsetSection(AOS), isLittleEndian(LE), in DWARFUnit()
67 return DWARFDataExtractor(Context.getDWARFObj(), InfoSection, isLittleEndian, in getDebugInfoExtractor()
77 isLittleEndian, getAddressByteSize()); in getAddrOffsetSectionItem()
91 isLittleEndian, 0); in getStringOffsetSectionItem()
189 isLittleEndian, getAddressByteSize()); in extractRangeList()
300 isLittleEndian, 0); in extractDIEsIfNeeded()
321 isLittleEndian, 0); in extractDIEsIfNeeded()
378 isLittleEndian, 0); in parseDWO()
[all …]
DDWARFDie.cpp94 Ctx.isLittleEndian(), 0); in dumpLocation()
107 DWARFDataExtractor Data(Obj, LocSection, Ctx.isLittleEndian(), in dumpLocation()
114 LL->dump(OS, Ctx.isLittleEndian(), Obj.getAddressSize(), MRI, BaseAddr, in dumpLocation()
119 DataExtractor Data(LocDWOSection.Data, Ctx.isLittleEndian(), 0); in dumpLocation()
122 LL->dump(OS, Ctx.isLittleEndian(), Obj.getAddressSize(), MRI, Indent); in dumpLocation()
/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-7.0/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/bcc/src/cc/
Dbcc_debug.cc54 bool isLittleEndian = mod_->getDataLayout().isLittleEndian(); in adjustInstSize() local
55 if (byte0 == 0x18 && ((isLittleEndian && (byte1 & 0xf) == 0x1) || in adjustInstSize()
56 (!isLittleEndian && (byte1 & 0xf0) == 0x10))) in adjustInstSize()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DMachODump.cpp1028 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteral4Section()
1032 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteral4Section()
1042 Hi = (O->isLittleEndian()) ? l1 : l0; in DumpLiteral8()
1043 Lo = (O->isLittleEndian()) ? l0 : l1; in DumpLiteral8()
1072 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteral8Section()
1077 if (O->isLittleEndian() != sys::IsLittleEndianHost) { in DumpLiteral8Section()
1107 if (O->isLittleEndian() != sys::IsLittleEndianHost) { in DumpLiteral16Section()
1172 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteralPointerSection()
1177 if (O->isLittleEndian() != sys::IsLittleEndianHost) in DumpLiteralPointerSection()
1239 if (O->isLittleEndian() != sys::IsLittleEndianHost) { in DumpLiteralPointerSection()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFContext.h300 bool isLittleEndian() const { return DObj->isLittleEndian(); } in isLittleEndian() function
319 uint8_t AddrSize, bool isLittleEndian = sys::IsLittleEndianHost);
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dmacho2yaml.cpp52 if (Obj.isLittleEndian() != sys::IsLittleEndianHost) \
123 LoadCmd, LC.Sections, Obj.isLittleEndian()); in processLoadCommandData()
131 LoadCmd, LC.Sections, Obj.isLittleEndian()); in processLoadCommandData()
176 if (Obj.isLittleEndian() != sys::IsLittleEndianHost) in processLoadCommandData()
185 Y->IsLittleEndian = Obj.isLittleEndian(); in dump()
215 if (Obj.isLittleEndian() != sys::IsLittleEndianHost) in dumpLoadCommands()
/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/skia/src/codec/
DSkCodecPriv.h182 static inline bool is_valid_endian_marker(const uint8_t* data, bool* isLittleEndian) { in is_valid_endian_marker() argument
188 *isLittleEndian = ('I' == data[0]); in is_valid_endian_marker()
/external/skqp/src/codec/
DSkCodecPriv.h182 static inline bool is_valid_endian_marker(const uint8_t* data, bool* isLittleEndian) { in is_valid_endian_marker() argument
188 *isLittleEndian = ('I' == data[0]); in is_valid_endian_marker()
/external/flatbuffers/js/
Dflatbuffers.js81 flatbuffers.isLittleEndian = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1;
963 flatbuffers.int32[flatbuffers.isLittleEndian ? 0 : 1] = this.readInt32(offset);
964 flatbuffers.int32[flatbuffers.isLittleEndian ? 1 : 0] = this.readInt32(offset + 4);
1057 this.writeInt32(offset, flatbuffers.int32[flatbuffers.isLittleEndian ? 0 : 1]);
1058 this.writeInt32(offset + 4, flatbuffers.int32[flatbuffers.isLittleEndian ? 1 : 0]);

123456789