Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/program/
Dprog_parameter.c195 const GLuint oldNum = paramList->NumParameters; in _mesa_reserve_parameter_storage() local
197 if (oldNum + reserve_slots > paramList->Size) { in _mesa_reserve_parameter_storage()
208 oldNum * 4 * sizeof(gl_constant_value),/* old sz */ in _mesa_reserve_parameter_storage()
238 const GLuint oldNum = paramList->NumParameters; in _mesa_add_parameter() local
250 paramList->NumParameters = oldNum + 1; in _mesa_add_parameter()
252 memset(&paramList->Parameters[oldNum], 0, in _mesa_add_parameter()
255 struct gl_program_parameter *p = paramList->Parameters + oldNum; in _mesa_add_parameter()
263 COPY_4V(paramList->ParameterValues[oldNum], values); in _mesa_add_parameter()
268 paramList->ParameterValues[oldNum][j].f = values[j].f; in _mesa_add_parameter()
273 paramList->ParameterValues[oldNum][j].f = 0; in _mesa_add_parameter()
[all …]
/external/libxml2/
Dxmlschemas.c23536 int i, j, k, ret = 0, nbFields, oldNum, oldDupls; in xmlSchemaBubbleIDCNodeTables() local
23587 oldNum = parBind->nbNodes; /* Skip newly added items. */ in xmlSchemaBubbleIDCNodeTables()
23646 if (oldNum) { in xmlSchemaBubbleIDCNodeTables()
23648 while (j < oldNum) { in xmlSchemaBubbleIDCNodeTables()
23676 if (j != oldNum) { in xmlSchemaBubbleIDCNodeTables()
23682 oldNum--; in xmlSchemaBubbleIDCNodeTables()
23687 parNodes[j] = parNodes[oldNum]; in xmlSchemaBubbleIDCNodeTables()
23689 if (parBind->nbNodes != oldNum) { in xmlSchemaBubbleIDCNodeTables()
23694 parNodes[oldNum] = in xmlSchemaBubbleIDCNodeTables()