Searched defs:dbname (Results 1 - 8 of 8) sorted by relevance

/PHP_5_5/ext/pdo_mysql/
H A Dmysql_driver.c542 char *dbname; local
545 { "dbname", "", 0 },
735 dbname = vars[1].optval;
746 if (dbname) {
747 dbname_len = strlen(dbname);
754 if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_len,
757 if (mysql_real_connect(H->server, host, dbh->username, dbh->password, dbname, port, unix_socket, connect_opts) == NULL) {
/PHP_5_5/ext/sqlite3/
H A Dsqlite3.c1209 /* {{{ proto resource SQLite3::openBlob(string table, string column, int rowid [, string dbname])
1215 char *table, *column, *dbname = "main"; local
1226 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssl|s", &table, &table_len, &column, &column_len, &rowid, &dbname, &dbname_len) == FAILURE) {
1230 if (sqlite3_blob_open(db_obj->db, dbname, table, column, rowid, flags, &blob) != SQLITE_OK) {
1874 ZEND_ARG_INFO(0, dbname)
/PHP_5_5/ext/oci8/
H A Doci8.c147 static int php_oci_create_session(php_oci_connection *connection, php_oci_spool *session_pool, char *dbname, int dbname_len, char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, int session_mode TSRMLS_DC);
148 static int php_oci_old_create_session(php_oci_connection *connection, char *dbname, int dbname_len, char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, int session_mode TSRMLS_DC);
149 static php_oci_spool *php_oci_get_spool(char *username, int username_len, char *password, int password_len, char *dbname, int dbname_len, int charsetid TSRMLS_DC);
150 static php_oci_spool *php_oci_create_spool(char *username, int username_len, char *password, int password_len, char *dbname, int dbname_len, char *hash_key, int hash_key_len, int charsetid TSRMLS_DC);
1731 char *dbname = NULL, *charset = NULL; local
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) {
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
1854 if (dbname) {
1855 smart_str_appendl_ex(&hashed_details, dbname, dbname_le
2707 php_oci_create_spool(char *username, int username_len, char *password, int password_len, char *dbname, int dbname_len, char *hash_key, int hash_key_len, int charsetid TSRMLS_DC) argument
2836 php_oci_get_spool(char *username, int username_len, char *password, int password_len, char *dbname, int dbname_len, int charsetid TSRMLS_DC) argument
2943 php_oci_old_create_session(php_oci_connection *connection, char *dbname, int dbname_len, char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, int session_mode TSRMLS_DC) argument
3116 php_oci_create_session(php_oci_connection *connection, php_oci_spool *session_pool, char *dbname, int dbname_len, char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, int session_mode TSRMLS_DC) argument
[all...]
H A Doci8_interface.c1909 char *user, *pass_old, *pass_new, *dbname; local
1941 } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "ssss", &dbname, &dbname_len, &user, &user_len, &pass_old, &pass_old_len, &pass_new, &pass_new_len) == SUCCESS) {
1956 connection = php_oci_do_connect_ex(user, user_len, pass_old, pass_old_len, pass_new, pass_new_len, dbname, dbname_len, NULL, OCI_DEFAULT, 0, 0 TSRMLS_CC);
/PHP_5_5/ext/mysqli/
H A Dmysqli_api.c628 char *user, *password, *dbname; local
635 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Osss", &mysql_link, mysqli_link_class_entry, &user, &user_len, &password, &password_len, &dbname, &dbname_len) == FAILURE) {
645 rc = mysqlnd_change_user_ex(mysql->mysql, user, password, dbname, FALSE, (size_t) password_len);
647 rc = mysql_change_user(mysql->mysql, user, password, dbname);
1935 /* {{{ proto bool mysqli_real_connect(object link [,string hostname [,string username [,string passwd [,string dbname [,int port [,string socket [,int flags]]]]]]])
2218 /* {{{ proto bool mysqli_select_db(object link, string dbname)
2224 char *dbname; local
2227 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &dbname, &dbname_len) == FAILURE) {
2232 if (mysql_select_db(mysql->mysql, dbname)) {
H A Dmysqli_nonapi.c65 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; local
89 hostname = username = dbname = passwd = socket = NULL;
93 &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len) == FAILURE) {
111 &hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len,
160 port, SAFE_STR(username), SAFE_STR(dbname),
178 if (!mysqli_change_user_silent(mysql->mysql, username, passwd, dbname, passwd_len)) {
240 if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbname, port, socket, flags) == NULL)
242 if (mysqlnd_connect(mysql->mysql, hostname, username, passwd, passwd_len, dbname, dbname_len,
307 /* {{{ proto object mysqli_connect([string hostname [,string username [,string passwd [,string dbname [,int port [,string socket]]]]]])
/PHP_5_5/ext/pgsql/
H A Dpgsql.c1227 char *host=NULL,*port=NULL,*options=NULL,*tty=NULL,*dbname=NULL,*connstring=NULL; local
1268 dbname = Z_STRVAL_PP(args[ZEND_NUM_ARGS()-1]);
1302 pgsql=PQsetdb(host,port,options,tty,dbname);
1337 le->ptr=PQsetdb(host,port,options,tty,dbname);
1396 pgsql = PQsetdb(host,port,options,tty,dbname);
/PHP_5_5/ext/fileinfo/libmagic/
H A Dapprentice.c2595 char *dbname = NULL; local
2625 dbname = mkdbname(ms, fn, 0);
2626 if (dbname == NULL)
2640 file_error(ms, errno, "cannot stat `%s'", dbname);
2645 file_error(ms, 0, "file `%s' is too small", dbname);
2668 file_error(ms, 0, "bad magic in `%s'", dbname);
2681 VERSIONNO, dbname, version);
2698 dbname, (unsigned long long)st.sb.st_size,
2716 dbname, entries, nentries + 1);
2724 if (dbname) {
2754 char *dbname; local
[all...]

Completed in 32 milliseconds