Lines Matching refs:count
79 qsort(dictionary, count, sizeof(OSDictionary::dictEntry), in sortBySymbol()
103 count = 0; in initWithCapacity()
195 newCapacity = dict->count; in initWithDictionary()
198 if (dict->count > theCapacity) { in initWithDictionary()
209 count = dict->count; in initWithDictionary()
210 for (unsigned int i = 0; i < count; i++) { in initWithDictionary()
237 unsigned int count, in withObjects() argument
242 if (me && !me->initWithObjects(objects, keys, count, capacity)) { in withObjects()
252 unsigned int count, in withObjects() argument
257 if (me && !me->initWithObjects(objects, keys, count, capacity)) { in withObjects()
293 return count; in getCount()
350 for (unsigned int i = 0; i < count; i++) { in flushCollection()
354 count = 0; in flushCollection()
371 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0])); in setObject()
372 exists = (i < count) && (aKey == dictionary[i].key); in setObject()
374 for (exists = false, i = 0; i < count; i++) { in setObject()
395 if (count >= capacity && count >= ensureCapacity(count + 1)) { in setObject()
401 new (&dictionary[count]) dictEntry(); in setObject()
402 os::move_backward(&dictionary[i], &dictionary[count], &dictionary[count + 1]); in setObject()
406 count++; in setObject()
449 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0])); in removeObject()
450 exists = (i < count) && (aKey == dictionary[i].key); in removeObject()
452 for (exists = false, i = 0; i < count; i++) { in removeObject()
464 count--; in removeObject()
465 bcopy(&dictionary[i + 1], &dictionary[i], (count - i) * sizeof(dictionary[0])); in removeObject()
505 unsigned int i, l = 0, r = count; in getObject()
518 if (count > 4 && (fOptions & kSort)) { in getObject()
604 if ((count < keysCount) || (srcDict->getCount() < keysCount)) { in setObject()
641 if (count != srcDict->getCount()) { in isEqualTo()
645 for (i = 0; i < count; i++) { in isEqualTo()
693 if (index < count) { in getNextObjectForIterator()
713 for (unsigned i = 0; i < count; i++) { in serialize()
762 for (unsigned i = 0; i < count; i++) { in setOptions()
807 for (unsigned int i = 0; i < count; i++) { in copyCollection()
832 array = OSArray::withCapacity(count); in copyKeys()
837 for (unsigned int i = 0; i < count; i++) { in copyKeys()
853 for (unsigned int i = 0; i < count; i++) { in iterateObjects()