/external/flatbuffers/net/FlatBuffers/ |
D | ByteBuffer.cs | 73 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/ |
D | bsd.cc | 94 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(§orSize, 4); in ReverseMetaBytes() 180 ReverseBytes(&signature2, 4); in ReverseMetaBytes() 181 ReverseBytes(&numParts, 2); in ReverseMetaBytes()
|
D | gptpart.cc | 88 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);
|
D | basicmbr.cc | 175 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 …]
|
D | guid.cc | 148 ReverseBytes(&uuidData[0], 4); in Randomize() 149 ReverseBytes(&uuidData[4], 2); in Randomize() 150 ReverseBytes(&uuidData[6], 2); in Randomize()
|
D | gpt.cc | 523 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 …]
|
D | mbrpart.cc | 308 ReverseBytes(&firstLBA, 4); in ReverseByteOrder() 309 ReverseBytes(&lengthLBA, 4); in ReverseByteOrder()
|
D | support.h | 83 void ReverseBytes(void* theValue, int numBytes); // Reverses byte-order of theValue
|
D | support.cc | 312 void ReverseBytes(void* theValue, int numBytes) { in ReverseBytes() function
|
/external/flatbuffers/tests/FlatBuffers.Test/ |
D | ByteBufferTests.cs | 292 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/ |
D | utils-arm64.h | 58 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() function
|
D | simulator-arm64.cc | 2014 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/ |
D | simulator-aarch64.cc | 1874 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/ |
D | utils-vixl.h | 410 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() function
|