Lines Matching refs:cc

35 static void mb_replace_pop_ins(int cc);
1867 int cc; in get_literal() local
1891 cc = 0; in get_literal()
1915 cc = cc * 16 + hex2nr(nc); in get_literal()
1921 cc = cc * 8 + nc - '0'; in get_literal()
1927 cc = cc * 10 + nc - '0'; in get_literal()
1933 if (cc > 255 && unicode == 0) in get_literal()
1934 cc = 255; // limit range to 0-255 in get_literal()
1954 cc = '\n'; in get_literal()
1959 cc = nc; in get_literal()
1964 if (cc == 0) // NUL is stored as NL in get_literal()
1965 cc = '\n'; in get_literal()
1966 if (enc_dbcs && (cc & 0xff) == 0) in get_literal()
1967 cc = '?'; // don't accept an illegal DBCS char, the NUL in the in get_literal()
1978 return cc; in get_literal()
2253 int cc; in insertchar() local
2255 if (has_mbyte && (cc = (*mb_char2len)(c)) > 1) in insertchar()
2260 buf[cc] = NUL; in insertchar()
2261 ins_char_bytes(buf, cc); in insertchar()
2415 int cc; in stop_insert() local
2450 cc = 'x'; in stop_insert()
2454 cc = gchar_cursor(); in stop_insert()
2455 if (!VIM_ISWHITE(cc)) in stop_insert()
2461 if (VIM_ISWHITE(cc)) in stop_insert()
2494 cc = gchar_cursor(); in stop_insert()
2495 if (!VIM_ISWHITE(cc)) in stop_insert()
2507 if (cc != NUL && gchar_pos(&tpos) == NUL) in stop_insert()
3085 int cc; in replace_pop_ins() local
3089 while ((cc = replace_pop()) > 0) in replace_pop_ins()
3091 mb_replace_pop_ins(cc); in replace_pop_ins()
3102 mb_replace_pop_ins(int cc) in mb_replace_pop_ins() argument
3109 if (has_mbyte && (n = MB_BYTE2LEN(cc)) > 1) in mb_replace_pop_ins()
3111 buf[0] = cc; in mb_replace_pop_ins()
3117 ins_char(cc); in mb_replace_pop_ins()
3174 int cc; in replace_do_bs() local
3183 cc = replace_pop(); in replace_do_bs()
3184 if (cc > 0) in replace_do_bs()
3209 replace_push(cc); in replace_do_bs()
3213 pchar_cursor(cc); in replace_do_bs()
3257 else if (cc == 0) in replace_do_bs()
3965 int cc; in ins_bs() local
4056 cc = -1; in ins_bs()
4058 cc = replace_pop(); // returns -1 if NL was inserted in ins_bs()
4115 while (cc > 0) in ins_bs()
4118 mb_replace_pop_ins(cc); in ins_bs()
4120 cc = replace_pop(); in ins_bs()
4207 && (cc = *(ml_get_cursor() - 1), VIM_ISWHITE(cc))) in ins_bs()
4251 cc = gchar_cursor(); in ins_bs()
4260 if (mode == BACKSPACE_WORD && !vim_isspace(cc)) in ins_bs()
4263 temp = vim_iswordc(cc); in ins_bs()
4267 && ((vim_isspace(cc) || vim_iswordc(cc) != temp) in ins_bs()
5168 int cc; in ins_digraph() local
5228 cc = plain_vgetc(); in ins_digraph()
5235 if (cc != ESC) in ins_digraph()
5238 c = digraph_get(c, cc, TRUE); in ins_digraph()