Lines Matching defs:oldNum
200 const GLuint oldNum = paramList->NumParameters;
205 (oldNum + reserve_params > paramList->Size ||
212 if (oldNum + reserve_params > paramList->Size) {
277 const int oldNum = paramList->NumParameters;
298 paramList->NumParameters = oldNum + 1;
302 memset(¶mList->Parameters[oldNum], 0,
305 struct gl_program_parameter *p = paramList->Parameters + oldNum;
312 paramList->Parameters[oldNum].ValueOffset = oldValNum;
338 paramList->Parameters[oldNum].StateIndexes[i] = state[i];
340 paramList->Parameters[oldNum].StateIndexes[0] = STATE_NOT_STATE_VAR;
346 (paramList->Parameters[oldNum].ValueOffset +
347 paramList->Parameters[oldNum].Size) * 4);
350 MIN2(paramList->FirstStateVarIndex, oldNum);
352 MAX2(paramList->LastStateVarIndex, oldNum);
360 return (GLint) oldNum;