Lines Matching refs:dictionary
71 dictionary = (dictEntry *) kalloc(size);
72 if (!dictionary)
75 bzero(dictionary, size);
174 bcopy(dict->dictionary, dictionary, count * sizeof(dictEntry));
176 dictionary[i].key->taggedRetain(OSTypeID(OSCollection));
177 dictionary[i].value->taggedRetain(OSTypeID(OSCollection));
242 if (dictionary) {
243 kfree(dictionary, capacity * sizeof(dictEntry));
282 bcopy(dictionary, newDict, oldSize);
286 kfree(dictionary, oldSize);
288 dictionary = newDict;
300 dictionary[i].key->taggedRelease(OSTypeID(OSCollection));
301 dictionary[i].value->taggedRelease(OSTypeID(OSCollection));
314 if (aKey == dictionary[i].key) {
315 const OSMetaClassBase *oldObject = dictionary[i].value;
320 dictionary[i].value = anObject;
335 dictionary[count].key = aKey;
336 dictionary[count].value = anObject;
349 if (aKey == dictionary[i].key) {
350 dictEntry oldEntry = dictionary[i];
356 dictionary[i] = dictionary[i+1];
399 if (aKey == dictionary[i].key)
400 return (OSObject *) dictionary[i].value;
499 obj = srcDict->getObject(dictionary[i].key);
503 if ( !dictionary[i].value->isEqualTo(obj) )
540 *ret = (OSObject *) dictionary[index].key;
554 const OSSymbol *key = dictionary[i].key;
576 if (!dictionary[i].value->serialize(s)) return false;
589 OSCollection *v = OSDynamicCast(OSCollection, dictionary[i].value);
624 const OSMetaClassBase *obj = dictionary[i].value;
632 newDict->dictionary[i].value = newColl;