Lines Matching refs:ok
763 bool ok;
785 ok = true;
789 if (iter == 0) ok = false;
791 while (ok) {
801 ok = convertObjectToProp(tmpBuffer, &length, tmpSymbol, tmpObject);
802 if (ok) {
809 if (ok) {
815 if (!ok) return kIOReturnBadArgument;
830 ok = true;
832 while (ok) {
855 ok = false;
868 if (ok) {
881 if (!ok) return kIOReturnBadArgument;
1401 bool ok;
1404 ok = true;
1411 ok = false;
1420 if (ok) {
1447 bool ok = true;
1463 ok &= result->appendByte(0xff, 1);
1466 ok &= result->appendByte(byte, 1);
1468 ok &= result->appendByte(0, 1);
1470 if (!ok) {
1567 bool ok = true;
1601 ok &= data->appendBytes(wherePtr, endPtr - wherePtr);
1648 ok &= data->appendBytes("/@", 2);
1652 ok &= data->appendByte('/', 1);
1656 ok &= data->appendBytes(comp, strlen(comp));
1658 ok &= data->appendByte(0, 1);
1662 ok &= data->appendBytes(propName->getCStringNoCopy(), propName->getLength() + 1);
1666 ok &= (oldData != 0);
1667 if (ok)
1668 ok &= data->appendBytes(oldData);
1670 if (ok) {
1671 ok = _ofDict->setObject(_registryPropertiesKey, data);
1672 if (ok)
1677 return ok ? kIOReturnSuccess : kIOReturnNoMemory;