Lines Matching refs:i
139 sal_uInt32 i = 0; in GetConstValue() local
141 for( i = 0; i < nEntries; i++ ) in GetConstValue()
142 if( pVarArray[ i ].nId == nConst ) in GetConstValue()
144 *pValue = pVarArray[ i ].lValue; in GetConstValue()
161 sal_uInt32 i = 0; in GetValueConst() local
163 for( i = 0; i < nEntries; i++ ) in GetValueConst()
164 if( pVarArray[ i ].lValue == lValue ) in GetValueConst()
166 *pConst = pVarArray[ i ].nId; in GetValueConst()
185 sal_uInt32 i = 0; in GetConstPos() local
187 for( i = 0; i < nEntries; i++ ) in GetConstPos()
189 if( pVarArray[ i ].nId == nConst ) in GetConstPos()
190 return( i ); in GetConstPos()
209 sal_uInt32 i = 0; in WriteSyntax() local
212 for( i = 0; i < nEntries; i++ ) in WriteSyntax()
214 fprintf( fOutput, "%s, ", pHS->getString( pVarArray[ i ].nId ).getStr() ); in WriteSyntax()
215 if( 3 == (i % 4) && i < sal_uInt32(nEntries -1) ) in WriteSyntax()
261 sal_uInt32 i = 0; in SetConst() local
263 if( nEntries != (i = GetConstPos( nConst )) ) in SetConst()
265 ((RscEnumInst *)rInst.pData)->nValue = i; in SetConst()
284 sal_uInt32 i = 0; in SetNumber() local
286 for( i = 0; i < nEntries; i++ ){ in SetNumber()
287 if( (sal_Int32)pVarArray[ i ].lValue == lValue ) in SetNumber()
288 return( SetConst( rInst, pVarArray[ i ].nId, lValue ) ); in SetNumber()