Home
last modified time | relevance | path

Searched refs:tolen (Results 1 – 3 of 3) sorted by relevance

/vim-8.2.3635/src/
H A Dstrings.c520 size_t tolen = STRLEN(to); in vim_strcat() local
523 if (tolen + fromlen + 1 > tosize) in vim_strcat()
525 mch_memmove(to + tolen, from, tosize - tolen - 1); in vim_strcat()
529 mch_memmove(to + tolen, from, fromlen + 1); in vim_strcat()
1476 int tolen; in f_tr() local
1526 for (p = tostr; *p != NUL; p += tolen) in f_tr()
1528 tolen = (*mb_ptr2len)(p); in f_tr()
1531 cplen = tolen; in f_tr()
1549 for (p = tostr; *p != NUL; p += tolen) in f_tr()
1551 tolen = (*mb_ptr2len)(p); in f_tr()
H A Dbufwrite.c422 size_t tolen; in buf_write_bytes() local
437 tolen = ip->bw_conv_buflen - fromlen; in buf_write_bytes()
443 tolen = ip->bw_conv_buflen; in buf_write_bytes()
449 size_t save_len = tolen; in buf_write_bytes()
452 (void)iconv(ip->bw_iconv_fd, NULL, NULL, &to, &tolen); in buf_write_bytes()
459 tolen = save_len; in buf_write_bytes()
465 if ((iconv(ip->bw_iconv_fd, (void *)&from, &fromlen, &to, &tolen) in buf_write_bytes()
H A Dmbyte.c4705 size_t tolen; in my_iconv_open() local
4729 tolen = ICONV_TESTLEN; in my_iconv_open()
4730 (void)iconv(fd, NULL, NULL, &p, &tolen); in my_iconv_open()
4762 size_t tolen; in iconv_string() local
4788 tolen = len - done - 2; in iconv_string()
4791 if (iconv(vcp->vc_fd, (void *)&from, &fromlen, &to, &tolen) in iconv_string()