Searched refs:hashed_details (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c549 char *hashed_details; local
574 hashed_details = (char *) emalloc(hashed_details_length+1);
575 strcpy(hashed_details, "mssql___");
578 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s__", host);
581 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_", host, user);
585 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_%s", host, user, passwd);
589 if (hashed_details == NULL) {
643 if (new_link || zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length + 1, (void **) &le)==FAILURE) { /* we don't */
648 efree(hashed_details);
654 efree(hashed_details);
734 zend_hash_del(&EG(persistent_list), hashed_details, hashed_details_length+1); local
746 zend_hash_del(&EG(persistent_list), hashed_details, hashed_details_length + 1); local
783 zend_hash_del(&EG(regular_list), hashed_details, hashed_details_length + 1); local
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c2489 char *hashed_details; local
2516 hashed_len = spprintf(&hashed_details, 0, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid, pwd, cur_opt);
2531 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_len + 1, (void **) &le) == FAILURE) {
2536 efree(hashed_details);
2541 efree(hashed_details);
2546 efree(hashed_details);
2552 if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_len + 1, &new_le,
2555 efree(hashed_details);
2583 zend_hash_del(&EG(persistent_list), hashed_details, hashed_len + 1); local
2599 if (zend_hash_find(&EG(regular_list), hashed_details, hashed_le
2616 zend_hash_del(&EG(regular_list), hashed_details, hashed_len + 1); local
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c732 char *hashed_details; local
748 &hashed_details,
765 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length+1, (void **) &le)==FAILURE) { /* we don't */
770 efree(hashed_details);
775 efree(hashed_details);
781 efree(hashed_details);
786 efree(hashed_details);
793 if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_details_length+1, (void *) &new_le, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) {
797 efree(hashed_details);
806 efree(hashed_details);
872 zend_hash_del(&EG(regular_list), hashed_details, hashed_details_length+1); local
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8.c1804 smart_str hashed_details = {0}; local
1871 smart_str_appendl_ex(&hashed_details, "oci8***", sizeof("oci8***") - 1, 0);
1872 smart_str_appendl_ex(&hashed_details, username, username_len, 0);
1873 smart_str_appendl_ex(&hashed_details, "**", sizeof("**") - 1, 0);
1877 smart_str_appendl_ex(&hashed_details, OCI_G(connection_class), strlen(OCI_G(connection_class)), 0);
1879 smart_str_appendl_ex(&hashed_details, "**", sizeof("**") - 1, 0);
1883 smart_str_appendl_ex(&hashed_details, OCI_G(edition), strlen(OCI_G(edition)), 0);
1885 smart_str_appendl_ex(&hashed_details, "**", sizeof("**") - 1, 0);
1890 smart_str_append_unsigned_ex(&hashed_details, password_hash, 0);
1892 smart_str_appendl_ex(&hashed_details, "**", sizeo
[all...]
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c724 char *hashed_details=NULL; local
773 hashed_details_length = spprintf(&hashed_details, 0, "mysql__%s_", user);
817 hashed_details_length = spprintf(&hashed_details, 0, "mysql_%s_%s_%s_%ld", SAFE_STRING(host_and_port), SAFE_STRING(user), SAFE_STRING(passwd), client_flags);
852 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length+1, (void **) &le)==FAILURE) { /* we don't */
857 efree(hashed_details);
862 efree(hashed_details);
902 efree(hashed_details);
910 if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_details_length+1, (void *) &new_le, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) {
912 efree(hashed_details);
941 zend_hash_del(&EG(persistent_list), hashed_details, hashed_details_lengt local
981 zend_hash_del(&EG(regular_list), hashed_details, hashed_details_length+1); local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c158 char * hashed_details = NULL; local
170 hashed_details_len = mnd_sprintf(&hashed_details, 0, "%p", net);
171 DBG_INF_FMT("hashed_details=%s", hashed_details);
181 hashed_details, (net->data->options.timeout_connect) ? &tv : NULL,
185 if (hashed_details) {
186 mnd_sprintf_free(hashed_details);
196 if (hashed_details) {
204 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_len + 1, (void*) &le) == SUCCESS) {
211 zend_hash_del(&EG(persistent_list), hashed_details, hashed_details_le local
[all...]

Completed in 18 milliseconds