Home
last modified time | relevance | path

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

/third_party/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()
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()
Dgptpart.cc416 ReverseBytes(&firstLBA, 8);
417 ReverseBytes(&lastLBA, 8);
418 ReverseBytes(&attributes, 8);
426 ReverseBytes(name + i, 2);
Dgpt.cc614 ReverseBytes(&mainHeader.partitionEntriesCRC, 4); in RecomputeCRCs()
615 ReverseBytes(&secondHeader.partitionEntriesCRC, 4); in RecomputeCRCs()
624 ReverseBytes(&crc, 4); in RecomputeCRCs()
628 ReverseBytes(&crc, 4); in RecomputeCRCs()
2517 ReverseBytes(&header->signature, 8); in ReverseHeaderBytes()
2518 ReverseBytes(&header->revision, 4); in ReverseHeaderBytes()
2519 ReverseBytes(&header->headerSize, 4); in ReverseHeaderBytes()
2520 ReverseBytes(&header->headerCRC, 4); in ReverseHeaderBytes()
2521 ReverseBytes(&header->reserved, 4); in ReverseHeaderBytes()
2522 ReverseBytes(&header->currentLBA, 8); in ReverseHeaderBytes()
[all …]
Dmbrpart.cc308 ReverseBytes(&firstLBA, 4); in ReverseByteOrder()
309 ReverseBytes(&lengthLBA, 4); in ReverseByteOrder()
Dsupport.h80 void ReverseBytes(void* theValue, int numBytes); // Reverses byte-order of theValue
Dsupport.cc316 void ReverseBytes(void* theValue, int numBytes) { in ReverseBytes() function
/third_party/flatbuffers/net/FlatBuffers/
DByteBuffer.cs304 static public ushort ReverseBytes(ushort input) in ReverseBytes() method in FlatBuffers.ByteBuffer
309 static public uint ReverseBytes(uint input) in ReverseBytes() method in FlatBuffers.ByteBuffer
316 static public ulong ReverseBytes(ulong input) in ReverseBytes() method in FlatBuffers.ByteBuffer
512 : ReverseBytes(value); in PutUshort()
533 : ReverseBytes(value); in PutUint()
554 : ReverseBytes(value); in PutUlong()
574 *(uint*)(ptr + offset) = ReverseBytes(*(uint*)(&value)); in PutFloat()
594 *(ulong*)(ptr + offset) = ReverseBytes(*(ulong*)(&value)); in PutDouble()
719 : ReverseBytes(*(ushort*)(ptr + offset)); in GetUshort()
740 : ReverseBytes(*(uint*)(ptr + offset)); in GetUint()
[all …]
/third_party/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()
/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()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dranden_hwaes.cc129 inline ABSL_TARGET_CRYPTO Vector128 ReverseBytes(const Vector128& v) { in ReverseBytes() function
157 Vector128Store(ReverseBytes(Vector128Load(state + block)), state + block); in SwapEndian()