Lines Matching refs:propObject
1791 OSSharedPtr<OSObject> propObject; in setPropertyWithGUIDAndName() local
1858 propObject = OSDynamicPtrCast<OSBoolean>(sharedObject); in setPropertyWithGUIDAndName()
1859 if (propObject) { in setPropertyWithGUIDAndName()
1860 …VENT_SUBSYSTEM_NVRAM, "write", "%s as bool to %d", name, ((OSBoolean *)propObject.get())->getValue… in setPropertyWithGUIDAndName()
1865 propObject = OSDynamicPtrCast<OSNumber>(sharedObject); in setPropertyWithGUIDAndName()
1866 if (propObject) { in setPropertyWithGUIDAndName()
1867 …_SUBSYSTEM_NVRAM, "write", "%s as number to %#llx", name, ((OSNumber *)propObject.get())->unsigned… in setPropertyWithGUIDAndName()
1872 propObject = OSDynamicPtrCast<OSString>(sharedObject); in setPropertyWithGUIDAndName()
1873 if (propObject != nullptr) { in setPropertyWithGUIDAndName()
1874 …ENT_SUBSYSTEM_NVRAM, "write", "%s as string to %s", name, ((OSString *)propObject.get())->getCStri… in setPropertyWithGUIDAndName()
1876 propDataSize = (OSDynamicPtrCast<OSString>(propObject))->getLength(); in setPropertyWithGUIDAndName()
1887 propObject = OSDynamicPtrCast<OSData>(sharedObject); in setPropertyWithGUIDAndName()
1888 if (propObject == nullptr) { in setPropertyWithGUIDAndName()
1891 propObject = OSData::withBytes(tmpString->getCStringNoCopy(), in setPropertyWithGUIDAndName()
1896 if (propObject != nullptr) { in setPropertyWithGUIDAndName()
1897 propDataSize = (OSDynamicPtrCast<OSData>(propObject))->getLength(); in setPropertyWithGUIDAndName()
1898 …SUBSYSTEM_NVRAM, "write", "%s as data with size %#x", name, ((OSData *)propObject.get())->getLengt… in setPropertyWithGUIDAndName()
1902 if ((propObject != nullptr) && ((OSDynamicPtrCast<OSData>(propObject))->getLength() == 0)) { in setPropertyWithGUIDAndName()
1911 if (propObject == nullptr) { in setPropertyWithGUIDAndName()
1924 ok = handleSpecialVariables(name, guid, propObject.get(), &ret); in setPropertyWithGUIDAndName()
1938 ret = _format->setVariable(newGuid, name, propObject.get()); in setPropertyWithGUIDAndName()
1947 propObject.reset(); in setPropertyWithGUIDAndName()