Lines Matching defs:ok

450     bool	ok;
460 ok = false;
462 ok = attachToParent( provider, gIOServicePlane);
467 ok = attachToParent( getRegistryRoot(), gIOServicePlane);
470 if (ok && !__provider) (void) getProvider();
472 return( ok );
589 bool ok;
634 ok = (0 != _IOServiceJob::startJob( this, kMatchNubJob, options ));
1690 bool ok;
1693 ok = isParent( provider, gIOServicePlane, true);
1696 if( ok) {
1698 ok = (0 != (__state[1] & kIOServiceRecursing));
1702 return( ok );
1713 bool ok;
1788 ok = client->requestTerminate( victim, options );
1789 TLOG("%s::requestTerminate(%s, ok = %d)\n",
1790 client->getName(), victim->getName(), ok);
1795 (ok ? IOSERVICE_TERMINATE_REQUEST_OK
1802 if( ok)
2000 bool ok;
2017 ok = client->willTerminate( victim, options );
2313 bool ok;
2317 ok = client->terminate( options );
2319 ok = true;
2321 return( ok );
2357 bool ok;
2371 ok = (0 == (__state[0] & kIOServiceInactiveState));
2372 if( ok)
2373 ok = handleOpen( forClient, options, arg );
2377 return( ok );
2416 bool ok;
2420 ok = handleIsOpen( forClient );
2424 return( ok );
2431 bool ok;
2433 ok = (0 == __owner);
2434 if( ok )
2438 ok = (kIOReturnSuccess == messageClient( kIOMessageServiceIsRequestingClose,
2440 if( ok && (0 == __owner ))
2443 ok = false;
2445 return( ok );
2910 bool ok;
2912 ok = service->attach( this );
2914 if( ok)
2931 ok = service->start(this);
2945 if( !ok)
2948 return( ok );
3042 bool ok;
3051 ok = (0 != iter);
3052 while( ok && (resourcesProp = iter->getNextObject()) )
3053 ok = checkResource( resourcesProp );
3058 ok = checkResource( resourcesProp );
3060 return( ok );
4334 bool ok = false;
4339 ok = (0 != getProperty( str ));
4344 ok = (iter != 0);
4345 while( ok && (str = OSDynamicCast( OSString, iter->getNextObject()) ))
4346 ok = (0 != getProperty( str ));
4352 return( ok );
4521 bool ok;
4525 ok = value->isEqualTo( getProperty( key ));
4527 ok = true;
4529 return( ok );
4537 bool ok;
4541 ok = value->isEqualTo( getProperty( key ));
4543 ok = true;
4545 return( ok );
4553 bool ok = true;
4561 while( ok && (key = OSDynamicCast( OSString, iter->getNextObject())))
4562 ok = compareProperty( matching, key );
4568 return( ok );