Lines Matching refs:i
77 sal_uInt32 i = 0, nFlag = 0; in SetNotConst() local
79 if( nEntries != (i = GetConstPos( nConst )) ){ in SetNotConst()
80 nFlag = 1 << (i % (sizeof( sal_uInt32 ) * 8) ); in SetNotConst()
81 i = i / (sizeof( sal_uInt32 ) * 8); in SetNotConst()
82 ((RscFlagInst *)rInst.pData)[ i ].nFlags &= ~nFlag; in SetNotConst()
83 ((RscFlagInst *)rInst.pData)[ i ].nDfltFlags &= ~nFlag; in SetNotConst()
101 sal_uInt32 i = 0, nFlag = 0; in SetConst() local
103 if( nEntries != (i = GetConstPos( nConst )) ){ in SetConst()
104 nFlag = 1 << (i % (sizeof( sal_uInt32 ) * 8) ); in SetConst()
105 i = i / (sizeof( sal_uInt32 ) * 8); in SetConst()
106 ((RscFlagInst *)rInst.pData)[ i ].nFlags |= nFlag; in SetConst()
107 ((RscFlagInst *)rInst.pData)[ i ].nDfltFlags &= ~nFlag; in SetConst()
149 sal_uInt32 i = 0; in Create() local
158 for( i = 0; i < Size() / sizeof( RscFlagInst ); i++ ) in Create()
160 ((RscFlagInst *)aInst.pData)[ i ].nFlags = 0; in Create()
161 ((RscFlagInst *)aInst.pData)[ i ].nDfltFlags = 0xFFFFFFFF; in Create()
181 sal_uInt32 i = 0, nFlag = 0; in CreateClient() local
186 if( nEntries != (i = GetConstPos( nConstId )) ){ in CreateClient()
187 nFlag = 1 << (i % (sizeof( sal_uInt32 ) * 8) ); in CreateClient()
188 i = i / (sizeof( sal_uInt32 ) * 8); in CreateClient()
190 ((RscFlagInst *)aInst.pData)[ i ].nFlags &= in CreateClient()
191 ~nFlag | ((RscFlagInst *)rDfltI.pData)[ i ].nFlags; in CreateClient()
192 ((RscFlagInst *)aInst.pData)[ i ].nDfltFlags &= in CreateClient()
193 ~nFlag | ((RscFlagInst *)rDfltI.pData)[ i ].nDfltFlags; in CreateClient()
196 ((RscFlagInst *)aInst.pData)[ i ].nFlags &= ~nFlag; in CreateClient()
197 ((RscFlagInst *)aInst.pData)[ i ].nDfltFlags |= nFlag; in CreateClient()
215 sal_uInt32 i = 0; in SetToDefault() local
217 for( i = 0; i < Size() / sizeof( RscFlagInst ); i++ ) in SetToDefault()
218 ((RscFlagInst *)rInst.pData)[ i ].nDfltFlags = 0xFFFFFFFF; in SetToDefault()
232 sal_uInt32 i = 0; in IsDefault() local
234 for( i = 0; i < Size() / sizeof( RscFlagInst ); i++ ) in IsDefault()
235 if( ((RscFlagInst *)rInst.pData)[ i ].nDfltFlags != 0xFFFFFFFF ) in IsDefault()
242 sal_uInt32 i = 0, nFlag = 0; in IsDefault() local
244 if( nEntries != (i = GetConstPos( nConstId )) ){ in IsDefault()
245 nFlag = 1 << (i % (sizeof( sal_uInt32 ) * 8) ); in IsDefault()
246 i = i / (sizeof( sal_uInt32 ) * 8); in IsDefault()
247 if( ((RscFlagInst *)rInst.pData)[ i ].nDfltFlags & nFlag ) in IsDefault()
267 sal_uInt32 i = 0, nFlag = 0; in IsValueDefault() local
269 if( nEntries != (i = GetConstPos( nConstId )) ){ in IsValueDefault()
270 nFlag = 1 << (i % (sizeof( sal_uInt32 ) * 8) ); in IsValueDefault()
271 i = i / (sizeof( sal_uInt32 ) * 8); in IsValueDefault()
274 if( (((RscFlagInst *)rInst.pData)[ i ].nFlags & nFlag) in IsValueDefault()
275 == (((RscFlagInst *)pDef)[ i ].nFlags & nFlag) ) in IsValueDefault()
287 sal_uInt32 i = 0; in IsValueDefault() local
293 for( i = 0; i < nEntries; i++ ){ in IsValueDefault()
294 nIndex = i / (sizeof( sal_uInt32 ) * 8); in IsValueDefault()
322 sal_uInt32 i = 0, nFlag = 0; in IsSet() local
324 if( nEntries != (i = GetConstPos( nConstId )) ){ in IsSet()
325 nFlag = 1 << (i % (sizeof( sal_uInt32 ) * 8) ); in IsSet()
326 i = i / (sizeof( sal_uInt32 ) * 8); in IsSet()
327 if( ((RscFlagInst *)rInst.pData)[ i ].nFlags & nFlag ) in IsSet()
347 sal_uInt32 i = 0, Flag = 0, nIndex = 0; in WriteSrc() local
351 for( i = 0; i < nEntries; i++ ){ in WriteSrc()
352 nIndex = i / (sizeof( sal_uInt32 ) * 8); in WriteSrc()
357 fprintf( fOutput, "%s", pHS->getString( pVarArray[ i ].nId ).getStr() ); in WriteSrc()
360 fprintf( fOutput, "%s", pHS->getString( pVarArray[ i ].nId ).getStr() ); in WriteSrc()
383 sal_uInt32 i = 0, Flag = 0, nIndex = 0; in WriteRc() local
386 for( i = 0; i < nEntries; i++ ){ in WriteRc()
387 nIndex = i / (sizeof( sal_uInt32 ) * 8); in WriteRc()
389 lVal |= pVarArray[ i ].lValue; in WriteRc()