Lines Matching refs:conv
618 vimconv_T conv; in enc_to_utf16() local
642 conv.vc_type = CONV_NONE; in enc_to_utf16()
643 if (convert_setup(&conv, p_enc ? p_enc : (char_u *)"latin1", in enc_to_utf16()
646 if (conv.vc_type != CONV_NONE) in enc_to_utf16()
648 str = allocbuf = string_convert(&conv, str, lenp); in enc_to_utf16()
652 convert_setup(&conv, NULL, NULL); in enc_to_utf16()
680 vimconv_T conv; in utf16_to_enc() local
708 conv.vc_type = CONV_NONE; in utf16_to_enc()
709 convert_setup(&conv, (char_u *)"utf-8", in utf16_to_enc()
711 if (conv.vc_type == CONV_NONE) in utf16_to_enc()
718 enc_str = string_convert(&conv, utf8_str, lenp); in utf16_to_enc()
722 convert_setup(&conv, NULL, NULL); in utf16_to_enc()