| /vim-8.2.3635/src/ |
| H A D | winclip.c | 616 enc_to_utf16(char_u *str, int *lenp) in enc_to_utf16() argument 624 if (lenp == NULL) in enc_to_utf16() 627 lenp = &len_loc; in enc_to_utf16() 654 length = utf8_to_utf16(str, *lenp, NULL, NULL); in enc_to_utf16() 665 *lenp = length; in enc_to_utf16() 678 utf16_to_enc(short_u *str, int *lenp) in utf16_to_enc() argument 684 if (lenp == NULL) in utf16_to_enc() 687 lenp = &len_loc; in utf16_to_enc() 697 *lenp = length; in utf16_to_enc() 702 utf8_str = alloc(utf16_to_utf8(str, *lenp == 0 ? 1 : *lenp, NULL)); in utf16_to_enc() [all …]
|
| H A D | os_mac_conv.c | 49 int *lenp, in mac_string_convert() argument 115 if (lenp) in mac_string_convert() 116 *lenp = buflen / sizeof(char_u); in mac_string_convert() 162 if (lenp != NULL) in mac_string_convert() 163 *lenp = out; in mac_string_convert() 167 if (lenp != NULL) in mac_string_convert() 168 *lenp = STRLEN(retval); in mac_string_convert()
|
| H A D | mbyte.c | 5200 int *lenp) in string_convert() argument 5214 int *lenp, in string_convert_ext() argument 5224 if (lenp == NULL) in string_convert_ext() 5227 len = *lenp; in string_convert_ext() 5250 if (lenp != NULL) in string_convert_ext() 5276 if (lenp != NULL) in string_convert_ext() 5352 if (lenp != NULL) in string_convert_ext() 5401 if (lenp != NULL) in string_convert_ext() 5402 *lenp = 0; in string_convert_ext() 5436 if (lenp != NULL) in string_convert_ext() [all …]
|
| H A D | usercmd.c | 1219 uc_split_args(char_u *arg, size_t *lenp) in uc_split_args() argument 1266 *lenp = 0; in uc_split_args() 1309 *lenp = len; in uc_split_args()
|
| H A D | userfunc.c | 1550 int *lenp, in deref_func_name() argument 1565 cc = name[*lenp]; in deref_func_name() 1566 name[*lenp] = NUL; in deref_func_name() 1569 name[*lenp] = cc; in deref_func_name() 1578 int len = *lenp; in deref_func_name() 1593 *lenp = (int)STRLEN(s); in deref_func_name() 1615 *lenp = 0; in deref_func_name() 1619 *lenp = (int)STRLEN(s); in deref_func_name() 1628 *lenp = 0; in deref_func_name() 1634 *lenp = (int)STRLEN(s); in deref_func_name()
|
| H A D | normal.c | 3857 int *lenp) // return: length of selected text in get_visual_text() argument 3870 *lenp = (int)STRLEN(*pp); in get_visual_text() 3877 *lenp = VIsual.col - curwin->w_cursor.col + 1; in get_visual_text() 3882 *lenp = curwin->w_cursor.col - VIsual.col + 1; in get_visual_text() 3885 *lenp = 0; in get_visual_text() 3886 if (has_mbyte && *lenp > 0) in get_visual_text() 3888 *lenp += (*mb_ptr2len)(*pp + (*lenp - 1)) - 1; in get_visual_text()
|
| H A D | gui_w32.c | 4192 static char_u *GetResultStr(HWND hwnd, int GCS, int *lenp); 5734 GetCompositionString_inUCS2(HIMC hIMC, DWORD GCS, int *lenp) in GetCompositionString_inUCS2() argument 5755 *lenp = ret / sizeof(WCHAR); in GetCompositionString_inUCS2() 5773 MultiByteToWideChar_alloc(GetACP(), 0, (LPCSTR)buf, ret, &wbuf, lenp); in GetCompositionString_inUCS2() 5786 GetResultStr(HWND hwnd, int GCS, int *lenp) in GetResultStr() argument 5796 buf = GetCompositionString_inUCS2(hIMC, GCS, lenp); in GetResultStr() 5800 convbuf = utf16_to_enc(buf, lenp); in GetResultStr()
|
| H A D | fileio.c | 43 static char_u *check_for_bom(char_u *p, long size, int *lenp, int flags); 3271 int *lenp, in check_for_bom() argument 3313 *lenp = len; in check_for_bom()
|
| /vim-8.2.3635/src/proto/ |
| H A D | winclip.pro | 11 short_u *enc_to_utf16(char_u *str, int *lenp); 12 char_u *utf16_to_enc(short_u *str, int *lenp);
|
| H A D | mbyte.pro | 85 char_u *string_convert(vimconv_T *vcp, char_u *ptr, int *lenp); 86 char_u *string_convert_ext(vimconv_T *vcp, char_u *ptr, int *lenp, int *unconvlenp);
|
| H A D | os_mac_conv.pro | 2 char_u *mac_string_convert(char_u *ptr, int len, int *lenp, int fail_on_error, int from_enc, int to…
|
| H A D | normal.pro | 28 int get_visual_text(cmdarg_T *cap, char_u **pp, int *lenp);
|
| H A D | userfunc.pro | 7 char_u *deref_func_name(char_u *name, int *lenp, partial_T **partialp, type_T **type, int no_autolo…
|