1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | int search_regcomp(char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch ); |
7 | char_u *get_search_pat(void); |
8 | char_u *reverse_text(char_u *s) FUNC_ATTR_NONNULL_RET; |
9 | void save_re_pat(int idx, char_u *pat, int magic); |
10 | void save_search_patterns(void); |
11 | void restore_search_patterns(void); |
12 | void save_last_search_pattern(void); |
13 | void restore_last_search_pattern(void); |
14 | char_u *last_search_pattern(void); |
15 | int ignorecase(char_u *pat); |
16 | int ignorecase_opt(char_u *pat, int ic_in, int scs); |
17 | _Bool pat_has_uppercase(char_u *pat) FUNC_ATTR_NONNULL_ALL; |
18 | const char *last_csearch(void) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT; |
19 | int last_csearch_forward(void); |
20 | int last_csearch_until(void); |
21 | void set_last_csearch(int c, char_u *s, int len); |
22 | void set_csearch_direction(int cdir); |
23 | void set_csearch_until(int t_cmd); |
24 | char_u *last_search_pat(void); |
25 | void reset_search_dir(void); |
26 | void set_last_search_pat(const char_u *s, int idx, int magic, int setlast); |
27 | void last_pat_prog(regmmatch_T *regmatch); |
28 | int searchit(win_T *win, buf_T *buf, pos_T *pos, pos_T *end_pos, Direction dir, char_u *pat, long count, int options, int pat_use, linenr_T stop_lnum, proftime_T *tm, int *timed_out ); |
29 | void set_search_direction(int cdir); |
30 | int do_search(oparg_T *oap, int dirc, char_u *pat, long count, int options, proftime_T *tm, int *timed_out ); |
31 | int search_for_exact_line(buf_T *buf, pos_T *pos, int dir, char_u *pat); |
32 | int searchc(cmdarg_T *cap, int t_cmd); |
33 | pos_T *findmatch(oparg_T *oap, int initc); |
34 | pos_T *findmatchlimit(oparg_T *oap, int initc, int flags, int64_t maxtravel); |
35 | void showmatch(int c ); |
36 | int findsent(Direction dir, long count); |
37 | _Bool findpar(_Bool *pincl, int dir, long count, int what, int both ); |
38 | int startPS(linenr_T lnum, int para, int both); |
39 | int fwd_word(long count, int bigword, int eol ); |
40 | int bck_word(long count, int bigword, int stop); |
41 | int end_word(long count, int bigword, int stop, int empty); |
42 | int bckend_word(long count, int bigword, int eol ); |
43 | int current_word(oparg_T *oap, long count, int include, int bigword ); |
44 | int current_sent(oparg_T *oap, long count, int include); |
45 | int current_block(oparg_T *oap, long count, int include, int what, int other ); |
46 | int current_tagblock(oparg_T *oap, long count_arg, _Bool include ); |
47 | int current_par(oparg_T *oap, long count, int include, int type ); |
48 | int current_quote(oparg_T *oap, long count, int include, int quotechar ); |
49 | int current_search(long count, int forward ); |
50 | int linewhite(linenr_T lnum); |
51 | void find_pattern_in_path(char_u *ptr, int dir, size_t len, _Bool whole, _Bool , int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum ); |
52 | void get_search_pattern(SearchPattern *const pat); |
53 | void get_substitute_pattern(SearchPattern *const pat); |
54 | void set_search_pattern(const SearchPattern pat); |
55 | void set_substitute_pattern(const SearchPattern pat); |
56 | void set_last_used_pattern(const _Bool is_substitute_pattern); |
57 | _Bool search_was_last_used(void); |
58 | #include "nvim/func_attr.h" |
59 | |