Home
last modified time | relevance | path

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

/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/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 …]
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 …]
Dguid.cc148 ReverseBytes(&uuidData[0], 4); in Randomize()
149 ReverseBytes(&uuidData[4], 2); in Randomize()
150 ReverseBytes(&uuidData[6], 2); in Randomize()
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.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/arm64/
Dutils-arm64.h45 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() function
Dsimulator-arm64.cc2294 set_wreg(dst, ReverseBytes(wreg(src), 1)); in VisitDataProcessing1Source()
2297 set_xreg(dst, ReverseBytes(xreg(src), 1)); in VisitDataProcessing1Source()
2300 set_wreg(dst, ReverseBytes(wreg(src), 2)); in VisitDataProcessing1Source()
2303 set_xreg(dst, ReverseBytes(xreg(src), 2)); in VisitDataProcessing1Source()
2306 set_xreg(dst, ReverseBytes(xreg(src), 3)); in VisitDataProcessing1Source()
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc2388 WriteWRegister(dst, ReverseBytes(ReadWRegister(src), 1)); in VisitDataProcessing1Source()
2391 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 1)); in VisitDataProcessing1Source()
2394 WriteWRegister(dst, ReverseBytes(ReadWRegister(src), 2)); in VisitDataProcessing1Source()
2397 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 2)); in VisitDataProcessing1Source()
2400 WriteXRegister(dst, ReverseBytes(ReadXRegister(src), 3)); in VisitDataProcessing1Source()
/external/vixl/src/
Dutils-vixl.h498 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() function