/PHP-8.4/ext/com_dotnet/ |
H A D | com_olechar.c | 32 DWORD flags = codepage == CP_UTF8 ? 0 : MB_PRECOMPOSED | MB_ERR_INVALID_CHARS; in php_com_string_to_olestring() 37 string_len = MultiByteToWideChar(codepage, flags, string, -1, NULL, 0); in php_com_string_to_olestring() 48 ok = MultiByteToWideChar(codepage, flags, string, (int)string_len, olestring, (int)string_len); in php_com_string_to_olestring() 70 PHP_COM_DOTNET_API zend_string *php_com_olestring_to_string(OLECHAR *olestring, int codepage) in php_com_olestring_to_string() argument 75 length = WideCharToMultiByte(codepage, 0, olestring, -1, NULL, 0, NULL, NULL); in php_com_olestring_to_string() 82 length = WideCharToMultiByte(codepage, 0, olestring, -1, ZSTR_VAL(string), length, NULL, NULL); in php_com_olestring_to_string() 100 BSTR php_com_string_to_bstr(zend_string *string, int codepage) in php_com_string_to_bstr() argument 103 DWORD flags = codepage == CP_UTF8 ? 0 : MB_PRECOMPOSED | MB_ERR_INVALID_CHARS; in php_com_string_to_bstr() 127 zend_string *php_com_bstr_to_string(BSTR bstr, int codepage) in php_com_bstr_to_string() argument 133 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 | 84 PHP_COM_DOTNET_API zend_string *php_com_olestring_to_string(OLECHAR *olestring, int codepage); 86 size_t string_len, int codepage); 87 BSTR php_com_string_to_bstr(zend_string *string, int codepage); 88 zend_string *php_com_bstr_to_string(BSTR bstr, int codepage); 116 PHP_COM_DOTNET_API void php_com_variant_from_zval(VARIANT *v, zval *z, int codepage); 117 PHP_COM_DOTNET_API zend_result php_com_zval_from_variant(zval *z, VARIANT *v, int codepage); 128 int codepage); 130 int codepage); 134 PHP_COM_DOTNET_API ITypeLib *php_com_load_typelib_via_cache(const char *search_string, int codepage… 135 PHP_COM_DOTNET_API ITypeLib *php_com_load_typelib(char *search_string, int codepage); [all …]
|
H A D | com_variant.c | 145 safe_array_from_zval(v, z, codepage); in php_com_variant_from_zval_ex() 251 php_com_wrap_dispatch(z, disp, codepage); in php_com_zval_from_variant() 270 php_com_wrap_variant(z, v, codepage); in php_com_zval_from_variant() 438 zend_long codepage = CP_ACP; in PHP_METHOD() local 450 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_METHOD() 458 obj->code_page = (int)codepage; in PHP_METHOD() 555 int codepage = CP_ACP; in variant_binary_operation() local 580 php_com_variant_from_zval(vleft, zleft, codepage); in variant_binary_operation() 750 int codepage = CP_ACP; in variant_unary_operation() local 841 int codepage = CP_ACP; in PHP_FUNCTION() local [all …]
|
H A D | com_typeinfo.c | 155 TL = php_com_load_typelib(str, codepage); in php_com_load_typelib() 211 const_name = php_com_olestring_to_string(bstr_ids, codepage); in php_com_import_typelib() 215 php_com_zval_from_variant(&value, pVarDesc->lpvarValue, codepage); in php_com_import_typelib() 286 TL = php_com_load_typelib(name_dup, codepage); in php_com_load_typelib_via_cache() 472 clsid_str = php_com_olestring_to_string(ole_clsid, codepage); in php_com_string_from_clsid() 503 ansi_name = php_com_olestring_to_string(olename, codepage); in php_com_process_typeinfo() 506 guid_str = php_com_string_from_clsid(&attr->guid, codepage); in php_com_process_typeinfo() 531 ansi_name = php_com_olestring_to_string(olename, codepage); in php_com_process_typeinfo() 559 func_desc = php_com_olestring_to_string(olename, codepage); in php_com_process_typeinfo() 592 func_desc = php_com_olestring_to_string(names[j+1], codepage); in php_com_process_typeinfo() [all …]
|
H A D | com_misc.c | 46 int codepage) in php_com_wrap_dispatch() argument 52 obj->code_page = codepage; in php_com_wrap_dispatch() 68 int codepage) in php_com_wrap_variant() argument 74 obj->code_page = codepage; in php_com_wrap_variant()
|
H A D | com_extension.stub.php | 343 function com_get_active_object(string $prog_id, ?int $codepage = null): variant {} argument 358 … public function __construct(mixed $value = null, int $type = VT_EMPTY, int $codepage = CP_ACP) {} argument 363 …struct(string $module_name, array|string|null $server_name = null, int $codepage = CP_ACP, string … argument 369 …public function __construct(string $assembly_name, string $datatype_name, int $codepage = CP_ACP) … argument
|
H A D | com_extension_arginfo.h | 86 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, codepage, IS_LONG, 1, "null") 116 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, codepage, IS_LONG, 0, "CP_ACP") 122 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, codepage, IS_LONG, 0, "CP_ACP") 130 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, codepage, IS_LONG, 0, "CP_ACP")
|
H A D | com_persist.c | 280 long codepage; member 333 zend_string *str = php_com_olestring_to_string(olename, helper->codepage); in CPH_METHOD() 378 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD() 437 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD() 648 helper->codepage = obj->code_page; in CPH_METHOD()
|
H A D | com_com.c | 804 int codepage = COMG(code_page); in PHP_FUNCTION() local 817 pTL = php_com_load_typelib_via_cache(name, codepage); in PHP_FUNCTION() 819 if (php_com_import_typelib(pTL, 0, codepage) == SUCCESS) { in PHP_FUNCTION()
|
/PHP-8.4/sapi/cgi/tests/ |
H A D | ghsa-3qgc-jrrr-25jv.phpt | 8 $codepage = trim(shell_exec("powershell Get-ItemPropertyValue HKLM:\\SYSTEM\\CurrentControlSet\\Con… 9 if ($codepage !== '932' && $codepage !== '936' && $codepage !== '950') die("skip Wrong codepage");
|
/PHP-8.4/ext/com_dotnet/tests/ |
H A D | bug73679.phpt | 2 Bug #73679 DOTNET read access violation using invalid codepage 20 Fatal error: Uncaught com_exception: Could not create .Net object - invalid codepage! in %sbug73679…
|
/PHP-8.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-8.4/ext/standard/tests/file/windows_mb_path/ |
H A D | util.inc | 50 die("skip this test expect codepage $cp");
|
/PHP-8.4/win32/build/ |
H A D | config.w32 | 310 getrusage.c ftok.c ioutil.c codepage.c nice.c \
|
/PHP-8.4/ext/standard/ |
H A D | basic_functions.stub.php | 3818 function sapi_windows_cp_set(int $codepage): bool {}
|
H A D | basic_functions_arginfo.h | 2156 ZEND_ARG_TYPE_INFO(0, codepage, IS_LONG, 0)
|
/PHP-8.4/ext/fileinfo/tests/ |
H A D | magic | 3762 # ANSIPAGE_FLAG; indicates ANSI codepage used by ARJ32; hy switch 3763 >8 byte &0x02 \b, ANSI codepage 10484 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=%#x 10486 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=%#x 25263 >>22 ubelong =0x07900600 \b, OEM codepage 25582 # A lookup table of the chars in the map's codepage, and their collating sequence 31174 >>(78.L+0x1C) belong !0 \b, codepage %d 34582 # look for explicit codepage keyword 34586 # skip unknown or buggy codepage string 0 like in fdo78502.rtf 34588 # codepage string: 437~United States IBM, ..., 1252~WesternEuropean, ..., 57011~Punjabi [all …]
|
H A D | magic私はガラスを食べられます | 3762 # ANSIPAGE_FLAG; indicates ANSI codepage used by ARJ32; hy switch 3763 >8 byte &0x02 \b, ANSI codepage 10484 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=%#x 10486 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=%#x 25263 >>22 ubelong =0x07900600 \b, OEM codepage 25582 # A lookup table of the chars in the map's codepage, and their collating sequence 31174 >>(78.L+0x1C) belong !0 \b, codepage %d 34582 # look for explicit codepage keyword 34586 # skip unknown or buggy codepage string 0 like in fdo78502.rtf 34588 # codepage string: 437~United States IBM, ..., 1252~WesternEuropean, ..., 57011~Punjabi [all …]
|