Lines Matching defs:path
842 bool IORegistryEntry::getPath( char * path, int * length,
855 if( !path || !length || !plane)
860 nextComp = path;
915 nextComp = path + len;
945 bool IORegistryEntry::getPathComponent( char * path, int * length,
964 strlcpy( path, compName, len + 1 );
966 path += len;
968 *path++ = '@';
969 strlcpy( path, loc, locLen );
1028 const char * path;
1037 path = *opath;
1043 cmp = path;
1078 const char * path = "/aliases";
1080 entry = IORegistryEntry::fromPath( path, plane );
1089 path = (const char *) data->getBytesNoCopy();
1090 if( (entry2 = IORegistryEntry::fromPath( path, plane,
1115 const char * path = *opath;
1121 if( path[0] == '/')
1125 end = path;
1129 if( (end - path) < kIOMaxPlaneName) {
1130 strlcpy( temp, path, end - path + 1 );
1150 const char * path,
1166 if( 0 == path)
1171 end = strchr( path, ':' );
1172 if( end && ((end - path) < kIOMaxPlaneName)) {
1173 strlcpy( temp, path, end - path + 1 );
1175 path = end + 1;
1182 end = path;
1190 path = end;
1199 if( (0 == fromEntry) && (*path++ == '/'))
1205 c = *path++;
1212 next = where->getChildFromComponent( &path, plane );
1218 // check residual path
1220 path--;
1223 // copy out residual path
1224 len2 = strlen( path );
1226 strlcpy( opath + len, path, len2 + 1 );
1229 } else if( path[0])
1230 // no residual path => must be no tail for success
1245 const char * path,
1250 return( IORegistryEntry::fromPath( path, plane, opath, len, this ));