/PHP-5.3/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() 49 ok = MultiByteToWideChar(codepage, flags, string, string_len, olestring, string_len); in php_com_string_to_olestring() 68 …API char *php_com_olestring_to_string(OLECHAR *olestring, uint *string_len, int codepage TSRMLS_DC) in php_com_olestring_to_string() 74 length = WideCharToMultiByte(codepage, 0, olestring, -1, NULL, 0, NULL, NULL); in php_com_olestring_to_string() 78 length = WideCharToMultiByte(codepage, 0, olestring, -1, string, length, NULL, NULL); in php_com_olestring_to_string()
|
H A D | php_com_dotnet_internal.h | 91 uint *string_len, int codepage TSRMLS_DC); 93 uint string_len, int codepage TSRMLS_DC); 153 …oid php_com_variant_from_zval_with_type(VARIANT *v, zval *z, VARTYPE type, int codepage TSRMLS_DC); 154 PHP_COM_DOTNET_API void php_com_variant_from_zval(VARIANT *v, zval *z, int codepage TSRMLS_DC); 155 PHP_COM_DOTNET_API int php_com_zval_from_variant(zval *z, VARIANT *v, int codepage TSRMLS_DC); 166 int codepage TSRMLS_DC); 168 int codepage TSRMLS_DC); 173 int codepage, int *cached TSRMLS_DC); 174 PHP_COM_DOTNET_API ITypeLib *php_com_load_typelib(char *search_string, int codepage TSRMLS_DC); 176 int codepage TSRMLS_DC); [all …]
|
H A D | com_variant.c | 140 safe_array_from_zval(v, z, codepage TSRMLS_CC); in php_com_variant_from_zval() 218 &Z_STRLEN_P(z), codepage TSRMLS_CC); in php_com_zval_from_variant() 227 php_com_wrap_dispatch(z, disp, codepage TSRMLS_CC); in php_com_zval_from_variant() 246 php_com_wrap_variant(z, v, codepage TSRMLS_CC); in php_com_zval_from_variant() 398 long codepage = CP_ACP; in PHP_FUNCTION() local 412 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_FUNCTION() 419 obj->code_page = codepage; in PHP_FUNCTION() 517 int codepage = CP_ACP; in variant_binary_operation() local 725 int codepage = CP_ACP; in variant_unary_operation() local 822 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() 204 php_com_zval_from_variant(&value, pVarDesc->lpvarValue, codepage TSRMLS_CC); in php_com_import_typelib() 228 int codepage, int *cached TSRMLS_DC) in php_com_load_typelib_via_cache() argument 247 TL = php_com_load_typelib(name_dup, codepage TSRMLS_CC); in php_com_load_typelib_via_cache() 417 static char *php_com_string_from_clsid(const CLSID *clsid, int codepage TSRMLS_DC) in php_com_string_from_clsid() 423 clsid_str = php_com_olestring_to_string(ole_clsid, NULL, codepage TSRMLS_CC); in php_com_string_from_clsid() 455 ansiname = php_com_olestring_to_string(olename, &ansinamelen, codepage TSRMLS_CC); in php_com_process_typeinfo() 458 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 | 303 long codepage; member 355 &Z_STRLEN_P(return_value), helper->codepage TSRMLS_CC); in CPH_METHOD() 406 … olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage TSRMLS_CC); in CPH_METHOD() 473 olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage TSRMLS_CC); in CPH_METHOD() 684 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.3/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 31650 int codepage = AreFileApisANSI() ? CP_ACP : CP_OEMCP; 31652 nByte = MultiByteToWideChar(codepage, 0, zFilename, -1, NULL,0)*sizeof(WCHAR); 31657 nByte = MultiByteToWideChar(codepage, 0, zFilename, -1, zMbcsFilename, nByte); 31675 int codepage = AreFileApisANSI() ? CP_ACP : CP_OEMCP; 31677 nByte = WideCharToMultiByte(codepage, 0, zWideFilename, -1, 0, 0, 0, 0); 31682 nByte = WideCharToMultiByte(codepage, 0, zWideFilename, -1, zFilename, nByte,
|