Home
last modified time | relevance | path

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

/PHP-7.0/ext/com_dotnet/
H A Dcom_olechar.c35 OLECHAR *olestring = NULL; in php_com_string_to_olestring() local
48 olestring = (OLECHAR*)safe_emalloc(string_len, sizeof(OLECHAR), 0); in php_com_string_to_olestring()
52 ok = MultiByteToWideChar(codepage, flags, string, (int)string_len, olestring, (int)string_len); in php_com_string_to_olestring()
54 olestring[ok] = '\0'; in php_com_string_to_olestring()
58 olestring = (OLECHAR*)emalloc(sizeof(OLECHAR)); in php_com_string_to_olestring()
59 *olestring = 0; in php_com_string_to_olestring()
71 return olestring; in php_com_string_to_olestring()
74 PHP_COM_DOTNET_API char *php_com_olestring_to_string(OLECHAR *olestring, size_t *string_len, int co… in php_com_olestring_to_string() argument
80 length = WideCharToMultiByte(codepage, 0, olestring, -1, NULL, 0, NULL, NULL); in php_com_olestring_to_string()
84 length = WideCharToMultiByte(codepage, 0, olestring, -1, string, length, NULL, NULL); in php_com_olestring_to_string()
H A Dcom_variant.c101 OLECHAR *olestring; in php_com_variant_from_zval() local
169 olestring = php_com_string_to_olestring(Z_STRVAL_P(z), Z_STRLEN_P(z), codepage); in php_com_variant_from_zval()
171 … V_BSTR(v) = SysAllocStringByteLen((char*)olestring, (UINT)(wcslen(olestring) * sizeof(OLECHAR))); in php_com_variant_from_zval()
175 efree(olestring); in php_com_variant_from_zval()
189 OLECHAR *olestring = NULL; in php_com_zval_from_variant() local
240 olestring = V_BSTR(v); in php_com_zval_from_variant()
241 if (olestring) { in php_com_zval_from_variant()
243 char *str = php_com_olestring_to_string(olestring, in php_com_zval_from_variant()
248 olestring = NULL; in php_com_zval_from_variant()
278 if (olestring) { in php_com_zval_from_variant()
[all …]
H A Dphp_com_dotnet_internal.h90 PHP_COM_DOTNET_API char *php_com_olestring_to_string(OLECHAR *olestring,

Completed in 16 milliseconds