Lines Matching refs:spec
271 const char *spec, *ep; in getbootfile() local
283 if ((spec = getenv("bootfile")) == NULL) in getbootfile()
284 spec = default_bootfiles; in getbootfile()
286 while ((try > 0) && (spec != NULL)) { in getbootfile()
287 spec = strchr(spec, ';'); in getbootfile()
288 if (spec) in getbootfile()
289 spec++; /* skip over the leading ';' */ in getbootfile()
292 if (spec != NULL) { in getbootfile()
293 if ((ep = strchr(spec, ';')) != NULL) { in getbootfile()
294 len = ep - spec; in getbootfile()
296 len = strlen(spec); in getbootfile()
299 strncpy(name, spec, len); in getbootfile()