Lines Matching refs:filename

88  * Prepended to each chached filename is a character which contains
89 * one of the following status codes. When a given filename (minus
165 /* filename should be recorded in the cache. */
196 * A qsort() comparison function for comparing the cached filename
198 * this ignores the initial cache-status byte of each filename.
203 * A qsort() comparison function for comparing a filename
204 * against an element of an array of pointers to filename cache
242 * Clear the filename status codes that are recorded before each filename
420 * pc PathCache * The filename cache.
460 * pc PathCache * The filename cache that suffered the error.
484 * Delete all filename strings.
765 * Delete the memory that was used to record filename strings.
785 * Re-initialize the memory used to allocate filename strings.
802 * pc PathCache * The filename cache.
878 * pc PathCache * The filename cache.
891 const char *filename; /* The name of the file being looked at */
901 while((filename = _dr_next_file(pc->dr))) {
902 char *copy; /* A copy of the filename */
904 * Make a temporary copy of the filename with an extra byte prepended.
908 _pn_append_to_path(pc->path, filename, -1, 1) == NULL) {
909 _err_record_msg(pc->err, "Insufficient memory to record filename",
914 * Store the filename.
923 * Mark the filename as unchecked.
934 "Insufficient memory to extend filename cache.",
942 * Record a pointer to the copy of the filename at the end of the files[]
963 * A qsort() comparison function for comparing the cached filename
965 * this ignores the initial cache-status byte of each filename.
986 * given instead of a simple filename, this is returned without being
993 * name_len int The length of the filename string at the
995 * the filename occupies the whole of the
1016 char **match; /* A pointer to a matching filename string in the cache */
1031 * filename that can be looked up in the cache, but rather appears to
1045 * Look up the specified filename in each of the directories of the path,
1062 * Copy the filename into a temporary buffer, while interpretting
1069 * Perform a binary search for the requested filename.
1076 * guaranteed to end in a directory separator, to the located filename.
1099 * A qsort() comparison function for comparing a filename string to
1100 * a cached filename string pointed to by a (char **) array element.
1101 * This ignores the initial code byte at the start of the cached filename
1128 * pc PathCache * The filename cache in which to look for
1220 const char *filename; /* The name of the file being looked at */
1251 * Get the filename cache.
1404 while((filename = _dr_next_file(pc->dr))) {
1406 * Does the latest filename match the prefix, and is it a directory?
1408 if(strncmp(filename, prefix, prefix_len) == 0 && _pu_path_is_dir(filename)){
1412 if(pca_prepare_suffix(pc, filename + prefix_len, ppc->escaped) ||
1434 * pc PathCache * The filename cache resource object.
1508 * prefix const char * The filename prefix to check.
1518 * If the filename starts with a ~, then this implies a ~username
1524 * If the filename starts with the root directory, then it obviously
1532 * any are found, since their presence indicates that the filename
1570 _err_record_msg(pc->err, "Insufficient memory to complete filename",
1580 * If backslashes in the filename should be treated as literal
1600 * filename prefix starts in the input line. Otherwise by default,
1601 * or if you specify start_index to be -1, the filename is taken
1608 * start_index int The index of the start of the filename in
1623 * pc PathCache * The filename cache.
1694 * Clear the filename status codes that are recorded before each filename
1698 * pc PathCache * The filename cache.
1706 * filename status marks that precede each filename.