Home
last modified time | relevance | path

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

/php-src/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.h85 PHP_COM_DOTNET_API zend_string *php_com_olestring_to_string(OLECHAR *olestring, int codepage);
87 size_t string_len, int codepage);
88 BSTR php_com_string_to_bstr(zend_string *string, int codepage);
89 zend_string *php_com_bstr_to_string(BSTR bstr, int codepage);
117 PHP_COM_DOTNET_API void php_com_variant_from_zval(VARIANT *v, zval *z, int codepage);
118 PHP_COM_DOTNET_API zend_result php_com_zval_from_variant(zval *z, VARIANT *v, int codepage);
129 int codepage);
131 int codepage);
135 PHP_COM_DOTNET_API ITypeLib *php_com_load_typelib_via_cache(const char *search_string, int codepage
136 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()
68 int codepage) in php_com_wrap_variant() argument
74 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.c280 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 Dcom_com.c804 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-src/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-src/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-src/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-src/ext/standard/tests/file/windows_mb_path/
H A Dutil.inc50 die("skip this test expect codepage $cp");
/php-src/win32/build/
H A Dconfig.w32310 getrusage.c ftok.c ioutil.c codepage.c nice.c \
/php-src/ext/standard/
H A Dbasic_functions.stub.php3818 function sapi_windows_cp_set(int $codepage): bool {}
H A Dbasic_functions_arginfo.h2156 ZEND_ARG_TYPE_INFO(0, codepage, IS_LONG, 0)
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます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 Dmagic3762 # 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 …]

Completed in 193 milliseconds