Lines Matching refs:spec
273 const char *spec, *ep; in getbootfile() local
285 if ((spec = getenv("bootfile")) == NULL) in getbootfile()
286 spec = default_bootfiles; in getbootfile()
288 while ((try > 0) && (spec != NULL)) { in getbootfile()
289 spec = strchr(spec, ';'); in getbootfile()
290 if (spec) in getbootfile()
291 spec++; /* skip over the leading ';' */ in getbootfile()
294 if (spec != NULL) { in getbootfile()
295 if ((ep = strchr(spec, ';')) != NULL) { in getbootfile()
296 len = ep - spec; in getbootfile()
298 len = strlen(spec); in getbootfile()
301 strncpy(name, spec, len); in getbootfile()