Lines Matching defs:dict
155 bool OSDictionary::initWithDictionary(const OSDictionary *dict,
160 if ( !dict )
163 newCapacity = dict->count;
166 if ( dict->count > theCapacity )
175 if ((kSort & fOptions) && !(kSort & dict->fOptions)) {
176 for (unsigned int i = 0; i < dict->count; i++) {
177 if (!setObject(dict->dictionary[i].key, dict->dictionary[i].value)) {
184 count = dict->count;
185 bcopy(dict->dictionary, dictionary, count * sizeof(dictEntry));
236 OSDictionary *OSDictionary::withDictionary(const OSDictionary *dict,
241 if (me && !me->initWithDictionary(dict, capacity)) {
554 OSDictionary *dict;
556 dict = OSDynamicCast(OSDictionary, anObject);
557 if ( dict )
558 return isEqualTo(dict);
593 if (!s->addXMLStartTag(this, "dict")) return false;
621 return s->addXMLEndTag("dict");