Home
last modified time | relevance | path

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

/external/flatbuffers/net/FlatBuffers/
DByteBuffer.cs73 static public ushort ReverseBytes(ushort input) in ReverseBytes() method in FlatBuffers.ByteBuffer
78 static public uint ReverseBytes(uint input) in ReverseBytes() method in FlatBuffers.ByteBuffer
85 static public ulong ReverseBytes(ulong input) in ReverseBytes() method in FlatBuffers.ByteBuffer
188 : ReverseBytes(value); in PutUshort()
204 : ReverseBytes(value); in PutUint()
220 : ReverseBytes(value); in PutUlong()
235 *(uint*)(ptr + offset) = ReverseBytes(*(uint*)(&value)); in PutFloat()
252 *(ulong*)(ptr + offset) = ReverseBytes(*(ulong*)(ptr + offset)); in PutDouble()
338 : ReverseBytes(*(ushort*)(ptr + offset)); in GetUshort()
354 : ReverseBytes(*(uint*)(ptr + offset)); in GetUint()
[all …]
/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.cc88 if ( ! IsLittleEndian() ) ReverseBytes( & cp , 2 ) ; in GetDescription()
239 if ( ! IsLittleEndian() ) ReverseBytes( name + pos , 2 ) ;
249 if ( ! IsLittleEndian() ) ReverseBytes( name + pos , 2 ) ;
252 if ( ! IsLittleEndian() ) ReverseBytes( name + pos , 2 ) ;
414 ReverseBytes(&firstLBA, 8);
415 ReverseBytes(&lastLBA, 8);
416 ReverseBytes(&attributes, 8);
418 ReverseBytes(name + i, 2);
Dbasicmbr.cc175 ReverseBytes(&diskSignature, 4); in ReadMBRData()
176 ReverseBytes(&nulls, 2); in ReadMBRData()
177 ReverseBytes(&MBRSignature, 2); in ReadMBRData()
276 ReverseBytes(&ebr.MBRSignature, 2); in ReadLogicalParts()
277 ReverseBytes(&ebr.partitions[0].firstLBA, 4); in ReadLogicalParts()
278 ReverseBytes(&ebr.partitions[0].lengthLBA, 4); in ReadLogicalParts()
279 ReverseBytes(&ebr.partitions[1].firstLBA, 4); in ReadLogicalParts()
280 ReverseBytes(&ebr.partitions[1].lengthLBA, 4); in ReadLogicalParts()
421 ReverseBytes(&mbr.diskSignature, 4); in WriteMBRData()
422 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.cc523 ReverseBytes(&mainHeader.partitionEntriesCRC, 4); in RecomputeCRCs()
524 ReverseBytes(&secondHeader.partitionEntriesCRC, 4); in RecomputeCRCs()
533 ReverseBytes(&crc, 4); in RecomputeCRCs()
537 ReverseBytes(&crc, 4); in RecomputeCRCs()
2319 ReverseBytes(&header->signature, 8); in ReverseHeaderBytes()
2320 ReverseBytes(&header->revision, 4); in ReverseHeaderBytes()
2321 ReverseBytes(&header->headerSize, 4); in ReverseHeaderBytes()
2322 ReverseBytes(&header->headerCRC, 4); in ReverseHeaderBytes()
2323 ReverseBytes(&header->reserved, 4); in ReverseHeaderBytes()
2324 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.cc312 void ReverseBytes(void* theValue, int numBytes) { in ReverseBytes() function
/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs292 var reverse = ByteBuffer.ReverseBytes(original); in ByteBuffer_ReverseBytesUshort()
295 var rereverse = ByteBuffer.ReverseBytes(reverse); in ByteBuffer_ReverseBytesUshort()
303 var reverse = ByteBuffer.ReverseBytes(original); in ByteBuffer_ReverseBytesUint()
306 var rereverse = ByteBuffer.ReverseBytes(reverse); in ByteBuffer_ReverseBytesUint()
314 var reverse = ByteBuffer.ReverseBytes(original); in ByteBuffer_ReverseBytesUlong()
317 var rereverse = ByteBuffer.ReverseBytes(reverse); in ByteBuffer_ReverseBytesUlong()
/external/v8/src/arm64/
Dutils-arm64.h58 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() function
Dsimulator-arm64.cc2014 set_wreg(dst, ReverseBytes(wreg(src), 1)); in VisitDataProcessing1Source()
2017 set_xreg(dst, ReverseBytes(xreg(src), 1)); in VisitDataProcessing1Source()
2020 set_wreg(dst, ReverseBytes(wreg(src), 2)); in VisitDataProcessing1Source()
2023 set_xreg(dst, ReverseBytes(xreg(src), 2)); in VisitDataProcessing1Source()
2026 set_xreg(dst, ReverseBytes(xreg(src), 3)); in VisitDataProcessing1Source()
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc1874 WriteWRegister(dst, ReverseBytes(ReadWRegister(src), 1)); in VisitDataProcessing1Source()
1877 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 1)); in VisitDataProcessing1Source()
1880 WriteWRegister(dst, ReverseBytes(ReadWRegister(src), 2)); in VisitDataProcessing1Source()
1883 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 2)); in VisitDataProcessing1Source()
1886 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 3)); in VisitDataProcessing1Source()
/external/vixl/src/
Dutils-vixl.h410 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() function