Home
last modified time | relevance | path

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

/PHP-7.1/ext/com_dotnet/
H A Dcom_olechar.c33 …_COM_DOTNET_API OLECHAR *php_com_string_to_olestring(char *string, size_t string_len, int codepage) in php_com_string_to_olestring() argument
36 DWORD flags = codepage == CP_UTF8 ? 0 : MB_PRECOMPOSED | MB_ERR_INVALID_CHARS; in php_com_string_to_olestring()
41 string_len = MultiByteToWideChar(codepage, flags, string, -1, NULL, 0); in php_com_string_to_olestring()
52 ok = MultiByteToWideChar(codepage, flags, string, (int)string_len, olestring, (int)string_len); in php_com_string_to_olestring()
74 …_DOTNET_API char *php_com_olestring_to_string(OLECHAR *olestring, size_t *string_len, int codepage) in php_com_olestring_to_string() argument
80 length = WideCharToMultiByte(codepage, 0, olestring, -1, NULL, 0, NULL, NULL); in php_com_olestring_to_string()
84 length = WideCharToMultiByte(codepage, 0, olestring, -1, string, length, NULL, NULL); in php_com_olestring_to_string()
H A Dphp_com_dotnet_internal.h91 size_t *string_len, int codepage);
93 size_t string_len, int codepage);
153 …TNET_API void php_com_variant_from_zval_with_type(VARIANT *v, zval *z, VARTYPE type, 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);
176 int codepage);
[all …]
H A Dcom_variant.c149 safe_array_from_zval(v, z, codepage); in php_com_variant_from_zval()
170 if (CP_UTF8 == codepage) { in php_com_variant_from_zval()
244 &len, codepage); in php_com_zval_from_variant()
275 php_com_wrap_variant(z, v, codepage); in php_com_zval_from_variant()
443 zend_long codepage = CP_ACP; in PHP_FUNCTION() local
457 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_FUNCTION()
464 obj->code_page = (int)codepage; in PHP_FUNCTION()
562 int codepage = CP_ACP; in variant_binary_operation() local
770 int codepage = CP_ACP; in variant_unary_operation() local
867 int codepage = CP_ACP; in PHP_FUNCTION() local
[all …]
H A Dcom_typeinfo.c55 p = php_com_string_to_olestring(search_string, strlen(search_string), codepage); in php_com_load_typelib()
132 TL = php_com_load_typelib(str, codepage); in php_com_load_typelib()
188 const_name = php_com_olestring_to_string(bstr_ids, &len, codepage); in php_com_import_typelib()
210 php_com_zval_from_variant(&value, pVarDesc->lpvarValue, codepage); in php_com_import_typelib()
233 int codepage, int *cached) in php_com_load_typelib_via_cache() argument
250 TL = php_com_load_typelib(name_dup, codepage); in php_com_load_typelib_via_cache()
420 static char *php_com_string_from_clsid(const CLSID *clsid, int codepage) in php_com_string_from_clsid() argument
426 clsid_str = php_com_olestring_to_string(ole_clsid, NULL, codepage); in php_com_string_from_clsid()
458 ansiname = php_com_olestring_to_string(olename, &ansinamelen, codepage); in php_com_process_typeinfo()
461 guidstring = php_com_string_from_clsid(&attr->guid, codepage); in php_com_process_typeinfo()
[all …]
H A Dcom_misc.c50 int codepage) in php_com_wrap_dispatch() argument
56 obj->code_page = codepage; in php_com_wrap_dispatch()
73 int codepage) in php_com_wrap_variant() argument
79 obj->code_page = codepage; in php_com_wrap_variant()
H A Dcom_persist.c301 long codepage; member
353 &len, helper->codepage); in CPH_METHOD()
403 olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage); in CPH_METHOD()
465 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage); in CPH_METHOD()
676 helper->codepage = obj->code_page; in CPH_METHOD()
H A Dcom_com.c831 int codepage = COMG(code_page); in PHP_FUNCTION() local
841 pTL = php_com_load_typelib_via_cache(name, codepage, &cached); in PHP_FUNCTION()
845 } else if (php_com_import_typelib(pTL, cs ? CONST_CS : 0, codepage) == SUCCESS) { in PHP_FUNCTION()
/PHP-7.1/ext/com_dotnet/tests/
H A Dbug73679.phpt2 Bug #73679 DOTNET read access violation using invalid codepage
16 Fatal error: Uncaught com_exception: Could not create .Net object - invalid codepage! in %sbug73679…
/PHP-7.1/
H A DUPGRADING.INTERNALS29 A set of new APIs was introduced, which allows to handle codepage
31 in win32/codepage.h.
34 codepage aspects. Primarily they are in use at various places in the
61 with its dependency on the system OEM/ANSI codepage.
69 the system OEM/ANSI codepage.
H A DUPGRADING260 sapi_windows_cp_conv() for codepage handling.
459 Several functions for codepage handling were itroduced:
460 - sapi_windows_cp_set() to set the default codepage
461 - sapi_windows_cp_get() to retrieve the current codepage
468 PHP. Depending on the concrete system OEM codepage, the visible output
473 to the particular system rules for codepage, font compatibility and the
478 Nevertheless be aware, runtime codepage switch after the request start
487 console codepage might be not restored. In this case, the chcp command
490 Special awareness for the DBCS systems - the codepage switch on runtime
496 to avoid usage of ini_set() for the codepage change.
[all …]
H A DNEWS809 . Fixed bug #75063 (Main CWD initialized with wrong codepage). (Anatol)
1364 . Fixed bug #73679 (DOTNET read access violation using invalid codepage).
/PHP-7.1/ext/standard/tests/file/windows_mb_path/
H A Dutil.inc50 die("skip this test expect codepage $cp");
/PHP-7.1/win32/build/
H A Dconfig.w32252 getrusage.c ftok.c ioutil.c codepage.c");
/PHP-7.1/ext/fileinfo/tests/
H A Dmagic5354 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x
5356 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x
16471 >>(78.L+0x1C) belong !0 \b, codepage %d
H A Dmagic私はガラスを食べられます5354 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x
5356 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x
16471 >>(78.L+0x1C) belong !0 \b, codepage %d
/PHP-7.1/ext/sqlite3/libsqlite/
H A Dsqlite3.c42315 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,

Completed in 783 milliseconds