/PHP-7.4/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 | 86 size_t *string_len, int codepage); 88 size_t string_len, int codepage); 89 BSTR php_com_string_to_bstr(zend_string *string, int codepage); 90 zend_string *php_com_bstr_to_string(BSTR bstr, int codepage); 151 PHP_COM_DOTNET_API void php_com_variant_from_zval(VARIANT *v, zval *z, int codepage); 152 PHP_COM_DOTNET_API int php_com_zval_from_variant(zval *z, VARIANT *v, int codepage); 163 int codepage); 165 int codepage); 170 int codepage, int *cached); 171 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 | 80 p = php_com_string_to_olestring(search_string, strlen(search_string), codepage); in php_com_load_typelib() 157 TL = php_com_load_typelib(str, codepage); in php_com_load_typelib() 213 const_name = php_com_olestring_to_string(bstr_ids, &len, codepage); in php_com_import_typelib() 217 php_com_zval_from_variant(&value, pVarDesc->lpvarValue, codepage); in php_com_import_typelib() 266 int codepage, int *cached) in php_com_load_typelib_via_cache() argument 286 TL = php_com_load_typelib(name_dup, codepage); in php_com_load_typelib_via_cache() 465 static char *php_com_string_from_clsid(const CLSID *clsid, int codepage) in php_com_string_from_clsid() argument 471 clsid_str = php_com_olestring_to_string(ole_clsid, NULL, codepage); in php_com_string_from_clsid() 504 ansiname = php_com_olestring_to_string(olename, &ansinamelen, codepage); in php_com_process_typeinfo() 507 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 | 838 int codepage = COMG(code_page); in PHP_FUNCTION() local 852 pTL = php_com_load_typelib_via_cache(name, codepage, &cached); in PHP_FUNCTION() 854 if (php_com_import_typelib(pTL, cs ? CONST_CS : 0, codepage) == SUCCESS) { in PHP_FUNCTION()
|
/PHP-7.4/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.4/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.4/ext/standard/tests/file/windows_mb_path/ |
H A D | util.inc | 50 die("skip this test expect codepage $cp");
|
/PHP-7.4/win32/build/ |
H A D | config.w32 | 271 getrusage.c ftok.c ioutil.c codepage.c nice.c \
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 8416 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x 8418 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x 19552 # A lookup table of the chars in the map's codepage, and their collating sequence 23211 >>(78.L+0x1C) belong !0 \b, codepage %d
|
H A D | magic | 8416 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x 8418 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x 19552 # A lookup table of the chars in the map's codepage, and their collating sequence 23211 >>(78.L+0x1C) belong !0 \b, codepage %d
|