Home
last modified time | relevance | path

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

/PHP-8.3/ext/com_dotnet/
H A Dcom_olechar.c31 OLECHAR *olestring = NULL; in php_com_string_to_olestring() local
44 olestring = (OLECHAR*)safe_emalloc(string_len, sizeof(OLECHAR), 0); in php_com_string_to_olestring()
48 ok = MultiByteToWideChar(codepage, flags, string, (int)string_len, olestring, (int)string_len); in php_com_string_to_olestring()
50 olestring[ok] = '\0'; in php_com_string_to_olestring()
54 olestring = (OLECHAR*)emalloc(sizeof(OLECHAR)); in php_com_string_to_olestring()
55 *olestring = 0; in php_com_string_to_olestring()
67 return olestring; in php_com_string_to_olestring()
70 PHP_COM_DOTNET_API zend_string *php_com_olestring_to_string(OLECHAR *olestring, int codepage) in php_com_olestring_to_string() argument
75 length = WideCharToMultiByte(codepage, 0, olestring, -1, NULL, 0, NULL, NULL); in php_com_olestring_to_string()
82 length = WideCharToMultiByte(codepage, 0, olestring, -1, ZSTR_VAL(string), length, NULL, NULL); in php_com_olestring_to_string()
H A Dcom_variant.c187 OLECHAR *olestring = NULL; in php_com_zval_from_variant() local
238 olestring = V_BSTR(v); in php_com_zval_from_variant()
239 if (olestring) { in php_com_zval_from_variant()
240 zend_string *str = php_com_bstr_to_string(olestring, codepage); in php_com_zval_from_variant()
242 olestring = NULL; in php_com_zval_from_variant()
272 if (olestring) { in php_com_zval_from_variant()
273 efree(olestring); in php_com_zval_from_variant()
H A Dphp_com_dotnet_internal.h84 PHP_COM_DOTNET_API zend_string *php_com_olestring_to_string(OLECHAR *olestring, int codepage);

Completed in 9 milliseconds