Searched refs:charset (Results 1 - 25 of 33) sorted by relevance

12

/PHP_TRUNK/ext/bcmath/libbcmath/
H A Dconfigure1257 typedef int charset[2]; const charset x;
/PHP_TRUNK/ext/sybase_ct/tests/
H A Dtest.inc52 // {{{ resource sybase_connect_ex(string charset= NULL, string appname= NULL, bool new= FALSE)
54 function sybase_connect_ex($charset= NULL, $appname= NULL, $new= FALSE) {
56 if (!($db= sybase_connect(HOST, USER, PASSWORD, $charset ? $charset : 'iso_1', $appname, $new))) {
/PHP_TRUNK/ext/oci8/
H A Doci8_dtrace.d21 probe oci8__connect__entry(char *username, char *dbname, char *charset, long session_mode, int persistent, int exclusive);
H A Dphp_oci8_int.h137 ub2 charset; /* charset ID */ member in struct:__anon105
176 ub1 charset_form; /* charset form, required for NCLOBs */
177 ub2 charset_id; /* charset ID */
284 ub1 charset_form; /* charset form, required for NCLOBs */
285 ub2 charset_id; /* charset ID */
410 php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, char *dbname, int dbname_len, char *charset, long session_mode, int persistent, int exclusive TSRMLS_DC);
H A Doci8.c1760 char *dbname = NULL, *charset = NULL; local
1765 /* if a fourth parameter is handed over, it is the charset identifier (but is only used in Oracle 9i+) */
1766 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|ssl", &username, &username_len, &password, &password_len, &dbname, &dbname_len, &charset, &charset_len, &session_mode) == FAILURE) {
1772 DTRACE_OCI8_CONNECT_ENTRY(username, dbname, charset, session_mode, persistent, exclusive);
1777 charset = NULL;
1780 connection = php_oci_do_connect_ex(username, username_len, password, password_len, NULL, 0, dbname, dbname_len, charset, session_mode, persistent, exclusive TSRMLS_CC);
1802 php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, char *dbname, int dbname_len, char *charset, long session_mode, int persistent, int exclusive TSRMLS_DC) argument
1903 if (charset && *charset) {
1904 PHP_OCI_CALL_RETURN(charsetid, OCINlsCharSetNameToId, (OCI_G(env), (CONST oratext *)charset));
[all...]
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.h164 char *charset; variable
H A Dphp_mssql.c261 STD_PHP_INI_ENTRY("mssql.charset", "", PHP_INI_ALL, OnUpdateString, charset, zend_mssql_globals, mssql_globals)
623 if (MS_SQL_G(charset) && strlen(MS_SQL_G(charset))) {
624 DBSETLCHARSET(mssql.login, MS_SQL_G(charset));
/PHP_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h38 ub2 charset; member in struct:__anon170
H A Doci_driver.c235 if (H->charset && H->env) {
596 { "charset", NULL, 0 },
608 H->charset = OCINlsCharSetNameToId(pdo_oci_Env, (const oratext *)vars[0].optval);
609 if (!H->charset) {
613 if (OCIEnvNlsCreate(&H->env, PDO_OCI_INIT_MODE, 0, NULL, NULL, NULL, 0, NULL, H->charset, H->charset) != OCI_SUCCESS) {
/PHP_TRUNK/ext/xml/
H A Dcompat.c481 * charset in documents with a BOM: */
482 parser->parser->charset = XML_CHAR_ENCODING_NONE;
585 if (parser->parser->charset == XML_CHAR_ENCODING_NONE) {
599 parser->parser->charset = XML_CHAR_ENCODING_UTF8;
/PHP_TRUNK/ext/interbase/tests/
H A Dinterbase.inc19 $user, $password, ($charset = ini_get('ibase.default_charset')) ? $charset : 'NONE'));
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_fe.c323 ZEND_ARG_INFO(0, charset)
327 ZEND_ARG_INFO(0, charset)
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c460 php_filter_url(value, flags, option_array, charset TSRMLS_CC);
H A Dphp_filter.h73 #define PHP_INPUT_FILTER_PARAM_DECL zval *value, zend_long flags, zval *option_array, char *charset TSRMLS_DC
H A Dfilter.c361 static void php_zval_filter(zval *value, zend_long filter, zend_long flags, zval *options, char* charset, zend_bool copy TSRMLS_DC) /* {{{ */ argument
391 filter_func.function(value, flags, options, charset TSRMLS_CC);
484 static void php_zval_filter_recursive(zval *value, zend_long filter, zend_long flags, zval *options, char *charset, zend_bool copy TSRMLS_DC) /* {{{ */ argument
497 php_zval_filter_recursive(element, filter, flags, options, charset, copy TSRMLS_CC);
500 php_zval_filter(element, filter, flags, options, charset, copy TSRMLS_CC);
504 php_zval_filter(value, filter, flags, options, charset, copy TSRMLS_CC);
581 char *charset = NULL; local
636 php_zval_filter_recursive(filtered, filter, filter_flags, options, charset, copy TSRMLS_CC);
652 php_zval_filter(filtered, filter, filter_flags, options, charset, copy TSRMLS_CC);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_auth.c53 const MYSQLND_CHARSET * charset = NULL; local
87 if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
88 auth_packet->charset_no = charset->nr;
111 conn->charset = mysqlnd_find_charset_nr(auth_packet->charset_no);
174 const MYSQLND_CHARSET * old_cs = conn->charset;
223 auth_packet->charset_no = conn->charset->nr;
293 /* set charset for old servers */
H A Dmysqlnd_charset.h24 PHPAPI zend_ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const charset, char *newstr,
H A Dmysqlnd.c173 conn->charset = NULL;
448 const MYSQLND_CHARSET * charset; local
485 if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
486 auth_packet->charset_no = charset->nr;
823 "Server sent charset (%d) unknown to the client. Please, report to the developers", greet_packet->charset_no);
825 "Server sent charset unknown to the client. Please, report to the developers");
1061 /* todo: check if charset is available */
1636 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1638 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1806 const MYSQLND_CHARSET * const charset local
[all...]
H A Dmysqlnd_structs.h418 typedef enum_func_status (*func_mysqlnd_conn_data__set_charset)(MYSQLND_CONN_DATA * const conn, const char * const charset TSRMLS_DC);
920 const MYSQLND_CHARSET *charset; member in struct:st_mysqlnd_connection_data
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c386 ZEND_ARG_INFO(0, charset)
442 ZEND_ARG_INFO(0, charset)
3080 /* {{{ proto array imap_sort(resource stream_id, int criteria, int reverse [, int options [, string search_criteria [, string charset]]])
3085 char *criteria = NULL, *charset = NULL; local
3095 if (zend_parse_parameters(argc TSRMLS_CC, "rll|lss", &streamind, &pgm, &rev, &flags, &criteria, &criteria_len, &charset, &charset_len) == FAILURE) {
3124 slst = mail_sort(imap_le_struct->imap_stream, (argc == 6 ? charset : NIL), spg, mypgm, (argc >= 4 ? flags : NIL));
3563 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "charset", sizeof("charset") - 1)) != NULL) {
3666 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "charset", sizeof("charset")
4069 char *criteria, *charset = NULL; local
4197 char *str, *string, *charset, encoding, *text, *decode; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dhtml.c62 #define LIMIT_ALL(all, doctype, charset) do { \
63 (all) = (all) && !CHARSET_PARTIAL_SUPPORT((charset)) && ((doctype) != ENT_HTML_DOC_XML1); \
102 enum entity_charset charset,
117 switch (charset) {
374 * returns the charset identifier based on current locale or a hint.
379 enum entity_charset charset = cs_utf_8; local
412 /* try to detect the charset for the locale */
421 /* try to figure out the charset from the locale */
441 * is the charset */
453 /* now walk the charset ma
101 get_next_char( enum entity_charset charset, const unsigned char *str, size_t str_len, size_t *cursor, int *status) argument
575 map_from_unicode(unsigned code, enum entity_charset charset, unsigned *res) argument
876 write_octet_sequence(unsigned char *buf, enum entity_charset charset, unsigned code) argument
936 traverse_for_entities( const char *old, size_t oldlen, zend_string *ret, int all, int flags, const entity_ht *inv_map, enum entity_charset charset) argument
1101 enum entity_charset charset; local
1143 find_entity_for_char( unsigned int k, enum entity_charset charset, const entity_stage1_row *table, const unsigned char **entity, size_t *entity_len, unsigned char *old, size_t oldlen, size_t *cursor) argument
1229 enum entity_charset charset = determine_charset(hint_charset TSRMLS_CC); local
1569 write_s3row_data( const entity_stage3_row *r, unsigned orig_cp, enum entity_charset charset, zval *arr) argument
1635 enum entity_charset charset; local
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c49 ZEND_ARG_INFO(0, charset)
58 ZEND_ARG_INFO(0, charset)
629 static int php_sybase_do_connect_internal(sybase_link *sybase, char *host, char *user, char *passwd, char *charset, char *appname TSRMLS_DC) argument
663 if (charset) {
670 if (cs_locale(SybCtG(context), CS_SET, tmp_locale, CS_SYB_CHARSET, charset, CS_NULLTERM, NULL)!=CS_SUCCEED) {
731 char *user = NULL, *passwd = NULL, *host = NULL, *charset = NULL, *appname = NULL; local
737 host= user= passwd= charset= appname= NULL;
739 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!s!s!", &host, &len, &user, &len, &passwd, &len, &charset, &len, &appname, &len) == FAILURE) {
743 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!s!s!b", &host, &len, &user, &len, &passwd, &len, &charset, &len, &appname, &len, &new) == FAILURE) {
754 charset
[all...]
/PHP_TRUNK/ext/iconv/
H A Diconv.c68 ZEND_ARG_INFO(0, charset)
75 ZEND_ARG_INFO(0, charset)
82 ZEND_ARG_INFO(0, charset)
88 ZEND_ARG_INFO(0, charset)
100 ZEND_ARG_INFO(0, charset)
106 ZEND_ARG_INFO(0, charset)
117 ZEND_ARG_INFO(0, charset)
422 len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%.*s", mimetype_len ? mimetype_len : (size_t) strlen(mimetype), mimetype, (size_t)(p - get_output_encoding(TSRMLS_C)), get_output_encoding(TSRMLS_C));
424 len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (size_t) strlen(mimetype), mimetype, get_output_encoding(TSRMLS_C));
1541 case 2: /* expecting a charset nam
2020 char *charset = get_internal_encoding(TSRMLS_C); local
2052 char *charset = get_internal_encoding(TSRMLS_C); local
2091 char *charset = get_internal_encoding(TSRMLS_C); local
2137 char *charset = get_internal_encoding(TSRMLS_C); local
2290 char *charset = get_internal_encoding(TSRMLS_C); local
2330 char *charset = get_internal_encoding(TSRMLS_C); local
2460 zend_string *charset; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c388 ZEND_ARG_INFO(0, charset)
2024 Return the preferred MIME name (charset) as a string */
2112 const char *charset; local
2155 charset = encoding->mime_name;
2156 if (charset) {
2157 len = spprintf( &p, 0, "Content-Type: %s; charset=%s", mimetype, charset );
3349 /* {{{ proto string mb_encode_mimeheader(string str [, string charset [, string transfer-encoding [, string linefeed [, int indent]]]])
3350 Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded_string?= */
3353 enum mbfl_no_encoding charset, transen local
4117 char *charset = NULL; local
[all...]
/PHP_TRUNK/main/
H A DSAPI.c309 char *mimetype, *charset, *content_type; local
320 charset = SG(default_charset);
323 charset = SAPI_DEFAULT_CHARSET;
327 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) {
330 *len = prefix_len + mimetype_len + sizeof("; charset=") - 1 + charset_len;
335 memcpy(p, "; charset=", sizeof("; charset=") - 1);
336 p += sizeof("; charset=") - 1;
337 memcpy(p, charset, charset_len + 1);
365 * Add charset o
377 char *charset, *newtype; local
[all...]

Completed in 53 milliseconds

12