Home
last modified time | relevance | path

Searched refs:ReverseBytes (Results 1 – 14 of 14) 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()
2475 ReverseBytes(&header->signature, 8); in ReverseHeaderBytes()
2476 ReverseBytes(&header->revision, 4); in ReverseHeaderBytes()
2477 ReverseBytes(&header->headerSize, 4); in ReverseHeaderBytes()
2478 ReverseBytes(&header->headerCRC, 4); in ReverseHeaderBytes()
2479 ReverseBytes(&header->reserved, 4); in ReverseHeaderBytes()
2480 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/v8/src/codegen/arm64/
Dutils-arm64.h43 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() function
/external/v8/src/execution/arm64/
Dsimulator-arm64.cc2388 set_wreg(dst, ReverseBytes(wreg(src), 1)); in VisitDataProcessing1Source()
2391 set_xreg(dst, ReverseBytes(xreg(src), 1)); in VisitDataProcessing1Source()
2394 set_wreg(dst, ReverseBytes(wreg(src), 2)); in VisitDataProcessing1Source()
2397 set_xreg(dst, ReverseBytes(xreg(src), 2)); in VisitDataProcessing1Source()
2400 set_xreg(dst, ReverseBytes(xreg(src), 3)); in VisitDataProcessing1Source()
/external/vixl/src/
Dutils-vixl.h504 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() function
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc2589 WriteWRegister(dst, ReverseBytes(ReadWRegister(src), 1)); in VisitDataProcessing1Source()
2592 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 1)); in VisitDataProcessing1Source()
2595 WriteWRegister(dst, ReverseBytes(ReadWRegister(src), 2)); in VisitDataProcessing1Source()
2598 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 2)); in VisitDataProcessing1Source()
2601 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 3)); in VisitDataProcessing1Source()