Lines Matching defs:ok

451     bool	ok;
461 ok = false;
463 ok = attachToParent( provider, gIOServicePlane);
468 ok = attachToParent( getRegistryRoot(), gIOServicePlane);
471 if (ok && !__provider) (void) getProvider();
473 return( ok );
590 bool ok;
635 ok = (0 != _IOServiceJob::startJob( this, kMatchNubJob, options ));
1691 bool ok;
1694 ok = isParent( provider, gIOServicePlane, true);
1697 if( ok) {
1699 ok = (0 != (__state[1] & kIOServiceRecursing));
1703 return( ok );
1714 bool ok;
1791 ok = client->requestTerminate( victim, options );
1792 TLOG("%s::requestTerminate(%s, ok = %d)\n",
1793 client->getName(), victim->getName(), ok);
1798 (ok ? IOSERVICE_TERMINATE_REQUEST_OK
1805 if( ok)
2021 bool ok;
2038 ok = client->willTerminate( victim, options );
2342 bool ok;
2346 ok = client->terminate( options );
2348 ok = true;
2350 return( ok );
2386 bool ok;
2400 ok = (0 == (__state[0] & kIOServiceInactiveState));
2401 if( ok)
2402 ok = handleOpen( forClient, options, arg );
2406 return( ok );
2445 bool ok;
2449 ok = handleIsOpen( forClient );
2453 return( ok );
2460 bool ok;
2462 ok = (0 == __owner);
2463 if( ok )
2467 ok = (kIOReturnSuccess == messageClient( kIOMessageServiceIsRequestingClose,
2469 if( ok && (0 == __owner ))
2472 ok = false;
2474 return( ok );
2939 bool ok;
2941 ok = service->attach( this );
2943 if( ok)
2960 ok = service->start(this);
2974 if( !ok)
2977 return( ok );
3071 bool ok;
3080 ok = (0 != iter);
3081 while( ok && (resourcesProp = iter->getNextObject()) )
3082 ok = checkResource( resourcesProp );
3087 ok = checkResource( resourcesProp );
3089 return( ok );
4389 bool ok = true;
4394 ok = (0 != getProperty( str ));
4399 ok = (iter != 0);
4400 while( ok && (str = OSDynamicCast( OSString, iter->getNextObject()) ))
4401 ok = (0 != getProperty( str ));
4407 return( ok );
4572 bool ok;
4576 ok = value->isEqualTo( getProperty( key ));
4578 ok = true;
4580 return( ok );
4588 bool ok;
4592 ok = value->isEqualTo( getProperty( key ));
4594 ok = true;
4596 return( ok );
4604 bool ok = true;
4612 while( ok && (key = OSDynamicCast( OSString, iter->getNextObject())))
4613 ok = compareProperty( matching, key );
4619 return( ok );