Home
last modified time | relevance | path

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

/PHP-8.2/ext/com_dotnet/
H A Dcom_olechar.c32 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 Dphp_com_dotnet_internal.h83 PHP_COM_DOTNET_API zend_string *php_com_olestring_to_string(OLECHAR *olestring, int codepage);
85 size_t string_len, int codepage);
86 BSTR php_com_string_to_bstr(zend_string *string, int codepage);
87 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 Dcom_variant.c145 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 Dcom_typeinfo.c155 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 Dcom_misc.c46 int codepage) in php_com_wrap_dispatch() argument
52 obj->code_page = codepage; in php_com_wrap_dispatch()
69 int codepage) in php_com_wrap_variant() argument
75 obj->code_page = codepage; in php_com_wrap_variant()
H A Dcom_extension.stub.php343 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 Dcom_extension_arginfo.h86 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 Dcom_persist.c287 long codepage; member
340 zend_string *str = php_com_olestring_to_string(olename, helper->codepage); in CPH_METHOD()
385 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD()
444 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD()
655 helper->codepage = obj->code_page; in CPH_METHOD()
H A Dcom_com.c805 int codepage = COMG(code_page); in PHP_FUNCTION() local
818 pTL = php_com_load_typelib_via_cache(name, codepage); in PHP_FUNCTION()
820 if (php_com_import_typelib(pTL, cs ? CONST_CS : 0, codepage) == SUCCESS) { in PHP_FUNCTION()
/PHP-8.2/sapi/cgi/tests/
H A Dghsa-3qgc-jrrr-25jv.phpt8 $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.2/ext/com_dotnet/tests/
H A Dbug73679.phpt2 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.2/ext/standard/tests/strings/
H A Dsapi_windows_cp_conv.phpt6 if (!sapi_windows_cp_set(1252) || !sapi_windows_cp_set(65001)) die('skip codepage not available');
/PHP-8.2/ext/standard/tests/file/windows_mb_path/
H A Dutil.inc50 die("skip this test expect codepage $cp");
/PHP-8.2/win32/build/
H A Dconfig.w32315 getrusage.c ftok.c ioutil.c codepage.c nice.c \
/PHP-8.2/ext/standard/
H A Dbasic_functions.stub.php2866 function sapi_windows_cp_set(int $codepage): bool {}
H A Dbasic_functions_arginfo.h2168 ZEND_ARG_TYPE_INFO(0, codepage, IS_LONG, 0)
/PHP-8.2/ext/fileinfo/tests/
H A Dmagic9465 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x
9467 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x
22095 # A lookup table of the chars in the map's codepage, and their collating sequence
26679 >>(78.L+0x1C) belong !0 \b, codepage %d
29756 # look for explicit codepage keyword
29760 # skip unknown or buggy codepage string 0 like in fdo78502.rtf
29762 # codepage string: 437~United States IBM, ..., 1252~WesternEuropean, ..., 57011~Punjabi
34099 >>&0 regex/c \^(Windows\ Latin) Windows codepage translator
H A Dmagic私はガラスを食べられます9465 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x
9467 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x
22095 # A lookup table of the chars in the map's codepage, and their collating sequence
26679 >>(78.L+0x1C) belong !0 \b, codepage %d
29756 # look for explicit codepage keyword
29760 # skip unknown or buggy codepage string 0 like in fdo78502.rtf
29762 # codepage string: 437~United States IBM, ..., 1252~WesternEuropean, ..., 57011~Punjabi
34099 >>&0 regex/c \^(Windows\ Latin) Windows codepage translator

Completed in 220 milliseconds