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

12

/PHP_5_5/ext/bcmath/libbcmath/
H A Dconfigure1257 typedef int charset[2]; const charset x;
/PHP_5_5/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_5_5/ext/oci8/
H A Dphp_oci8_int.h123 ub2 charset; /* charset ID */ member in struct:__anon134
158 ub1 charset_form; /* charset form, required for NCLOBs */
159 ub2 charset_id; /* charset ID */
250 ub1 charset_form; /* charset form, required for NCLOBs */
251 ub2 charset_id; /* charset ID */
382 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.c1731 char *dbname = NULL, *charset = NULL; local
1736 /* if a fourth parameter is handed over, it is the charset identifier (but is only used in Oracle 9i+) */
1737 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) {
1742 charset = NULL;
1745 connection = php_oci_do_connect_ex(username, username_len, password, password_len, NULL, 0, dbname, dbname_len, charset, session_mode, persistent, exclusive TSRMLS_CC);
1759 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
1859 if (charset && *charset) {
1860 PHP_OCI_CALL_RETURN(charsetid, OCINlsCharSetNameToId, (OCI_G(env), (CONST oratext *)charset));
1862 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid character set name: %s", charset);
[all...]
/PHP_5_5/ext/pdo_oci/
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) {
H A Dphp_pdo_oci_int.h38 ub2 charset; member in struct:__anon169
/PHP_5_5/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); \
90 enum entity_charset charset,
105 switch (charset) {
362 * returns the charset identifier based on current locale or a hint.
367 enum entity_charset charset = cs_utf_8; local
400 /* try to detect the charset for the locale */
409 /* try to figure out the charset from the locale */
429 * is the charset */
441 /* now walk the charset ma
89 get_next_char( enum entity_charset charset, const unsigned char *str, size_t str_len, size_t *cursor, int *status) argument
563 map_from_unicode(unsigned code, enum entity_charset charset, unsigned *res) argument
864 write_octet_sequence(unsigned char *buf, enum entity_charset charset, unsigned code) argument
924 traverse_for_entities( const char *old, size_t oldlen, char *ret, size_t *retlen, int all, int flags, const entity_ht *inv_map, enum entity_charset charset) argument
1090 enum entity_charset charset; local
1132 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
1218 enum entity_charset charset = determine_charset(hint_charset TSRMLS_CC); local
1536 write_s3row_data( const entity_stage3_row *r, unsigned orig_cp, enum entity_charset charset, zval *arr) argument
1602 enum entity_charset charset; local
[all...]
/PHP_5_5/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_5_5/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_5_5/ext/filter/
H A Dfilter.c361 static void php_zval_filter(zval **value, long filter, long flags, zval *options, char* charset, zend_bool copy TSRMLS_DC) /* {{{ */ argument
391 filter_func.function(*value, flags, options, charset TSRMLS_CC);
468 php_zval_filter(&tmp_new_var, IF_G(default_filter), IF_G(default_filter_flags), NULL, NULL/*charset*/, 0 TSRMLS_CC);
497 static void php_zval_filter_recursive(zval **value, long filter, long flags, zval *options, char *charset, zend_bool copy TSRMLS_DC) /* {{{ */ argument
514 php_zval_filter_recursive(element, filter, flags, options, charset, copy TSRMLS_CC);
517 php_zval_filter(element, filter, flags, options, charset, copy TSRMLS_CC);
521 php_zval_filter(value, filter, flags, options, charset, copy TSRMLS_CC);
595 char *charset = NULL; local
650 php_zval_filter_recursive(filtered, filter, filter_flags, options, charset, copy TSRMLS_CC);
666 php_zval_filter(filtered, filter, filter_flags, options, charset, cop
[all...]
H A Dlogical_filters.c453 php_filter_url(value, flags, option_array, charset TSRMLS_CC);
H A Dphp_filter.h73 #define PHP_INPUT_FILTER_PARAM_DECL zval *value, long flags, zval *option_array, char *charset TSRMLS_DC
/PHP_5_5/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)
360 len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%.*s", mimetype_len ? mimetype_len : (int) strlen(mimetype), mimetype, (int)(p - ICONVG(output_encoding)), ICONVG(output_encoding));
362 len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (int) strlen(mimetype), mimetype, ICONVG(output_encoding));
1478 case 2: /* expecting a charset nam
1960 char *charset = ICONVG(internal_encoding); local
1993 char *charset = ICONVG(internal_encoding); local
2033 char *charset = ICONVG(internal_encoding); local
2081 char *charset = ICONVG(internal_encoding); local
2245 char *charset = ICONVG(internal_encoding); local
2286 char *charset = ICONVG(internal_encoding); local
2413 char *type, *charset; local
[all...]
/PHP_5_5/ext/imap/
H A Dphp_imap.c386 ZEND_ARG_INFO(0, charset)
442 ZEND_ARG_INFO(0, charset)
3087 /* {{{ proto array imap_sort(resource stream_id, int criteria, int reverse [, int options [, string search_criteria [, string charset]]])
3092 char *criteria = NULL, *charset = NULL; local
3102 if (zend_parse_parameters(argc TSRMLS_CC, "rll|lss", &streamind, &pgm, &rev, &flags, &criteria, &criteria_len, &charset, &charset_len) == FAILURE) {
3131 slst = mail_sort(imap_le_struct->imap_stream, (argc == 6 ? charset : NIL), spg, mypgm, (argc >= 4 ? flags : NIL));
3574 if (zend_hash_find(Z_ARRVAL_PP(data), "charset", sizeof("charset"), (void **) &pvalue)== SUCCESS) {
3686 if (zend_hash_find(Z_ARRVAL_PP(data), "charset", sizeof("charset"), (voi
4088 char *criteria, *charset = NULL; local
4216 char *str, *string, *charset, encoding, *text, *decode; local
[all...]
/PHP_5_5/ext/mbstring/
H A Dmbstring.c389 ZEND_ARG_INFO(0, charset)
2005 Return the preferred MIME name (charset) as a string */
2094 const char *charset; local
2137 charset = encoding->mime_name;
2138 if (charset) {
2139 len = spprintf( &p, 0, "Content-Type: %s; charset=%s", mimetype, charset );
3302 /* {{{ proto string mb_encode_mimeheader(string str [, string charset [, string transfer-encoding [, string linefeed [, int indent]]]])
3303 Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded_string?= */
3306 enum mbfl_no_encoding charset, transen local
4094 char *charset = NULL; local
[all...]
/PHP_5_5/ext/mssql/
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));
H A Dphp_mssql.h164 char *charset; variable
/PHP_5_5/ext/mysqli/
H A Dmysqli_fe.c307 ZEND_ARG_INFO(0, charset)
311 ZEND_ARG_INFO(0, charset)
/PHP_5_5/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 ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const charset, char *newstr,
H A Dmysqlnd_structs.h416 typedef enum_func_status (*func_mysqlnd_conn_data__set_charset)(MYSQLND_CONN_DATA * const conn, const char * const charset TSRMLS_DC);
883 const MYSQLND_CHARSET *charset; member in struct:st_mysqlnd_connection_data
H A Dmysqlnd.c174 conn->charset = NULL;
448 const MYSQLND_CHARSET * charset; local
460 if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
461 auth_packet->charset_no = charset->nr;
798 "Server sent charset (%d) unknown to the client. Please, report to the developers", greet_packet->charset_no);
800 "Server sent charset unknown to the client. Please, report to the developers");
1036 /* todo: check if charset is available */
1611 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1613 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1782 const MYSQLND_CHARSET * const charset local
[all...]
/PHP_5_5/ext/interbase/
H A Dinterbase.c60 ZEND_ARG_INFO(0, charset)
70 ZEND_ARG_INFO(0, charset)
1035 /* {{{ proto resource ibase_connect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
1043 /* {{{ proto resource ibase_pconnect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
/PHP_5_5/ext/interbase/tests/
H A Dinterbase.inc19 $user, $password, ($charset = ini_get('ibase.default_charset')) ? $charset : 'NONE'));
/PHP_5_5/main/
H A DSAPI.c297 char *mimetype, *charset, *content_type; local
308 charset = SG(default_charset);
311 charset = SAPI_DEFAULT_CHARSET;
315 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) {
318 *len = prefix_len + mimetype_len + sizeof("; charset=") - 1 + charset_len;
323 memcpy(p, "; charset=", sizeof("; charset=") - 1);
324 p += sizeof("; charset=") - 1;
325 memcpy(p, charset, charset_len + 1);
353 * Add charset o
365 char *charset, *newtype; local
[all...]

Completed in 102 milliseconds

12