Lines Matching defs:sym
1148 const OSSymbol * sym;
1150 sym = OSSymbol::withCStringNoCopy(kIOHibernateBootImageKey);
1151 if (sym)
1153 gIOOptionsEntry->setProperty(sym, data);
1154 sym->release();
1168 sym = OSSymbol::withCStringNoCopy(kIOSelectedBootDeviceKey);
1170 if (sym && str2)
1171 gIOOptionsEntry->setProperty(sym, str2);
1172 if (sym)
1173 sym->release();
1184 sym = OSSymbol::withCStringNoCopy(kIOHibernateMemorySignatureEnvKey);
1185 if (sym && data)
1186 gIOOptionsEntry->setProperty(sym, data);
1187 if (sym)
1188 sym->release();
1243 const OSSymbol *sym;
1244 sym = OSSymbol::withCStringNoCopy(kIOHibernateBootSwitchVarsKey);
1245 if( sym )
1247 gIOOptionsEntry->setProperty(sym, data); /* intentional insecure backup of rtc boot vars */
1248 sym->release();
1265 sym = OSSymbol::withCStringNoCopy(kIOHibernateBootImageKeyKey);
1266 if (sym && data)
1267 gIOOptionsEntry->setProperty(sym, data);
1268 if (sym)
1269 sym->release();
1275 sym = OSSymbol::withCStringNoCopy(kIOHibernateBootSignatureKey);
1276 if (sym && data)
1294 gIOOptionsEntry->setProperty(sym, data);
1296 if (sym)
1297 sym->release();
1538 const OSSymbol * sym = OSSymbol::withCStringNoCopy(kIOHibernateBootImageKey);
1539 if (sym)
1541 gIOOptionsEntry->setProperty(sym, data);
1542 sym->release();
1544 sym = OSSymbol::withCStringNoCopy(kIOSelectedBootDeviceKey);
1545 if (sym)
1549 gIOOptionsEntry->setProperty(sym, vars->saveBootDevice);
1552 sym->release();
1554 sym = OSSymbol::withCStringNoCopy(kIOHibernateBootImageKeyKey);
1555 if (sym)
1557 gIOOptionsEntry->setProperty(sym, data);
1558 sym->release();
1560 sym = OSSymbol::withCStringNoCopy(kIOHibernateMemorySignatureEnvKey);
1561 if (sym)
1563 gIOOptionsEntry->removeProperty(sym);
1564 sym->release();
1598 const OSSymbol * sym = OSSymbol::withCStringNoCopy(kIOHibernateRTCVariablesKey);
1600 if (sym) {
1601 if (gIOOptionsEntry->getProperty(sym)) {
1602 gIOOptionsEntry->removeProperty(sym);
1605 sym->release();