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

/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c546 char *hashed_details; local
571 hashed_details = (char *) emalloc(hashed_details_length+1);
572 strcpy(hashed_details, "mssql___");
575 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s__", host);
578 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_", host, user);
582 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_%s", host, user, passwd);
586 if (hashed_details == NULL) {
640 if (new_link || zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length + 1, (void **) &le)==FAILURE) { /* we don't */
645 efree(hashed_details);
651 efree(hashed_details);
731 zend_hash_del(&EG(persistent_list), hashed_details, hashed_details_length+1); local
743 zend_hash_del(&EG(persistent_list), hashed_details, hashed_details_length + 1); local
780 zend_hash_del(&EG(regular_list), hashed_details, hashed_details_length + 1); local
[all...]
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c736 zend_string *hashed_details = NULL; local
777 hashed_details = zend_string_alloc(sizeof("mysql___") + strlen(user) - 1, 0);
778 snprintf(hashed_details->val, hashed_details->len + 1, "mysql__%s_", user);
822 hashed_details = zend_string_alloc(sizeof("mysql____") + (host_and_port? strlen(host_and_port) : 0)
824 hashed_details->len = snprintf(hashed_details->val, hashed_details->len + 1, "mysql_%s_%s_%s_" ZEND_LONG_FMT, SAFE_STRING(host_and_port), SAFE_STRING(user), SAFE_STRING(passwd), client_flags);
861 if ((le = zend_hash_find_ptr(&EG(persistent_list), hashed_details)) == NULL) { /* we don't */
866 zend_string_release(hashed_details);
957 zend_hash_del(&EG(persistent_list), hashed_details); local
995 zend_hash_del(&EG(regular_list), hashed_details); local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c161 char * hashed_details = NULL; local
174 hashed_details_len = mnd_sprintf(&hashed_details, 0, "%p", net);
175 DBG_INF_FMT("hashed_details=%s", hashed_details);
185 hashed_details, (net->data->options.timeout_connect) ? &tv : NULL,
189 if (hashed_details) {
190 mnd_sprintf_free(hashed_details);
200 if (hashed_details) {
208 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), hashed_details, hashed_details_len))) {
216 zend_hash_str_del(&EG(persistent_list), hashed_details, hashed_details_le local
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8.c1806 smart_str hashed_details = {0}; local
1873 smart_str_appendl_ex(&hashed_details, "oci8***", sizeof("oci8***") - 1, 0);
1874 smart_str_appendl_ex(&hashed_details, username, username_len, 0);
1875 smart_str_appendl_ex(&hashed_details, "**", sizeof("**") - 1, 0);
1879 smart_str_appendl_ex(&hashed_details, OCI_G(connection_class), strlen(OCI_G(connection_class)), 0);
1881 smart_str_appendl_ex(&hashed_details, "**", sizeof("**") - 1, 0);
1885 smart_str_appendl_ex(&hashed_details, OCI_G(edition), strlen(OCI_G(edition)), 0);
1887 smart_str_appendl_ex(&hashed_details, "**", sizeof("**") - 1, 0);
1892 smart_str_append_unsigned_ex(&hashed_details, password_hash, 0);
1894 smart_str_appendl_ex(&hashed_details, "**", sizeo
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c2501 char *hashed_details; local
2528 hashed_len = spprintf(&hashed_details, 0, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid, pwd, cur_opt);
2543 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), hashed_details, hashed_len)) == NULL) {
2548 efree(hashed_details);
2553 efree(hashed_details);
2558 efree(hashed_details);
2565 if (zend_hash_str_update_mem(&EG(persistent_list), hashed_details, hashed_len, &new_le,
2568 efree(hashed_details);
2596 zend_hash_str_del(&EG(persistent_list), hashed_details, hashed_len); local
2612 if ((index_ptr = zend_hash_str_find_ptr(&EG(regular_list), hashed_details, hashed_le
2628 zend_hash_str_del(&EG(regular_list), hashed_details, hashed_len); local
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c730 char *hashed_details; local
746 &hashed_details,
763 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length+1, (void **) &le)==FAILURE) { /* we don't */
768 efree(hashed_details);
773 efree(hashed_details);
779 efree(hashed_details);
784 efree(hashed_details);
791 if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_details_length+1, (void *) &new_le, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) {
795 efree(hashed_details);
804 efree(hashed_details);
870 zend_hash_del(&EG(regular_list), hashed_details, hashed_details_length+1); local
[all...]

Completed in 17 milliseconds