Searched refs:csname (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c1370 /* {{{ proto bool mysql_set_charset(string csname [, int link_identifier])
1374 char *csname; local
1379 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &csname, &csname_len, &mysql_link) == FAILURE) {
1391 if (!mysql_set_character_set(mysql->conn, csname)) {
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_nonapi.c940 /* {{{ proto bool mysqli_set_charset(object link, string csname)
985 name = (char *)cs.csname;
H A Dmysqli_api.c658 rc = mysql_set_character_set(mysql->mysql, old_charset->csname);
/PHP_TRUNK/ext/iconv/
H A Diconv.c1454 const char *csname = NULL; local
1531 csname = p1 + 1;
1548 if (csname == NULL) {
1553 csname_len = (size_t)(p1 - csname);
1574 memcpy(tmpbuf, csname, csname_len);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1802 MYSQLND_METHOD(mysqlnd_conn_data, set_charset)(MYSQLND_CONN_DATA * const conn, const char * const csname TSRMLS_DC)
1806 const MYSQLND_CHARSET * const charset = mysqlnd_find_charset_name(csname);
1809 DBG_INF_FMT("conn=%llu cs=%s", conn->thread_id, csname);
1819 size_t query_len = mnd_sprintf(&query, 0, "SET NAMES %s", csname);

Completed in 55 milliseconds