Searched refs:passwd_len (Results 1 - 10 of 10) sorted by relevance

/PHP_5_6/ext/imap/
H A Dphp_imap.c1149 int mailbox_len, user_len, passwd_len; local
1157 &passwd, &passwd_len, &flags, &retries, &params) == FAILURE) {
1227 IMAPG(imap_password) = estrndup(passwd, passwd_len);
/PHP_5_6/ext/mssql/
H A Dphp_mssql.c547 int host_len = 0, user_len = 0, passwd_len = 0; local
554 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sssb", &host, &host_len, &user, &user_len, &passwd, &passwd_len, &new_link) == FAILURE) {
565 if(passwd_len>255) {
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_auth.c36 const size_t passwd_len,
159 const size_t passwd_len,
361 const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len,
380 if (passwd && passwd_len) {
384 php_mysqlnd_scramble((zend_uchar*)ret, auth_plugin_data, (zend_uchar*)passwd, passwd_len);
421 const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len,
430 if (passwd && passwd_len) {
431 ret = (zend_uchar*) zend_strndup(passwd, passwd_len);
433 *auth_data_len = passwd_len;
574 const size_t passwd_len, zend_ucha
33 mysqlnd_auth_handshake(MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags, unsigned int server_charset_no, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, char ** switch_to_auth_protocol, size_t * switch_to_auth_protocol_len, zend_uchar ** switch_to_auth_protocol_data, size_t * switch_to_auth_protocol_data_len TSRMLS_DC) argument
155 mysqlnd_auth_change_user(MYSQLND_CONN_DATA * const conn, const char * const user, const size_t user_len, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const zend_bool silent, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, char ** switch_to_auth_protocol, size_t * switch_to_auth_protocol_len, zend_uchar ** switch_to_auth_protocol_data, size_t * switch_to_auth_protocol_data_len TSRMLS_DC) argument
358 mysqlnd_native_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, unsigned long mysql_flags TSRMLS_DC) argument
418 mysqlnd_pam_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, unsigned long mysql_flags TSRMLS_DC) argument
571 mysqlnd_sha256_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, unsigned long mysql_flags TSRMLS_DC) argument
[all...]
H A Dmysqlnd_priv.h215 const size_t passwd_len,
236 const size_t passwd_len,
H A Dmysqlnd.h92 const char * passwd, unsigned int passwd_len,
101 #define mysqlnd_change_user_ex(conn, user, passwd, db, silent, passwd_len) ((conn)->data)->m->change_user((conn)->data, (user), (passwd), (db), (silent), (passwd_len) TSRMLS_CC)
H A Dmysqlnd.c542 const size_t passwd_len,
613 auth_plugin->methods.get_auth_data(NULL, &scrambled_data_len, conn, user, passwd, passwd_len,
619 ret = mysqlnd_auth_handshake(conn, user, passwd, passwd_len, db, db_len, options, mysql_flags,
628 ret = mysqlnd_auth_change_user(conn, user, strlen(user), passwd, passwd_len, db, db_len, silent,
679 size_t passwd_len,
690 ret = mysqlnd_run_authentication(conn, user, passwd, passwd_len, db, db_len,
777 const char * const passwd, const unsigned int passwd_len,
833 if (FAIL == mysqlnd_connect_run_authentication(conn, user, passwd, db, db_len, (size_t) passwd_len,
858 const char *passwd, unsigned int passwd_len,
931 passwd_len
538 mysqlnd_run_authentication( MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, const char * const auth_protocol, unsigned int charset_no, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags, zend_bool silent, zend_bool is_change_user TSRMLS_DC) argument
673 mysqlnd_connect_run_authentication( MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const char * const db, size_t db_len, size_t passwd_len, const MYSQLND_PACKET_GREET * const greet_packet, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags TSRMLS_DC) argument
1134 mysqlnd_connect(MYSQLND * conn_handle, const char * host, const char * user, const char * passwd, unsigned int passwd_len, const char * db, unsigned int db_len, unsigned int port, const char * socket_or_pipe, unsigned int mysql_flags, unsigned int client_api_flags TSRMLS_DC) argument
[all...]
H A Dmysqlnd_structs.h417 typedef enum_func_status (*func_mysqlnd_conn_data__connect)(MYSQLND_CONN_DATA * conn, const char * host, const char * user, const char * passwd, unsigned int passwd_len, const char * db, unsigned int db_len, unsigned int port, const char * socket_or_pipe, unsigned int mysql_flags TSRMLS_DC);
437 typedef enum_func_status (*func_mysqlnd_conn_data__change_user)(MYSQLND_CONN_DATA * const conn, const char * user, const char * passwd, const char * db, zend_bool silent, size_t passwd_len TSRMLS_DC);
499 typedef enum_func_status (*func_mysqlnd_conn_data__connect_handshake)(MYSQLND_CONN_DATA * conn, const char * const host, const char * const user, const char * const passwd, const unsigned int passwd_len, const char * const db, const unsigned int db_len, const unsigned int mysql_flags TSRMLS_DC);
607 typedef enum_func_status (*func_mysqlnd_data__connect)(MYSQLND * conn, const char * host, const char * user, const char * passwd, unsigned int passwd_len, const char * db, unsigned int db_len, unsigned int port, const char * socket_or_pipe, unsigned int mysql_flags TSRMLS_DC);
913 unsigned int passwd_len; member in struct:st_mysqlnd_connection_data
1205 const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len,
/PHP_5_6/ext/mysql/
H A Dphp_mysql.c723 int user_len = 0, passwd_len = 0, host_len = 0; local
779 &user, &user_len, &passwd, &passwd_len,
785 &user, &user_len, &passwd, &passwd_len,
799 passwd_len = passwd? strlen(passwd):0;
889 if (mysqlnd_connect(mysql->conn, host, user, passwd, passwd_len, NULL, 0, port, socket, client_flags, MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA TSRMLS_CC) == NULL)
937 if (mysqlnd_connect(mysql->conn, host, user, passwd, passwd_len, NULL, 0, port, socket, client_flags, MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA TSRMLS_CC) == NULL)
1016 if (mysqlnd_connect(mysql->conn, host, user, passwd, passwd_len, NULL, 0, port, socket, client_flags, MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA TSRMLS_CC) == NULL)
/PHP_5_6/ext/mysqli/
H A Dmysqli_nonapi.c66 int hostname_len = 0, username_len = 0, passwd_len = 0, dbname_len = 0, socket_len = 0; local
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,
136 passwd_len = strlen(SAFE_STR(passwd));
178 if (!mysqli_change_user_silent(mysql->mysql, username, passwd, dbname, passwd_len)) {
242 if (mysqlnd_connect(mysql->mysql, hostname, username, passwd, passwd_len, dbname, dbname_len,
/PHP_5_6/ext/ldap/
H A Dldap.c546 int rc, dn_len, passwd_len, mech_len, realm_len, authc_id_len, authz_id_len, props_len; local
549 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|sssssss", &link, &binddn, &dn_len, &passwd, &passwd_len, &sasl_mech, &mech_len, &sasl_realm, &realm_len, &sasl_authc_id, &authc_id_len, &sasl_authz_id, &authz_id_len, &props, &props_len) != SUCCESS) {

Completed in 50 milliseconds