/macosx-10.10/kext_tools-384.1.4/ |
H A D | kextfind_commands.h | 32 OSKextRef theKext, 38 OSKextRef theKext, 42 OSKextRef theKext, 46 OSKextRef theKext, 51 OSKextRef theKext, 56 OSKextRef theKext, 61 OSKextRef theKext, 67 OSKextRef theKext, 71 OSKextRef theKext, 76 OSKextRef theKext, [all...] |
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 | security.h | 64 Boolean isInExceptionList(OSKextRef theKext, CFURLRef theKextURL, Boolean useCache); 65 Boolean isInLibraryExtensionsFolder(OSKextRef theKext); 66 Boolean isInSystemLibraryExtensionsFolder(OSKextRef 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 | 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 | kextload_main.c | 505 OSKextRef theKext = NULL; // do not release local 522 theKext = OSKextGetKextWithIdentifier(kextID); 523 if (!theKext) { 543 OSStatus sigResult = checkKextSignature(theKext, true, earlyBoot); 568 loadResult = OSKextLoadWithOptions(theKext, 608 OSKextRef theKext = NULL; // do not release local 615 theKext = OSKextGetKextWithURL(kextURL); 616 if (theKext) { 624 myBundleID = OSKextGetIdentifier(theKext); 637 sigResult = checkKextSignature(theKext, tru [all...] |
H A D | kcgen_main.c | 561 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex(prelinkKexts, i); local 563 kextID = OSKextGetIdentifier(theKext); 744 OSKextRef theKext = OSKextGetKextWithIdentifier(kextID); local 746 if (!theKext) { 766 if (checkKextForProblems(context->toolArgs, theKext, context->arch)) { 777 RANGE_ALL(context->kextArray), theKext)) 779 CFArrayAppendValue(context->kextArray, theKext); 790 OSKextRef theKext, 796 if (!CFURLGetFileSystemRepresentation(OSKextGetURL(theKext), 804 if (!OSKextSupportsArchitecture(theKext, arc 788 checkKextForProblems( KcgenArgs * toolArgs, OSKextRef theKext, const NXArchInfo * arch) argument 883 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local 894 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local [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); 1024 OSKextRef theKext = NULL; // must release local 1167 theKext = OSKextGetKextWithIdentifier(kextID); 1168 if (theKext) { 1169 CFRetain(theKext); // we're going to release it 1176 theKext [all...] |
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 | kextcache_main.c | 112 static void _appendIfNewest(CFMutableArrayRef theArray, OSKextRef theKext); 2018 OSKextRef theKext = OSKextGetKextWithIdentifier(kextID); local 2023 if (!theKext) { 2040 if (kextMatchesFilter(context->toolArgs, theKext, 2043 RANGE_ALL(context->kextArray), theKext)) 2045 CFArrayAppendValue(context->kextArray, theKext); 2107 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local 2110 if (!kextMatchesFilter(toolArgs, theKext, requiredFlags)) { 2114 if (!CFURLGetFileSystemRepresentation(OSKextGetURL(theKext), 2134 if (!CFArrayContainsValue(firstPassArray, RANGE_ALL(firstPassArray), theKext)) { 2150 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local 2204 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex( local 2313 _appendIfNewest(CFMutableArrayRef theArray, OSKextRef theKext) argument 2457 kextMatchesFilter( KextcacheArgs * toolArgs, OSKextRef theKext, OSKextRequiredFlags requiredFlags) argument [all...] |
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 | 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 | security.c | 56 static Boolean bundleIdIsInExceptionList(OSKextRef theKext, CFDictionaryRef theDict); 66 void messageTraceExcludedKext(OSKextRef theKext) argument 77 kextURL = CFURLCopyAbsoluteURL(OSKextGetURL(theKext)); 82 versionString = OSKextGetValueForInfoDictionaryKey(theKext, 87 bundleIDString = OSKextGetValueForInfoDictionaryKey(theKext, 1308 * theKext can be NULL if you just want the invalidate the cache. 1310 Boolean isInExceptionList(OSKextRef theKext, argument 1439 if (theKext == NULL) { 1445 kextURL = CFURLCopyAbsoluteURL(OSKextGetURL(theKext)); 1460 if (bundleIdIsInExceptionList(theKext, sExceptionListDic 1495 bundleIdIsInExceptionList(OSKextRef theKext, CFDictionaryRef theDict) argument 1656 isInLibraryExtensionsFolder(OSKextRef theKext) argument 1674 isInSystemLibraryExtensionsFolder(OSKextRef theKext) argument [all...] |
H A D | kextutil_main.c | 896 OSKextRef theKext = NULL; // do not release local 933 theKext = OSKextGetKextWithURL(kextURL); 934 if (!theKext) { 939 addToArrayIfAbsent(kextsToProcess, theKext); 947 OSKextSetLoggingEnabled(theKext, true); 1007 theKext = scanKext; 1012 if (!theKext) { 1018 theKext = OSKextGetKextWithIdentifier(thisKextID); 1021 if (!theKext) { 1030 kextURL = OSKextGetURL(theKext); 1086 OSKextRef theKext = NULL; // do not release local 1161 OSKextRef theKext = (OSKextRef)CFArrayGetValueAtIndex(kextsToProcess, i); local [all...] |
H A D | kextlibs_main.h | 107 OSKextRef theKext; member in struct:__anon9265
|
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 | kcgen_main.h | 200 OSKextRef theKext,
|
H A D | kext_tools_util.h | 214 OSKextRef theKext );
|
H A D | kextcache_main.h | 334 OSKextRef theKext, 346 OSKextRef theKext);
|
H A D | kext_tools_util.c | 287 void addKextToAlertDict( CFMutableDictionaryRef *theDictPtr, OSKextRef theKext ) 298 if ( theDictPtr == NULL || theKext == NULL ) { 315 myBundleID = OSKextGetIdentifier(theKext); 325 myBundleVersion = OSKextGetValueForInfoDictionaryKey(theKext, 331 myKextURL = CFURLCopyAbsoluteURL(OSKextGetURL(theKext));
|
/macosx-10.10/xnu-2782.1.97/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...] |
/macosx-10.10/xnu-2782.1.97/libkern/c++/ |
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...] |
H A D | OSKext.cpp | 104 static void * GetAppleTEXTHashForKext(OSKext * theKext, OSDictionary *theInfoDict); 428 OSKext * theKext = (OSKext *)user_data; local 434 OSKextLog(theKext, 438 theKext->getIdentifierCString()); 446 OSKextLog(theKext, 450 theKext->getIdentifierCString()); 454 OSKextLog(theKext, 458 theKext->getIdentifierCString(), 461 theKext->setLinkedExecutable(linkBuffer); 487 OSKext *theKext local 4131 OSKext * theKext = NULL; // do not release local 7264 OSKext * theKext = NULL; // must release local 7347 OSKext * theKext = NULL; // do not release local 8926 OSKext * theKext = NULL; // do not release local 10071 OSKext * theKext = OSDynamicCast(OSKext, rawKext); local 10438 GetAppleTEXTHashForKext(OSKext * theKext, OSDictionary *theInfoDict) argument [all...] |
H A D | OSMetaClass.cpp | 762 OSKext * theKext = NULL; // must release local 764 theKext = OSKext::lookupKextWithIdentifier(kextIdentifier); 765 if (!theKext) { 769 result = theKext->hasOSMetaClassInstances(); 772 OSSafeRelease(theKext);
|
/macosx-10.10/xnu-2782.1.97/libsa/ |
H A D | bootstrap.cpp | 611 OSKext * theKext = NULL; // don't release local 645 theKext = OSDynamicCast(OSKext, extensionsDict->getObject(bundleID)); 646 if (!theKext) { 651 theKext->getPropertyForHostArch(kAppleSecurityExtensionKey)); 684 OSKext * theKext = NULL; // must release local 689 OSSafeReleaseNULL(theKext); 690 theKext = OSKext::lookupKextWithIdentifier(*kextIDPtr); 692 if (theKext) { 706 OSSafeRelease(theKext); 726 OSKext * theKext local [all...] |