Lines Matching refs:from
255 char_u *from; in buf_write_bytes() local
268 from = ip->bw_conv_buf + ip->bw_conv_buflen - fromlen; in buf_write_bytes()
269 mch_memmove(from, ip->bw_rest, (size_t)ip->bw_restlen); in buf_write_bytes()
270 mch_memmove(from + ip->bw_restlen, buf, (size_t)len); in buf_write_bytes()
274 from = buf; in buf_write_bytes()
285 n = (int)utf_ptr2len_len(from, (int)fromlen); in buf_write_bytes()
288 u8c = utf_ptr2char(from); in buf_write_bytes()
292 from += n; in buf_write_bytes()
303 mch_memmove(ip->bw_rest, from, fromlen); in buf_write_bytes()
312 MB_ERR_INVALID_CHARS, (LPCSTR)from, (int)fromlen, in buf_write_bytes()
318 MB_ERR_INVALID_CHARS, (LPCSTR)from, (int)fromlen - 1, in buf_write_bytes()
327 ip->bw_rest[0] = from[fromlen - 1]; in buf_write_bytes()
331 (LPCSTR)from, (int)(fromlen - ip->bw_restlen), in buf_write_bytes()
349 for (from = ip->bw_conv_buf; fromlen > 1; fromlen -= 2) in buf_write_bytes()
351 u8c = *from++; in buf_write_bytes()
352 u8c += (*from++ << 8); in buf_write_bytes()
386 char_u *from; in buf_write_bytes() local
395 from = ip->bw_conv_buf + ip->bw_conv_buflen - fromlen; in buf_write_bytes()
396 mch_memmove(from, ip->bw_rest, (size_t)ip->bw_restlen); in buf_write_bytes()
397 mch_memmove(from + ip->bw_restlen, buf, (size_t)len); in buf_write_bytes()
401 from = buf; in buf_write_bytes()
405 if (enc2macroman(from, fromlen, in buf_write_bytes()
419 const char *from; in buf_write_bytes() local
436 from = fp; in buf_write_bytes()
441 from = (const char *)buf; in buf_write_bytes()
465 if ((iconv(ip->bw_iconv_fd, (void *)&from, &fromlen, &to, &tolen) in buf_write_bytes()
475 mch_memmove(ip->bw_rest, (void *)from, fromlen); in buf_write_bytes()