/external/rust/crates/zip/src/ |
D | spec.rs | 2 use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt}; 24 let magic = reader.read_u32::<LittleEndian>()?; in parse() 28 let disk_number = reader.read_u16::<LittleEndian>()?; in parse() 29 let disk_with_central_directory = reader.read_u16::<LittleEndian>()?; in parse() 30 let number_of_files_on_this_disk = reader.read_u16::<LittleEndian>()?; in parse() 31 let number_of_files = reader.read_u16::<LittleEndian>()?; in parse() 32 let central_directory_size = reader.read_u32::<LittleEndian>()?; in parse() 33 let central_directory_offset = reader.read_u32::<LittleEndian>()?; in parse() 34 let zip_file_comment_length = reader.read_u16::<LittleEndian>()? as usize; in parse() 65 if reader.read_u32::<LittleEndian>()? == CENTRAL_DIRECTORY_END_SIGNATURE { in find_and_parse() [all …]
|
D | write.rs | 8 use byteorder::{LittleEndian, WriteBytesExt}; 621 writer.write_u32::<LittleEndian>(spec::LOCAL_FILE_HEADER_SIGNATURE)?; in write_local_file_header() 623 writer.write_u16::<LittleEndian>(file.version_needed())?; in write_local_file_header() 630 writer.write_u16::<LittleEndian>(flag)?; in write_local_file_header() 633 writer.write_u16::<LittleEndian>(file.compression_method.to_u16())?; in write_local_file_header() 635 writer.write_u16::<LittleEndian>(file.last_modified_time.timepart())?; in write_local_file_header() 636 writer.write_u16::<LittleEndian>(file.last_modified_time.datepart())?; in write_local_file_header() 638 writer.write_u32::<LittleEndian>(file.crc32)?; in write_local_file_header() 640 writer.write_u32::<LittleEndian>(file.compressed_size as u32)?; in write_local_file_header() 642 writer.write_u32::<LittleEndian>(file.uncompressed_size as u32)?; in write_local_file_header() [all …]
|
D | read.rs | 16 use byteorder::{LittleEndian, ReadBytesExt}; 146 let signature = reader.read_u32::<LittleEndian>()?; in find_content() 152 let file_name_length = reader.read_u16::<LittleEndian>()? as u64; in find_content() 153 let extra_field_length = reader.read_u16::<LittleEndian>()? as u64; in find_content() 523 let signature = reader.read_u32::<LittleEndian>()?; in central_header_to_zip_file() 528 let version_made_by = reader.read_u16::<LittleEndian>()?; in central_header_to_zip_file() 529 let _version_to_extract = reader.read_u16::<LittleEndian>()?; in central_header_to_zip_file() 530 let flags = reader.read_u16::<LittleEndian>()?; in central_header_to_zip_file() 533 let compression_method = reader.read_u16::<LittleEndian>()?; in central_header_to_zip_file() 534 let last_mod_time = reader.read_u16::<LittleEndian>()?; in central_header_to_zip_file() [all …]
|
/external/libcap/cap/ |
D | file.go | 82 if err = binary.Read(b, binary.LittleEndian, &magicEtc); err != nil { 90 if err = binary.Read(b, binary.LittleEndian, &raw1); err != nil { 100 if err = binary.Read(b, binary.LittleEndian, &raw2); err != nil { 111 if err = binary.Read(b, binary.LittleEndian, &raw3); err != nil { 212 binary.Write(b, binary.LittleEndian, magic) 214 binary.Write(b, binary.LittleEndian, f[Permitted]) 215 binary.Write(b, binary.LittleEndian, f[Inheritable]) 218 binary.Write(b, binary.LittleEndian, c.nsRoot) 318 if err := binary.Read(b, binary.LittleEndian, &m); err != nil { 324 if err := binary.Read(b, binary.LittleEndian, &n); err != nil { [all …]
|
/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/ |
D | subprocess.go | 124 binary.LittleEndian.PutUint32(buf, uint32(1+len(args))) 125 binary.LittleEndian.PutUint32(buf[4:], uint32(len(cmd))) 127 binary.LittleEndian.PutUint32(buf[4*(i+2):], uint32(len(arg))) 143 numResults := binary.LittleEndian.Uint32(buf) 155 resultsLength += uint64(binary.LittleEndian.Uint32(buf[4*i:])) 170 length := binary.LittleEndian.Uint32(buf[4*i:]) 219 binary.LittleEndian.PutUint32(ret[:], n)
|
D | tlskdf.go | 140 binary.LittleEndian.PutUint32(outLenBytes[:], uint32(masterSecretLength)) 146 binary.LittleEndian.PutUint32(outLenBytes[:], uint32(group.KeyBlockBits/8))
|
/external/boringssl/src/util/fipstools/acvp/acvptool/testmodulewrapper/ |
D | testmodulewrapper.go | 82 outputBytes := binary.LittleEndian.Uint32(outputBytes32) 83 counterBits := binary.LittleEndian.Uint32(counterBits32) 128 binary.LittleEndian.PutUint32(lengths[:4], uint32(len(responses))) 130 binary.LittleEndian.PutUint32(lengths[4*(i+1):4*(i+2)], uint32(len(response))) 175 sectorNum := binary.LittleEndian.Uint64(tweak[:8]) 215 numArgs := binary.LittleEndian.Uint32(nums[:4]) 231 argLength := binary.LittleEndian.Uint32(input[:4])
|
/external/rust/crates/byteorder/benches/ |
D | bench.rs | 9 BigEndian, ByteOrder, LittleEndian, NativeEndian, 31 bb(LittleEndian::$read(&buf, $bytes)); 51 BigEndian, ByteOrder, LittleEndian, NativeEndian, 74 bb(LittleEndian::$read(&buf)); 106 bb(LittleEndian::$write(&mut buf, n)); 258 use byteorder::{BigEndian, ByteOrder, LittleEndian}; 285 LittleEndian::$write(&numbers, &mut bytes); 289 LittleEndian::$read(&bytes, &mut numbers); 317 LittleEndian::$write(&numbers, &mut bytes);
|
/external/libtextclassifier/native/utils/container/ |
D | sorted-strings-table.cc | 51 LittleEndian::ToHost32(c); in GatherPrefixMatches() 58 return LittleEndian::ToHost32(c) < in GatherPrefixMatches() 71 if (pieces_[LittleEndian::ToHost32(offsets_[left]) + match_length] == 0) { in GatherPrefixMatches() 84 for (int k = LittleEndian::ToHost32(offsets_[i]) + piece_match_length; in GatherPrefixMatches()
|
D | double-array-trie.h | 61 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/rust/crates/byteorder/src/ |
D | lib.rs | 169 impl Sealed for super::LittleEndian {} implementation 1837 pub enum LittleEndian {} enum 1839 impl Default for LittleEndian { implementation 1840 fn default() -> LittleEndian { in default() 1848 pub type LE = LittleEndian; 1885 pub type NativeEndian = LittleEndian; 2186 impl ByteOrder for LittleEndian { implementation 2456 BigEndian, ByteOrder, LittleEndian, NativeEndian, 2473 LittleEndian::$write(&mut buf, n.clone(), $bytes); 2474 n == LittleEndian::$read(&buf[..$bytes], $bytes) [all …]
|
/external/clang/test/CodeGenCXX/ |
D | 2010-07-23-DeclLoc.cpp | 33 class LittleEndian {}; class 38 typedef SizeAndEndianness<Pointer32, LittleEndian> ISA32Little; 40 typedef SizeAndEndianness<Pointer64, LittleEndian> ISA64Little;
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | 2010-07-23-DeclLoc.cpp | 33 class LittleEndian {}; class 38 typedef SizeAndEndianness<Pointer32, LittleEndian> ISA32Little; 40 typedef SizeAndEndianness<Pointer64, LittleEndian> ISA64Little;
|
/external/llvm/test/Object/ |
D | yaml2obj-elf-bits-endian.test | 7 LE64-NEXT: DataEncoding: LittleEndian (0x1) 13 LE32-NEXT: DataEncoding: LittleEndian (0x1)
|
/external/rust/crates/ring/src/ |
D | endian.rs | 134 define_endian!(LittleEndian); 137 impl_endian!(LittleEndian, u32, to_le, from_le, 4); 138 impl_endian!(LittleEndian, u64, to_le, from_le, 8);
|
/external/llvm-project/llvm/test/MC/RISCV/ |
D | elf-header.s | 13 # RV32: DataEncoding: LittleEndian (0x1) 32 # RV64: DataEncoding: LittleEndian (0x1)
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetMachine.cpp | 132 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()
|
D | AArch64Subtarget.cpp | 90 const TargetMachine &TM, bool LittleEndian) in AArch64Subtarget() argument 92 ReserveX18(TT.isOSDarwin() || TT.isAndroid()), IsLittle(LittleEndian), in AArch64Subtarget()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugPubTable.cpp | 23 bool LittleEndian, bool GnuStyle) in DWARFDebugPubTable() argument 25 DWARFDataExtractor PubNames(Obj, Sec, LittleEndian, 0); in DWARFDebugPubTable()
|
/external/llvm-project/lld/test/ELF/ |
D | emulation-x86.s | 17 # AMD64-NEXT: DataEncoding: LittleEndian (0x1) 52 # X86-64-NEXT: DataEncoding: LittleEndian (0x1) 86 # X32-NEXT: DataEncoding: LittleEndian (0x1) 120 # X86-NEXT: DataEncoding: LittleEndian (0x1) 154 # X86FBSD-NEXT: DataEncoding: LittleEndian (0x1) 188 # IAMCU-NEXT: DataEncoding: LittleEndian (0x1)
|
/external/rust/crates/ring/src/aead/ |
D | block.rs | 37 pub fn from_u64_le(first: LittleEndian<u64>, second: LittleEndian<u64>) -> Self { in from_u64_le()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMTargetStreamer.cpp | 54 const bool LittleEndian = getStreamer().getContext().getAsmInfo()->isLittleEndian(); in emitInst() local 61 const unsigned I = LittleEndian ? (Size - II - 1) : II; in emitInst() 73 const unsigned I0 = LittleEndian ? II + 0 : II + 1; in emitInst() 74 const unsigned I1 = LittleEndian ? II + 1 : II + 0; in emitInst()
|
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMTargetStreamer.cpp | 54 const bool LittleEndian = getStreamer().getContext().getAsmInfo()->isLittleEndian(); in emitInst() local 61 const unsigned I = LittleEndian ? (Size - II - 1) : II; in emitInst() 73 const unsigned I0 = LittleEndian ? II + 0 : II + 1; in emitInst() 74 const unsigned I1 = LittleEndian ? II + 1 : II + 0; in emitInst()
|
/external/google-breakpad/src/common/ |
D | byte_cursor_unittest.cc | 365 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-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetMachine.cpp | 205 bool LittleEndian) { in computeDataLayout() argument 215 if (LittleEndian) in computeDataLayout() 268 bool LittleEndian) in AArch64TargetMachine() argument 270 computeDataLayout(TT, Options.MCOptions, LittleEndian), in AArch64TargetMachine() 273 TLOF(createTLOF(getTargetTriple())), isLittle(LittleEndian) { in AArch64TargetMachine()
|