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()
237 const GLuint oldNum = paramList->NumParameters; in _mesa_add_parameter() local
254 paramList->NumParameters = oldNum + sz4; in _mesa_add_parameter()
256 memset(&paramList->Parameters[oldNum], 0, in _mesa_add_parameter()
260 struct gl_program_parameter *p = paramList->Parameters + oldNum + i; in _mesa_add_parameter()
267 COPY_4V(paramList->ParameterValues[oldNum + i], values); in _mesa_add_parameter()
273 paramList->ParameterValues[oldNum + i][j].f = values[j].f; in _mesa_add_parameter()
277 paramList->ParameterValues[oldNum + i][j].f = 0.0f; 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()