Home
last modified time | relevance | path

Searched refs:LittleEndian (Results 1 – 25 of 58) sorted by relevance

123

/external/boringssl/src/ssl/test/runner/poly1305/
Dsum_ref.go18 r0 = uint64(binary.LittleEndian.Uint32(key[0:]) & 0x3ffffff)
19 r1 = uint64((binary.LittleEndian.Uint32(key[3:]) >> 2) & 0x3ffff03)
20 r2 = uint64((binary.LittleEndian.Uint32(key[6:]) >> 4) & 0x3ffc0ff)
21 r3 = uint64((binary.LittleEndian.Uint32(key[9:]) >> 6) & 0x3f03fff)
22 r4 = uint64((binary.LittleEndian.Uint32(key[12:]) >> 8) & 0x00fffff)
28 h0 += binary.LittleEndian.Uint32(msg[0:]) & 0x3ffffff
29 h1 += (binary.LittleEndian.Uint32(msg[3:]) >> 2) & 0x3ffffff
30 h2 += (binary.LittleEndian.Uint32(msg[6:]) >> 4) & 0x3ffffff
31 h3 += (binary.LittleEndian.Uint32(msg[9:]) >> 6) & 0x3ffffff
32 h4 += (binary.LittleEndian.Uint32(msg[12:]) >> 8) | (1 << 24)
[all …]
/external/syzkaller/pkg/db/
Ddb.go143 binary.Write(w, binary.LittleEndian, dbMagic)
144 binary.Write(w, binary.LittleEndian, curVersion)
145 binary.Write(w, binary.LittleEndian, version)
149 binary.Write(w, binary.LittleEndian, recMagic)
150 binary.Write(w, binary.LittleEndian, uint32(len(key)))
152 binary.Write(w, binary.LittleEndian, seq)
160 binary.Write(w, binary.LittleEndian, uint32(len(val)))
163 binary.Write(w, binary.LittleEndian, uint32(0))
173 …binary.Write(bytes.NewBuffer(w.Bytes()[lenPos:lenPos:lenPos+8]), binary.LittleEndian, uint32(len(w…
205 if err := binary.Read(r, binary.LittleEndian, &magic); err != nil {
[all …]
/external/boringssl/src/ssl/test/runner/
Dchacha20_poly1305.go60 binary.LittleEndian.PutUint32(out[i*4:i*4+4], workingState[i]+state[i])
86 state[4+i] = binary.LittleEndian.Uint32(key[i*4 : i*4+4])
91 state[14] = binary.LittleEndian.Uint32(nonce[0:4])
92 state[15] = binary.LittleEndian.Uint32(nonce[4:8])
94 state[13] = binary.LittleEndian.Uint32(nonce[0:4])
95 state[14] = binary.LittleEndian.Uint32(nonce[4:8])
96 state[15] = binary.LittleEndian.Uint32(nonce[8:12])
151 binary.LittleEndian.PutUint64(out, uint64(len(additionalData)))
153 binary.LittleEndian.PutUint64(out, uint64(len(ciphertext)))
Ddeterministic.go33 binary.LittleEndian.PutUint64(nonce[:8], d.numCalls)
/external/libtextclassifier/utils/sentencepiece/
Ddouble_array_trie.h61 return static_cast<int>(LittleEndian::ToHost32(nodes_[i]) & 0x7fffffff); in value()
67 return LittleEndian::ToHost32(nodes_[i]) & 0x800000ff; in label()
72 const uint32 node = LittleEndian::ToHost32(nodes_[i]); in offset()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetData.h76 bool LittleEndian; ///< Defaults to false
133 LittleEndian(TD.isLittleEndian()), in TargetData()
148 bool isLittleEndian() const { return LittleEndian; } in isLittleEndian()
149 bool isBigEndian() const { return !LittleEndian; } in isBigEndian()
/external/clang/test/CodeGenCXX/
D2010-07-23-DeclLoc.cpp33 class LittleEndian {}; class
38 typedef SizeAndEndianness<Pointer32, LittleEndian> ISA32Little;
40 typedef SizeAndEndianness<Pointer64, LittleEndian> ISA64Little;
/external/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp132 static std::string computeDataLayout(const Triple &TT, bool LittleEndian) { in computeDataLayout() argument
135 if (LittleEndian) in computeDataLayout()
181 CodeModel::Model CM, CodeGenOpt::Level OL, bool LittleEndian) in AArch64TargetMachine() argument
184 : LLVMTargetMachine(T, computeDataLayout(TT, LittleEndian), TT, CPU, FS, in AArch64TargetMachine()
187 Subtarget(TT, CPU, FS, *this, LittleEndian) { in AArch64TargetMachine()
DAArch64Subtarget.cpp90 const TargetMachine &TM, bool LittleEndian) in AArch64Subtarget() argument
92 ReserveX18(TT.isOSDarwin() || TT.isAndroid()), IsLittle(LittleEndian), in AArch64Subtarget()
/external/llvm/test/Object/
Dyaml2obj-elf-bits-endian.test7 LE64-NEXT: DataEncoding: LittleEndian (0x1)
13 LE32-NEXT: DataEncoding: LittleEndian (0x1)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/
Dyaml2obj-elf-bits-endian.test7 LE64-NEXT: DataEncoding: LittleEndian (0x1)
13 LE32-NEXT: DataEncoding: LittleEndian (0x1)
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/RISCV/
Delf-header.s13 # RV32: DataEncoding: LittleEndian (0x1)
32 # RV64: DataEncoding: LittleEndian (0x1)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugPubTable.cpp21 DWARFDebugPubTable::DWARFDebugPubTable(StringRef Data, bool LittleEndian, in DWARFDebugPubTable() argument
24 DataExtractor PubNames(Data, LittleEndian, 0); in DWARFDebugPubTable()
/external/google-breakpad/src/common/
Dbyte_cursor_unittest.cc365 TEST(LittleEndian, Signed1) { in TEST() argument
383 TEST(LittleEndian, Signed2) { in TEST() argument
413 TEST(LittleEndian, Signed4) { in TEST() argument
440 TEST(LittleEndian, Signed8) { in TEST() argument
467 TEST(LittleEndian, Unsigned1) { in TEST() argument
485 TEST(LittleEndian, Unsigned2) { in TEST() argument
515 TEST(LittleEndian, Unsigned4) { in TEST() argument
542 TEST(LittleEndian, Unsigned8) { in TEST() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp184 bool LittleEndian) { in computeDataLayout() argument
191 if (LittleEndian) in computeDataLayout()
239 bool LittleEndian) in AArch64TargetMachine() argument
241 computeDataLayout(TT, Options.MCOptions, LittleEndian), in AArch64TargetMachine()
244 TLOF(createTLOF(getTargetTriple())), isLittle(LittleEndian) { in AArch64TargetMachine()
DAArch64Subtarget.cpp153 const TargetMachine &TM, bool LittleEndian) in AArch64Subtarget() argument
155 ReserveX18(AArch64::isX18ReservedByDefault(TT)), IsLittle(LittleEndian), in AArch64Subtarget()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMTargetStreamer.cpp55 const bool LittleEndian = getStreamer().getContext().getAsmInfo()->isLittleEndian(); in emitInst() local
62 const unsigned I = LittleEndian ? (Size - II - 1) : II; in emitInst()
74 const unsigned I0 = LittleEndian ? II + 0 : II + 1; in emitInst()
75 const unsigned I1 = LittleEndian ? II + 1 : II + 0; in emitInst()
/external/golang-protobuf/conformance/
Dconformance.go62 size := binary.LittleEndian.Uint32(sizeBuf[:])
83 binary.LittleEndian.PutUint32(sizeBuf[:], uint32(len(outbuf.Bytes())))
/external/syzkaller/prog/
Dhints.go126 val := binary.LittleEndian.Uint64(original)
128 binary.LittleEndian.PutUint64(bytes, replacer)
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetData.cpp138 LittleEndian = false; in init()
172 LittleEndian = false; in init()
175 LittleEndian = true; in init()
379 OS << (LittleEndian ? "e" : "E") in getStringRepresentation()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugPubTable.h70 DWARFDebugPubTable(StringRef Data, bool LittleEndian, bool GnuStyle);
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objcopy/
Delf32le.test24 # CHECK: DataEncoding: LittleEndian
/external/llvm/test/tools/llvm-readobj/
Damdgpu-elf-defs.test7 CHECK: DataEncoding: LittleEndian (0x1)
/external/syzkaller/pkg/hash/
Dhash.go38 if err := binary.Read(bytes.NewReader((*sig)[:]), binary.LittleEndian, &v); err != nil {
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp36 bool LittleEndian, bool GnuStyle) { in dumpPubSection() argument
38 DataExtractor pubNames(Data, LittleEndian, 0); in dumpPubSection()
68 bool LittleEndian) { in dumpAccelSection() argument
69 DataExtractor AccelSection(Section.Data, LittleEndian, 0); in dumpAccelSection()
70 DataExtractor StrData(StringSection, LittleEndian, 0); in dumpAccelSection()

123