Home
last modified time | relevance | path

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

/PHP-8.0/ext/com_dotnet/
H A Dcom_olechar.c110 int wc_len; in php_com_string_to_bstr() local
112 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
115 if ((bstr = SysAllocStringLen(NULL, (UINT)(wc_len - 1))) == NULL) { in php_com_string_to_bstr()
118 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len in php_com_string_to_bstr()
135 UINT wc_len = SysStringLen(bstr); in php_com_bstr_to_string() local
138 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
141 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()

Completed in 15 milliseconds