Searched defs:charset (Results 1 - 16 of 16) sorted by relevance

/PHP_5_4/ext/sqlite3/libsqlite/
H A Dsqlite3.c18883 etByte charset; /* Offset into aDigits[] of the digits string */ member in struct:et_info
19231 cset = &aDigits[infop->charset];
19370 *(bufpt++) = aDigits[infop->charset];
[all...]
/PHP_5_4/ext/pdo_oci/
H A Dphp_pdo_oci_int.h38 ub2 charset; member in struct:__anon167
/PHP_5_4/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...]
H A Dhtml_tables.h42 enum entity_charset charset; member in struct:__anon1
84 * The origin charset must have at most 256 code points.
/PHP_5_4/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_4/ext/filter/
H A Dfilter.c359 static void php_zval_filter(zval **value, long filter, long flags, zval *options, char* charset, zend_bool copy TSRMLS_DC) /* {{{ */ argument
389 filter_func.function(*value, flags, options, charset TSRMLS_CC);
466 php_zval_filter(&tmp_new_var, IF_G(default_filter), IF_G(default_filter_flags), NULL, NULL/*charset*/, 0 TSRMLS_CC);
495 static void php_zval_filter_recursive(zval **value, long filter, long flags, zval *options, char *charset, zend_bool copy TSRMLS_DC) /* {{{ */ argument
512 php_zval_filter_recursive(element, filter, flags, options, charset, copy TSRMLS_CC);
515 php_zval_filter(element, filter, flags, options, charset, copy TSRMLS_CC);
519 php_zval_filter(value, filter, flags, options, charset, copy TSRMLS_CC);
593 char *charset = NULL; local
648 php_zval_filter_recursive(filtered, filter, filter_flags, options, charset, copy TSRMLS_CC);
664 php_zval_filter(filtered, filter, filter_flags, options, charset, cop
[all...]
/PHP_5_4/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_4/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_4/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_4/ext/mssql/
H A Dphp_mssql.h164 char *charset; variable
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd.c168 conn->charset = NULL;
426 const MYSQLND_CHARSET * charset; local
438 if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
439 auth_packet->charset_no = charset->nr;
767 "Server sent charset (%d) unknown to the client. Please, report to the developers", greet_packet->charset_no);
769 "Server sent charset unknown to the client. Please, report to the developers");
887 /* todo: check if charset is available */
1485 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1487 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1655 const MYSQLND_CHARSET * const charset local
[all...]
H A Dmysqlnd_auth.c54 const MYSQLND_CHARSET * charset = NULL; local
88 if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
89 auth_packet->charset_no = charset->nr;
112 conn->charset = mysqlnd_find_charset_nr(auth_packet->charset_no);
175 const MYSQLND_CHARSET * old_cs = conn->charset;
224 auth_packet->charset_no = conn->charset->nr;
294 /* set charset for old servers */
H A Dmysqlnd_structs.h397 typedef enum_func_status (*func_mysqlnd_conn_data__set_charset)(MYSQLND_CONN_DATA * const conn, const char * const charset TSRMLS_DC);
828 const MYSQLND_CHARSET *charset; member in struct:st_mysqlnd_connection_data
/PHP_5_4/ext/oci8/
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...]
H A Dphp_oci8_int.h123 ub2 charset; /* charset ID */ member in struct:__anon2
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);
/PHP_5_4/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 171 milliseconds