Lines Matching refs:OSDictionary

138 	OSSharedPtr<OSDictionary> & requestP);
139 static OSString * _OSKextGetRequestPredicate(OSDictionary * requestDict);
141 OSDictionary * requestDict,
144 OSDictionary * requestDict,
151 OSDictionary * dict,
323 static OSSharedPtr<OSDictionary> sKextsByID;
324 static OSSharedPtr<OSDictionary> sExcludeListByID;
327 static OSSharedPtr<OSDictionary> sNonLoadableKextsByID;
330 static OSSharedPtr<OSDictionary> sDriverKitToUpgradeByID;
934 fakeKext->infoDict = OSDictionary::withCapacity(5); in allocAndInitFakeKext()
986 sKextsByID = OSDictionary::withCapacity(kOSKextTypicalLoadCount); in initialize()
994 sDriverKitToUpgradeByID = OSDictionary::withCapacity(kOSKextTypicalUpgradeCount); in initialize()
1642 OSSharedPtr<OSDictionary> exitRequest; in willShutdown()
1725 OSDictionary * current = NULL; in removeDaemonExitRequests()
1731 current = OSDynamicCast(OSDictionary, sKernelRequests->getObject(index)); in removeDaemonExitRequests()
1954 OSDictionary * anInfoDict, in withPrelinkedInfoDict()
1969 OSDictionary * anInfoDict, in parseDextUniqueID()
1999 OSDictionary * anInfoDict, in setDextUniqueIDInPersonalities()
2002 OSDictionary * dextPersonalities = NULL; in setDextUniqueIDInPersonalities()
2006 dextPersonalities = OSDynamicCast(OSDictionary, in setDextUniqueIDInPersonalities()
2019 OSDictionary * personality = OSDynamicCast(OSDictionary, in setDextUniqueIDInPersonalities()
2033 OSDictionary * anInfoDict, in initWithPrelinkedInfoDict()
2335 OSKext::withCodelessInfo(OSDictionary * anInfoDict, OSKextInitResult *result) in withCodelessInfo()
2356 OSKext::initWithCodelessInfo(OSDictionary * anInfoDict) in initWithCodelessInfo()
2513 OSDictionary * theInfoDict = NULL; // do not release in initWithBooterData()
2559 theInfoDict = OSDynamicCast(OSDictionary, parsedXML.get()); in initWithBooterData()
2979 OSDictionary * aDictionary, in setInfoDictionaryAndPath()
2989 OSDictionary * scratchDict = NULL; // do not release in setInfoDictionaryAndPath()
2997 if (!aDictionary || !OSDynamicCast(OSDictionary, aDictionary)) { in setInfoDictionaryAndPath()
3137 scratchDict = OSDynamicCast(OSDictionary, in setInfoDictionaryAndPath()
3201 uniqueStringPlistProperty(OSDictionary * dict, const char * key) in uniqueStringPlistProperty()
3235 uniqueStringPlistProperty(OSDictionary * dict, const OSString * key) in uniqueStringPlistProperty()
3267 OSKext::uniquePersonalityProperties(OSDictionary * personalityDict) in uniquePersonalityProperties()
3278 OSKext::uniquePersonalityProperties(OSDictionary * personalityDict, bool defaultAddKernelBundleIden… in uniquePersonalityProperties()
3430 OSDictionary ** mkextPlistOut, in readMkext2Archive()
3449 OSDictionary * mkextPlist = NULL; // do not release in readMkext2Archive()
3543 mkextPlist = OSDynamicCast(OSDictionary, parsedXML.get()); in readMkext2Archive()
3572 OSDictionary * infoDict; in readMkext2Archive()
3575 infoDict = OSDynamicCast(OSDictionary, in readMkext2Archive()
3622 OSSharedPtr<OSDictionary> &mkextPlistOut, in readMkext2Archive()
3625 OSDictionary * mkextPlist = NULL; in readMkext2Archive()
3641 OSDictionary * anInfoDict, in withMkext2Info()
3657 OSDictionary * anInfoDict, in initWithMkext2Info()
3979 OSSharedPtr<OSDictionary> mkextPlist; in loadFromMkext()
3985 OSDictionary * requestArgs = NULL; // do not release in loadFromMkext()
4071 requestArgs = OSDynamicCast(OSDictionary, in loadFromMkext()
4746 OSSharedPtr<OSDictionary>
4749 OSSharedPtr<OSDictionary> result; in copyKexts()
4752 result = OSDynamicPtrCast<OSDictionary>(sKextsByID->copyCollection()); in copyKexts()
4773 OSDictionary * theDictionary, in createExcludeListFromBooterData()
4782 OSDictionary * theInfoDict = NULL; // do not release in createExcludeListFromBooterData()
4838 theInfoDict = OSDynamicCast(OSDictionary, parsedXML.get()); in createExcludeListFromBooterData()
4868 OSDictionary * myInfoDict = NULL; // do not release in createExcludeListFromPrelinkInfo()
4874 myInfoDict = OSDynamicCast(OSDictionary, theInfoArray->getObject(i)); in createExcludeListFromPrelinkInfo()
4897 OSKext::updateExcludeList(OSDictionary *infoDict) in updateExcludeList()
4899 OSDictionary *myTempDict = NULL; // do not free in updateExcludeList()
4908 myTempDict = OSDynamicCast(OSDictionary, infoDict->getObject("OSKextExcludeList")); in updateExcludeList()
4926 sExcludeListByID = OSDictionary::withDictionary(myTempDict, 0); in updateExcludeList()
6079 OSSharedPtr<OSDictionary> loadRequest; in loadKextWithIdentifier()
6202 OSKext::loadKextFromKC(OSKext *theKext, OSDictionary *requestDict) in loadKextFromKC()
6315 OSKext::loadCodelessKext(OSString *kextIdentifier, OSDictionary *requestDict) in loadCodelessKext()
6318 OSDictionary *anInfoDict = NULL; // do not release in loadCodelessKext()
6320 anInfoDict = OSDynamicCast(OSDictionary, in loadCodelessKext()
8947 OSSharedPtr<OSDictionary> loadRequest;
9178 OSDictionary * callbackRecord = OSDynamicCast(OSDictionary,
9336 OSSharedPtr<OSDictionary> prelinkRequest;
9469 OSDictionary * libraries = NULL; // do not release
9543 libraries = OSDynamicCast(OSDictionary,
10189 OSDictionary * request = NULL; //do not release
10194 request = OSDynamicCast(OSDictionary, requests->getObject(requestIndex));
10288 OSDictionary * requestDict = NULL; // do not release
10329 requestDict = OSDynamicCast(OSDictionary, parsedXML.get());
10865 OSDictionary *infoDict, const char *text_seg_name,
10911 OSDictionary *kextDict = NULL;
10912 kextDict = OSDynamicCast(OSDictionary, kextArray->getObject(i));
10986 OSDictionary *infoDict, const char *text_seg_name,
11023 OSDictionary *infoDict = OSDynamicCast(OSDictionary, parsedXML.get());
11368 OSSharedPtr<OSDictionary>
11373 OSSharedPtr<OSDictionary> result;
11374 OSSharedPtr<OSDictionary> kextInfo;
11417 result = OSDictionary::withCapacity(max_count);
11502 OSSharedPtr<OSDictionary>
11504 OSDictionary *requestDict,
11507 OSSharedPtr<OSDictionary> result;
11598 result = OSDictionary::withCapacity(sKextsByID->getCount());
11608 OSSharedPtr<OSDictionary> kextInfo;
11741 OSSharedPtr<OSDictionary> kextInfo;
11798 OSSharedPtr<OSDictionary> kextInfo;
11848 OSSharedPtr<OSDictionary>
11853 OSSharedPtr<OSDictionary> result;
11895 result = OSDictionary::withCapacity(128);
11942 OSSharedPtr<OSDictionary> kextInfo;
11996 OSSharedPtr<OSDictionary>
11999 OSSharedPtr<OSDictionary> result;
12014 OSSharedPtr<OSDictionary> metaClassDict;
12021 result = OSDictionary::withCapacity(_OSKextLoadInfoDictCapacity);
12405OSDictionary *libraries = OSDynamicCast(OSDictionary, getPropertyForHostArch(kOSBundleLibrariesKey…
12625 metaClassDict = OSDictionary::withCapacity(3);
12724 OSSharedPtr<OSDictionary> requestDict;
12728 OSSharedPtr<OSDictionary> callbackRecord;
12813 callbackRecord = OSDynamicPtrCast<OSDictionary>(requestDict->copyCollection());
12888 OSSharedPtr<OSDictionary> requestDict;
12970 OSSharedPtr<OSDictionary> requestDict;
13022 OSSharedPtr<OSDictionary> &callbackRecordOut)
13024 OSDictionary * callbackRecordOutRaw = NULL;
13039 OSDictionary ** callbackRecordOut)
13064 OSSharedPtr<OSDictionary> &callbackRecordOut)
13066 OSDictionary * callbackRecordOutRaw = NULL;
13081 OSDictionary ** callbackRecordOut)
13084 OSDictionary * callbackRecord = NULL; // retain if matched!
13091 callbackRecord = OSDynamicCast(OSDictionary,
13163 OSKext::loadFileSetKexts(OSDictionary * requestDict __unused)
13199 OSDictionary * requestArgs = NULL; // do not release
13206 requestArgs = OSDynamicCast(OSDictionary,
13273 OSDictionary *infoDict;
13275 infoDict = OSDynamicCast(OSDictionary, parsedXML.get());
13370 OSDictionary *infoDict;
13371 infoDict = OSDynamicCast(OSDictionary,
13597 OSDictionary *infoDict = NULL;
13740 infoDict = OSDynamicCast(OSDictionary, parsedXML.get());
14180 OSDictionary *infoDict,
14225 OSDictionary *infoDict,
14282 OSKext::dispatchResource(OSDictionary * requestDict)
14285 OSSharedPtr<OSDictionary> callbackRecord;
14374 OSKext::setMissingAuxKCBundles(OSDictionary * requestDict)
14376 OSSharedPtr<OSDictionary> missingIDs;
14385 missingIDs = OSDictionary::withCapacity(bundleIDList->getCount());
14409 OSKext::setAuxKCBundleAvailable(OSString *kextIdentifier, OSDictionary *requestDict)
14429 sNonLoadableKextsByID = OSDictionary::withCapacity(1);
14448 OSDictionary * callbackRecord,
14490 OSSharedPtr<OSDictionary> callbackRecord;
14525 OSDictionary * request = OSDynamicCast(OSDictionary,
14575 OSDictionary * request = OSDynamicCast(OSDictionary,
14607 OSSharedPtr<OSDictionary> & requestR)
14610 OSSharedPtr<OSDictionary> request;
14612 request = OSDictionary::withCapacity(2);
14634 _OSKextGetRequestPredicate(OSDictionary * requestDict)
14644 OSDictionary * requestDict,
14647 OSDictionary * args = OSDynamicCast(OSDictionary,
14659 OSDictionary * requestDict,
14663 OSDictionary * args = OSDynamicCast(OSDictionary,
14665 OSSharedPtr<OSDictionary> newArgs;
14667 newArgs = OSDictionary::withCapacity(2);
14709 OSDictionary * dict,
14929 OSDictionary * personalities = NULL; // do not release
14935 personalities = OSDynamicCast(OSDictionary,
14953 OSDictionary * personality = OSDynamicCast(OSDictionary,
14990 OSDictionary * kextPersonalities = NULL; // do not release
15017 kextPersonalities = OSDynamicCast(OSDictionary,
15035 OSDictionary * personality = OSDynamicCast(OSDictionary,
15065 OSSharedPtr<OSDictionary> personality;
15067 personality = OSDictionary::withCapacity(1);
15095 OSSharedPtr<OSDictionary> personalityToRemove = OSDictionary::withCapacity(1);
15458 if (myTypeID == OSTypeID(OSDictionary)) {
15459 OSDictionary * myDictionary;
15461 myDictionary = OSDynamicCast(OSDictionary, theObject);