| /vim-8.2.3635/src/ |
| H A D | ui.c | 119 int maxlen, in ui_inchar() argument 131 if (maxlen >= ta_len - ta_off) in ui_inchar() 138 ta_off += maxlen; in ui_inchar() 139 return maxlen; in ui_inchar() 268 int maxlen, in inchar_loop() argument 330 if (trigger_cursorhold() && maxlen >= 3 in inchar_loop() 896 if (maxlen > inbufcount) in read_from_input_buf() 897 maxlen = inbufcount; in read_from_input_buf() 898 mch_memmove(buf, inbuf, (size_t)maxlen); in read_from_input_buf() 899 inbufcount -= maxlen; in read_from_input_buf() [all …]
|
| H A D | winclip.c | 303 int maxlen; in clip_mch_request_selection() local 371 maxlen = (int)(GlobalSize(hMemW) / sizeof(WCHAR)); in clip_mch_request_selection() 374 if (metadata.ucslen > maxlen) in clip_mch_request_selection() 375 str_size = maxlen; in clip_mch_request_selection() 381 for (str_size = 0; str_size < maxlen; ++str_size) in clip_mch_request_selection() 398 maxlen = (int)GlobalSize(hMem); in clip_mch_request_selection() 401 if (metadata.txtlen > maxlen) in clip_mch_request_selection() 402 str_size = maxlen; in clip_mch_request_selection() 408 for (str_size = 0; str_size < maxlen; ++str_size) in clip_mch_request_selection() 415 acp_to_enc(str, str_size, &to_free, &maxlen); in clip_mch_request_selection() [all …]
|
| H A D | message.c | 1707 if (maxlen > 0 && retval + len >= maxlen) in msg_outtrans_special() 2162 int maxlen, in msg_puts_display() argument 2177 while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL) in msg_puts_display() 2227 if (enc_utf8 && maxlen >= 0) in msg_puts_display() 2323 if (enc_utf8 && maxlen >= 0) in msg_puts_display() 2721 while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL) in msg_puts_printf() 2772 if (maxlen > 0 && STRLEN(p) > (size_t)maxlen) in msg_puts_printf() 3459 redir_write(char_u *str, int maxlen) in redir_write() argument 3498 execute_redir_str(s, maxlen); in redir_write() 3502 var_redir_str(s, maxlen); in redir_write() [all …]
|
| H A D | charset.c | 1834 && (maxlen == 0 || maxlen > 1)) in vim_str2nr() 1839 && (maxlen == 0 || maxlen > 2)) in vim_str2nr() 1844 && (maxlen == 0 || maxlen > 2)) in vim_str2nr() 1849 && (maxlen == 0 || maxlen > 2)) in vim_str2nr() 1888 if (n++ == maxlen) in vim_str2nr() 1894 if (n++ == maxlen) in vim_str2nr() 1913 if (n++ == maxlen) in vim_str2nr() 1919 if (n++ == maxlen) in vim_str2nr() 1937 if (n++ == maxlen) in vim_str2nr() 1942 if (n++ == maxlen) in vim_str2nr() [all …]
|
| H A D | register.c | 2752 int maxlen, in write_reg_contents() argument 2762 int maxlen UNUSED, in write_reg_contents_lst() 2803 int maxlen, in write_reg_contents_ex() argument 2811 if (maxlen >= 0) in write_reg_contents_ex() 2812 len = maxlen; in write_reg_contents_ex() 2899 long maxlen; in str_to_reg() local 2951 maxlen = 0; in str_to_reg() 2963 if (charlen > maxlen) in str_to_reg() 2964 maxlen = charlen; in str_to_reg() 2982 if (charlen > maxlen) in str_to_reg() [all …]
|
| H A D | cmdexpand.c | 531 int maxlen; in showmatches() local 580 maxlen = 0; in showmatches() 592 if (j > maxlen) in showmatches() 593 maxlen = j; in showmatches() 601 maxlen += 2; // two spaces between file names in showmatches() 602 columns = ((int)Columns + 2) / maxlen; in showmatches() 614 msg_advance(maxlen - 3); in showmatches() 628 msg_advance(maxlen + 1); in showmatches() 630 msg_advance(maxlen + 3); in showmatches() 634 for (j = maxlen - lastlen; --j >= 0; ) in showmatches()
|
| H A D | mbyte.c | 1981 int maxlen) in utfc_ptr2char_len() argument 1989 len = utf_ptr2len_len(p, maxlen); in utfc_ptr2char_len() 1992 && len < maxlen in utfc_ptr2char_len() 2002 len += utf_ptr2len_len(p + len, maxlen - len); in utfc_ptr2char_len() 2003 if (len >= maxlen in utfc_ptr2char_len() 5141 convert_input(char_u *ptr, int len, int maxlen) in convert_input() argument 5143 return convert_input_safe(ptr, len, maxlen, NULL, NULL); in convert_input() 5156 int maxlen, in convert_input_safe() argument 5168 if (dlen <= maxlen) in convert_input_safe()
|
| H A D | os_amiga.c | 155 int maxlen, in mch_inchar() argument 180 if (trigger_cursorhold() && maxlen >= 3) in mch_inchar() 193 len = Read(raw_in, (char *)buf, (long)maxlen / input_conv.vc_factor); in mch_inchar() 198 len = convert_input(buf, len, maxlen); in mch_inchar()
|
| H A D | misc1.c | 799 int maxlen; in get_keystroke() local 814 maxlen = (buflen - 6 - len) / 3; in get_keystroke() 817 else if (maxlen < 10) in get_keystroke() 827 maxlen = (buflen - 6 - len) / 3; in get_keystroke() 837 n = ui_inchar(buf + len, maxlen, len == 0 ? -1L : 100L, 0); in get_keystroke()
|
| H A D | if_cscope.c | 2058 int maxlen; in cs_read_prompt() local 2065 maxlen = (int)(IOSIZE - strlen(cs_emsg)); in cs_read_prompt() 2071 if (bufpos < maxlen - 1 && vim_isprintc(ch)) in cs_read_prompt() 2074 buf = alloc(maxlen); in cs_read_prompt()
|
| H A D | buffer.c | 3795 int maxlen = 0; in maketitle() local 3816 maxlen = p_titlelen * Columns / 100; in maketitle() 3817 if (maxlen < 10) in maketitle() 3818 maxlen = 10; in maketitle() 3835 0, maxlen, NULL, NULL); in maketitle() 3940 if (maxlen > 0) in maketitle() 3943 if (vim_strsize(buf) > maxlen) in maketitle() 3944 trunc_string(buf, buf, maxlen, IOSIZE); in maketitle()
|
| H A D | findfile.c | 2385 int maxlen = 0; in get_path_cutoff() local 2399 if (j > maxlen) in get_path_cutoff() 2401 maxlen = j; in get_path_cutoff()
|
| H A D | ex_cmds.c | 378 long maxlen = 0; in ex_sort() local 511 if (maxlen < len) in ex_sort() 512 maxlen = len; in ex_sort() 600 sortbuf1 = alloc(maxlen + 1); in ex_sort() 603 sortbuf2 = alloc(maxlen + 1); in ex_sort()
|
| /vim-8.2.3635/src/proto/ |
| H A D | ui.pro | 4 int ui_inchar(char_u *buf, int maxlen, long wtime, int tb_change_cnt); 5 int inchar_loop(char_u *buf, int maxlen, long wtime, int tb_change_cnt, int (*wait_func)(long wtime… 26 int read_from_input_buf(char_u *buf, long maxlen);
|
| H A D | register.pro | 38 void write_reg_contents(int name, char_u *str, int maxlen, int must_append); 39 void write_reg_contents_lst(int name, char_u **strings, int maxlen, int must_append, int yank_type,… 40 void write_reg_contents_ex(int name, char_u *str, int maxlen, int must_append, int yank_type, long …
|
| H A D | mbyte.pro | 30 int utfc_ptr2char_len(char_u *p, int *pcc, int maxlen); 83 int convert_input(char_u *ptr, int len, int maxlen); 84 int convert_input_safe(char_u *ptr, int len, int maxlen, char_u **restp, int *restlenp);
|
| H A D | os_amiga.pro | 5 int mch_inchar(char_u *buf, int maxlen, long time, int tb_change_cnt);
|
| H A D | spell.pro | 9 void spell_cat_line(char_u *buf, char_u *line, int maxlen);
|
| H A D | gui.pro | 33 int gui_inchar(char_u *buf, int maxlen, long wtime, int tb_change_cnt);
|
| H A D | misc2.pro | 22 int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars);
|
| H A D | charset.pro | 58 …rt, int *prep, int *len, int what, varnumber_T *nptr, uvarnumber_T *unptr, int maxlen, int strict);
|
| H A D | filepath.pro | 59 int pathcmp(const char *p, const char *q, int maxlen);
|
| H A D | os_win32.pro | 14 int mch_inchar(char_u *buf, int maxlen, long time, int tb_change_cnt);
|
| H A D | message.pro | 39 int msg_outtrans_special(char_u *strstart, int from, int maxlen);
|
| H A D | os_unix.pro | 4 int mch_inchar(char_u *buf, int maxlen, long wtime, int tb_change_cnt);
|