Searched refs:theKext (Results 1 - 25 of 26) sorted by last modified time

12

/macosx-10.9.5/xnu-2422.115.4/libsa/
H A Dbootstrap.cpp671 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 DOSKext.cpp104 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 DOSMetaClass.cpp763 OSKext * theKext = NULL; // must release local
765 theKext = OSKext::lookupKextWithIdentifier(kextIdentifier);
766 if (!theKext) {
770 result = theKext->hasOSMetaClassInstances();
773 OSSafeRelease(theKext);
H A DOSRuntime.cpp277 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 Dkextcache_main.c111 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 Dkextd_request.c99 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 Dkextutil_main.c868 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 Dsecurity.c56 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 Dsecurity.h65 Boolean isInLibraryExtensionsFolder(OSKextRef theKext);
H A Dkext_tools_util.c286 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 Dkext_tools_util.h197 OSKextRef theKext );
H A Dkextcache_main.h328 OSKextRef theKext,
340 OSKextRef theKext);
H A Dkcgen_main.c542 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 Dkcgen_main.h199 OSKextRef theKext,
H A Dkextload_main.c476 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 Dmkext1_file.c94 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 Dkextfind_commands.c38 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 Dkextfind_query.c260 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 Dkextlibs_main.c122 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 Dmkextunpack_main.c457 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 Dkextfind_main.c69 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 Dkextfind_report.c146 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 Dkextlibs_main.h107 OSKextRef theKext; member in struct:__anon9212
/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/
H A DOSKext.c837 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 DOSKextLib.cpp57 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...]

Completed in 344 milliseconds

12