Home
last modified time | relevance | path

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

/PHP-7.0/ext/com_dotnet/
H A Dcom_olechar.c33 …_COM_DOTNET_API OLECHAR *php_com_string_to_olestring(char *string, size_t string_len, int codepage) in php_com_string_to_olestring() argument
36 DWORD flags = codepage == CP_UTF8 ? 0 : MB_PRECOMPOSED | MB_ERR_INVALID_CHARS; in php_com_string_to_olestring()
41 string_len = MultiByteToWideChar(codepage, flags, string, -1, NULL, 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()
74 …_DOTNET_API char *php_com_olestring_to_string(OLECHAR *olestring, size_t *string_len, int codepage) 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 Dphp_com_dotnet_internal.h91 size_t *string_len, int codepage);
93 size_t string_len, int codepage);
153 …TNET_API void php_com_variant_from_zval_with_type(VARIANT *v, zval *z, VARTYPE type, int codepage);
154 PHP_COM_DOTNET_API void php_com_variant_from_zval(VARIANT *v, zval *z, int codepage);
155 PHP_COM_DOTNET_API int php_com_zval_from_variant(zval *z, VARIANT *v, int codepage);
166 int codepage);
168 int codepage);
173 int codepage, int *cached);
174 PHP_COM_DOTNET_API ITypeLib *php_com_load_typelib(char *search_string, int codepage);
176 int codepage);
[all …]
H A Dcom_variant.c149 safe_array_from_zval(v, z, codepage); in php_com_variant_from_zval()
170 if (CP_UTF8 == codepage) { in php_com_variant_from_zval()
244 &len, codepage); in php_com_zval_from_variant()
275 php_com_wrap_variant(z, v, codepage); in php_com_zval_from_variant()
443 zend_long codepage = CP_ACP; in PHP_FUNCTION() local
457 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_FUNCTION()
464 obj->code_page = (int)codepage; in PHP_FUNCTION()
562 int codepage = CP_ACP; in variant_binary_operation() local
770 int codepage = CP_ACP; in variant_unary_operation() local
867 int codepage = CP_ACP; in PHP_FUNCTION() local
[all …]
H A Dcom_typeinfo.c55 p = php_com_string_to_olestring(search_string, strlen(search_string), codepage); in php_com_load_typelib()
132 TL = php_com_load_typelib(str, codepage); in php_com_load_typelib()
188 const_name = php_com_olestring_to_string(bstr_ids, &len, codepage); in php_com_import_typelib()
210 php_com_zval_from_variant(&value, pVarDesc->lpvarValue, codepage); in php_com_import_typelib()
233 int codepage, int *cached) in php_com_load_typelib_via_cache() argument
250 TL = php_com_load_typelib(name_dup, codepage); in php_com_load_typelib_via_cache()
420 static char *php_com_string_from_clsid(const CLSID *clsid, int codepage) in php_com_string_from_clsid() argument
426 clsid_str = php_com_olestring_to_string(ole_clsid, NULL, codepage); in php_com_string_from_clsid()
458 ansiname = php_com_olestring_to_string(olename, &ansinamelen, codepage); in php_com_process_typeinfo()
461 guidstring = php_com_string_from_clsid(&attr->guid, codepage); in php_com_process_typeinfo()
[all …]
H A Dcom_misc.c50 int codepage) in php_com_wrap_dispatch() argument
56 obj->code_page = codepage; in php_com_wrap_dispatch()
73 int codepage) in php_com_wrap_variant() argument
79 obj->code_page = codepage; in php_com_wrap_variant()
H A Dcom_persist.c301 long codepage; member
353 &len, helper->codepage); in CPH_METHOD()
403 olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage); in CPH_METHOD()
465 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD()
676 helper->codepage = obj->code_page; in CPH_METHOD()
H A Dcom_com.c829 int codepage = COMG(code_page); in PHP_FUNCTION() local
839 pTL = php_com_load_typelib_via_cache(name, codepage, &cached); in PHP_FUNCTION()
843 } else if (php_com_import_typelib(pTL, cs ? CONST_CS : 0, codepage) == SUCCESS) { in PHP_FUNCTION()
/PHP-7.0/ext/com_dotnet/tests/
H A Dbug73679.phpt2 Bug #73679 DOTNET read access violation using invalid codepage
16 Fatal error: Uncaught com_exception: Could not create .Net object - invalid codepage! in %sbug73679…
/PHP-7.0/
H A DNEWS739 . Fixed bug #73679 (DOTNET read access violation using invalid codepage).
/PHP-7.0/ext/fileinfo/tests/
H A Dmagic5354 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x
5356 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x
16471 >>(78.L+0x1C) belong !0 \b, codepage %d
/PHP-7.0/ext/sqlite3/libsqlite/
H A Dsqlite3.c38827 int codepage = useAnsi ? CP_ACP : CP_OEMCP;
38829 nByte = osMultiByteToWideChar(codepage, 0, zText, -1, NULL,
38838 nByte = osMultiByteToWideChar(codepage, 0, zText, -1, zMbcsText,
38856 int codepage = useAnsi ? CP_ACP : CP_OEMCP;
38858 nByte = osWideCharToMultiByte(codepage, 0, zWideText, -1, 0, 0, 0, 0);
38866 nByte = osWideCharToMultiByte(codepage, 0, zWideText, -1, zText,

Completed in 454 milliseconds