Lines Matching refs:filename
279 char *filename = (char *) NAME_BUF; in fat_dir() local
381 filename[slot * 13] = 0; in fat_dir()
396 filename[offset+i] = dir_buf[longdir_pos[i]]; in fat_dir()
419 if (substring (dirname, filename) == 0) in fat_dir()
428 for (i = 0; i < 8 && (c = filename[i] = tolower ((uint8_t)dir_buf[i])) in fat_dir()
431 filename[i++] = '.'; in fat_dir()
433 for (j = 0; j < 3 && (c = filename[i + j] = tolower ((uint8_t)dir_buf[8 + j])) in fat_dir()
439 filename[i + j] = 0; in fat_dir()
446 if (substring (dirname, filename) <= 0) in fat_dir()
450 print_a_completion (filename); in fat_dir()
456 if (substring (dirname, filename) == 0) in fat_dir()