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

/PHP_TRUNK/ext/oci8/
H A Doci8.c1808 smart_str hashed_details = {0}; local
1875 smart_str_appendl_ex(&hashed_details, "oci8***", sizeof("oci8***") - 1, 0);
1876 smart_str_appendl_ex(&hashed_details, username, username_len, 0);
1877 smart_str_appendl_ex(&hashed_details, "**", sizeof("**") - 1, 0);
1881 smart_str_appendl_ex(&hashed_details, OCI_G(connection_class), strlen(OCI_G(connection_class)), 0);
1883 smart_str_appendl_ex(&hashed_details, "**", sizeof("**") - 1, 0);
1887 smart_str_appendl_ex(&hashed_details, OCI_G(edition), strlen(OCI_G(edition)), 0);
1889 smart_str_appendl_ex(&hashed_details, "**", sizeof("**") - 1, 0);
1894 smart_str_append_unsigned_ex(&hashed_details, password_hash, 0);
1896 smart_str_appendl_ex(&hashed_details, "**", sizeo
[all...]
/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/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/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/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/odbc/
H A Dphp_odbc.c2506 char *hashed_details; local
2533 hashed_len = spprintf(&hashed_details, 0, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid, pwd, cur_opt);
2548 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), hashed_details, hashed_len)) == NULL) {
2553 efree(hashed_details);
2558 efree(hashed_details);
2563 efree(hashed_details);
2570 if (zend_hash_str_update_mem(&EG(persistent_list), hashed_details, hashed_len, &new_le,
2573 efree(hashed_details);
2601 zend_hash_str_del(&EG(persistent_list), hashed_details, hashed_len); local
2617 if ((index_ptr = zend_hash_str_find_ptr(&EG(regular_list), hashed_details, hashed_le
2633 zend_hash_str_del(&EG(regular_list), hashed_details, hashed_len); local
[all...]

Completed in 17 milliseconds