Lines Matching defs:result
226 bool result, hasPrivilege;
255 result = dict->serialize(s);
260 return result;
265 IOReturn result;
272 result = IOUserClient::clientHasPrivilege(current_task(), kIONVRAMPrivilege);
273 if (result != kIOReturnSuccess) {
297 bool result;
306 result = IOUserClient::clientHasPrivilege(current_task(), kIONVRAMPrivilege);
307 if (result != kIOReturnSuccess) {
349 result = _ofDict->setObject(aKey, propObject);
351 if (result) {
359 return result;
364 bool result;
371 result = IOUserClient::clientHasPrivilege(current_task(), kIOClientPrivilegeAdministrator);
372 if (result != kIOReturnSuccess) {
384 result = _ofDict->getObject(aKey) != 0;
385 if (result) {
394 bool result = true;
407 while (result) {
420 result = true;
422 result = false;
425 result = setProperty(key, object);
431 if (result) return kIOReturnSuccess;
1424 OSData * result;
1434 result = OSData::withCapacity(endPtr - wherePtr);
1435 if (!result)
1436 return result;
1445 ok &= result->appendByte(0xff, 1);
1448 ok &= result->appendByte(byte, 1);
1450 ok &= result->appendByte(0, 1);
1453 result->release();
1454 result = 0;
1457 return result;