/PHP-7.2/ext/com_dotnet/ |
H A D | com_olechar.c | 33 …_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 D | php_com_dotnet_internal.h | 93 size_t *string_len, int codepage); 95 size_t string_len, int codepage); 155 …TNET_API void php_com_variant_from_zval_with_type(VARIANT *v, zval *z, VARTYPE type, int codepage); 156 PHP_COM_DOTNET_API void php_com_variant_from_zval(VARIANT *v, zval *z, int codepage); 157 PHP_COM_DOTNET_API int php_com_zval_from_variant(zval *z, VARIANT *v, int codepage); 168 int codepage); 170 int codepage); 175 int codepage, int *cached); 176 PHP_COM_DOTNET_API ITypeLib *php_com_load_typelib(char *search_string, int codepage); 178 int codepage); [all …]
|
H A D | com_variant.c | 149 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 D | com_typeinfo.c | 55 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() 200 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 D | com_misc.c | 50 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 D | com_persist.c | 301 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 D | com_com.c | 831 int codepage = COMG(code_page); in PHP_FUNCTION() local 841 pTL = php_com_load_typelib_via_cache(name, codepage, &cached); in PHP_FUNCTION() 845 } else if (php_com_import_typelib(pTL, cs ? CONST_CS : 0, codepage) == SUCCESS) { in PHP_FUNCTION()
|
/PHP-7.2/ext/com_dotnet/tests/ |
H A D | bug73679.phpt | 2 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.2/ext/standard/tests/file/windows_mb_path/ |
H A D | util.inc | 50 die("skip this test expect codepage $cp");
|
/PHP-7.2/win32/build/ |
H A D | config.w32 | 255 getrusage.c ftok.c ioutil.c codepage.c nice.c \
|
/PHP-7.2/ |
H A D | NEWS | 1814 . Fixed bug #75063 (Main CWD initialized with wrong codepage). (Anatol) 2369 . Fixed bug #73679 (DOTNET read access violation using invalid codepage).
|
/PHP-7.2/ext/fileinfo/tests/ |
H A D | magic | 7007 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x 7009 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x 19818 >>(78.L+0x1C) belong !0 \b, codepage %d
|
H A D | magic私はガラスを食べられます | 7007 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x 7009 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x 19818 >>(78.L+0x1C) belong !0 \b, codepage %d
|
/PHP-7.2/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 42315 int codepage = useAnsi ? CP_ACP : CP_OEMCP; 42317 nByte = osMultiByteToWideChar(codepage, 0, zText, -1, NULL, 42326 nByte = osMultiByteToWideChar(codepage, 0, zText, -1, zMbcsText, 42344 int codepage = useAnsi ? CP_ACP : CP_OEMCP; 42346 nByte = osWideCharToMultiByte(codepage, 0, zWideText, -1, 0, 0, 0, 0); 42354 nByte = osWideCharToMultiByte(codepage, 0, zWideText, -1, zText,
|