Lines Matching defs:pLocalLength
44 GLint *pLocalLength;
45 int packet_length = sizeof(int)+sizeof(GLenum)+sizeof(shader)+sizeof(count)+sizeof(GLint)+count*sizeof(*pLocalLength);
50 pLocalLength = crAlloc(count*sizeof(*length));
51 if (!pLocalLength) return;
55 pLocalLength[i] = ((length && (length[i]>=0)) ? length[i] : crStrlen(string[i]))+1;
56 packet_length += pLocalLength[i];
70 crMemcpy(data_ptr, pLocalLength, count*sizeof(*pLocalLength));
71 data_ptr += count*sizeof(*pLocalLength);
86 crMemcpy(data_ptr, string[i], pLocalLength[i] - 1);
87 data_ptr[pLocalLength[i] - 1] = '\0';
92 crMemcpy(data_ptr, string[i], pLocalLength[i]);
97 CRASSERT(pLocalLength[i]==1);
100 data_ptr += pLocalLength[i];
105 crFree(pLocalLength);