Lines Matching refs:spec
254 const char *spec, *ep; in getbootfile() local
264 if ((spec = getenv("bootfile")) == NULL) in getbootfile()
265 spec = default_bootfiles; in getbootfile()
267 while ((try > 0) && (spec != NULL)) { in getbootfile()
268 spec = strchr(spec, ';'); in getbootfile()
269 if (spec) in getbootfile()
270 spec++; /* skip over the leading ';' */ in getbootfile()
273 if (spec != NULL) { in getbootfile()
274 if ((ep = strchr(spec, ';')) != NULL) { in getbootfile()
275 len = ep - spec; in getbootfile()
277 len = strlen(spec); in getbootfile()
280 strncpy(name, spec, len); in getbootfile()