Lines Matching defs:ok
406 bool ok;
416 ok = false;
418 ok = attachToParent( provider, gIOServicePlane);
423 ok = attachToParent( getRegistryRoot(), gIOServicePlane);
426 return( ok );
539 bool ok;
583 ok = (0 != _IOServiceJob::startJob( this, kMatchNubJob, options ));
1635 bool ok;
1638 ok = isParent( provider, gIOServicePlane, true);
1641 if( ok) {
1643 ok = (0 != (__state[1] & kIOServiceRecursing));
1647 return( ok );
1656 bool ok;
1701 ok = client->requestTerminate( victim, options );
1702 TLOG("%s::requestTerminate(%s, ok = %d)\n",
1703 client->getName(), victim->getName(), ok);
1704 if( ok)
1870 bool ok;
1877 ok = client->willTerminate( victim, options );
2115 bool ok;
2119 ok = client->terminate( options );
2121 ok = true;
2123 return( ok );
2159 bool ok;
2173 ok = (0 == (__state[0] & kIOServiceInactiveState));
2174 if( ok)
2175 ok = handleOpen( forClient, options, arg );
2179 return( ok );
2218 bool ok;
2222 ok = handleIsOpen( forClient );
2226 return( ok );
2233 bool ok;
2235 ok = (0 == __owner);
2236 if( ok )
2240 ok = (kIOReturnSuccess == messageClient( kIOMessageServiceIsRequestingClose,
2242 if( ok && (0 == __owner ))
2245 ok = false;
2247 return( ok );
2705 bool ok;
2707 ok = service->attach( this );
2709 if( ok)
2726 ok = service->start(this);
2740 if( !ok)
2743 return( ok );
2842 bool ok;
2851 ok = (0 != iter);
2852 while( ok && (resourcesProp = iter->getNextObject()) )
2853 ok = checkResource( resourcesProp );
2858 ok = checkResource( resourcesProp );
2860 return( ok );
3803 bool ok = false;
3808 ok = (0 != getProperty( str ));
3813 ok = (iter != 0);
3814 while( ok && (str = OSDynamicCast( OSString, iter->getNextObject()) ))
3815 ok = (0 != getProperty( str ));
3821 return( ok );
3871 bool ok;
3875 ok = value->isEqualTo( getProperty( key ));
3877 ok = true;
3879 return( ok );
3887 bool ok;
3891 ok = value->isEqualTo( getProperty( key ));
3893 ok = true;
3895 return( ok );
3903 bool ok = true;
3911 while( ok && (key = OSDynamicCast( OSString, iter->getNextObject())))
3912 ok = compareProperty( matching, key );
3918 return( ok );