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

12

/PHP_TRUNK/ext/bcmath/libbcmath/
H A Dconfigure1257 typedef int charset[2]; const charset x;
/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 Doci8_lob.c93 descriptor->charset_id = connection->charset;
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 */
418 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, zend_long session_mode, int persistent, int exclusive);
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(), "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);
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, zend_long session_mode, int persistent, int exclusive) argument
1903 if (charset && *charset) {
1904 PHP_OCI_CALL_RETURN(charsetid, OCINlsCharSetNameToId, (OCI_G(env), (CONST oratext *)charset));
[all...]
/PHP_TRUNK/ext/interbase/tests/
H A Dinterbase.inc19 $user, $password, ($charset = ini_get('ibase.default_charset')) ? $charset : 'NONE'));
/PHP_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h38 ub2 charset; member in struct:__anon177
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/mysqlnd/
H A Dmysqlnd_charset.h24 PHPAPI zend_ulong mysqlnd_cset_escape_quotes(const MYSQLND_CHARSET * const charset, char *newstr,
H A Dmysqlnd_structs.h418 typedef enum_func_status (*func_mysqlnd_conn_data__set_charset)(MYSQLND_CONN_DATA * const conn, const char * const charset);
922 const MYSQLND_CHARSET *charset; member in struct:st_mysqlnd_connection_data
H A Dmysqlnd.c173 conn->charset = NULL;
446 const MYSQLND_CHARSET * charset; local
483 if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
484 auth_packet->charset_no = charset->nr;
821 "Server sent charset (%d) unknown to the client. Please, report to the developers", greet_packet->charset_no);
823 "Server sent charset unknown to the client. Please, report to the developers");
1059 /* todo: check if charset is available */
1635 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len);
1637 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len);
1805 const MYSQLND_CHARSET * const charset local
[all...]
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 */
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c522 php_filter_url(value, flags, option_array, charset);
H A Dphp_filter.h76 #define PHP_INPUT_FILTER_PARAM_DECL zval *value, zend_long flags, zval *option_array, char *charset
H A Dfilter.c369 static void php_zval_filter(zval *value, zend_long filter, zend_long flags, zval *options, char* charset, zend_bool copy) /* {{{ */ argument
400 filter_func.function(value, flags, options, charset);
493 static void php_zval_filter_recursive(zval *value, zend_long filter, zend_long flags, zval *options, char *charset, zend_bool copy) /* {{{ */ argument
507 php_zval_filter_recursive(element, filter, flags, options, charset, copy);
510 php_zval_filter(element, filter, flags, options, charset, copy);
514 php_zval_filter(value, filter, flags, options, charset, copy);
587 char *charset = NULL; local
640 php_zval_filter_recursive(filtered, filter, filter_flags, options, charset, copy);
656 php_zval_filter(filtered, filter, filter_flags, options, charset, copy);
/PHP_TRUNK/ext/xml/
H A Dcompat.c472 * charset in documents with a BOM: */
473 parser->parser->charset = XML_CHAR_ENCODING_NONE;
576 if (parser->parser->charset == XML_CHAR_ENCODING_NONE) {
590 parser->parser->charset = XML_CHAR_ENCODING_UTF8;
/PHP_TRUNK/ext/interbase/
H A Dinterbase.c60 ZEND_ARG_INFO(0, charset)
70 ZEND_ARG_INFO(0, charset)
1032 /* {{{ proto resource ibase_connect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
1040 /* {{{ proto resource ibase_pconnect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
/PHP_TRUNK/main/
H A DSAPI.c308 char *mimetype, *charset, *content_type; local
319 charset = SG(default_charset);
322 charset = SAPI_DEFAULT_CHARSET;
326 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) {
329 *len = prefix_len + mimetype_len + sizeof("; charset=") - 1 + charset_len;
334 memcpy(p, "; charset=", sizeof("; charset=") - 1);
335 p += sizeof("; charset=") - 1;
336 memcpy(p, charset, charset_len + 1);
364 * Add charset o
376 char *charset, *newtype; local
[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)
428 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()), get_output_encoding());
430 len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (size_t) strlen(mimetype), mimetype, get_output_encoding());
540 static int _php_check_ignore(const char *charset) argument
2053 char *charset = get_internal_encoding(); local
2085 char *charset = get_internal_encoding(); local
2124 char *charset = get_internal_encoding(); local
2170 char *charset = get_internal_encoding(); local
2311 char *charset = get_internal_encoding(); local
2351 char *charset = get_internal_encoding(); local
2481 zend_string *charset; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c381 ZEND_ARG_INFO(0, charset)
2034 Return the preferred MIME name (charset) as a string */
2122 const char *charset; local
2165 charset = encoding->mime_name;
2166 if (charset) {
2167 len = spprintf( &p, 0, "Content-Type: %s; charset=%s", mimetype, charset );
3359 /* {{{ proto string mb_encode_mimeheader(string str [, string charset [, string transfer-encoding [, string linefeed [, int indent]]]])
3360 Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded_string?= */
3363 enum mbfl_no_encoding charset, transen local
4131 char *charset = NULL; local
[all...]
/PHP_TRUNK/ext/standard/
H A Darray.c1364 static const uint32_t charset[16] = { local
1383 if (UNEXPECTED(!(charset[ch >> 5] & (1 << (ch & 0x1f))))) {
1400 if (UNEXPECTED(!(charset[8 + (ch >> 5)] & (1 << (ch & 0x1f))))) {
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
576 map_from_unicode(unsigned code, enum entity_charset charset, unsigned *res) argument
877 write_octet_sequence(unsigned char *buf, enum entity_charset charset, unsigned code) argument
937 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
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); local
1570 write_s3row_data( const entity_stage3_row *r, unsigned orig_cp, enum entity_charset charset, zval *arr) argument
1636 enum entity_charset charset; local
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c386 ZEND_ARG_INFO(0, charset)
442 ZEND_ARG_INFO(0, charset)
3131 /* {{{ proto array imap_sort(resource stream_id, int criteria, int reverse [, int options [, string search_criteria [, string charset]]])
3136 zend_string *criteria = NULL, *charset = NULL; local
3145 if (zend_parse_parameters(argc, "rll|lSS", &streamind, &pgm, &rev, &flags, &criteria, &charset) == FAILURE) {
3176 slst = mail_sort(imap_le_struct->imap_stream, (argc == 6 ? ZSTR_VAL(charset) : NIL), spg, mypgm, (argc >= 4 ? flags : NIL));
3624 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "charset", sizeof("charset") - 1)) != NULL) {
3727 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "charset", sizeof("charset")
4131 zend_string *criteria, *charset = NULL; local
4261 char *string, *charset, encoding, *text, *decode; local
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_fe.c323 ZEND_ARG_INFO(0, charset)
327 ZEND_ARG_INFO(0, charset)
H A Dmysqli_nonapi.c994 cs = mysql->mysql->data->charset;
996 php_error_docref(NULL, E_WARNING, "The connection has no charset associated");
1009 add_property_string(return_value, "charset", (name) ? (char *)name : "");

Completed in 86 milliseconds

12