Mercurial > vim
annotate src/proto/findfile.pro @ 18019:68fd5296bf73 v8.1.2005
patch 8.1.2005: the regexp.c file is too big
Commit: https://github.com/vim/vim/commit/6d7d7cf750bca5d641e464f6a3af5ee5b99a5ac8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 7 23:16:33 2019 +0200
patch 8.1.2005: the regexp.c file is too big
Problem: The regexp.c file is too big.
Solution: Move the backtracking engine to a separate file. (Yegappan
Lakshmanan, closes #4905)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 Sep 2019 23:30:04 +0200 |
parents | 46f95606b9ec |
children | 2c09e40ce3da |
rev | line source |
---|---|
15814
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* findfile.c */ |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 void *vim_findfile_init(char_u *path, char_u *filename, char_u *stopdirs, int level, int free_visited, int find_what, void *search_ctx_arg, int tagfile, char_u *rel_fname); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 char_u *vim_findfile_stopdir(char_u *buf); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 void vim_findfile_cleanup(void *ctx); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 char_u *vim_findfile(void *search_ctx_arg); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 char_u *find_file_in_path(char_u *ptr, int len, int options, int first, char_u *rel_fname); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 void free_findfile(void); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 char_u *find_directory_in_path(char_u *ptr, int len, int options, char_u *rel_fname); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 char_u *find_file_in_path_option(char_u *ptr, int len, int options, int first, char_u *path_option, int find_what, char_u *rel_fname, char_u *suffixes); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 char_u *grab_file_name(long count, linenr_T *file_lnum); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 char_u *file_name_at_cursor(int options, long count, linenr_T *file_lnum); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 char_u *file_name_in_line(char_u *line, int col, int options, long count, char_u *rel_fname, linenr_T *file_lnum); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 char_u *find_file_name_in_path(char_u *ptr, int len, int options, long count, char_u *rel_fname); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 int vim_ispathlistsep(int c); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void uniquefy_paths(garray_T *gap, char_u *pattern); |
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 int expand_in_path(garray_T *gap, char_u *pattern, int flags); |
16188
848d4c6e391e
patch 8.1.1099: the do_tag() function is too long
Bram Moolenaar <Bram@vim.org>
parents:
15814
diff
changeset
|
17 void simplify_filename(char_u *filename); |
17966
46f95606b9ec
patch 8.1.1979: code for handling file names is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
18 void f_simplify(typval_T *argvars, typval_T *rettv); |
15814
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 /* vim: set ft=c : */ |