Lines Matching refs:path
883 bool IORegistryEntry::getPath( char * path, int * length,
896 if( !path || !length || !plane)
901 nextComp = path;
956 nextComp = path + len;
986 bool IORegistryEntry::getPathComponent( char * path, int * length,
1005 strlcpy( path, compName, len + 1 );
1007 path += len;
1009 *path++ = '@';
1010 strlcpy( path, loc, locLen );
1069 const char * path;
1078 path = *opath;
1084 cmp = path;
1119 const char * path = "/aliases";
1121 entry = IORegistryEntry::fromPath( path, plane );
1130 path = (const char *) data->getBytesNoCopy();
1131 if( (entry2 = IORegistryEntry::fromPath( path, plane,
1156 const char * path = *opath;
1162 if( path[0] == '/')
1166 end = path;
1170 if( (end - path) < kIOMaxPlaneName) {
1171 strlcpy( temp, path, end - path + 1 );
1191 const char * path,
1207 if( 0 == path)
1212 end = strchr( path, ':' );
1213 if( end && ((end - path) < kIOMaxPlaneName)) {
1214 strlcpy( temp, path, end - path + 1 );
1216 path = end + 1;
1223 end = path;
1231 path = end;
1240 if( (0 == fromEntry) && (*path++ == '/'))
1246 c = *path++;
1253 next = where->getChildFromComponent( &path, plane );
1259 // check residual path
1261 path--;
1264 // copy out residual path
1265 len2 = strlen( path );
1267 strlcpy( opath + len, path, len2 + 1 );
1270 } else if( path[0])
1271 // no residual path => must be no tail for success
1286 const char * path,
1291 return( IORegistryEntry::fromPath( path, plane, opath, len, this ));