/PHP-5.5/ext/com_dotnet/ |
H A D | com_olechar.c | 33 PHP_COM_DOTNET_API OLECHAR *php_com_string_to_olestring(char *string, uint string_len, int codepage… in php_com_string_to_olestring() 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, string_len, olestring, string_len); in php_com_string_to_olestring() 74 …API char *php_com_olestring_to_string(OLECHAR *olestring, uint *string_len, int codepage TSRMLS_DC) in php_com_olestring_to_string() 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 D | php_com_dotnet_internal.h | 88 uint *string_len, int codepage TSRMLS_DC); 90 uint string_len, int codepage TSRMLS_DC); 150 …oid php_com_variant_from_zval_with_type(VARIANT *v, zval *z, VARTYPE type, int codepage TSRMLS_DC); 151 PHP_COM_DOTNET_API void php_com_variant_from_zval(VARIANT *v, zval *z, int codepage TSRMLS_DC); 152 PHP_COM_DOTNET_API int php_com_zval_from_variant(zval *z, VARIANT *v, int codepage TSRMLS_DC); 163 int codepage TSRMLS_DC); 165 int codepage TSRMLS_DC); 170 int codepage, int *cached TSRMLS_DC); 171 PHP_COM_DOTNET_API ITypeLib *php_com_load_typelib(char *search_string, int codepage TSRMLS_DC); 173 int codepage TSRMLS_DC); [all …]
|
H A D | com_variant.c | 141 safe_array_from_zval(v, z, codepage TSRMLS_CC); in php_com_variant_from_zval() 157 if (CP_UTF8 == codepage) { in php_com_variant_from_zval() 223 &Z_STRLEN_P(z), codepage TSRMLS_CC); in php_com_zval_from_variant() 251 php_com_wrap_variant(z, v, codepage TSRMLS_CC); in php_com_zval_from_variant() 403 long codepage = CP_ACP; in PHP_FUNCTION() local 417 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_FUNCTION() 424 obj->code_page = codepage; in PHP_FUNCTION() 522 int codepage = CP_ACP; in variant_binary_operation() local 730 int codepage = CP_ACP; in variant_unary_operation() local 827 int codepage = CP_ACP; in PHP_FUNCTION() local [all …]
|
H A D | com_typeinfo.c | 55 p = php_com_string_to_olestring(search_string, strlen(search_string), codepage TSRMLS_CC); in php_com_load_typelib() 132 TL = php_com_load_typelib(str, codepage TSRMLS_CC); in php_com_load_typelib() 187 const_name = php_com_olestring_to_string(bstr_ids, &c.name_len, codepage TSRMLS_CC); in php_com_import_typelib() 208 php_com_zval_from_variant(&value, pVarDesc->lpvarValue, codepage TSRMLS_CC); in php_com_import_typelib() 232 int codepage, int *cached TSRMLS_DC) in php_com_load_typelib_via_cache() argument 251 TL = php_com_load_typelib(name_dup, codepage TSRMLS_CC); in php_com_load_typelib_via_cache() 421 static char *php_com_string_from_clsid(const CLSID *clsid, int codepage TSRMLS_DC) in php_com_string_from_clsid() 427 clsid_str = php_com_olestring_to_string(ole_clsid, NULL, codepage TSRMLS_CC); in php_com_string_from_clsid() 459 ansiname = php_com_olestring_to_string(olename, &ansinamelen, codepage TSRMLS_CC); in php_com_process_typeinfo() 462 guidstring = php_com_string_from_clsid(&attr->guid, codepage TSRMLS_CC); in php_com_process_typeinfo() [all …]
|
H A D | com_misc.c | 46 int codepage TSRMLS_DC) in php_com_wrap_dispatch() 52 obj->code_page = codepage; in php_com_wrap_dispatch() 69 int codepage TSRMLS_DC) in php_com_wrap_variant() 75 obj->code_page = codepage; in php_com_wrap_variant()
|
H A D | com_persist.c | 300 long codepage; member 352 &Z_STRLEN_P(return_value), helper->codepage TSRMLS_CC); in CPH_METHOD() 399 … olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage TSRMLS_CC); in CPH_METHOD() 461 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage TSRMLS_CC); in CPH_METHOD() 672 helper->codepage = obj->code_page; in CPH_METHOD()
|
H A D | com_com.c | 811 int codepage = COMG(code_page); in PHP_FUNCTION() local 821 pTL = php_com_load_typelib_via_cache(name, codepage, &cached TSRMLS_CC); in PHP_FUNCTION() 825 } else if (php_com_import_typelib(pTL, cs ? CONST_CS : 0, codepage TSRMLS_CC) == SUCCESS) { in PHP_FUNCTION()
|
/PHP-5.5/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 34873 int codepage = osAreFileApisANSI() ? CP_ACP : CP_OEMCP; 34875 nByte = osMultiByteToWideChar(codepage, 0, zFilename, -1, NULL, 34884 nByte = osMultiByteToWideChar(codepage, 0, zFilename, -1, zMbcsFilename, 34903 int codepage = osAreFileApisANSI() ? CP_ACP : CP_OEMCP; 34905 nByte = osWideCharToMultiByte(codepage, 0, zWideFilename, -1, 0, 0, 0, 0); 34913 nByte = osWideCharToMultiByte(codepage, 0, zWideFilename, -1, zFilename,
|
/PHP-5.5/ext/fileinfo/tests/ |
H A D | magic | 4802 #>>>>>>>>>>>>29 ubyte =0 \b, codepage ID=0x%x 4804 >>>>>>>>>>>>29 ubyte >0 \b, codepage ID=0x%x
|