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

12

/PHP_5_3/ext/bcmath/libbcmath/
H A Dconfigure1257 typedef int charset[2]; const charset x;
/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dprintf.c92 char *charset; /* The character set for conversion */ member in struct:et_info
366 cset = infop->charset;
480 *(bufpt++) = infop->charset[0];
/PHP_5_3/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_3/ext/interbase/tests/
H A Dinterbase.inc19 $user, $password, ($charset = ini_get('ibase.default_charset')) ? $charset : 'NONE'));
/PHP_5_3/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);
475 php_zval_filter(&tmp_new_var, IF_G(default_filter), IF_G(default_filter_flags), NULL, NULL/*charset*/, 0 TSRMLS_CC);
509 static void php_zval_filter_recursive(zval **value, long filter, long flags, zval *options, char *charset, zend_bool copy TSRMLS_DC) /* {{{ */ argument
526 php_zval_filter_recursive(element, filter, flags, options, charset, copy TSRMLS_CC);
529 php_zval_filter(element, filter, flags, options, charset, copy TSRMLS_CC);
533 php_zval_filter(value, filter, flags, options, charset, copy TSRMLS_CC);
608 char *charset = NULL; local
663 php_zval_filter_recursive(filtered, filter, filter_flags, options, charset, copy TSRMLS_CC);
679 php_zval_filter(filtered, filter, filter_flags, options, charset, cop
[all...]
H A Dlogical_filters.c445 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_3/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)
122 ZEND_ARG_INFO(0, charset)
1410 case 2: /* expecting a charset name */
1859 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Wrong charset, conversion from `%s' to `%s' is not allowed",
1888 /* {{{ proto int iconv_strlen(string str [, string charset])
1892 char *charset = ICONVG(internal_encoding); local
1925 char *charset = ICONVG(internal_encoding); local
1965 char *charset = ICONVG(internal_encoding); local
2013 char *charset = ICONVG(internal_encoding); local
2177 char *charset = ICONVG(internal_encoding); local
2218 char *charset = ICONVG(internal_encoding); local
2400 char *type, *charset; local
[all...]
/PHP_5_3/ext/imap/
H A Dphp_imap.c386 ZEND_ARG_INFO(0, charset)
442 ZEND_ARG_INFO(0, charset)
3096 /* {{{ proto array imap_sort(resource stream_id, int criteria, int reverse [, int options [, string search_criteria [, string charset]]])
3101 char *criteria = NULL, *charset = NULL; local
3111 if (zend_parse_parameters(argc TSRMLS_CC, "rll|lss", &streamind, &pgm, &rev, &flags, &criteria, &criteria_len, &charset, &charset_len) == FAILURE) {
3140 slst = mail_sort(imap_le_struct->imap_stream, (argc == 6 ? charset : NIL), spg, mypgm, (argc >= 4 ? flags : NIL));
3583 if (zend_hash_find(Z_ARRVAL_PP(data), "charset", sizeof("charset"), (void **) &pvalue)== SUCCESS) {
3695 if (zend_hash_find(Z_ARRVAL_PP(data), "charset", sizeof("charset"), (voi
4097 char *criteria, *charset = NULL; local
4225 char *str, *string, *charset, encoding, *text, *decode; local
[all...]
/PHP_5_3/ext/interbase/
H A Dinterbase.c62 ZEND_ARG_INFO(0, charset)
72 ZEND_ARG_INFO(0, charset)
1037 /* {{{ proto resource ibase_connect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
1045 /* {{{ proto resource ibase_pconnect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
/PHP_5_3/ext/mbstring/
H A Dmbstring.c388 ZEND_ARG_INFO(0, charset)
1844 Return the preferred MIME name (charset) as a string */
1925 const char *charset; local
1968 charset = mbfl_no2preferred_mime_name(encoding);
1969 if (charset) {
1970 len = spprintf( &p, 0, "Content-Type: %s; charset=%s", mimetype, charset );
3121 /* {{{ proto string mb_encode_mimeheader(string str [, string charset [, string transfer-encoding [, string linefeed [, int indent]]]])
3122 Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded_string?= */
3125 enum mbfl_no_encoding charset, transen local
3911 char *charset = NULL; local
[all...]
/PHP_5_3/ext/mssql/
H A Dphp_mssql.c256 STD_PHP_INI_ENTRY("mssql.charset", "", PHP_INI_ALL, OnUpdateString, charset, zend_mssql_globals, mssql_globals)
618 if (MS_SQL_G(charset) && strlen(MS_SQL_G(charset))) {
619 DBSETLCHARSET(mssql.login, MS_SQL_G(charset));
H A Dphp_mssql.h164 char *charset; variable
/PHP_5_3/ext/mysqli/
H A Dmysqli_fe.c267 ZEND_ARG_INFO(0, charset)
271 ZEND_ARG_INFO(0, charset)
/PHP_5_3/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:__anon109
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_3/ext/pdo_oci/
H A Doci_driver.c233 if (H->charset && H->env) {
592 { "charset", NULL, 0 },
604 H->charset = OCINlsCharSetNameToId(pdo_oci_Env, (const oratext *)vars[0].optval);
605 if (!H->charset) {
609 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:__anon141
/PHP_5_3/ext/standard/
H A Dhtml.c382 enum entity_charset charset; /* charset identifier */ member in struct:html_entity_map
418 enum entity_charset charset; member in struct:__anon214
510 inline static unsigned int get_next_char(enum entity_charset charset, argument
533 switch (charset) {
713 * returns the charset identifier based on current locale or a hint.
718 enum entity_charset charset = cs_8859_1; local
813 /* try to detect the charset for the locale */
822 /* try to figure out the charset from the locale */
842 * is the charset */
926 enum entity_charset charset = determine_charset(hint_charset TSRMLS_CC); local
1129 enum entity_charset charset = determine_charset(hint_charset TSRMLS_CC); local
1427 enum entity_charset charset; local
[all...]
/PHP_5_3/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_3/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_3/main/
H A DSAPI.c232 char *mimetype, *charset, *content_type; local
235 charset = SG(default_charset) ? SG(default_charset) : SAPI_DEFAULT_CHARSET;
237 if (strncasecmp(mimetype, "text/", 5) == 0 && *charset) {
238 int len = strlen(mimetype) + sizeof("; charset=") + strlen(charset); /* sizeof() includes \0 */
240 snprintf(content_type, len, "%s; charset=%s", mimetype, charset);
262 * Add charset on content-type header if the MIME type starts with
264 * there is not already a charset option in there.
267 * with emalloc(). If a charset i
274 char *charset, *newtype; local
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_charset.h24 PHPAPI ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const charset, char *newstr,
H A Dmysqlnd_structs.h342 typedef enum_func_status (*func_mysqlnd_conn__set_charset)(MYSQLND * const conn, const char * const charset TSRMLS_DC);
749 const MYSQLND_CHARSET *charset; member in struct:st_mysqlnd_connection
H A Dmysqlnd.c184 conn->charset = NULL;
443 const MYSQLND_CHARSET * charset = NULL; local
463 if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
464 auth_packet->charset_no = charset->nr;
530 conn->charset = mysqlnd_find_charset_nr(auth_packet->charset_no);
685 "Server sent charset (%d) unknown to the client. Please, report to the developers", greet_packet->charset_no);
687 "Server sent charset unknown to the client. Please, report to the developers");
787 /* todo: check if charset is available */
909 char buffer[MYSQLND_MAX_ALLOWED_USER_LEN + 1 + 1 + SCRAMBLE_LENGTH + MYSQLND_MAX_ALLOWED_DB_LEN + 1 + 2 /* charset*/ + 2];
911 const MYSQLND_CHARSET * old_cs = conn->charset;
1584 const MYSQLND_CHARSET * const charset = mysqlnd_find_charset_name(csname); local
[all...]

Completed in 72 milliseconds

12