Lines Matching refs:path

84   PathName *path;              /* The buffer in which to accumulate the path */
146 cf->path = NULL;
171 cf->path = _new_PathName();
172 if(!cf->path)
197 cf->path = _del_PathName(cf->path);
256 _pn_clear_path(cf->path);
293 if(strcmp(cf->path->name, FS_ROOT_DIR) == 0 &&
311 * Copy the rest of the path, stopping to expand $envvar expressions
318 * unescaped '$' is seen, or the end of the path is reached.
343 if(_pn_append_to_path(cf->path, lptr, seglen, escaped) == NULL) {
386 if(cf->path->name[0] == '\0' && value[0] == '~') {
396 if(strcmp(cf->path->name, FS_ROOT_DIR) == 0 &&
403 * Append the value of the environment variable to the output path.
405 if(_pn_append_to_path(cf->path, value, strlen(value), escaped)==NULL) {
414 strcmp(cf->path->name, FS_ROOT_DIR) == 0 &&
420 cf->path->name[vlen-FS_DIR_SEP_LEN] = '\0';
428 * environment variable name. Thus if the currently constructed path
432 if(!_pu_path_is_dir(cf->path->name))
457 * Return a description of the last path-completion error that occurred.
460 * cf CompleteFile * The path-completion resource object.
497 if(_pn_append_to_path(cf->path, home_dir, -1, 0) == NULL) {
584 * Report possible completions of the filename in cf->path->name[].
623 char *pathname = cf->path->name;
705 * to the path being completed, check the filetype, then restore
706 * the path to its original form.
711 if(_pn_append_to_path(cf->path, file_name + prefix_len,
721 if(_pu_path_is_dir(cf->path->name)) {
724 } else if(!check_fn || check_fn(check_data, cf->path->name)) {
727 cf->path->name[pathlen] = '\0';
733 cf->path->name[pathlen] = '\0';
843 * Arrange for the output path buffer to have sufficient room for the