Lines Matching refs:count

82     count = 0;
165 newCapacity = dict->count;
168 if ( dict->count > theCapacity )
178 for (unsigned int i = 0; i < dict->count; i++) {
186 count = dict->count;
187 bcopy(dict->dictionary, dictionary, count * sizeof(dictEntry));
188 for (unsigned int i = 0; i < count; i++) {
210 unsigned int count,
215 if (me && !me->initWithObjects(objects, keys, count, capacity)) {
225 unsigned int count,
230 if (me && !me->initWithObjects(objects, keys, count, capacity)) {
263 unsigned int OSDictionary::getCount() const { return count; }
317 for (unsigned int i = 0; i < count; i++) {
321 count = 0;
336 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0]));
337 exists = (i < count) && (aKey == dictionary[i].key);
338 } else for (exists = false, i = 0; i < count; i++) {
355 if (count >= capacity && count >= ensureCapacity(count+1))
360 bcopy(&dictionary[i], &dictionary[i+1], (count - i) * sizeof(dictionary[0]));
366 count++;
382 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0]));
383 exists = (i < count) && (aKey == dictionary[i].key);
384 } else for (exists = false, i = 0; i < count; i++) {
393 count--;
394 bcopy(&dictionary[i+1], &dictionary[i], (count - i) * sizeof(dictionary[0]));
441 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0]));
442 exists = (i < count) && (aKey == dictionary[i].key);
443 } else for (exists = false, i = 0; i < count; i++) {
510 if ( (count < keysCount) || (srcDict->getCount() < keysCount) )
544 if ( count != srcDict->getCount() )
547 for ( i = 0; i < count; i++ ) {
588 if (index < count)
602 for (unsigned i = 0; i < count; i++) {
637 for ( unsigned i = 0; i < count; i++ ) {
672 for (unsigned int i = 0; i < count; i++) {