Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_enc.cpp33 const size_t checksumSize = checksumCalculator->checksumByteSize(); in rcGetRendererVersion_enc() local
34 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetRendererVersion_enc()
42 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in rcGetRendererVersion_enc()
51 if (checksumSize > 0) checksumBufPtr = &checksumBuf[0]; in rcGetRendererVersion_enc()
52 stream->readback(checksumBufPtr, checksumSize); in rcGetRendererVersion_enc()
53 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcGetRendererVersion_enc()
74 const size_t checksumSize = checksumCalculator->checksumByteSize(); in rcGetEGLVersion_enc() local
75 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetEGLVersion_enc()
85 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in rcGetEGLVersion_enc()
98 if (checksumSize > 0) checksumBufPtr = &checksumBuf[0]; in rcGetEGLVersion_enc()
[all …]
/device/generic/goldfish-opengl/system/GLESv1_enc/
Dgl_enc.cpp33 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAlphaFunc_enc() local
34 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glAlphaFunc_enc()
44 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glAlphaFunc_enc()
59 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glClearColor_enc() local
60 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClearColor_enc()
72 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glClearColor_enc()
87 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glClearDepthf_enc() local
88 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClearDepthf_enc()
97 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glClearDepthf_enc()
113 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glClipPlanef_enc() local
[all …]
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_enc.cpp33 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glActiveTexture_enc() local
34 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glActiveTexture_enc()
43 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glActiveTexture_enc()
58 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAttachShader_enc() local
59 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glAttachShader_enc()
69 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glAttachShader_enc()
85 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glBindAttribLocation_enc() local
86 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glBindAttribLocation_enc()
98 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glBindAttribLocation_enc()
113 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glBindBuffer_enc() local
[all …]
/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()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DChecksumCalculator.cpp120 size_t checksumSize = checksumByteSize(); in validate() local
121 if (expectedChecksumLen != checksumSize) { in validate()