Home
last modified time | relevance | path

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

/PHP-7.3/ext/com_dotnet/
H A Dcom_olechar.c112 int wc_len; in php_com_string_to_bstr() local
114 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
117 if ((bstr = SysAllocStringLen(NULL, (UINT)(wc_len - 1))) == NULL) { in php_com_string_to_bstr()
120 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len in php_com_string_to_bstr()
137 UINT wc_len = SysStringLen(bstr); in php_com_bstr_to_string() local
140 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
143 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()

Completed in 5 milliseconds