Home
last modified time | relevance | path

Searched refs:getCStringNoCopy (Results 1 – 25 of 37) sorted by relevance

12

/xnu-11215/iokit/Kernel/
H A DIOWorkloadConfig.cpp268 typeStr->getCStringNoCopy()); in parseWorkIntervalType()
384 id.getCStringNoCopy()); in parsePhases()
396 id.getCStringNoCopy(), phase->getCStringNoCopy()); in parsePhases()
436 ret = workload_config_insert(ctx, id.getCStringNoCopy(), phase->getCStringNoCopy(), &config); in parsePhases()
439 id.getCStringNoCopy(), phase->getCStringNoCopy()); in parsePhases()
456 id.getCStringNoCopy()); in parseRoot()
463 id.getCStringNoCopy()); in parseRoot()
469 id.getCStringNoCopy()); in parseRoot()
498 id->getCStringNoCopy()); in parseWorkloadIDTable()
516 defaultPhase->getCStringNoCopy()); in parseWorkloadIDTable()
[all …]
H A DIONVRAM.cpp380 return getVariableType(propSymbol->getCStringNoCopy()); in getVariableType()
760 DEBUG_INFO("%u: %s\n", count, key->getCStringNoCopy()); in dumpDict()
1106 DEBUG_INFO("aKey=%s\n", aKey->getCStringNoCopy()); in copyProperty()
1728 DEBUG_INFO("%s no entry\n", canonicalKey.get()->getCStringNoCopy()); in copyPropertyWithGUIDAndName()
1744 DEBUG_INFO("aKey=%s\n", aKey->getCStringNoCopy()); in copyProperty()
1746 parseVariableName(aKey->getCStringNoCopy(), &varGuid, &variableName); in copyProperty()
1891 propObject = OSData::withBytes(tmpString->getCStringNoCopy(), in setPropertyWithGUIDAndName()
1962 DEBUG_INFO("aKey=%s\n", aKey->getCStringNoCopy()); in setPropertyInternal()
1964 parseVariableName(aKey->getCStringNoCopy(), &varGuid, &variableName); in setPropertyInternal()
2033 DEBUG_INFO("aKey=%s\n", aKey->getCStringNoCopy()); in removePropertyInternal()
[all …]
H A DIOCatalogue.cpp110 errorString->getCStringNoCopy()); in initialize()
189 gIOClassKey->getCStringNoCopy()); in init()
588 theKext = OSKext::lookupKextWithIdentifier(moduleName->getCStringNoCopy()); in personalityIsBoot()
692 return OSKext::removeKextWithIdentifier(moduleName->getCStringNoCopy()); in unloadModule()
748 bundleIDStr = dextBundleID->getCStringNoCopy(); in terminateDrivers()
893 userServerName = name->getCStringNoCopy(); in terminateDriversForUserspaceReboot()
970 if (OSKext::isKextWithIdentifierLoaded(moduleName->getCStringNoCopy())) { in terminateDriversForModule()
979 kext = OSKext::lookupKextWithIdentifier(moduleName->getCStringNoCopy()); in terminateDriversForModule()
1105 kext = OSKext::lookupKextWithIdentifier(moduleName->getCStringNoCopy()); in startMatching()
1183 …ame(), service->getRegistryEntryID(), (long long)terminateOptions, moduleName->getCStringNoCopy()); in startMatching()
[all …]
H A DprintPlist24 IOLog("%s = ", key->getCStringNoCopy());
55 IOLog("\"%s\"\n", string->getCStringNoCopy());
H A DIOPlatformActions.cpp244 IOLog("%s -> %s\n", function->getCStringNoCopy(), service_name); in IOServicePlatformAction()
253 ADDR(function->getCStringNoCopy()), in IOServicePlatformAction()
262 ADDR(function->getCStringNoCopy()), in IOServicePlatformAction()
H A DIONVRAMCHRPHandler.cpp355 parseVariableName(canonicalKey->getCStringNoCopy(), &varGuid, &varName); in flush()
546 const char *varName = propSymbol.get()->getCStringNoCopy(); in unserializeVariables()
657 DEBUG_INFO("_varDict entry %s\n", tmpSymbol->getCStringNoCopy()); in serializeVariables()
750 …, systemVar=%d, existingSize=%u, newSize=%u\n", canonicalKey.get()->getCStringNoCopy(), systemVar,… in setVariableInternal()
778 …DEBUG_INFO("removing %s, systemVar=%d, existingSize=%u\n", canonicalKey.get()->getCStringNoCopy(),… in setVariableInternal()
1103 return convertObjectToProp(buffer, length, propSymbol->getCStringNoCopy(), propObject); in convertObjectToProp()
1210 offset += strlcpy((char *)buffer, tmpString->getCStringNoCopy(), remaining); in convertObjectToProp()
H A DIORegistryEntry.cpp778 if (anObject && strcmp(kIOKitDiagnosticsKey, aKey->getCStringNoCopy()) != 0) { in setProperty()
783 aKey->getCStringNoCopy()); in setProperty()
1022 return sym->getCStringNoCopy(); in getName()
1081 result = sym->getCStringNoCopy(); in getLocation()
1104 …nel_debug_string(IODBG_IOREGISTRY(IOREGISTRYENTRY_NAME_STRING), &str_id, name->getCStringNoCopy()); in setName()
1267 strlcpy( nextComp.discard_bounds(), plane->nameKey->getCStringNoCopy(), len + 1); in getPath()
1277 strlcpy( nextComp.discard_bounds(), alias->getCStringNoCopy(), aliasLen + 1); in getPath()
1318 strlcpy( nextComp.discard_bounds(), alias->getCStringNoCopy(), compLen + 1); in getPath()
2054 if (!strncmp(key->getCStringNoCopy() + keysuffix, in inPlane()
H A DIOPlatformExpert.cpp782 IOLog("%s IOClass is %s\n", inMsg, ioClass->getCStringNoCopy()); in printDictionaryKeys()
791 IOLog("%s IOProviderClass is %s\n", inMsg, ioClass->getCStringNoCopy()); in printDictionaryKeys()
799 IOLog("%s IONameMatch is %s\n", inMsg, ioClass->getCStringNoCopy()); in printDictionaryKeys()
808 IOLog("%s IONameMatched is %s\n", inMsg, ioClass->getCStringNoCopy()); in printDictionaryKeys()
858 strlcpy(outStr, ((OSString *)inObj)->getCStringNoCopy(), outStrLen); in getCStringForObject()
1549 getMetaClass()->getClassName(), functionName->getCStringNoCopy()); in callPlatformFunction()
H A DIOExtensiblePaniclog.cpp185 data_id->getCStringNoCopy(), max_len, inst->iomd->getBytesNoCopy(), in Create_Impl()
H A DIOUserServer.cpp2279 kext = OSKext::lookupKextWithIdentifier(bundleID->getCStringNoCopy()); in Create_Impl()
2290 us->fAllocationName = kern_allocation_name_allocate(bundleID->getCStringNoCopy(), 0); in Create_Impl()
2972 DKLOG("userMeta %s %p\n", str->getCStringNoCopy(), userMeta); in objectInstantiate()
2995 resultClassName = str->getCStringNoCopy(); in objectInstantiate()
2999 DKLOG("userMeta %s was not found in fClasses\n", str->getCStringNoCopy()); in objectInstantiate()
3002 DKLOG(" fClasses[\"%s\"] => %p\n", key->getCStringNoCopy(), val); in objectInstantiate()
4151 if (!IOCurrentTaskHasEntitlement(gIODriverKitEntitlementKey->getCStringNoCopy())) { in OSDefineMetaClassAndStructors()
6544 panic("Kext %s was not a DriverKit OSKext", bundleID->getCStringNoCopy()); in launchUserServer()
6549 DKLOG("Could not find OSKext for %s\n", bundleID->getCStringNoCopy()); in launchUserServer()
6566 serverNameCStr = serverName->getCStringNoCopy(); in launchUserServer()
[all …]
H A DIONVRAMV3Handler.cpp366 parseVariableName(canonicalKey->getCStringNoCopy(), &varGuid, &varName); in flush()
802 canonicalKey->getCStringNoCopy(), v3Entry->header.dataSize, system); in unserializeVariables()
808 kIONVRAMOperationInit, propSymbol.get()->getCStringNoCopy(), in unserializeVariables()
1457 bcopy(tmpString->getCStringNoCopy(), buffer, offset); in convertObjectToProp()
H A DIOPMrootDomain.cpp3981 strlcpy(buffer, string->getCStringNoCopy(), buf_len); in IOPMCopySleepWakeUUIDKey()
4460 type->getCStringNoCopy(), debugSecs);
4772 feature->getCStringNoCopy(), where, featureID);
4854 type->getCStringNoCopy(), ret, kextName->getCStringNoCopy());
6893 powerClient->getCStringNoCopy(),
7416 const char *name = deviceName->getCStringNoCopy();
9389 name = notify->identifier->getCStringNoCopy();
9629 clientName = notifier->clientName->getCStringNoCopy();
10030 deviceName->getCStringNoCopy(), index);
11052 deviceName->getCStringNoCopy(),
[all …]
/xnu-11215/libsa/
H A Dbootstrap.cpp257 if (errorString && errorString->getCStringNoCopy()) { in readPrelinkedExtensions()
258 errorCString = errorString->getCStringNoCopy(); in readPrelinkedExtensions()
430 const char * devTreeNameCString = deviceTreeName->getCStringNoCopy(); in readBooterExtensions()
532 const char * bundle_id = bundleID->getCStringNoCopy(); in loadSecurityExtensions()
551 OSKext::loadKextWithIdentifier(bundleID->getCStringNoCopy(), in loadSecurityExtensions()
636 const char * bundle_id = bundleID->getCStringNoCopy(); in loadKernelExternalComponents()
657 OSKext::loadKextWithIdentifier(bundleID->getCStringNoCopy(), in loadKernelExternalComponents()
705 if (errorString && errorString->getCStringNoCopy()) { in readBuiltinPersonalities()
706 errorCString = errorString->getCStringNoCopy(); in readBuiltinPersonalities()
743 moduleName->getCStringNoCopy()); in readBuiltinPersonalities()
[all …]
/xnu-11215/libkern/c++/Tests/TestSerialization/test1/
H A Dtest1_main.cpp72 IOLog("%s\n", errmsg->getCStringNoCopy()); in test1_start()
89 IOLog("%s\n", errmsg->getCStringNoCopy()); in test1_start()
/xnu-11215/libkern/c++/Tests/TestSerialization/test2/
H A Dtest2_main.cpp128 IOLog("%s\n", errmsg->getCStringNoCopy()); in test2_start()
149 IOLog("%s\n", errmsg->getCStringNoCopy()); in test2_start()
/xnu-11215/iokit/bsddev/
H A DDINetBootHook.cpp216 …IOHDIXController::setProperty(%s, %s) failed.\n", kDIRootImageKey, pathString->getCStringNoCopy()); in di_root_image_ext()
242 strlcpy(devname, myDevName->getCStringNoCopy(), devsz); in di_root_image_ext()
346 strlcpy(devname, myDevName->getCStringNoCopy(), devsz); in di_root_ramfile_buf()
H A DIOKitBSDInit.cpp964 strlcpy( rootName, iostr->getCStringNoCopy(), rootNameSize ); in IOFindBSDRoot()
1111 uuid_parse( string->getCStringNoCopy(), uuid ); in IOBSDGetPlatformUUID()
1548 strlcpy(c_string, string->getCStringNoCopy(), string_length); in copyOSStringAsCString()
1687 strlcpy(value, str->getCStringNoCopy(), len); in IOVnodeGetEntitlement()
/xnu-11215/libkern/c++/
H A DOSKext.cpp4117 kextIdentifier->getCStringNoCopy()); in loadFromMkext()
4962 return bundleID->getCStringNoCopy(); in getIdentifierCString()
5451 dextID->getCStringNoCopy()); in replaceDextInternal()
5667 dextIDCS = bundleID->getCStringNoCopy(); in decrementDextLaunchCount()
10361 predicate->getCStringNoCopy());
10662 predicate->getCStringNoCopy());
11592 loadedState->getCStringNoCopy(),
12701 kext->path->getCStringNoCopy(),
12909 kextIdentifier->getCStringNoCopy(),
12911 serverName->getCStringNoCopy(),
[all …]
H A DOSSymbol.cpp431 return OSSymbol::withCStringNoCopy(aString->getCStringNoCopy()); in withString()
433 return OSSymbol::withCString(aString->getCStringNoCopy()); in withString()
544 .smrk_string = aString->getCStringNoCopy(), in existingSymbolForString()
H A DOSSerializeBinary.cpp309 ok = addBinaryObject(o, key, sym->getCStringNoCopy(), len, NULL); in binarySerializeInternal()
313 ok = addBinaryObject(o, key, str->getCStringNoCopy(), len, NULL); in binarySerializeInternal()
557 DEBG("%s = %s\n", sym->getCStringNoCopy(), o->getMetaClass()->getClassName()); in OSUnserializeBinary()
H A DOSMetaClass.cpp760 return className->getCStringNoCopy(); in getClassName()
1405 const char * cname = className->getCStringNoCopy(); in reservedCalled()
1465 className->getCStringNoCopy(), in printInstanceCounts()
H A DOSString.cpp267 OSString::getCStringNoCopy() const in getCStringNoCopy() function in OSString
/xnu-11215/libkern/libkern/c++/
H A DOSString.h366 virtual const char * getCStringNoCopy() const;
/xnu-11215/iokit/Tests/
H A DTestContainers.cpp273 TEST_ASSERT('s', "1b", testC00 != test1->getCStringNoCopy()); in testString()
274 TEST_ASSERT('s', "1c", strcmp(testC00, test1->getCStringNoCopy()) == 0); in testString()
287 TEST_ASSERT('s', "2b", testC00 == test1->getCStringNoCopy()); in testString()
H A DTests.cpp875 kprintf("%d:%s=%s\n", index, sym->getCStringNoCopy(), str->getCStringNoCopy()); in OSCollectionTest()
887 assert(strcmp(ab->getCStringNoCopy(), "ab") == 0); in OSCollectionTest()
889 assert(strcmp(defgh->getCStringNoCopy(), "defgh") == 0); in OSCollectionTest()
891 assert(strcmp(zyxwvut->getCStringNoCopy(), "zyxwvut") == 0); in OSCollectionTest()

12