Searched refs:checksumSize (Results 1 – 4 of 4) sorted by relevance
/device/generic/goldfish/opengl/system/renderControl_enc/ |
D | renderControl_enc.cpp | 32 const size_t checksumSize = checksumCalculator->checksumByteSize(); in rcGetRendererVersion_enc() local 33 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetRendererVersion_enc() 41 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in rcGetRendererVersion_enc() 48 std::unique_ptr<unsigned char[]> checksumBuf(new unsigned char[checksumSize]); in rcGetRendererVersion_enc() 49 stream->readback(checksumBuf.get(), checksumSize); in rcGetRendererVersion_enc() 50 if (!checksumCalculator->validate(checksumBuf.get(), checksumSize)) { in rcGetRendererVersion_enc() 71 const size_t checksumSize = checksumCalculator->checksumByteSize(); in rcGetEGLVersion_enc() local 72 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetEGLVersion_enc() 82 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in rcGetEGLVersion_enc() 93 std::unique_ptr<unsigned char[]> checksumBuf(new unsigned char[checksumSize]); in rcGetEGLVersion_enc() [all …]
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
D | gl2_enc.cpp | 32 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glActiveTexture_enc() local 33 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glActiveTexture_enc() 42 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glActiveTexture_enc() 57 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAttachShader_enc() local 58 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glAttachShader_enc() 68 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glAttachShader_enc() 84 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glBindAttribLocation_enc() local 85 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glBindAttribLocation_enc() 97 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glBindAttribLocation_enc() 112 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glBindBuffer_enc() local [all …]
|
/device/generic/goldfish/opengl/system/GLESv1_enc/ |
D | gl_enc.cpp | 32 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAlphaFunc_enc() local 33 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glAlphaFunc_enc() 43 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glAlphaFunc_enc() 58 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glClearColor_enc() local 59 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClearColor_enc() 71 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glClearColor_enc() 86 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glClearDepthf_enc() local 87 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClearDepthf_enc() 96 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glClearDepthf_enc() 112 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glClipPlanef_enc() local [all …]
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
D | ChecksumCalculator.cpp | 124 size_t checksumSize = checksumByteSize(); in validate() local 125 if (expectedChecksumLen != checksumSize) { in validate() 140 bool isValid = !memcmp(sChecksumBuffer, expectedChecksum, checksumSize); in validate()
|