/PHP-7.3/ext/com_dotnet/ |
H A D | com_olechar.c | 31 …_COM_DOTNET_API OLECHAR *php_com_string_to_olestring(char *string, size_t string_len, int codepage) in php_com_string_to_olestring() argument 34 DWORD flags = codepage == CP_UTF8 ? 0 : MB_PRECOMPOSED | MB_ERR_INVALID_CHARS; in php_com_string_to_olestring() 39 string_len = MultiByteToWideChar(codepage, flags, string, -1, NULL, 0); in php_com_string_to_olestring() 50 ok = MultiByteToWideChar(codepage, flags, string, (int)string_len, olestring, (int)string_len); in php_com_string_to_olestring() 78 length = WideCharToMultiByte(codepage, 0, olestring, -1, NULL, 0, NULL, NULL); in php_com_olestring_to_string() 82 length = WideCharToMultiByte(codepage, 0, olestring, -1, string, length, NULL, NULL); in php_com_olestring_to_string() 107 BSTR php_com_string_to_bstr(zend_string *string, int codepage) in php_com_string_to_bstr() argument 110 DWORD flags = codepage == CP_UTF8 ? 0 : MB_PRECOMPOSED | MB_ERR_INVALID_CHARS; in php_com_string_to_bstr() 134 zend_string *php_com_bstr_to_string(BSTR bstr, int codepage) in php_com_bstr_to_string() argument 140 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string() [all …]
|
H A D | php_com_dotnet_internal.h | 89 size_t *string_len, int codepage); 91 size_t string_len, int codepage); 92 BSTR php_com_string_to_bstr(zend_string *string, int codepage); 93 zend_string *php_com_bstr_to_string(BSTR bstr, 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); [all …]
|
H A D | com_variant.c | 146 safe_array_from_zval(v, z, codepage); in php_com_variant_from_zval() 242 php_com_wrap_dispatch(z, disp, codepage); in php_com_zval_from_variant() 261 php_com_wrap_variant(z, v, codepage); in php_com_zval_from_variant() 429 zend_long codepage = CP_ACP; in PHP_FUNCTION() local 443 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_FUNCTION() 450 obj->code_page = (int)codepage; in PHP_FUNCTION() 548 int codepage = CP_ACP; in variant_binary_operation() local 573 php_com_variant_from_zval(vleft, zleft, codepage); in variant_binary_operation() 756 int codepage = CP_ACP; in variant_unary_operation() local 853 int codepage = CP_ACP; in PHP_FUNCTION() local [all …]
|
H A D | com_typeinfo.c | 53 p = php_com_string_to_olestring(search_string, strlen(search_string), codepage); in php_com_load_typelib() 130 TL = php_com_load_typelib(str, codepage); in php_com_load_typelib() 186 const_name = php_com_olestring_to_string(bstr_ids, &len, codepage); in php_com_import_typelib() 198 php_com_zval_from_variant(&value, pVarDesc->lpvarValue, codepage); in php_com_import_typelib() 230 int codepage, int *cached) in php_com_load_typelib_via_cache() argument 247 TL = php_com_load_typelib(name_dup, codepage); in php_com_load_typelib_via_cache() 421 static char *php_com_string_from_clsid(const CLSID *clsid, int codepage) in php_com_string_from_clsid() argument 427 clsid_str = php_com_olestring_to_string(ole_clsid, NULL, codepage); in php_com_string_from_clsid() 460 ansiname = php_com_olestring_to_string(olename, &ansinamelen, codepage); in php_com_process_typeinfo() 463 guidstring = php_com_string_from_clsid(&attr->guid, codepage); in php_com_process_typeinfo() [all …]
|
H A D | com_misc.c | 48 int codepage) in php_com_wrap_dispatch() argument 54 obj->code_page = codepage; in php_com_wrap_dispatch() 71 int codepage) in php_com_wrap_variant() argument 77 obj->code_page = codepage; in php_com_wrap_variant()
|
H A D | com_persist.c | 290 long codepage; member 342 &len, helper->codepage); in CPH_METHOD() 392 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD() 454 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD() 665 helper->codepage = obj->code_page; in CPH_METHOD()
|
H A D | com_com.c | 830 int codepage = COMG(code_page); in PHP_FUNCTION() local 840 pTL = php_com_load_typelib_via_cache(name, codepage, &cached); in PHP_FUNCTION() 842 if (php_com_import_typelib(pTL, cs ? CONST_CS : 0, codepage) == SUCCESS) { in PHP_FUNCTION()
|
/PHP-7.3/ext/com_dotnet/tests/ |
H A D | bug73679.phpt | 2 Bug #73679 DOTNET read access violation using invalid codepage 18 Fatal error: Uncaught com_exception: Could not create .Net object - invalid codepage! in %sbug73679…
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | sapi_windows_cp_conv.phpt | 6 if (!sapi_windows_cp_set(1252) || !sapi_windows_cp_set(65001)) die('skip codepage not available');
|
/PHP-7.3/ext/standard/tests/file/windows_mb_path/ |
H A D | util.inc | 50 die("skip this test expect codepage $cp");
|
/PHP-7.3/win32/build/ |
H A D | config.w32 | 262 getrusage.c ftok.c ioutil.c codepage.c nice.c \
|
/PHP-7.3/ext/fileinfo/tests/ |
H A D | magic | 7561 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x 7563 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x 21511 >>(78.L+0x1C) belong !0 \b, codepage %d
|
H A D | magic私はガラスを食べられます | 7561 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x 7563 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x 21511 >>(78.L+0x1C) belong !0 \b, codepage %d
|
/PHP-7.3/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,
|