Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/vim-8.2.3635/src/
H A Dtextobject.c43 while (count--) in findsent()
128 if (count) in findsent()
145 if (count) in findsent()
149 ++count; in findsent()
170 long count, in findpar() argument
218 if (count) in findpar()
750 --count; in current_word()
803 --count; in current_word()
904 count *= 2; in current_sent()
947 count *= 2; in current_sent()
[all …]
H A Dmouse.c204 long count, in do_mouse() argument
338 if (count > 1) in do_mouse()
1515 int count; in jump_to_mouse() local
1855 count = 0; in jump_to_mouse()
1860 ++count; in jump_to_mouse()
1892 count = 0; in jump_to_mouse()
1897 ++count; in jump_to_mouse()
2869 int count; in mouse_comp_pos() local
2919 row -= count; in mouse_comp_pos()
3048 count += win_lbr_chartabsize(wp, line, ptr, count, NULL); in vcol2col()
[all …]
H A Dchange.c782 changed_lines(lnum, 0, lnum + count, -count); in deleted_lines()
793 mark_adjust(lnum, (linenr_T)(lnum + count - 1), (long)MAXLNUM, -count); in deleted_lines_mark()
794 changed_lines(lnum, 0, lnum + count, -count); in deleted_lines_mark()
1205 del_chars(long count, int fixpos) in del_chars() argument
1231 long count, in del_bytes() argument
1252 if (count == 0) in del_bytes()
1256 if (count < 1) in del_bytes()
1278 count = utf_ptr2len(oldp + n); in del_bytes()
1279 n += count; in del_bytes()
1301 count = oldlen - col; in del_bytes()
[all …]
H A Darglist.c139 int count, in alist_set() argument
153 for (i = 0; i < count; ++i) in alist_set()
159 while (i < count) in alist_set()
179 FreeWild(count, files); in alist_set()
349 int count, in alist_add_list() argument
368 for (i = 0; i < count; ++i) in alist_add_list()
382 for (i = 0; i < count; ++i) in alist_add_list()
894 int count, in do_arg_all() argument
1070 if (count > opened_len || count <= 0) in do_arg_all()
1071 count = opened_len; in do_arg_all()
[all …]
H A Dgui_xmdlg.c278 if (*count == MAX_ENTRIES_IN_LIST) in add_to_list()
282 for (i = 0; i < *count; ++i) in add_to_list()
292 for (i = 0; i < *count; ++i) in add_to_list()
297 for (j = *count; j > i; --j) in add_to_list()
301 ++(*count); in add_to_list()
366 int count[NONE]; in fill_lists() local
373 count[idx] = 0; in fill_lists()
443 for (i = 0; i < count[ENCODING]; ++i) in fill_lists()
495 for (i = 0; i < count[ENCODING]; ++i) in fill_lists()
524 for (i = 0; i < count[idx]; ++i) in fill_lists()
[all …]
H A Dcrypt.c156 size_t count; member
755 sd_state->count = 0; in crypt_sodium_init()
785 if (sod_st->count == 0)
806 sod_st->count++;
833 if (sod_st->count == 0
847 if (sod_st->count == 0)
874 sod_st->count++;
910 int first = (sod_st->count == 0); in crypt_sodium_buffer_encode()
932 sod_st->count++; in crypt_sodium_buffer_encode()
964 if (sod_st->count == 0) in crypt_sodium_buffer_decode()
[all …]
H A Dvim.h1606 #define ALLOC_MULT(type, count) (type *)alloc(sizeof(type) * (count)) argument
1608 #define ALLOC_CLEAR_MULT(type, count) (type *)alloc_clear(sizeof(type) * (count)) argument
1610 #define LALLOC_CLEAR_MULT(type, count) (type *)lalloc_clear(sizeof(type) * (count), FALSE) argument
1611 #define LALLOC_MULT(type, count) (type *)lalloc(sizeof(type) * (count), FALSE) argument
1764 # define read_eintr(fd, buf, count) vim_read((fd), (buf), (count)) argument
1765 # define write_eintr(fd, buf, count) vim_write((fd), (buf), (count)) argument
1771 # define vim_read(fd, buf, count) read((fd), (char *)(buf), (unsigned int)(count)) argument
1772 # define vim_write(fd, buf, count) write((fd), (char *)(buf), (unsigned int)(count)) argument
1774 # define vim_read(fd, buf, count) read((fd), (char *)(buf), (size_t) (count)) argument
1775 # define vim_write(fd, buf, count) write((fd), (char *)(buf), (size_t) (count)) argument
H A Dops.c231 int count; in shift_line() local
251 count = i * sw_val; in shift_line()
257 count -= sw_val * amount; in shift_line()
258 if (count < 0) in shift_line()
259 count = 0; in shift_line()
526 count = spaces; in block_insert()
546 count -= off; in block_insert()
574 count++; in block_insert()
578 offset += count; in block_insert()
1313 int count; in op_tilde() local
[all …]
H A Dif_perl.xs1161 int count = 350; in ref_map_find_SV() local
1167 count--; in ref_map_find_SV()
1170 if (!refs && count > 0) { in ref_map_find_SV()
1503 return (SSize_t)count; in PerlIOVim_write()
1890 long i, lnum = 0, count = 0;
1897 count = 1;
1903 if (count == 0)
1904 count = 1;
1905 if (count < 0)
1907 lnum -= count;
[all …]
/vim-8.2.3635/src/proto/
H A Dtextobject.pro2 int findsent(int dir, long count);
3 int findpar(int *pincl, int dir, long count, int what, int both);
5 int fwd_word(long count, int bigword, int eol);
6 int bck_word(long count, int bigword, int stop);
7 int end_word(long count, int bigword, int stop, int empty);
8 int bckend_word(long count, int bigword, int eol);
9 int current_word(oparg_T *oap, long count, int include, int bigword);
10 int current_sent(oparg_T *oap, long count, int include);
11 int current_block(oparg_T *oap, long count, int include, int what, int other);
13 int current_par(oparg_T *oap, long count, int include, int type);
[all …]
H A Dchange.pro13 void appended_lines(linenr_T lnum, long count);
14 void appended_lines_mark(linenr_T lnum, long count);
15 void deleted_lines(linenr_T lnum, long count);
16 void deleted_lines_mark(linenr_T lnum, long count);
28 int del_chars(long count, int fixpos);
29 int del_bytes(long count, int fixpos_arg, int use_delcombine);
H A Dfindfile.pro10 char_u *grab_file_name(long count, linenr_T *file_lnum);
11 char_u *file_name_at_cursor(int options, long count, linenr_T *file_lnum);
12 char_u *file_name_in_line(char_u *line, int col, int options, long count, char_u *rel_fname, linenr…
13 char_u *find_file_name_in_path(char_u *ptr, int len, int options, long count, char_u *rel_fname);
H A Dsearch.pro25 int searchit(win_T *win, buf_T *buf, pos_T *pos, pos_T *end_pos, int dir, char_u *pat, long count, …
27 int do_search(oparg_T *oap, int dirc, int search_delim, char_u *pat, long count, int options, searc…
33 int current_search(long count, int forward);
35 …ar_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linen…
/vim-8.2.3635/runtime/doc/
H A Dmotion.txt62 *motion-count-multiplied*
63 If the motion includes a count and the operator also had a count before it,
294 [count] times. See also |cpo-;|
354 {count}% Go to {count} percentage in the file, on the first
361 [count]go Go to [count] byte in the buffer. Default [count] is
377 If "k", "-" or CTRL-P is used with a [count] and there are less than [count]
600 ab "a block", select [count] blocks, from "[count] [(" to
608 ib "inner block", select [count] blocks, from "[count] [("
641 aB "a Block", select [count] Blocks, from "[count] [{" to
648 iB "inner Block", select [count] Blocks, from "[count] [{"
[all …]
H A Dtabpage.txt63 :[count]tabnew
133 :{count}tabc[lose][!]
159 :{count}tabo[nly][!]
160 :tabo[nly][!] {count}
190 :{count}tabn[ext]
191 :tabn[ext] {count}
205 {count}<C-PageDown>
206 {count}gt Go to tab page {count}. The first tab page has number one.
216 :tabN[ext] {count}
217 {count}<C-PageUp>
[all …]
H A Dscroll.txt41 screen). If [count] given, first set 'scroll' option
42 to [count]. The cursor is moved the same number of
57 z+ Without [count]: Redraw with the line just below the
60 With [count]: just like "z<CR>".
78 screen). If [count] given, first set the 'scroll'
79 option to [count]. The cursor is moved the same
97 With [count]: First scroll the text to put the [count]
111 z<CR> Redraw, line [count] at top of window (default
126 z. Redraw, line [count] at center of window (default
136 z- Redraw, line [count] at bottom of window (default
[all …]
H A Dtagsrch.txt40 :[count]ta[g][!] {name}
46 to the [count] one. When [count] is omitted the
56 to the [count] one. When no [count] is given the
120 :[count]po[p][!] Jump to [count] older entry in tag stack (default 1).
123 :[count]ta[g][!] Jump to [count] newer entry in tag stack (default 1).
158 {count}CTRL-T to position before {count} older tag
284 :[count]tn[ext][!] Jump to [count] next matching tag (default 1). See
288 :[count]tp[revious][!] Jump to [count] previous matching tag (default 1).
295 :[count]tr[ewind][!] Jump to first matching tag. If [count] is given, jump
299 :[count]tf[irst][!] Same as ":trewind".
[all …]
H A Dchange.txt90 :[range]d[elete] [x] {count}
277 If you give a [count], Vim replaces [count] characters
410 additional [count] (so effectively creating a [count]
462 7. <count>@a - repeat the yank, put and increment <count> times
478 {Visual}[count]< Shift the highlighted lines [count] 'shiftwidth'
492 {Visual}[count]> Shift the highlighted lines [count] 'shiftwidth'
499 :[range]< {count} Shift {count} lines one 'shiftwidth' left, starting
511 :[range]> {count} [flags]
734 Useful to |count-items|.
1078 [count] times.
[all …]
/vim-8.2.3635/src/libvterm/src/
H A Dstate.c223 while(count > 0) { in tab()
238 count--; in tab()
961 int count, val; in on_csi() local
1025 state->pos.row -= count; in on_csi()
1031 state->pos.row += count; in on_csi()
1037 state->pos.col += count; in on_csi()
1043 state->pos.col -= count; in on_csi()
1050 state->pos.row += count; in on_csi()
1057 state->pos.row -= count; in on_csi()
1102 tab(state, count, +1); in on_csi()
[all …]
/vim-8.2.3635/runtime/ftplugin/
H A Dcucumber.vim28 …nnoremap <silent> <script> <buffer> [<C-D> :<C-U>exe <SID>jump('edit',v:count)<SID>foldopen<C…
29 …nnoremap <silent> <script> <buffer> ]<C-D> :<C-U>exe <SID>jump('edit',v:count)<SID>foldopen<C…
30 …nnoremap <silent> <script> <buffer> <C-W>d :<C-U>exe <SID>jump('split',v:count)<SID>foldopen<…
31 …nnoremap <silent> <script> <buffer> <C-W><C-D> :<C-U>exe <SID>jump('split',v:count)<SID>foldopen<…
32 nnoremap <silent> <script> <buffer> [d :<C-U>exe <SID>jump('pedit',v:count)<CR>
33 nnoremap <silent> <script> <buffer> ]d :<C-U>exe <SID>jump('pedit',v:count)<CR>
43 function! s:jump(command,count) argument
45 if len(steps) == 0 || len(steps) < a:count
47 elseif len(steps) > 1 && !a:count
50 let c = a:count ? a:count-1 : 0
H A Dgitrebase.vim25 function! s:cycle(count) abort argument
28 let index = ((index < 0 ? 0 : index) + 10000 * len(words) + a:count) % len(words)
38 command! -buffer -count=1 -bar -bang Cycle call s:cycle(<bang>0 ? -<count> : <count>)
/vim-8.2.3635/runtime/plugin/
H A DnetrwPlugin.vim58 com! -count=1 -nargs=* Nread let s:svpos= winsaveview()<bar>call netrw#NetRead(<count>,<f-args>)<b…
65 com! -nargs=* -bar -bang -count=0 -complete=dir Explore call netrw#Explore(<count>,0,0+<bang>0,<q-…
66 com! -nargs=* -bar -bang -count=0 -complete=dir Sexplore call netrw#Explore(<count>,1,0+<bang>0,<q-…
67 com! -nargs=* -bar -bang -count=0 -complete=dir Hexplore call netrw#Explore(<count>,1,2+<bang>0,<q-…
68 com! -nargs=* -bar -bang -count=0 -complete=dir Vexplore call netrw#Explore(<count>,1,4+<bang>0,<q-…
69 com! -nargs=* -bar -count=0 -complete=dir Texplore call netrw#Explore(<count>,0,6 ,<q-…
72 com! -nargs=* -bar -bang -count=0 -complete=dir Lexplore call netrw#Lexplore(<count>,<bang>0,<q-arg…
/vim-8.2.3635/src/testdir/
H A Dtest_tabpage.vim301 " Test for [count] of tabnext
354 if n == 0 " pre count
399 " - {count}<C-PageUp> goes {count} pages downward (relative count)
400 " - {count}<C-PageDown> goes to page number {count} (absolute count)
409 " Test for [count] of tabclose
412 " pre count
431 " post count
453 if n == 0 " pre count
474 " Test for [count] of tabonly
494 if n == 0 " pre count
[all …]
H A Dtest_profile.vim74 call assert_equal('count total (s) self (s)', lines[6])
81 call assert_equal('count total (s) self (s)', lines[14])
89 call assert_equal('count total (s) self (s) function', lines[22])
94 call assert_equal('count total (s) self (s) function', lines[27])
167 call assert_equal('count total (s) self (s)', lines[6])
181 call assert_equal('count total (s) self (s)', lines[21])
195 call assert_equal('count total (s) self (s)', lines[36])
205 call assert_equal('count total (s) self (s) function', lines[46])
211 call assert_equal('count total (s) self (s) function', lines[52])
294 call assert_equal('count total (s) self (s)', lines[6])
[all …]
/vim-8.2.3635/runtime/indent/
H A Dliquid.vim37 function! s:count(string,pattern)
58 …let ind += sw * s:count(line,'{%\s*\%(if\|elsif\|else\|unless\|ifchanged\|case\|when\|for\|empty\|…
59 let ind -= sw * s:count(line,'{%\s*end\%(if\|unless\|ifchanged\|case\|for\|tablerow\|capture\)\>')
60 let ind -= sw * s:count(cline,'{%\s*\%(elsif\|else\|when\|empty\)\>')
61 let ind -= sw * s:count(cline,'{%\s*end\w*$')

12345678910>>...15