Lines Matching refs:pCurrent

835     char *pCurrent = pData;
857 pProgram->cUniforms = ((GLsizei*)pCurrent)[0];
858 pCurrent += sizeof(GLsizei);
883 pProgram->pUniforms[i].location = ((GLint*)pCurrent)[0];
884 pCurrent += sizeof(GLint);
885 cbName = ((GLsizei*)pCurrent)[0];
886 pCurrent += sizeof(GLsizei);
895 pProgram->pUniforms[i].name = crStrndup(pCurrent, cbName);
896 pCurrent += cbName;
903 CRASSERT((pCurrent-((char*)pData))==cbRead);
911 char *pCurrent = pData;
933 pProgram->cAttribs = ((GLsizei*)pCurrent)[0];
934 pCurrent += sizeof(GLsizei);
958 pProgram->pAttribs[i].index = ((GLint*)pCurrent)[0];
959 pCurrent += sizeof(GLint);
960 cbName = ((GLsizei*)pCurrent)[0];
961 pCurrent += sizeof(GLsizei);
970 pProgram->pAttribs[i].name = crStrndup(pCurrent, cbName);
971 pCurrent += cbName;
978 CRASSERT((pCurrent-((char*)pData))==cbRead);
983 char **pCurrent, GLsizei *pcbWritten, GLsizei maxcbData)
995 ((GLint*)*pCurrent)[0] = location;
996 *pCurrent += sizeof(GLint);
997 ((GLsizei*)*pCurrent)[0] = cbName;
998 *pCurrent += sizeof(GLsizei);
999 crMemcpy(*pCurrent, pName, cbName);
1000 *pCurrent += cbName;
1010 char *pCurrent = pData;
1030 ((GLsizei*)pCurrent)[0] = activeUniforms;
1032 pCurrent += sizeof(GLsizei);
1056 if (!crStateGLSLProgramCacheOneUniform(location, cbName, name, &pCurrent, &cbWritten, maxcbData))
1082 if (!crStateGLSLProgramCacheOneUniform(location, cbName, name, &pCurrent, &cbWritten, maxcbData))
1093 if (!crStateGLSLProgramCacheOneUniform(location, cbName, name, &pCurrent, &cbWritten, maxcbData))
1110 CRASSERT((pCurrent-((char*)pData))==cbWritten);
1114 char **pCurrent, GLsizei *pcbWritten, GLsizei maxcbData)
1126 ((GLint*)*pCurrent)[0] = location;
1127 *pCurrent += sizeof(GLint);
1128 ((GLsizei*)*pCurrent)[0] = cbName;
1129 *pCurrent += sizeof(GLsizei);
1130 crMemcpy(*pCurrent, pName, cbName);
1131 *pCurrent += cbName;
1141 char *pCurrent = pData;
1161 ((GLsizei*)pCurrent)[0] = activeAttribs;
1163 pCurrent += sizeof(GLsizei);
1187 if (!crStateGLSLProgramCacheOneAttrib(location, cbName, name, &pCurrent, &cbWritten, maxcbData))
1213 if (!crStateGLSLProgramCacheOneAttrib(location, cbName, name, &pCurrent, &cbWritten, maxcbData))
1224 if (!crStateGLSLProgramCacheOneAttrib(location, cbName, name, &pCurrent, &cbWritten, maxcbData))
1241 CRASSERT((pCurrent-((char*)pData))==cbWritten);