Lines Matching refs:spec
269 const char *spec, *ep; in getbootfile() local
281 if ((spec = getenv("bootfile")) == NULL) in getbootfile()
282 spec = default_bootfiles; in getbootfile()
284 while ((try > 0) && (spec != NULL)) { in getbootfile()
285 spec = strchr(spec, ';'); in getbootfile()
286 if (spec) in getbootfile()
287 spec++; /* skip over the leading ';' */ in getbootfile()
290 if (spec != NULL) { in getbootfile()
291 if ((ep = strchr(spec, ';')) != NULL) { in getbootfile()
292 len = ep - spec; in getbootfile()
294 len = strlen(spec); in getbootfile()
297 strncpy(name, spec, len); in getbootfile()