Home
last modified time | relevance | path

Searched refs:ReverseBytes (Results 1 – 19 of 19) sorted by relevance

/external/gptfdisk/
Dbsd.cc94 ReverseBytes(&realSig, 4); in ReadBSDData()
151 ReverseBytes(&partitions[i].lengthLBA, 4); in ReadBSDData()
152 ReverseBytes(&partitions[i].firstLBA, 4); in ReadBSDData()
178 ReverseBytes(&signature, 4); in ReverseMetaBytes()
179 ReverseBytes(&sectorSize, 4); in ReverseMetaBytes()
180 ReverseBytes(&signature2, 4); in ReverseMetaBytes()
181 ReverseBytes(&numParts, 2); in ReverseMetaBytes()
Dgptpart.cc97 if ( ! IsLittleEndian() ) ReverseBytes( & cp , 2 ) ; in GetDescription()
248 if ( ! IsLittleEndian() ) ReverseBytes( name + pos , 2 ) ;
258 if ( ! IsLittleEndian() ) ReverseBytes( name + pos , 2 ) ;
261 if ( ! IsLittleEndian() ) ReverseBytes( name + pos , 2 ) ;
423 ReverseBytes(&firstLBA, 8);
424 ReverseBytes(&lastLBA, 8);
425 ReverseBytes(&attributes, 8);
427 ReverseBytes(name + i, 2);
Dbasicmbr.cc207 ReverseBytes(&diskSignature, 4); in ReadMBRData()
208 ReverseBytes(&nulls, 2); in ReadMBRData()
209 ReverseBytes(&MBRSignature, 2); in ReadMBRData()
309 ReverseBytes(&ebr.MBRSignature, 2); in ReadLogicalParts()
310 ReverseBytes(&ebr.partitions[0].firstLBA, 4); in ReadLogicalParts()
311 ReverseBytes(&ebr.partitions[0].lengthLBA, 4); in ReadLogicalParts()
312 ReverseBytes(&ebr.partitions[1].firstLBA, 4); in ReadLogicalParts()
313 ReverseBytes(&ebr.partitions[1].lengthLBA, 4); in ReadLogicalParts()
454 ReverseBytes(&mbr.diskSignature, 4); in WriteMBRData()
455 ReverseBytes(&mbr.nulls, 2); in WriteMBRData()
[all …]
Dguid.cc148 ReverseBytes(&uuidData[0], 4); in Randomize()
149 ReverseBytes(&uuidData[4], 2); in Randomize()
150 ReverseBytes(&uuidData[6], 2); in Randomize()
Dgpt.cc607 ReverseBytes(&mainHeader.partitionEntriesCRC, 4); in RecomputeCRCs()
608 ReverseBytes(&secondHeader.partitionEntriesCRC, 4); in RecomputeCRCs()
617 ReverseBytes(&crc, 4); in RecomputeCRCs()
621 ReverseBytes(&crc, 4); in RecomputeCRCs()
2480 ReverseBytes(&header->signature, 8); in ReverseHeaderBytes()
2481 ReverseBytes(&header->revision, 4); in ReverseHeaderBytes()
2482 ReverseBytes(&header->headerSize, 4); in ReverseHeaderBytes()
2483 ReverseBytes(&header->headerCRC, 4); in ReverseHeaderBytes()
2484 ReverseBytes(&header->reserved, 4); in ReverseHeaderBytes()
2485 ReverseBytes(&header->currentLBA, 8); in ReverseHeaderBytes()
[all …]
Dmbrpart.cc308 ReverseBytes(&firstLBA, 4); in ReverseByteOrder()
309 ReverseBytes(&lengthLBA, 4); in ReverseByteOrder()
Dsupport.h83 void ReverseBytes(void* theValue, int numBytes); // Reverses byte-order of theValue
Dsupport.cc333 void ReverseBytes(void* theValue, int numBytes) { in ReverseBytes() function
/external/flatbuffers/net/FlatBuffers/
DByteBuffer.cs300 static public ushort ReverseBytes(ushort input) in ReverseBytes() method in FlatBuffers.ByteBuffer
305 static public uint ReverseBytes(uint input) in ReverseBytes() method in FlatBuffers.ByteBuffer
312 static public ulong ReverseBytes(ulong input) in ReverseBytes() method in FlatBuffers.ByteBuffer
462 : ReverseBytes(value); in PutUshort()
483 : ReverseBytes(value); in PutUint()
504 : ReverseBytes(value); in PutUlong()
524 *(uint*)(ptr + offset) = ReverseBytes(*(uint*)(&value)); in PutFloat()
544 *(ulong*)(ptr + offset) = ReverseBytes(*(ulong*)(&value)); in PutDouble()
663 : ReverseBytes(*(ushort*)(ptr + offset)); in GetUshort()
684 : ReverseBytes(*(uint*)(ptr + offset)); in GetUint()
[all …]
/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs275 var reverse = ByteBuffer.ReverseBytes(original); in ByteBuffer_ReverseBytesUshort()
278 var rereverse = ByteBuffer.ReverseBytes(reverse); in ByteBuffer_ReverseBytesUshort()
286 var reverse = ByteBuffer.ReverseBytes(original); in ByteBuffer_ReverseBytesUint()
289 var rereverse = ByteBuffer.ReverseBytes(reverse); in ByteBuffer_ReverseBytesUint()
297 var reverse = ByteBuffer.ReverseBytes(original); in ByteBuffer_ReverseBytesUlong()
300 var rereverse = ByteBuffer.ReverseBytes(reverse); in ByteBuffer_ReverseBytesUlong()
/external/pigweed/pw_bytes/public/pw_bytes/
Dendian.h82 constexpr T ReverseBytes(T value) { in ReverseBytes() function
118 return from == to ? value : internal::ReverseBytes(value); in ConvertOrder()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dranden_hwaes.cc163 inline ABSL_TARGET_CRYPTO Vector128 ReverseBytes(const Vector128& v) { in ReverseBytes() function
191 Vector128Store(ReverseBytes(Vector128Load(state + block)), state + block); in SwapEndian()
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dranden_hwaes.cc163 inline ABSL_TARGET_CRYPTO Vector128 ReverseBytes(const Vector128& v) { in ReverseBytes() function
191 Vector128Store(ReverseBytes(Vector128Load(state + block)), state + block); in SwapEndian()
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dranden_hwaes.cc159 inline ABSL_TARGET_CRYPTO Vector128 ReverseBytes(const Vector128& v) { in ReverseBytes() function
187 Vector128Store(ReverseBytes(Vector128Load(state + block)), state + block); in SwapEndian()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dranden_hwaes.cc163 inline ABSL_TARGET_CRYPTO Vector128 ReverseBytes(const Vector128& v) { in ReverseBytes() function
191 Vector128Store(ReverseBytes(Vector128Load(state + block)), state + block); in SwapEndian()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dranden_hwaes.cc154 inline ABSL_TARGET_CRYPTO Vector128 ReverseBytes(const Vector128& v) { in ReverseBytes() function
186 const Vector128 v = ReverseBytes(Vector128Load(state + kLanes * branch)); in SwapEndian()
/external/abseil-cpp/absl/random/internal/
Dranden_hwaes.cc154 inline ABSL_TARGET_CRYPTO Vector128 ReverseBytes(const Vector128& v) { in ReverseBytes() function
186 const Vector128 v = ReverseBytes(Vector128Load(state + kLanes * branch)); in SwapEndian()
/external/vixl/src/
Dutils-vixl.h526 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() function
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc3210 WriteWRegister(dst, ReverseBytes(ReadWRegister(src), 1)); in VisitDataProcessing1Source()
3213 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 1)); in VisitDataProcessing1Source()
3216 WriteWRegister(dst, ReverseBytes(ReadWRegister(src), 2)); in VisitDataProcessing1Source()
3219 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 2)); in VisitDataProcessing1Source()
3222 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 3)); in VisitDataProcessing1Source()