Lines Matching refs:out
147 LPWSTR *out, int *outlen) in MultiByteToWideChar_alloc() argument
151 *out = ALLOC_MULT(WCHAR, *outlen + 1); in MultiByteToWideChar_alloc()
152 if (*out != NULL) in MultiByteToWideChar_alloc()
154 MultiByteToWideChar(cp, flags, in, inlen, *out, *outlen); in MultiByteToWideChar_alloc()
155 (*out)[*outlen] = 0; in MultiByteToWideChar_alloc()
166 LPSTR *out, int *outlen, in WideCharToMultiByte_alloc() argument
171 *out = alloc(*outlen + 1); in WideCharToMultiByte_alloc()
172 if (*out != NULL) in WideCharToMultiByte_alloc()
174 WideCharToMultiByte(cp, flags, in, inlen, *out, *outlen, def, useddef); in WideCharToMultiByte_alloc()
175 (*out)[*outlen] = 0; in WideCharToMultiByte_alloc()
499 WCHAR *out; in clip_mch_set_selection() local
504 out = (WCHAR *)enc_to_utf16(str, &len); in clip_mch_set_selection()
505 if (out != NULL) in clip_mch_set_selection()
511 metadata.txtlen = WideCharToMultiByte(GetACP(), 0, out, len, in clip_mch_set_selection()
517 vim_free(out); in clip_mch_set_selection()
520 WideCharToMultiByte(GetACP(), 0, out, len, in clip_mch_set_selection()
530 memcpy(lpszMemW, out, len * sizeof(WCHAR)); in clip_mch_set_selection()
534 vim_free(out); in clip_mch_set_selection()
737 char_u **out, in acp_to_enc() argument
748 *out = utf16_to_enc((short_u *)widestr, outlen); in acp_to_enc()
762 char_u **out, in enc_to_acp() argument
773 (LPSTR *)out, outlen, 0, 0); in enc_to_acp()