Lines Matching refs:idx
61 NSUInteger idx;
69 for( idx = 0; idx < BuffSize; idx++ ) {
70 ptrBuffer[idx] = nil;
79 NSUInteger idx;
87 for( idx = 0; idx < BuffSize; idx++ ) {
88 ptrBuffer[idx] = nil;
101 NSInteger idx;
104 for( idx = 0; idx < BuffSize; idx++ ) {
105 tmp = ptrBuffer[idx];
135 NSInteger idx;
137 for( idx = 0; idx < BuffSize; idx++ ) {
138 tmp = ptrBuffer[idx];
147 ptrBuffer[idx] = nil;
262 - (void) insertObject:(id)aRule atIndex:(NSUInteger)idx
264 if ( idx >= BuffSize ) {
265 [self ensureCapacity:idx];
267 if ( aRule != ptrBuffer[idx] ) {
268 if ( ptrBuffer[idx] ) [ptrBuffer[idx] release];
271 ptrBuffer[idx] = aRule;
275 - (id)objectAtIndex:(NSUInteger)idx
277 if ( idx < BuffSize ) {
278 return ptrBuffer[idx];
307 - (void)removeObjectAtIndex:(NSInteger)idx
310 if ( idx >= 0 && idx < count ) {
311 if ( ptrBuffer[idx] ) [ptrBuffer[idx] release];
312 for ( i = idx; i < count-1; i++ ) {
337 NSInteger idx, cnt;
341 for (idx = 0; idx < cnt; idx++ ) {
342 [str appendString:[[self objectAtIndex:idx] description]];