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

/PHP_5_6/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_6/ext/mssql/
H A Dphp_mssql.h164 char *charset; variable
/PHP_5_6/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.c174 conn->charset = NULL;
449 const MYSQLND_CHARSET * charset; local
486 if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
487 auth_packet->charset_no = charset->nr;
824 "Server sent charset (%d) unknown to the client. Please, report to the developers", greet_packet->charset_no);
826 "Server sent charset unknown to the client. Please, report to the developers");
1062 /* todo: check if charset is available */
1637 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1639 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len TSRMLS_CC);
1808 const MYSQLND_CHARSET * const charset local
[all...]
H A Dmysqlnd_structs.h419 typedef enum_func_status (*func_mysqlnd_conn_data__set_charset)(MYSQLND_CONN_DATA * const conn, const char * const charset TSRMLS_DC);
921 const MYSQLND_CHARSET *charset; member in struct:st_mysqlnd_connection_data
/PHP_5_6/ext/pdo_oci/
H A Dphp_pdo_oci_int.h38 ub2 charset; member in struct:__anon170
/PHP_5_6/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_6/ext/standard/
H A Dhtml_tables.h42 enum entity_charset charset; member in struct:__anon1
84 * The origin charset must have at most 256 code points.
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, char *ret, size_t *retlen, int all, int flags, const entity_ht *inv_map, enum entity_charset charset) argument
1102 enum entity_charset charset; local
1144 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
1230 enum entity_charset charset = determine_charset(hint_charset TSRMLS_CC); local
1556 write_s3row_data( const entity_stage3_row *r, unsigned orig_cp, enum entity_charset charset, zval *arr) argument
1622 enum entity_charset charset; local
[all...]
/PHP_5_6/ext/oci8/
H A Dphp_oci8_int.h137 ub2 charset; /* charset ID */ member in struct:__anon2
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.c1757 char *dbname = NULL, *charset = NULL; local
1762 /* if a fourth parameter is handed over, it is the charset identifier (but is only used in Oracle 9i+) */
1763 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) {
1769 DTRACE_OCI8_CONNECT_ENTRY(username, dbname, charset, session_mode, persistent, exclusive);
1774 charset = NULL;
1777 connection = php_oci_do_connect_ex(username, username_len, password, password_len, NULL, 0, dbname, dbname_len, charset, session_mode, persistent, exclusive TSRMLS_CC);
1799 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
1899 if (charset && *charset) {
1900 PHP_OCI_CALL_RETURN(charsetid, OCINlsCharSetNameToId, (OCI_G(env), (CONST oratext *)charset));
[all...]
/PHP_5_6/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)
425 len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%.*s", mimetype_len ? mimetype_len : (int) strlen(mimetype), mimetype, (int)(p - get_output_encoding(TSRMLS_C)), get_output_encoding(TSRMLS_C));
427 len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (int) strlen(mimetype), mimetype, get_output_encoding(TSRMLS_C));
1543 case 2: /* expecting a charset nam
2025 char *charset = get_internal_encoding(TSRMLS_C); local
2058 char *charset = get_internal_encoding(TSRMLS_C); local
2098 char *charset = get_internal_encoding(TSRMLS_C); local
2146 char *charset = get_internal_encoding(TSRMLS_C); local
2310 char *charset = get_internal_encoding(TSRMLS_C); local
2351 char *charset = get_internal_encoding(TSRMLS_C); local
2478 char *type, *charset; local
[all...]
/PHP_5_6/ext/mbstring/
H A Dmbstring.c389 ZEND_ARG_INFO(0, charset)
2027 Return the preferred MIME name (charset) as a string */
2116 const char *charset; local
2159 charset = encoding->mime_name;
2160 if (charset) {
2161 len = spprintf( &p, 0, "Content-Type: %s; charset=%s", mimetype, charset );
3326 /* {{{ proto string mb_encode_mimeheader(string str [, string charset [, string transfer-encoding [, string linefeed [, int indent]]]])
3327 Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded_string?= */
3330 enum mbfl_no_encoding charset, transen local
4118 char *charset = NULL; local
[all...]
/PHP_5_6/main/
H A DSAPI.c313 char *mimetype, *charset, *content_type; local
324 charset = SG(default_charset);
327 charset = SAPI_DEFAULT_CHARSET;
331 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) {
334 *len = prefix_len + mimetype_len + sizeof("; charset=") - 1 + charset_len;
339 memcpy(p, "; charset=", sizeof("; charset=") - 1);
340 p += sizeof("; charset=") - 1;
341 memcpy(p, charset, charset_len + 1);
369 * Add charset o
381 char *charset, *newtype; local
[all...]
/PHP_5_6/ext/sqlite3/libsqlite/
H A Dsqlite3.c20084 etByte charset; /* Offset into aDigits[] of the digits string */ member in struct:et_info
20454 cset = &aDigits[infop->charset];
20600 *(bufpt++) = aDigits[infop->charset];
[all...]
/PHP_5_6/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...]

Completed in 190 milliseconds