Home
last modified time | relevance | path

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

/PHP-8.2/ext/com_dotnet/
H A Dcom_olechar.c105 int wc_len; in php_com_string_to_bstr() local
107 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
110 if ((bstr = SysAllocStringLen(NULL, (UINT)(wc_len - 1))) == NULL) { in php_com_string_to_bstr()
113 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len in php_com_string_to_bstr()
130 UINT wc_len = SysStringLen(bstr); in php_com_bstr_to_string() local
133 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
136 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()

Completed in 6 milliseconds