Home
last modified time | relevance | path

Searched refs:oldNum (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/program/
Dprog_parameter.c199 const GLuint oldNum = paramList->NumParameters; in _mesa_reserve_parameter_storage() local
201 if (oldNum + reserve_slots > paramList->Size) { in _mesa_reserve_parameter_storage()
216 oldNum * 4 * sizeof(gl_constant_value),/* old sz */ in _mesa_reserve_parameter_storage()
247 const GLuint oldNum = paramList->NumParameters; in _mesa_add_parameter() local
265 paramList->NumParameters = oldNum + 1; in _mesa_add_parameter()
270 memset(&paramList->Parameters[oldNum], 0, in _mesa_add_parameter()
273 struct gl_program_parameter *p = paramList->Parameters + oldNum; in _mesa_add_parameter()
280 paramList->ParameterValueOffset[oldNum] = oldValNum; in _mesa_add_parameter()
305 paramList->Parameters[oldNum].StateIndexes[i] = state[i]; in _mesa_add_parameter()
308 return (GLint) oldNum; in _mesa_add_parameter()
/external/libxml2/
Dxmlschemas.c23693 int i, j, k, ret = 0, nbFields, oldNum, oldDupls; in xmlSchemaBubbleIDCNodeTables() local
23744 oldNum = parBind->nbNodes; /* Skip newly added items. */ in xmlSchemaBubbleIDCNodeTables()
23803 if (oldNum) { in xmlSchemaBubbleIDCNodeTables()
23805 while (j < oldNum) { in xmlSchemaBubbleIDCNodeTables()
23833 if (j != oldNum) { in xmlSchemaBubbleIDCNodeTables()
23839 oldNum--; in xmlSchemaBubbleIDCNodeTables()
23844 parNodes[j] = parNodes[oldNum]; in xmlSchemaBubbleIDCNodeTables()
23846 if (parBind->nbNodes != oldNum) { in xmlSchemaBubbleIDCNodeTables()
23851 parNodes[oldNum] = in xmlSchemaBubbleIDCNodeTables()