/macosx-10.9.5/xnu-2422.115.4/libsa/ |
H A D | bootstrap.cpp | 671 OSKext * theKext = NULL; // don't release local 705 theKext = OSDynamicCast(OSKext, extensionsDict->getObject(bundleID)); 706 if (!theKext) { 711 theKext->getPropertyForHostArch(kAppleSecurityExtensionKey)); 744 OSKext * theKext = NULL; // must release local 749 OSSafeReleaseNULL(theKext); 750 theKext = OSKext::lookupKextWithIdentifier(*kextIDPtr); 752 if (theKext) { 766 OSSafeRelease(theKext); 786 OSKext * theKext local [all...] |
/macosx-10.9.5/xnu-2422.115.4/libkern/c++/ |
H A D | OSKext.cpp | 104 static void * GetAppleTEXTHashForKext(OSKext * theKext, OSDictionary *theInfoDict); 432 OSKext * theKext = (OSKext *)user_data; local 438 OSKextLog(theKext, 442 theKext->getIdentifierCString()); 450 OSKextLog(theKext, 454 theKext->getIdentifierCString()); 458 OSKextLog(theKext, 462 theKext->getIdentifierCString(), 465 theKext->setLinkedExecutable(linkBuffer); 491 OSKext *theKext local 2357 OSKext * theKext = NULL; // must release local 4444 OSKext * theKext = NULL; // do not release local 7589 OSKext * theKext = NULL; // must release local 7673 OSKext * theKext = NULL; // do not release local 9300 OSKext * theKext = NULL; // do not release local 10425 OSKext * theKext = OSDynamicCast(OSKext, rawKext); local 10777 GetAppleTEXTHashForKext(OSKext * theKext, OSDictionary *theInfoDict) argument [all...] |
H A D | OSMetaClass.cpp | 763 OSKext * theKext = NULL; // must release local 765 theKext = OSKext::lookupKextWithIdentifier(kextIdentifier); 766 if (!theKext) { 770 result = theKext->hasOSMetaClassInstances(); 773 OSSafeRelease(theKext);
|
H A D | OSRuntime.cpp | 277 OSKext * theKext = NULL; // must release local 280 theKext = OSKext::lookupKextWithIdentifier(kmodInfo->name); 299 OSRuntimeLog(theKext, kOSRuntimeLogSpec, 309 OSSafeRelease(theKext); 356 OSKext * theKext = NULL; // must release local 359 theKext = OSKext::lookupKextWithIdentifier(kmodInfo->name); 362 if (theKext && !theKext->isCPPInitialized()) { 372 OSRuntimeLog(theKext, kOSRuntimeLogSpec, 389 if (theKext) { 408 OSKext * theKext = NULL; // must release local [all...] |
/macosx-10.9.5/kext_tools-326.95.1/ |
H A D | kextcache_main.c | 111 static Boolean _isNewerVersionInArray(OSKextRef theKext, CFArrayRef theArray); 1878 OSKextRef theKext = OSKextGetKextWithIdentifier(kextID); local 1883 if (!theKext) { 1900 if (kextMatchesFilter(context->toolArgs, theKext, 1903 RANGE_ALL(context->kextArray), theKext)) 1905 CFArrayAppendValue(context->kextArray, theKext); 1964 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local 1967 if (!kextMatchesFilter(toolArgs, theKext, requiredFlags)) { 1971 if (!CFURLGetFileSystemRepresentation(OSKextGetURL(theKext), 1991 if (!CFArrayContainsValue(firstPassArray, RANGE_ALL(firstPassArray), theKext)) { 2007 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local 2052 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local 2190 _isNewerVersionInArray( OSKextRef theKext, CFArrayRef theArray ) argument 2323 kextMatchesFilter( KextcacheArgs * toolArgs, OSKextRef theKext, OSKextRequiredFlags requiredFlags) argument [all...] |
H A D | kextd_request.c | 99 OSKextRef theKext = NULL; // must release local 126 theKext = OSKextCreateWithIdentifier(kCFAllocatorDefault, kextID); 127 if (!theKext) { 134 kextURL = OSKextGetURL(theKext); 162 SAFE_RELEASE(theKext); 1069 OSKextRef theKext = NULL; // must release local 1212 theKext = OSKextGetKextWithIdentifier(kextID); 1213 if (theKext) { 1214 CFRetain(theKext); // we're going to release it 1221 theKext [all...] |
H A D | kextutil_main.c | 868 OSKextRef theKext = NULL; // do not release local 905 theKext = OSKextGetKextWithURL(kextURL); 906 if (!theKext) { 911 addToArrayIfAbsent(kextsToProcess, theKext); 919 OSKextSetLoggingEnabled(theKext, true); 979 theKext = scanKext; 984 if (!theKext) { 990 theKext = OSKextGetKextWithIdentifier(thisKextID); 993 if (!theKext) { 1002 kextURL = OSKextGetURL(theKext); 1058 OSKextRef theKext = NULL; // do not release local 1133 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex(kextsToProcess, i); local [all...] |
H A D | security.c | 56 void messageTraceExcludedKext(OSKextRef theKext) argument 67 kextURL = CFURLCopyAbsoluteURL(OSKextGetURL(theKext)); 72 versionString = OSKextGetValueForInfoDictionaryKey(theKext, 77 bundleIDString = OSKextGetValueForInfoDictionaryKey(theKext, 1228 * theKext can be NULL if you just want the invalidate the cache. 1230 Boolean isInExceptionList(OSKextRef theKext, Boolean useCache) argument 1276 if (theKext == NULL) { 1306 bundleID = OSKextGetIdentifier(theKext); 1315 kextVers = OSKextGetVersion(theKext); 1394 Boolean isInLibraryExtensionsFolder(OSKextRef theKext) argument [all...] |
H A D | security.h | 65 Boolean isInLibraryExtensionsFolder(OSKextRef theKext);
|
H A D | kext_tools_util.c | 286 void addKextToAlertDict( CFMutableDictionaryRef *theDictPtr, OSKextRef theKext ) 297 if ( theDictPtr == NULL || theKext == NULL ) { 314 myBundleID = OSKextGetIdentifier(theKext); 324 myBundleVersion = OSKextGetValueForInfoDictionaryKey(theKext, 330 myKextURL = CFURLCopyAbsoluteURL(OSKextGetURL(theKext));
|
H A D | kext_tools_util.h | 197 OSKextRef theKext );
|
H A D | kextcache_main.h | 328 OSKextRef theKext, 340 OSKextRef theKext);
|
H A D | kcgen_main.c | 542 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex(prelinkKexts, i); local 544 kextID = OSKextGetIdentifier(theKext); 724 OSKextRef theKext = OSKextGetKextWithIdentifier(kextID); local 726 if (!theKext) { 746 if (checkKextForProblems(context->toolArgs, theKext, context->arch)) { 757 RANGE_ALL(context->kextArray), theKext)) 759 CFArrayAppendValue(context->kextArray, theKext); 770 OSKextRef theKext, 776 if (!CFURLGetFileSystemRepresentation(OSKextGetURL(theKext), 784 if (!OSKextSupportsArchitecture(theKext, arc 768 checkKextForProblems( KcgenArgs * toolArgs, OSKextRef theKext, const NXArchInfo * arch) argument 863 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local 874 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local [all...] |
H A D | kcgen_main.h | 199 OSKextRef theKext,
|
H A D | kextload_main.c | 476 OSKextRef theKext = NULL; // do not release local 493 theKext = OSKextGetKextWithIdentifier(kextID); 494 if (!theKext) { 505 loadResult = OSKextLoadWithOptions(theKext, 545 OSKextRef theKext = NULL; // do not release local 551 theKext = OSKextGetKextWithURL(kextURL); 552 if (!theKext) { 558 loadResult = OSKextLoadWithOptions(theKext,
|
H A D | mkext1_file.c | 94 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex(archiveKexts, i); local 95 CFStringRef bundleIdentifier = OSKextGetIdentifier(theKext); 101 if (!OSKextSupportsArchitecture(theKext, arch)) { 106 CFDictionarySetValue(kextsByIdentifier, bundleIdentifier, theKext); 110 thisVersion = OSKextGetVersion(theKext); 114 CFDictionarySetValue(kextsByIdentifier, bundleIdentifier, theKext);
|
H A D | kextfind_commands.c | 38 OSKextRef theKext, 43 CFURLRef kextURL = OSKextGetURL(theKext); // do not release 54 OSKextLog(theKext, 77 containerKext = OSKextCopyContainerForPluginKext(theKext); 142 OSKextRef theKext, 155 kextPath = copyPathForKext(theKext, pathSpec); 168 bundleID = OSKextGetIdentifier(theKext); 169 bundleVersion = OSKextGetValueForInfoDictionaryKey(theKext, 338 OSKextRef theKext, 344 value = OSKextGetValueForInfoDictionaryKey(theKext, propKe 37 copyPathForKext( OSKextRef theKext, PathSpec pathSpec) argument 141 printKext( OSKextRef theKext, PathSpec pathSpec, Boolean extra_info, char lineEnd) argument 337 printKextProperty( OSKextRef theKext, CFStringRef propKey, char lineEnd) argument 355 printKextMatchProperty( OSKextRef theKext, CFStringRef propKey, char lineEnd) argument 403 printKextArches( OSKextRef theKext, char lineEnd, Boolean printLineEnd) argument 440 printKextDependencies( OSKextRef theKext, PathSpec pathSpec, Boolean extra_info, char lineEnd) argument 468 printKextDependents( OSKextRef theKext, PathSpec pathSpec, Boolean extra_info, char lineEnd) argument 496 printKextPlugins( OSKextRef theKext, PathSpec pathSpec, Boolean extra_info, char lineEnd) argument 527 copyAdjustedPathForURL( OSKextRef theKext, CFURLRef urlToAdjust, PathSpec pathSpec) argument 594 copyKextInfoDictionaryPath( OSKextRef theKext, PathSpec pathSpec) argument 643 printKextInfoDictionary( OSKextRef theKext, PathSpec pathSpec, char lineEnd) argument 676 copyKextExecutablePath( OSKextRef theKext, PathSpec pathSpec) argument 717 printKextExecutable( OSKextRef theKext, PathSpec pathSpec, char lineEnd) argument [all...] |
H A D | kextfind_query.c | 260 OSKextRef theKext = (OSKextRef)object; local 265 kextURL = OSKextGetURL(theKext); 399 OSKextRef theKext = (OSKextRef)object; local 414 foundValue = OSKextGetValueForInfoDictionaryKey(theKext, propName); 636 OSKextRef theKext = (OSKextRef)object; local 637 CFArrayRef personalities = OSKextCopyPersonalitiesArray(theKext); 767 OSKextRef theKext = (OSKextRef)object; local 771 return OSKextIsLoaded(theKext); 773 CFStringRef kextIdentifier = OSKextGetIdentifier(theKext); 782 return OSKextIsValid(theKext); 902 OSKextRef theKext = (OSKextRef)object; local 1029 OSKextRef theKext = (OSKextRef)object; local 1220 _checkArches( OSKextRef theKext, CFArrayRef arches) argument 1266 OSKextRef theKext = (OSKextRef)object; local 1291 OSKextRef theKext = (OSKextRef)object; local 1418 OSKextRef theKext = (OSKextRef)object; local 1576 OSKextRef theKext = (OSKextRef)object; local 1701 OSKextRef theKext = (OSKextRef)object; local [all...] |
H A D | kextlibs_main.c | 122 toolArgs.theKext = OSKextCreate(kCFAllocatorDefault,toolArgs. kextURL); 123 if (!toolArgs.theKext) { 133 if (!OSKextDeclaresExecutable(toolArgs.theKext)) { 134 if (OSKextIsLibrary(toolArgs.theKext)) { 141 CFDictionaryRef libs = OSKextGetValueForInfoDictionaryKey(toolArgs.theKext, 167 arches = OSKextCopyArchitectures(toolArgs.theKext); 193 libInfo[i].libKexts = OSKextFindLinkDependencies(toolArgs.theKext, 285 SAFE_RELEASE(toolArgs.theKext);
|
H A D | mkextunpack_main.c | 457 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex(result, i); local 461 if (!CFURLGetFileSystemRepresentation(OSKextGetURL(theKext), 464 OSKextLogStringError(theKext); 467 kextIdentifier = createUTF8CStringForCFString(OSKextGetIdentifier(theKext)); 468 OSKextVersionGetString(OSKextGetVersion(theKext), kextVersion, 501 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex(kexts, i); local 503 if (!writeMkext2ToDirectory(theKext, outputDirectory, kextNames)) {
|
H A D | kextfind_main.c | 69 OSKextRef theKext = NULL; // don't release local 362 theKext = (OSKextRef)CFArrayGetValueAtIndex(allKexts, i); 364 if (QEQueryEvaluate(query, theKext)) { 367 printKext(theKext, queryContext.pathSpec, 372 QEQueryEvaluate(reportQuery, theKext); 383 QEQueryEvaluate(reportQuery, theKext);
|
H A D | kextfind_report.c | 146 OSKextRef theKext = (OSKextRef)object; local 168 propVal = OSKextGetValueForInfoDictionaryKey(theKext, propKey); 230 OSKextRef theKext = (OSKextRef)object; local 274 cString = OSKextIsLoaded(theKext) ? kWordYes : kWordNo; 276 cString = OSKextIsValid(theKext) ? kWordYes : kWordNo; 278 cString = OSKextIsAuthentic(theKext) ? kWordYes : kWordNo; 280 cString = OSKextResolveDependencies(theKext) ? kWordYes : kWordNo; 282 cString = OSKextIsLoadable(theKext) ? 285 CFDictionaryRef warnings = OSKextCopyDiagnostics(theKext, 291 cString = (OSKextGetCompatibleVersion(theKext) > 497 OSKextRef theKext = (OSKextRef)object; local 605 OSKextRef theKext = (OSKextRef)object; local [all...] |
H A D | kextlibs_main.h | 107 OSKextRef theKext; member in struct:__anon9212
|
/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/ |
H A D | OSKext.c | 837 OSKextRef theKext); 2175 OSKextRef theKext = NULL; // must release local 2197 theKext = OSKextCreate(allocator, anURL); 2198 if (theKext) { 2199 CFArrayAppendValue(result, theKext); 2201 plugins = OSKextCopyPlugins(theKext); 2316 SAFE_RELEASE(theKext); 2872 OSKextRef theKext = NULL; // do not release local 2887 theKext = (OSKextRef)foundEntry; 2889 __OSKextRealize(theKext, /* contex 4278 OSKextRef theKext = NULL; // do not release local 4321 OSKextRef theKext = NULL; // do not release local 4373 OSKextRef theKext = NULL; // do not release local 4440 OSKextRef theKext = (OSKextRef)foundEntry; local 4492 OSKextRef theKext = (OSKextRef)foundEntry; local 4691 OSKextRef theKext = (OSKextRef) CFArrayGetValueAtIndex(kexts, i); local 4914 OSKextRef theKext = (OSKextRef)vValue; local 6266 OSKextIsInExcludeList(OSKextRef theKext, Boolean useCache) argument 7082 OSKextRef theKext = (OSKextRef)vValue; local 14772 __OSKextRequiredAtEarlyBoot( OSKextRef theKext) argument [all...] |
/macosx-10.9.5/xnu-2422.115.4/libkern/ |
H A D | OSKextLib.cpp | 57 OSKext * theKext = NULL; // must release local 63 theKext = OSKext::lookupKextWithIdentifier(kextIdentifier); 64 if (theKext && theKext->isLoaded()) { 65 result = theKext->getLoadTag(); 68 if (theKext) theKext->release(); 77 OSKext * theKext = NULL; // do not release; as this function is a retain local 83 theKext = OSKext::lookupKextWithLoadTag(loadTag); 84 if (theKext) { 113 OSKext * theKext = NULL; // must release twice! local [all...] |