Lines Matching defs:aFile
372 sgi_check_bootfile(const char* aFile)
374 if (strlen(aFile) < 3) /* "/a\n" is minimum */ {
380 if (strlen(aFile) > 16) {
384 if (aFile[0] != '/') {
388 if (strncmp(aFile, (char*)sgilabel->boot_file, 16)) {
404 sgi_set_bootfile(const char* aFile)
408 if (sgi_check_bootfile(aFile)) {
410 if ((aFile[i] != '\n') /* in principle caught again by next line */
411 && (strlen(aFile) > i))
412 sgilabel->boot_file[i] = aFile[i];