Home
last modified time | relevance | path

Searched refs:CAR (Results 1 – 25 of 35) sorted by relevance

12

/vim-8.2.3635/src/
H A Dascii.h31 #define CAR '\015' // CR is used by Mac OS X macro
110 #define CAR '\x0D' macro
H A Dmessage.c1151 c = CAR; // just pretend CR was hit in wait_return()
1158 c = CAR; // no need for a return in ex mode in wait_return()
1245 c = CAR; // just pretend CR was hit in wait_return()
2735 buf[n++] = CAR; in msg_puts_printf()
2752 if (*s == CAR || *s == NL) in msg_puts_printf()
2760 if (*s == CAR || *s == NL) in msg_puts_printf()
2878 case CAR: // one extra line in do_more_prompt()
3804 case CAR: // User accepts default option in do_dialog()
H A Dregexp.c140 case 'r': return CAR; in backslash_trans()
2088 *s = CAR; in vim_regsub_both()
2099 *s = CAR; in vim_regsub_both()
2181 case 'r': c = CAR; ++src; break; in vim_regsub_both()
2275 *dst = CAR; in vim_regsub_both()
2294 if (backslash && (*s == CAR || *s == '\\')) in vim_regsub_both()
H A Dedit.c676 && (c == CAR || c == K_KENTER || c == NL))) in edit()
1178 c = CAR; in edit()
1180 case CAR: in edit()
1185 if (bt_quickfix(curbuf) && c == CAR) in edit()
1198 cmdwin_result = CAR; in edit()
1319 if (c == CAR || c == K_KENTER || c == NL) in edit()
4430 if (idx == 1 && (c == CAR || c == K_KENTER || c == NL)) in bracketed_paste()
H A Dfileio.c2093 || (try_dos && p > ptr && p[-1] == CAR)) in readfile()
2099 else if (*p == CAR && try_mac) in readfile()
2109 for (; p >= ptr && *p != CAR; p--) in readfile()
2117 else if (*p == CAR) in readfile()
2154 if ((c = *ptr) != NUL && c != CAR && c != NL) in readfile()
2159 *ptr = CAR; // NLs are replaced by CRs! in readfile()
2206 if (ptr > line_start && ptr[-1] == CAR) in readfile()
H A Dnormal.c188 {CAR, nv_down, 0, TRUE},
593 && (vim_isprintc(c) || c == NL || c == CAR || c == K_KENTER)) in normal_cmd()
2813 else if (nchar == CAR) in nv_zet()
2884 case CAR: in nv_zet()
4219 else if (bt_quickfix(curbuf) && cap->cmdchar == CAR) in nv_down()
4226 if (cmdwin_type != 0 && cap->cmdchar == CAR) in nv_down()
4227 cmdwin_result = CAR; in nv_down()
4232 if (bt_prompt(curbuf) && cap->cmdchar == CAR in nv_down()
5007 if (cap->nchar == CAR) in nv_replace()
H A Dgetchar.c661 if (c == CAR || c == NL || c == ESC) in stuffReadbuffSpec()
846 add_char_buff(&readbuf2, CAR); in start_redo()
1781 case K_KENTER: c = CAR; break; in vgetc()
2419 && !(State == HITRETURN && (tb_c1 == CAR || tb_c1 == ' ')) in handle_mapping()
H A Dalloc.c860 && ((char_u *)gap->ga_data)[gap->ga_len - 1] == CAR) in append_ga_line()
H A Dmisc2.c901 {CAR, (char_u *)"CR"},
902 {CAR, (char_u *)"Return"}, // Alternative name
903 {CAR, (char_u *)"Enter"}, // Alternative name
H A Dgui_photon.c179 {Pk_Return, CAR, NUL},
184 {CAR, CAR, NUL},
H A Dui.c164 buf[0] = CAR; in ui_inchar()
H A Dex_getln.c3712 || c == CAR || c == NL || c == Ctrl_L in cmdline_paste_str()
4408 cmdwin_result = CAR; in open_cmdwin()
4416 stuffcharReadbuff(CAR); in open_cmdwin()
4422 cmdwin_result = CAR; in open_cmdwin()
H A Dmisc1.c975 else if (c == CAR || c == NL ) in get_number()
2518 if (s[0] == CAR && s[1] == NL) in get_cmd_output_as_rettv()
H A Dbufwrite.c2032 else if (c == CAR && fileformat == EOL_MAC) in buf_write()
2072 *s++ = CAR; // EOL_MAC or EOL_DOS: write CR in buf_write()
H A Djson.c450 case 'r': c = CAR; break; in json_decode_string()
H A Dpopupmenu.c1531 else if (c == CAR || c == NL) in pum_show_popupmenu()
H A Dtesting.c66 case CAR: ga_concat(gap, (char_u *)"\\r"); break; in ga_concat_esc()
H A Dinsexpand.c1453 while (s > ptr && (s[-1] == CAR || s[-1] == NL)) in find_line_end()
2097 && (c == CAR || c == K_KENTER || c == NL))) in ins_compl_prep()
H A Dcharset.c564 else if (c == CAR && get_fileformat(buf) == EOL_MAC) in transchar_nonprint()
H A Dos_unix.c3689 info->enter = CAR; in get_tty_info()
3704 info->enter = CAR; in get_tty_info()
6876 if (!(buffer[i] == CAR && buffer[i + 1] == NL)) in mch_expand_wildcards()
H A Dops.c1021 c = CAR; in op_replace()
3771 nchar = CAR; in do_pending_operator()
H A Dex_cmds.c60 if (c == CAR && get_fileformat(curbuf) == EOL_MAC) in do_ascii()
4568 else if (*p1 == CAR) in ex_substitute()
H A Dtypval.c1897 case 'r': *end++ = CAR; ++p; break; in eval_string()
H A Dgui_athena.c2052 if (*buf == CAR) in keyhit_callback()
H A Dchannel.c1536 p[len] = CAR; in write_buf_line()
2031 if (buf[i] != CAR || i + 1 >= len || buf[i + 1] != NL) in channel_save()

12