Home
last modified time | relevance | path

Searched refs:checksumSize (Results 1 – 3 of 3) sorted by relevance

/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_enc.cpp33 const size_t checksumSize = checksumCalculator->checksumByteSize(); in fooAlphaFunc_enc() local
34 const size_t totalSize = sizeWithoutChecksum + checksumSize; in fooAlphaFunc_enc()
44 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in fooAlphaFunc_enc()
60 const size_t checksumSize = checksumCalculator->checksumByteSize(); in fooIsBuffer_enc() local
61 const size_t totalSize = sizeWithoutChecksum + checksumSize; in fooIsBuffer_enc()
71 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in fooIsBuffer_enc()
80 if (checksumSize > 0) checksumBufPtr = &checksumBuf[0]; in fooIsBuffer_enc()
81 stream->readback(checksumBufPtr, checksumSize); in fooIsBuffer_enc()
82 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in fooIsBuffer_enc()
101 const size_t checksumSize = checksumCalculator->checksumByteSize(); in fooDoEncoderFlush_enc() local
[all …]
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/decoder/
Dfoo_dec.cpp39 const size_t checksumSize = checksumCalc->checksumByteSize(); in decode() local
40 const bool useChecksum = checksumSize > 0; in decode()
50 …cksumCalculatorThreadInfo::validOrDie(checksumCalc, ptr, 8 + 4 + 4, ptr + 8 + 4 + 4, checksumSize, in decode()
62 …eadInfo::validOrDie(checksumCalc, ptr, 8 + 4 + size_stuff, ptr + 8 + 4 + size_stuff, checksumSize, in decode()
66 totalTmpSize += checksumSize; in decode()
71 …um(checksumCalc, &tmpBuf[0], totalTmpSize - checksumSize, &tmpBuf[totalTmpSize - checksumSize], ch… in decode()
81 …dInfo::validOrDie(checksumCalc, ptr, 8 + 4 + size_params, ptr + 8 + 4 + size_params, checksumSize, in decode()
92 ChecksumCalculatorThreadInfo::validOrDie(checksumCalc, ptr, 8 + 4, ptr + 8 + 4, checksumSize, in decode()
104 …eadInfo::validOrDie(checksumCalc, ptr, 8 + 4 + size_param, ptr + 8 + 4 + size_param, checksumSize, in decode()
118 …rThreadInfo::validOrDie(checksumCalc, ptr, 8 + 4 + size_obj, ptr + 8 + 4 + size_obj, checksumSize, in decode()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DChecksumCalculator.cpp105 const size_t checksumSize = checksumByteSize(); in validate() local
106 if (expectedChecksumLen != checksumSize) { in validate()
115 assert(checksumSize == sizeof(val) + sizeof(m_numRead)); in validate()