session_pool      137 ext/oci8/oci8.c static void php_oci_spool_close(php_oci_spool *session_pool TSRMLS_DC);
session_pool      140 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 TSRMLS_DC);
session_pool     1808 ext/oci8/oci8.c 	php_oci_spool *session_pool = NULL;
session_pool     2124 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 TSRMLS_CC))==NULL)
session_pool     2156 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, session_mode TSRMLS_CC)) {
session_pool     2830 ext/oci8/oci8.c 	php_oci_spool *session_pool = NULL;
session_pool     2837 ext/oci8/oci8.c 	session_pool = (php_oci_spool *) calloc(1, sizeof(php_oci_spool));
session_pool     2838 ext/oci8/oci8.c 	if (session_pool == NULL) {
session_pool     2845 ext/oci8/oci8.c 		session_pool->spool_hash_key = zend_strndup(hash_key, hash_key_len);
session_pool     2846 ext/oci8/oci8.c 		if (session_pool->spool_hash_key == NULL) {
session_pool     2853 ext/oci8/oci8.c 	if (!(session_pool->env = php_oci_create_env(charsetid TSRMLS_CC))) {
session_pool     2859 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     2871 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     2888 ext/oci8/oci8.c 	PHP_OCI_CALL_RETURN(errstatus, OCIHandleAlloc, (session_pool->env, (dvoid **)&(spoolAuth), OCI_HTYPE_AUTHINFO, 0, NULL));
session_pool     2920 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     2933 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     2941 ext/oci8/oci8.c 	if (iserror && session_pool) {
session_pool     2942 ext/oci8/oci8.c 		php_oci_spool_close(session_pool TSRMLS_CC);
session_pool     2943 ext/oci8/oci8.c 		session_pool = NULL;
session_pool     2952 ext/oci8/oci8.c 		DTRACE_OCI8_SESSPOOL_CREATE(session_pool);
session_pool     2956 ext/oci8/oci8.c 	return session_pool;
session_pool     2968 ext/oci8/oci8.c 	php_oci_spool *session_pool = NULL;
session_pool     3004 ext/oci8/oci8.c 		session_pool = php_oci_create_spool(username, username_len, password, password_len, dbname, dbname_len, spool_hashed_details.c, spool_hashed_details.len, charsetid TSRMLS_CC);
session_pool     3006 ext/oci8/oci8.c 		if (session_pool == NULL) {
session_pool     3010 ext/oci8/oci8.c 		spool_le.ptr  = session_pool;
session_pool     3012 ext/oci8/oci8.c 		PHP_OCI_REGISTER_RESOURCE(session_pool, le_psessionpool);
session_pool     3013 ext/oci8/oci8.c 		zend_hash_update(&EG(persistent_list), session_pool->spool_hash_key, strlen(session_pool->spool_hash_key)+1,(void *)&spool_le, sizeof(zend_rsrc_list_entry),NULL);
session_pool     3018 ext/oci8/oci8.c 		session_pool = (php_oci_spool *)(spool_out_le->ptr);
session_pool     3023 ext/oci8/oci8.c 	if (iserror && session_pool) {
session_pool     3024 ext/oci8/oci8.c 		php_oci_spool_close(session_pool TSRMLS_CC);
session_pool     3025 ext/oci8/oci8.c 		session_pool = NULL;
session_pool     3028 ext/oci8/oci8.c 	return session_pool;
session_pool     3253 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 TSRMLS_DC)
session_pool     3267 ext/oci8/oci8.c 	actual_spool = (connection->is_persistent) ? (connection->private_spool) : (session_pool);
session_pool     3280 ext/oci8/oci8.c 		DTRACE_OCI8_SESSPOOL_TYPE(session_pool ? 1 : 0, session_pool ? session_pool : connection->private_spool);
session_pool     3417 ext/oci8/oci8.c 	php_oci_spool *session_pool = (php_oci_spool *)entry->ptr;
session_pool     3419 ext/oci8/oci8.c 	if (session_pool) {
session_pool     3420 ext/oci8/oci8.c 		php_oci_spool_close(session_pool TSRMLS_CC);
session_pool     3431 ext/oci8/oci8.c static void php_oci_spool_close(php_oci_spool *session_pool TSRMLS_DC)
session_pool     3433 ext/oci8/oci8.c 	if (session_pool->poolname_len) {
session_pool     3434 ext/oci8/oci8.c 		PHP_OCI_CALL(OCISessionPoolDestroy, ((dvoid *) session_pool->poolh,
session_pool     3435 ext/oci8/oci8.c 			(dvoid *) session_pool->err, OCI_SPD_FORCE));
session_pool     3438 ext/oci8/oci8.c 	if (session_pool->poolh) {
session_pool     3439 ext/oci8/oci8.c 		PHP_OCI_CALL(OCIHandleFree, ((dvoid *) session_pool->poolh, OCI_HTYPE_SPOOL));
session_pool     3442 ext/oci8/oci8.c 	if (session_pool->err) {
session_pool     3443 ext/oci8/oci8.c 		PHP_OCI_CALL(OCIHandleFree, ((dvoid *) session_pool->err, OCI_HTYPE_ERROR));
session_pool     3446 ext/oci8/oci8.c 	if (session_pool->env) {
session_pool     3447 ext/oci8/oci8.c 		PHP_OCI_CALL(OCIHandleFree, ((dvoid *) session_pool->env, OCI_HTYPE_ENV));
session_pool     3450 ext/oci8/oci8.c 	if (session_pool->spool_hash_key) {
session_pool     3451 ext/oci8/oci8.c 		free(session_pool->spool_hash_key);
session_pool     3454 ext/oci8/oci8.c 	free(session_pool);