Lines Matching refs:outlen
55 int outlen = 0; in utf8_to_utf16() local
77 ++outlen; in utf8_to_utf16()
86 ++outlen; in utf8_to_utf16()
91 return outlen; in utf8_to_utf16()
104 int outlen = 0; in utf16_to_utf8() local
132 outlen += l; in utf16_to_utf8()
136 return outlen; in utf16_to_utf8()
147 LPWSTR *out, int *outlen) in MultiByteToWideChar_alloc() argument
149 *outlen = MultiByteToWideChar(cp, flags, in, inlen, 0, 0); in MultiByteToWideChar_alloc()
151 *out = ALLOC_MULT(WCHAR, *outlen + 1); 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
169 *outlen = WideCharToMultiByte(cp, flags, in, inlen, NULL, 0, def, useddef); in WideCharToMultiByte_alloc()
171 *out = alloc(*outlen + 1); in WideCharToMultiByte_alloc()
174 WideCharToMultiByte(cp, flags, in, inlen, *out, *outlen, def, useddef); in WideCharToMultiByte_alloc()
175 (*out)[*outlen] = 0; in WideCharToMultiByte_alloc()
738 int *outlen) in acp_to_enc() argument
744 &widestr, outlen); in acp_to_enc()
747 ++*outlen; // Include the 0 after the string in acp_to_enc()
748 *out = utf16_to_enc((short_u *)widestr, outlen); in acp_to_enc()
763 int *outlen) in enc_to_acp() argument
773 (LPSTR *)out, outlen, 0, 0); in enc_to_acp()