Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 25 of 44) sorted by relevance

12

/vim-8.2.3635/src/
H A Dcreate_cmdidxs.vim52 let c1 = cmd[0] " First character of command variable
55 let cmdidxs1{c1} = i
57 let cmdidxs2{c1}{c2} = i
70 for c1 in a_to_z
71 let line = ' /* ' . c1 . ' */ ' . cmdidxs1{c1} . ((c1 == 'z') ? '' : ',')
79 let output += [ ' * Values in cmdidxs2[c1][c2] are relative to cmdidxs1[c1] so that they' ]
85 for c1 in a_to_z
86 let line = ' /* ' . c1 . ' */ {'
88 if exists('cmdidxs2{c1}{c2}')
89 let line .= printf('%3d', cmdidxs2{c1}{c2} - cmdidxs1{c1})
[all …]
H A Dmap.c1777 c1 = NUL; in makemap()
1789 c1 = 'n'; in makemap()
1792 c1 = 'x'; in makemap()
1795 c1 = 's'; in makemap()
1798 c1 = 'o'; in makemap()
1801 c1 = 'n'; in makemap()
1805 c1 = 'n'; in makemap()
1809 c1 = 'n'; in makemap()
1813 c1 = 'v'; in makemap()
1816 c1 = 'x'; in makemap()
[all …]
H A Dkword_test.c46 int c1; in test_isword_funcs_utf8() local
51 c1 = utf_ptr2char(p); in test_isword_funcs_utf8()
52 if (c != c1) in test_isword_funcs_utf8()
58 fprintf(stderr, "c != utf_ptr2char(p) (=%#04x)\n", c1); in test_isword_funcs_utf8()
H A Dgetchar.c2911 int c, c1; in vgetorpeek() local
3274 c1 = 0; in vgetorpeek()
3288 c1 = 1; in vgetorpeek()
3317 c1 = 1; in vgetorpeek()
3353 if (c1 == 1) in vgetorpeek()
3679 int c1 = -1; in getcmdkeycmd() local
3711 if (c1 == K_SPECIAL) in getcmdkeycmd()
3720 c1 = TO_SPECIAL(c1, c2); in getcmdkeycmd()
3722 if (c1 == Ctrl_V) in getcmdkeycmd()
3733 else if (c1 == '\r' || c1 == '\n') in getcmdkeycmd()
[all …]
H A Dmouse.c219 int c1, c2; in do_mouse() local
459 c1 = TabPageIdxs[mouse_col]; in do_mouse()
460 tabpage_move(c1 <= 0 ? 9999 : c1 < tabpage_index(curtab) in do_mouse()
461 ? c1 - 1 : c1); in do_mouse()
475 if (c1 >= 0) in do_mouse()
482 tabpage_move(c1 == 0 ? 9999 : c1 - 1); in do_mouse()
488 goto_tabpage(c1); in do_mouse()
500 if (c1 == -999) in do_mouse()
503 tp = find_tabpage(-c1); in do_mouse()
517 c1 = TabPageIdxs[mouse_col]; in do_mouse()
[all …]
H A Dex_getln.c2792 int c1 = 0; in getexmodeline() local
2853 prev_char = c1; in getexmodeline()
2857 c1 = '\n'; in getexmodeline()
2859 c1 = vgetc(); in getexmodeline()
2872 if (c1 == K_PS) in getexmodeline()
2882 c1 = '\n'; in getexmodeline()
2884 if (c1 == BS || c1 == K_BS in getexmodeline()
2885 || c1 == DEL || c1 == K_DEL || c1 == K_KDEL) in getexmodeline()
2986 if (c1 == Ctrl_V || c1 == Ctrl_Q) in getexmodeline()
2998 c1 = '?'; in getexmodeline()
[all …]
H A Dmbyte.c948 unsigned char c1 = lead; in dbcs_class() local
965 if (c1 >= 0xB0 && c1 <= 0xC8) in dbcs_class()
976 else if (c1 >= 0xCA && c1 <= 0xFD) in dbcs_class()
979 else switch (c1) in dbcs_class()
3619 int c1, c2, cdiff; in utf_strnicmp() local
3627 if (c1 <= 0 || c2 <= 0) in utf_strnicmp()
3630 if (c1 == c2) in utf_strnicmp()
3640 if (c1 == 0 || c2 == 0) in utf_strnicmp()
3643 if (c1 == 0 && c2 == 0) in utf_strnicmp()
3645 return c1 == 0 ? -1 : 1; in utf_strnicmp()
[all …]
H A Dscreen.c140 int c1, in screen_fill_end() argument
157 c1, c2, attr); in screen_fill_end()
163 c1, c2, attr); in screen_fill_end()
175 int c1, in win_draw_end() argument
219 c1, c2, attr); in win_draw_end()
226 c1, c2, attr); in win_draw_end()
2341 int c1, in screen_fill() argument
2439 c = c1; in screen_fill()
4818 int c1 = 0, c2 = 0, c3 = 0; in set_chars_option() local
4940 lcs_chars.tab1 = c1; in set_chars_option()
[all …]
H A Dregexp.c1571 mb_decompose(int c, int *c1, int *c2, int *c3) in mb_decompose() argument
1578 *c1 = d.a; in mb_decompose()
1584 *c1 = c; in mb_decompose()
1608 int c1, c2, c11, c12; in cstrncmp() local
1615 c1 = c2 = 0; in cstrncmp()
1618 c1 = mb_ptr2char_adv(&str1); in cstrncmp()
1623 if (c1 != c2 && (!rex.reg_ic || utf_fold(c1) != utf_fold(c2))) in cstrncmp()
1626 mb_decompose(c1, &c11, &junk, &junk); in cstrncmp()
1628 c1 = c11; in cstrncmp()
1635 result = c2 - c1; in cstrncmp()
H A Dstrings.c1596 int c1; in f_trim() local
1644 c1 = PTR2CHAR(head); in f_trim()
1647 if (c1 > ' ' && c1 != 0xa0) in f_trim()
1653 if (c1 == PTR2CHAR(p)) in f_trim()
1670 c1 = PTR2CHAR(prev); in f_trim()
1673 if (c1 > ' ' && c1 != 0xa0) in f_trim()
1679 if (c1 == PTR2CHAR(p)) in f_trim()
H A Dfilepath.c4105 int c1, c2; in pathcmp() local
4110 c1 = PTR2CHAR((char_u *)p + i); in pathcmp()
4114 if (c1 == NUL) in pathcmp()
4130 if ((p_fic ? MB_TOUPPER(c1) != MB_TOUPPER(c2) : c1 != c2) in pathcmp()
4133 && !((c1 == '/' && c2 == '\\') in pathcmp()
4134 || (c1 == '\\' && c2 == '/')) in pathcmp()
4138 if (vim_ispathsep(c1)) in pathcmp()
4143 : c1 - c2; // no match in pathcmp()
4152 c1 = PTR2CHAR((char_u *)s + i); in pathcmp()
4159 && (c1 == '/' || c1 == '\\') in pathcmp()
[all …]
H A Darabic.c253 can_join(int c1, int c2) in can_join() argument
255 struct achar *a1 = find_achar(c1); in can_join()
H A Dtesting.c448 int c1, c2; in assert_equalfile() local
454 c1 = fgetc(fd1); in assert_equalfile()
456 if (c1 == EOF) in assert_equalfile()
469 line1[lineidx] = c1; in assert_equalfile()
472 if (c1 != c2) in assert_equalfile()
481 if (c1 == NL) in assert_equalfile()
H A Dregexp_nfa.c456 if (c1 == c2) in nfa_get_regstart()
457 return c1; // yes! in nfa_get_regstart()
5650 int c1, c2; in find_match_text() local
5660 c1 = PTR2CHAR(match_text + len1); in find_match_text()
5662 if (c1 != c2 && (!rex.reg_ic || MB_CASEFOLD(c1) != MB_CASEFOLD(c2))) in find_match_text()
6445 int c1, c2; in nfa_regmatch() local
6463 c1 = state->val; in nfa_regmatch()
6468 curc, c1, c2); in nfa_regmatch()
6470 if (curc >= c1 && curc <= c2) in nfa_regmatch()
6480 for ( ; c1 <= c2; ++c1) in nfa_regmatch()
[all …]
H A Dfindfile.c1326 int c1 = NUL; in ff_wc_equal() local
1339 c1 = PTR2CHAR(s1 + i); in ff_wc_equal()
1342 if ((p_fic ? MB_TOLOWER(c1) != MB_TOLOWER(c2) : c1 != c2) in ff_wc_equal()
1346 prev1 = c1; in ff_wc_equal()
H A Dinsexpand.c726 int c1, c2; in ins_compl_longest_match() local
756 c1 = mb_ptr2char(p); in ins_compl_longest_match()
761 c1 = *p; in ins_compl_longest_match()
765 ? (MB_TOLOWER(c1) != MB_TOLOWER(c2)) : (c1 != c2)) in ins_compl_longest_match()
/vim-8.2.3635/src/testdir/
H A Dtest_cindent.vim333 if (c1 &&
1298 if (c1 &&
2760 c = c1 &&
2775 c = c1 &&
2796 c = c1 &&
2811 c = c1 &&
2832 c = c1 &&
2941 c1 && c2
2983 c1 && c2
3838 func( c1
[all …]
/vim-8.2.3635/src/xdiff/
H A Dxutils.c343 static int xdl_format_hunk_hdr(long s1, long c1, long s2, long c2, in xdl_format_hunk_hdr() argument
353 nb += xdl_num_out(buf + nb, c1 ? s1: s1 - 1); in xdl_format_hunk_hdr()
355 if (c1 != 1) { in xdl_format_hunk_hdr()
359 nb += xdl_num_out(buf + nb, c1); in xdl_format_hunk_hdr()
392 int xdl_emit_hunk_hdr(long s1, long c1, long s2, long c2, in xdl_emit_hunk_hdr() argument
396 return xdl_format_hunk_hdr(s1, c1, s2, c2, func, funclen, ecb); in xdl_emit_hunk_hdr()
398 c1 ? s1 : s1 - 1, c1, in xdl_emit_hunk_hdr()
H A Dxutils.h40 int xdl_emit_hunk_hdr(long s1, long c1, long s2, long c2,
/vim-8.2.3635/runtime/ftplugin/
H A Djulia.vim53 let c1 = c
56 if line('.') > l || col('.') == c1
61 let c1 = col('.')
/vim-8.2.3635/src/proto/
H A Dscreen.pro5 void win_draw_end(win_T *wp, int c1, int c2, int draw_margin, int row, int endrow, hlf_T hl);
28 void screen_fill(int start_row, int end_row, int start_col, int end_col, int c1, int c2, int attr);
H A Dnormal.pro27 void do_nv_ident(int c1, int c2);
/vim-8.2.3635/runtime/doc/
H A Dindent.txt424 if (c1 && (c2 || if (c1 && (c2 ||
427 if (c1 && if (c1 &&
446 c = c1 && c = c1 &&
460 if ( c1 if ( c1
502 c = c1 && ( c = c1 && (
507 c1 && c2 c1 && c2
/vim-8.2.3635/runtime/syntax/
H A Dscreen.vim82 \ c1
/vim-8.2.3635/runtime/indent/
H A Dsqlanywhere.vim371 " c1 int,
375 " IF ( c1 = 1

12