Lines Matching refs:nullptr
185 static const char * const gNVRAMSystemList[] = { IONVRAMSystemVariableList, nullptr };
186 static const char * const gNVRAMSystemListInternal[] = { IONVRAMSystemVariableListInternal, nullptr…
252 {nullptr, kOFVariableTypeData} // Default type to return
315 {nullptr, {.Bits.FullAccess = 1}} // Default access
348 {0, &UUID_NULL, nullptr, nullptr}
367 while (entry->name != nullptr) { in getVariableType()
389 while (entry->name != nullptr) { in getVariablePermission()
405 while (list[i] != nullptr) { in variableInAllowList()
502 if (varGuid == nullptr || variableName == nullptr || destGuid == nullptr) { in translateGUID()
546 if (varGuid == nullptr || varName == nullptr || veChecked == nullptr) { in verifyVarEntitlement()
558 while ((entry != nullptr) && (entry->varName != nullptr)) { in verifyVarEntitlement()
729 if (canonicalString == nullptr) { in keyWithGuidAndCString()
752 if (iter == nullptr) { in dumpDict()
794 require(_provider != nullptr, error); in OSDefineMetaClassAndStructors()
877 require(_provider != nullptr, error); in OSDefineMetaClassAndStructors()
882 require(_variableLock != nullptr, error); in OSDefineMetaClassAndStructors()
885 require(_stats != nullptr, error); in OSDefineMetaClassAndStructors()
888 require(serializer != nullptr, error); in OSDefineMetaClassAndStructors()
918 const char *opCountKey = nullptr; in logVariable()
929 if (existingEntry == nullptr) { in logVariable()
936 if (existingEntry->getObject(kIODTNVRAMDiagsPresentKey) == nullptr) { in logVariable()
965 if (currentCount == nullptr) { in logVariable()
1042 if (_provider == nullptr) { in start()
1070 if (dict == nullptr) { in serializeProperties()
1076 if (iter == nullptr) { in serializeProperties()
1110 return nullptr; in copyProperty()
1142 if (dict == nullptr) { in setProperties()
1148 if (iter == nullptr) { in setProperties()
1155 if (key == nullptr) { in setProperties()
1160 if (object == nullptr) { in setProperties()
1273 require(_variableLock != nullptr, fail); in init()
1276 require(_controllerLock != nullptr, fail); in init()
1280 require(dict != nullptr, fail); in init()
1304 require_action(_controllerLock != nullptr, no_common, DEBUG_INFO("x86 init\n")); in start()
1417 OSData *data = nullptr; in initImageFormat()
1419 const uint8_t *image = nullptr; in initImageFormat()
1423 require(entry != nullptr, skip); in initImageFormat()
1426 require(prop != nullptr, skip); in initImageFormat()
1429 require(data != nullptr, skip); in initImageFormat()
1436 require(prop != nullptr, skip); in initImageFormat()
1439 require_action(data != nullptr, skip, DEBUG_ERROR("No proxy data!\n")); in initImageFormat()
1457 if (entry != nullptr) { in initImageFormat()
1576 if (localVarDict != nullptr) { in dictionaryWithProperties()
1582 if (returnDict == nullptr) { in dictionaryWithProperties()
1589 if (iter == nullptr) { in dictionaryWithProperties()
1607 if (iter == nullptr) { in dictionaryWithProperties()
1616 if (returnDict->getObject(varName) != nullptr) { in dictionaryWithProperties()
1703 if (_varDict == nullptr) { in copyPropertyWithGUIDAndName()
1725 if (theObject != nullptr) { in copyPropertyWithGUIDAndName()
1742 return nullptr; in copyProperty()
1758 if (keySymbol != nullptr) { in copyProperty()
1790 OSString *tmpString = nullptr; in setPropertyWithGUIDAndName()
1805 if (tmpString != nullptr) { in setPropertyWithGUIDAndName()
1839 if (tmpString != nullptr) { in setPropertyWithGUIDAndName()
1873 if (propObject != nullptr) { in setPropertyWithGUIDAndName()
1888 if (propObject == nullptr) { in setPropertyWithGUIDAndName()
1890 if (tmpString != nullptr) { in setPropertyWithGUIDAndName()
1896 if (propObject != nullptr) { in setPropertyWithGUIDAndName()
1902 if ((propObject != nullptr) && ((OSDynamicPtrCast<OSData>(propObject))->getLength() == 0)) { in setPropertyWithGUIDAndName()
1911 if (propObject == nullptr) { in setPropertyWithGUIDAndName()
1995 if (_varDict == nullptr) { in removePropertyWithGUIDAndName()
2011 ret = _format->setVariable(newGuid, name, nullptr); in removePropertyWithGUIDAndName()
2052 if (dict == nullptr) { in setProperties()
2058 if (iter == nullptr) { in setProperties()
2065 if (key == nullptr) { in setProperties()
2070 if (object == nullptr) { in setProperties()