Home
last modified time | relevance | path

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

/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprog_parameter.c116 const GLuint oldNum = paramList->NumParameters; in _mesa_add_parameter() local
121 if (oldNum + sz4 > paramList->Size) { in _mesa_add_parameter()
128 oldNum * sizeof(struct gl_program_parameter), in _mesa_add_parameter()
133 oldNum * 4 * sizeof(gl_constant_value),/* old sz */ in _mesa_add_parameter()
148 paramList->NumParameters = oldNum + sz4; in _mesa_add_parameter()
150 memset(&paramList->Parameters[oldNum], 0, in _mesa_add_parameter()
154 struct gl_program_parameter *p = paramList->Parameters + oldNum + i; in _mesa_add_parameter()
162 COPY_4V(paramList->ParameterValues[oldNum + i], values); in _mesa_add_parameter()
167 paramList->ParameterValues[oldNum + i][j] = values[i*4+j]; in _mesa_add_parameter()
169 paramList->ParameterValues[oldNum + i][j].f = 0.0f; in _mesa_add_parameter()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_parameter.c116 const GLuint oldNum = paramList->NumParameters; in _mesa_add_parameter() local
121 if (oldNum + sz4 > paramList->Size) { in _mesa_add_parameter()
128 oldNum * sizeof(struct gl_program_parameter), in _mesa_add_parameter()
133 oldNum * 4 * sizeof(gl_constant_value),/* old sz */ in _mesa_add_parameter()
148 paramList->NumParameters = oldNum + sz4; in _mesa_add_parameter()
150 memset(&paramList->Parameters[oldNum], 0, in _mesa_add_parameter()
154 struct gl_program_parameter *p = paramList->Parameters + oldNum + i; in _mesa_add_parameter()
161 COPY_4V(paramList->ParameterValues[oldNum + i], values); in _mesa_add_parameter()
168 paramList->ParameterValues[oldNum + i][j].f = 0; in _mesa_add_parameter()
175 paramList->Parameters[oldNum].StateIndexes[i] = state[i]; in _mesa_add_parameter()
[all …]
/external/opencv/cvaux/src/
Dcvcorrimages.cpp470 int oldNum; in icvGrowPointsAndStatus() local
471 oldNum = (*oldPoints)->cols; in icvGrowPointsAndStatus()
472 if( oldNum < 1 ) in icvGrowPointsAndStatus()
496 newTotalNumber = oldNum + addNum + addCreateNum; in icvGrowPointsAndStatus()
511 for( i = 0; i < oldNum; i++ ) in icvGrowPointsAndStatus()
529 cvmSet(newOldPoint,currCoord,i+oldNum,cvmGet(addPoints,currCoord,i)); in icvGrowPointsAndStatus()
531 newOldStatus->data.ptr[i+oldNum] = addStatus->data.ptr[i]; in icvGrowPointsAndStatus()
/external/libxml2/
Dxmlschemas.c23464 int i, j, k, ret = 0, nbFields, oldNum, oldDupls; in xmlSchemaBubbleIDCNodeTables() local
23515 oldNum = parBind->nbNodes; /* Skip newly added items. */ in xmlSchemaBubbleIDCNodeTables()
23574 if (oldNum) { in xmlSchemaBubbleIDCNodeTables()
23576 while (j < oldNum) { in xmlSchemaBubbleIDCNodeTables()
23604 if (j != oldNum) { in xmlSchemaBubbleIDCNodeTables()
23610 oldNum--; in xmlSchemaBubbleIDCNodeTables()
23615 parNodes[j] = parNodes[oldNum]; in xmlSchemaBubbleIDCNodeTables()
23617 if (parBind->nbNodes != oldNum) { in xmlSchemaBubbleIDCNodeTables()
23622 parNodes[oldNum] = in xmlSchemaBubbleIDCNodeTables()
/external/chromium_org/third_party/libxml/src/
Dxmlschemas.c23463 int i, j, k, ret = 0, nbFields, oldNum, oldDupls; in xmlSchemaBubbleIDCNodeTables() local
23514 oldNum = parBind->nbNodes; /* Skip newly added items. */ in xmlSchemaBubbleIDCNodeTables()
23573 if (oldNum) { in xmlSchemaBubbleIDCNodeTables()
23575 while (j < oldNum) { in xmlSchemaBubbleIDCNodeTables()
23603 if (j != oldNum) { in xmlSchemaBubbleIDCNodeTables()
23609 oldNum--; in xmlSchemaBubbleIDCNodeTables()
23614 parNodes[j] = parNodes[oldNum]; in xmlSchemaBubbleIDCNodeTables()
23616 if (parBind->nbNodes != oldNum) { in xmlSchemaBubbleIDCNodeTables()
23621 parNodes[oldNum] = in xmlSchemaBubbleIDCNodeTables()