Lines Matching refs:filename
296 char *filename = (char *) NAME_BUF;
379 /* This is a long filename. The filename is build from back
385 * part) of the long filename, and also at which offset this
388 * We just write the part of the long filename this entry
398 filename[slot * 13] = 0;
413 filename[offset+i] = dir_buf[longdir_pos[i]];
436 if (substring (dirname, filename) == 0)
441 /* XXX convert to 8.3 filename format here */
445 for (i = 0; i < 8 && (c = filename[i] = tolower (dir_buf[i]))
448 filename[i++] = '.';
450 for (j = 0; j < 3 && (c = filename[i + j] = tolower (dir_buf[8 + j]))
456 filename[i + j] = 0;
463 if (substring (dirname, filename) <= 0)
467 print_a_completion (filename);
473 if (substring (dirname, filename) == 0)