dbname 2603 ext/fileinfo/libmagic/apprentice.c char *dbname = NULL; dbname 2632 ext/fileinfo/libmagic/apprentice.c dbname = mkdbname(ms, fn, 0); dbname 2633 ext/fileinfo/libmagic/apprentice.c if (dbname == NULL) dbname 2643 ext/fileinfo/libmagic/apprentice.c file_error(ms, errno, "cannot stat `%s'", dbname); dbname 2648 ext/fileinfo/libmagic/apprentice.c file_error(ms, 0, "file `%s' is too small", dbname); dbname 2671 ext/fileinfo/libmagic/apprentice.c file_error(ms, 0, "bad magic in `%s'", dbname); dbname 2684 ext/fileinfo/libmagic/apprentice.c VERSIONNO, dbname, version); dbname 2701 ext/fileinfo/libmagic/apprentice.c dbname, (unsigned long long)st.sb.st_size, dbname 2719 ext/fileinfo/libmagic/apprentice.c dbname, entries, nentries + 1); dbname 2727 ext/fileinfo/libmagic/apprentice.c if (dbname) { dbname 2728 ext/fileinfo/libmagic/apprentice.c efree(dbname); dbname 2737 ext/fileinfo/libmagic/apprentice.c if (dbname) { dbname 2738 ext/fileinfo/libmagic/apprentice.c efree(dbname); dbname 2757 ext/fileinfo/libmagic/apprentice.c char *dbname; dbname 2764 ext/fileinfo/libmagic/apprentice.c dbname = mkdbname(ms, fn, 0); dbname 2766 ext/fileinfo/libmagic/apprentice.c if (dbname == NULL) dbname 2773 ext/fileinfo/libmagic/apprentice.c file_error(ms, errno, "cannot open `%s'", dbname); dbname 2778 ext/fileinfo/libmagic/apprentice.c file_error(ms, errno, "error writing `%s'", dbname); dbname 2783 ext/fileinfo/libmagic/apprentice.c file_error(ms, errno, "error writing `%s'", dbname); dbname 2790 ext/fileinfo/libmagic/apprentice.c file_error(ms, errno, "error seeking `%s'", dbname); dbname 2797 ext/fileinfo/libmagic/apprentice.c file_error(ms, errno, "error writing `%s'", dbname); dbname 2808 ext/fileinfo/libmagic/apprentice.c efree(dbname); dbname 639 ext/mysqli/mysqli_api.c char *user, *password, *dbname; dbname 646 ext/mysqli/mysqli_api.c 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) { dbname 656 ext/mysqli/mysqli_api.c rc = mysqlnd_change_user_ex(mysql->mysql, user, password, dbname, FALSE, (size_t) password_len); dbname 658 ext/mysqli/mysqli_api.c rc = mysql_change_user(mysql->mysql, user, password, dbname); dbname 2259 ext/mysqli/mysqli_api.c char *dbname; dbname 2262 ext/mysqli/mysqli_api.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &dbname, &dbname_len) == FAILURE) { dbname 2267 ext/mysqli/mysqli_api.c if (mysql_select_db(mysql->mysql, dbname)) { dbname 65 ext/mysqli/mysqli_nonapi.c char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; dbname 89 ext/mysqli/mysqli_nonapi.c hostname = username = dbname = passwd = socket = NULL; dbname 93 ext/mysqli/mysqli_nonapi.c &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len) == FAILURE) { dbname 111 ext/mysqli/mysqli_nonapi.c &hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len, dbname 162 ext/mysqli/mysqli_nonapi.c port, SAFE_STR(username), SAFE_STR(dbname), dbname 180 ext/mysqli/mysqli_nonapi.c if (!mysqli_change_user_silent(mysql->mysql, username, passwd, dbname, passwd_len)) { dbname 242 ext/mysqli/mysqli_nonapi.c if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbname, port, socket, flags) == NULL) dbname 244 ext/mysqli/mysqli_nonapi.c if (mysqlnd_connect(mysql->mysql, hostname, username, passwd, passwd_len, dbname, dbname_len, dbname 140 ext/oci8/oci8.c 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); dbname 141 ext/oci8/oci8.c 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); dbname 142 ext/oci8/oci8.c 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); dbname 143 ext/oci8/oci8.c 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); dbname 1759 ext/oci8/oci8.c char *dbname = NULL, *charset = NULL; dbname 1765 ext/oci8/oci8.c 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) { dbname 1771 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_ENTRY(username, dbname, charset, session_mode, persistent, exclusive); dbname 1779 ext/oci8/oci8.c connection = php_oci_do_connect_ex(username, username_len, password, password_len, NULL, 0, dbname, dbname_len, charset, session_mode, persistent, exclusive TSRMLS_CC); dbname 1801 ext/oci8/oci8.c 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) dbname 1896 ext/oci8/oci8.c if (dbname) { dbname 1897 ext/oci8/oci8.c smart_str_appendl_ex(&hashed_details, dbname, dbname_len, 0); dbname 1967 ext/oci8/oci8.c if (php_oci_create_session(connection, NULL, dbname, dbname_len, username, username_len, password, password_len, new_password, new_password_len, session_mode TSRMLS_CC)) { dbname 2124 ext/oci8/oci8.c if ((session_pool = php_oci_get_spool(username, username_len, password, password_len, dbname, dbname_len, charsetid ? charsetid:charsetid_nls_lang TSRMLS_CC))==NULL) dbname 2150 ext/oci8/oci8.c if (php_oci_old_create_session(connection, dbname, dbname_len, username, username_len, password, password_len, new_password, new_password_len, session_mode TSRMLS_CC)) { dbname 2156 ext/oci8/oci8.c if (php_oci_create_session(connection, session_pool, dbname, dbname_len, username, username_len, password, password_len, new_password, new_password_len, session_mode TSRMLS_CC)) { dbname 2828 ext/oci8/oci8.c 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) dbname 2933 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCISessionPoolCreate,(session_pool->env, OCI_G(err), session_pool->poolh, (OraText **)&session_pool->poolname, &session_pool->poolname_len, (OraText *)dbname, (ub4)dbname_len, 0, UB4MAXVAL, 1,(OraText *)username, (ub4)username_len, (OraText *)password,(ub4)password_len, poolmode)); dbname 2965 ext/oci8/oci8.c 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) dbname 2990 ext/oci8/oci8.c smart_str_appendl_ex(&spool_hashed_details, dbname, dbname_len, 0); dbname 3004 ext/oci8/oci8.c session_pool = php_oci_create_spool(username, username_len, password, password_len, dbname, dbname_len, spool_hashed_details.c, spool_hashed_details.len, charsetid TSRMLS_CC); dbname 3070 ext/oci8/oci8.c 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) dbname 3089 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIServerAttach, (connection->server, OCI_G(err), (text *)dbname, dbname_len, (ub4) OCI_DEFAULT)); dbname 3253 ext/oci8/oci8.c 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) dbname 3264 ext/oci8/oci8.c !(connection->private_spool = php_oci_create_spool(username, username_len, password, password_len, dbname, dbname_len, NULL, 0, connection->charset TSRMLS_CC))) { dbname 1956 ext/oci8/oci8_interface.c char *user, *pass_old, *pass_new, *dbname; dbname 1988 ext/oci8/oci8_interface.c } 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) { dbname 2003 ext/oci8/oci8_interface.c 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); dbname 410 ext/oci8/php_oci8_int.h 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); dbname 543 ext/pdo_mysql/mysql_driver.c char *dbname; dbname 743 ext/pdo_mysql/mysql_driver.c dbname = vars[1].optval; dbname 759 ext/pdo_mysql/mysql_driver.c if (dbname) { dbname 760 ext/pdo_mysql/mysql_driver.c dbname_len = strlen(dbname); dbname 767 ext/pdo_mysql/mysql_driver.c if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_len, dbname 770 ext/pdo_mysql/mysql_driver.c if (mysql_real_connect(H->server, host, dbh->username, dbh->password, dbname, port, unix_socket, connect_opts) == NULL) { dbname 1273 ext/pgsql/pgsql.c char *host=NULL,*port=NULL,*options=NULL,*tty=NULL,*dbname=NULL,*connstring=NULL; dbname 1314 ext/pgsql/pgsql.c dbname = Z_STRVAL_PP(args[ZEND_NUM_ARGS()-1]); dbname 1348 ext/pgsql/pgsql.c pgsql=PQsetdb(host,port,options,tty,dbname); dbname 1383 ext/pgsql/pgsql.c le->ptr=PQsetdb(host,port,options,tty,dbname); dbname 1459 ext/pgsql/pgsql.c pgsql = PQsetdb(host,port,options,tty,dbname); dbname 1237 ext/sqlite3/sqlite3.c char *table, *column, *dbname = "main"; dbname 1248 ext/sqlite3/sqlite3.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssl|s", &table, &table_len, &column, &column_len, &rowid, &dbname, &dbname_len) == FAILURE) { dbname 1252 ext/sqlite3/sqlite3.c if (sqlite3_blob_open(db_obj->db, dbname, table, column, rowid, flags, &blob) != SQLITE_OK) { dbname 1926 ext/sqlite3/sqlite3.c ZEND_ARG_INFO(0, dbname)