Lines Matching defs:look
275 const char * look;
290 look = path + strlen( path);
292 while( look != path) {
293 if( *(--look) == c) {
295 partition = strtol( look + 1, 0, 0 );
298 unit = strtol( look + 1, &comp, 16 );
311 if( alias && (look == path)) {
313 look = path + strlen( path);
338 if ( (look - path)) {
339 len = (look - path);
381 /* need to look up path, get device type,
481 const char * look = 0;
546 look = (const char *) data->getBytesNoCopy();
549 look = rdBootVar + 1;
609 if( look) {
611 IOLog("From path: \"%s\", ", look);
614 if( forceNet || (0 == strncmp( look, "enet", strlen( "enet" ))) ) {
615 matching = IONetworkMatching( look, str, kMaxPathBuf );
617 matching = IODiskMatching( look, str, kMaxPathBuf );
624 look = rdBootVar;
625 if( look[0] == '*')
626 look++;
628 if ( strncmp( look, "en", strlen( "en" )) == 0 ) {
630 } else if ( strncmp( look, "cdrom", strlen( "cdrom" )) == 0 ) {
633 } else if ( strncmp( look, "uuid", strlen( "uuid" )) == 0 ) {
654 matching = IOBSDNameMatching( look );
717 // look for a subservice with an Apple_HFS child