session_pool 131 ext/oci8/oci8.c static void php_oci_spool_close(php_oci_spool *session_pool); session_pool 134 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); session_pool 1804 ext/oci8/oci8.c php_oci_spool *session_pool = NULL; session_pool 2132 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))==NULL) session_pool 2164 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, (int) session_mode)) { session_pool 2854 ext/oci8/oci8.c php_oci_spool *session_pool = NULL; session_pool 2861 ext/oci8/oci8.c session_pool = (php_oci_spool *) calloc(1, sizeof(php_oci_spool)); session_pool 2862 ext/oci8/oci8.c if (session_pool == NULL) { session_pool 2869 ext/oci8/oci8.c session_pool->spool_hash_key = zend_string_dup(hash_key, 1); session_pool 2870 ext/oci8/oci8.c if (session_pool->spool_hash_key == NULL) { session_pool 2877 ext/oci8/oci8.c if (!(session_pool->env = php_oci_create_env(charsetid))) { session_pool 2883 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIHandleAlloc, (session_pool->env, (dvoid **) &session_pool->poolh, OCI_HTYPE_SPOOL, (size_t) 0, (dvoid **) 0)); session_pool 2895 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIHandleAlloc, ((dvoid *) session_pool->env, (dvoid **)&(session_pool->err), (ub4) OCI_HTYPE_ERROR,(size_t) 0, (dvoid **) 0)); session_pool 2912 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIHandleAlloc, (session_pool->env, (dvoid **)&(spoolAuth), OCI_HTYPE_AUTHINFO, 0, NULL)); session_pool 2944 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIAttrSet, ((dvoid *) (session_pool->poolh),(ub4) OCI_HTYPE_SPOOL, (dvoid *) spoolAuth, (ub4)0, (ub4)OCI_ATTR_SPOOL_AUTH, OCI_G(err))); session_pool 2957 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)); session_pool 2965 ext/oci8/oci8.c if (iserror && session_pool) { session_pool 2966 ext/oci8/oci8.c php_oci_spool_close(session_pool); session_pool 2967 ext/oci8/oci8.c session_pool = NULL; session_pool 2976 ext/oci8/oci8.c DTRACE_OCI8_SESSPOOL_CREATE(session_pool); session_pool 2980 ext/oci8/oci8.c return session_pool; session_pool 2992 ext/oci8/oci8.c php_oci_spool *session_pool = NULL; session_pool 3034 ext/oci8/oci8.c session_pool = php_oci_create_spool(username, username_len, password, password_len, dbname, dbname_len, spool_hashed_details.s, charsetid); session_pool 3036 ext/oci8/oci8.c if (session_pool == NULL) { session_pool 3040 ext/oci8/oci8.c spool_le.ptr = session_pool; session_pool 3042 ext/oci8/oci8.c PHP_OCI_REGISTER_RESOURCE(session_pool, le_psessionpool); session_pool 3043 ext/oci8/oci8.c zend_hash_update_mem(&EG(persistent_list), session_pool->spool_hash_key, (void *)&spool_le, sizeof(zend_resource)); session_pool 3048 ext/oci8/oci8.c session_pool = (php_oci_spool *)(spool_out_le->ptr); session_pool 3053 ext/oci8/oci8.c if (iserror && session_pool) { session_pool 3054 ext/oci8/oci8.c php_oci_spool_close(session_pool); session_pool 3055 ext/oci8/oci8.c session_pool = NULL; session_pool 3058 ext/oci8/oci8.c return session_pool; session_pool 3290 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) session_pool 3311 ext/oci8/oci8.c actual_spool = (connection->is_persistent) ? (connection->private_spool) : (session_pool); session_pool 3324 ext/oci8/oci8.c DTRACE_OCI8_SESSPOOL_TYPE(session_pool ? 1 : 0, session_pool ? session_pool : connection->private_spool); session_pool 3461 ext/oci8/oci8.c php_oci_spool *session_pool = (php_oci_spool *)entry->ptr; session_pool 3463 ext/oci8/oci8.c if (session_pool) { session_pool 3464 ext/oci8/oci8.c php_oci_spool_close(session_pool); session_pool 3475 ext/oci8/oci8.c static void php_oci_spool_close(php_oci_spool *session_pool) session_pool 3477 ext/oci8/oci8.c if (session_pool->poolname_len) { session_pool 3478 ext/oci8/oci8.c PHP_OCI_CALL(OCISessionPoolDestroy, ((dvoid *) session_pool->poolh, session_pool 3479 ext/oci8/oci8.c (dvoid *) session_pool->err, OCI_SPD_FORCE)); session_pool 3482 ext/oci8/oci8.c if (session_pool->poolh) { session_pool 3483 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) session_pool->poolh, OCI_HTYPE_SPOOL)); session_pool 3486 ext/oci8/oci8.c if (session_pool->err) { session_pool 3487 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) session_pool->err, OCI_HTYPE_ERROR)); session_pool 3490 ext/oci8/oci8.c if (session_pool->env) { session_pool 3491 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) session_pool->env, OCI_HTYPE_ENV)); session_pool 3494 ext/oci8/oci8.c if (session_pool->spool_hash_key) { session_pool 3495 ext/oci8/oci8.c free(session_pool->spool_hash_key); session_pool 3498 ext/oci8/oci8.c free(session_pool);