connection 2636 ext/gd/gd.c ap_bsetflag(php3_rqst->connection->client, B_EBCDIC2ASCII, 0); connection 151 ext/gd/gd_ctx.c ap_bsetflag(php3_rqst->connection->client, B_EBCDIC2ASCII, 0); connection 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); connection 135 ext/oci8/oci8.c static int php_oci_old_create_session(php_oci_connection *connection, 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); connection 138 ext/oci8/oci8.c static sword php_oci_ping_init(php_oci_connection *connection, OCIError *errh); connection 1397 ext/oci8/oci8.c php_oci_connection *connection = (php_oci_connection *)entry->ptr; connection 1399 ext/oci8/oci8.c if (connection) { connection 1400 ext/oci8/oci8.c php_oci_connection_close(connection); connection 1412 ext/oci8/oci8.c php_oci_connection *connection = (php_oci_connection *)entry->ptr; connection 1414 ext/oci8/oci8.c if (connection) { connection 1415 ext/oci8/oci8.c php_oci_connection_close(connection); connection 1429 ext/oci8/oci8.c php_oci_connection *connection = (php_oci_connection *)entry->ptr; connection 1445 ext/oci8/oci8.c if (!connection->is_open || connection 1446 ext/oci8/oci8.c connection->passwd_changed || connection 1451 ext/oci8/oci8.c if (connection->hash_key) { connection 1452 ext/oci8/oci8.c zvp = zend_hash_find(&EG(persistent_list), connection->hash_key); connection 1454 ext/oci8/oci8.c if (le != NULL && le->type == le_pconnection && le->ptr == connection) { connection 1455 ext/oci8/oci8.c zend_hash_del(&EG(persistent_list), connection->hash_key); connection 1458 ext/oci8/oci8.c php_oci_connection_close(connection); connection 1465 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_P_DTOR_CLOSE(connection); connection 1478 ext/oci8/oci8.c php_oci_connection_release(connection); connection 1482 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_P_DTOR_RELEASE(connection); connection 1623 ext/oci8/oci8.c void php_oci_connection_descriptors_free(php_oci_connection *connection) connection 1625 ext/oci8/oci8.c zend_hash_destroy(connection->descriptors); connection 1626 ext/oci8/oci8.c efree(connection->descriptors); connection 1627 ext/oci8/oci8.c connection->descriptors = NULL; connection 1628 ext/oci8/oci8.c connection->descriptor_count = 0; connection 1731 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1739 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1752 ext/oci8/oci8.c php_oci_connection *connection; connection 1774 ext/oci8/oci8.c connection = php_oci_do_connect_ex(username, (int) username_len, password, (int) password_len, NULL, 0, dbname, (int) dbname_len, charset, session_mode, persistent, exclusive); connection 1778 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_RETURN(connection); connection 1783 ext/oci8/oci8.c if (!connection) { connection 1786 ext/oci8/oci8.c RETURN_RES(connection->id); connection 1801 ext/oci8/oci8.c php_oci_connection *connection = NULL; connection 1939 ext/oci8/oci8.c connection = (php_oci_connection *)le->ptr; connection 1949 ext/oci8/oci8.c connection = (php_oci_connection *)ptr->ptr; connection 1956 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_LOOKUP(connection, connection && connection->is_stub ? 1 : 0); connection 1967 ext/oci8/oci8.c if (connection && connection->is_persistent && connection->is_stub) { connection 1968 ext/oci8/oci8.c if (php_oci_create_session(connection, NULL, dbname, dbname_len, username, username_len, password, password_len, new_password, new_password_len, (int) session_mode)) { connection 1970 ext/oci8/oci8.c zend_hash_del(&EG(persistent_list), connection->hash_key); connection 1978 ext/oci8/oci8.c if (connection) { connection 1979 ext/oci8/oci8.c if (connection->is_open) { connection 1981 ext/oci8/oci8.c if (connection->is_persistent) { connection 1988 ext/oci8/oci8.c if (php_oci_connection_status(connection)) { connection 1996 ext/oci8/oci8.c if (!ping_done && (*(connection->next_pingp) > 0) && (timestamp >= *(connection->next_pingp)) && !php_oci_connection_ping(connection)) { connection 2003 ext/oci8/oci8.c connection->used_this_request = 1; connection 2004 ext/oci8/oci8.c if (connection->id) { connection 2005 ext/oci8/oci8.c tmp_val = zend_hash_index_find(&EG(regular_list), connection->id->handle); connection 2014 ext/oci8/oci8.c connection = tmp; connection 2015 ext/oci8/oci8.c ++GC_REFCOUNT(connection->id); connection 2018 ext/oci8/oci8.c PHP_OCI_REGISTER_RESOURCE(connection, le_pconnection); connection 2025 ext/oci8/oci8.c ++GC_REFCOUNT(connection->id); connection 2029 ext/oci8/oci8.c return connection; connection 2036 ext/oci8/oci8.c ++GC_REFCOUNT(connection->id); connection 2037 ext/oci8/oci8.c return connection; connection 2046 ext/oci8/oci8.c connection->is_open = 0; connection 2047 ext/oci8/oci8.c connection->used_this_request = 1; connection 2052 ext/oci8/oci8.c if (connection == connection->id->ptr) { connection 2064 ext/oci8/oci8.c connection = NULL; connection 2093 ext/oci8/oci8.c connection = (php_oci_connection *) ecalloc(1, sizeof(php_oci_connection)); connection 2094 ext/oci8/oci8.c connection->hash_key = zend_string_dup(hashed_details.s, 0); connection 2095 ext/oci8/oci8.c connection->is_persistent = 0; connection 2097 ext/oci8/oci8.c connection->client_id = NULL; connection 2100 ext/oci8/oci8.c connection = (php_oci_connection *) calloc(1, sizeof(php_oci_connection)); connection 2101 ext/oci8/oci8.c if (connection == NULL) { connection 2104 ext/oci8/oci8.c connection->hash_key = zend_string_dup(hashed_details.s, 1); connection 2105 ext/oci8/oci8.c if (connection->hash_key == NULL) { connection 2106 ext/oci8/oci8.c free(connection); connection 2109 ext/oci8/oci8.c connection->is_persistent = 1; connection 2111 ext/oci8/oci8.c connection->client_id = NULL; connection 2115 ext/oci8/oci8.c connection = (php_oci_connection *) ecalloc(1, sizeof(php_oci_connection)); connection 2116 ext/oci8/oci8.c connection->hash_key = zend_string_dup(hashed_details.s, 0); connection 2117 ext/oci8/oci8.c connection->is_persistent = 0; connection 2119 ext/oci8/oci8.c connection->client_id = NULL; connection 2131 ext/oci8/oci8.c if (use_spool && !connection->is_persistent) { connection 2134 ext/oci8/oci8.c php_oci_connection_close(connection); connection 2141 ext/oci8/oci8.c connection->idle_expiry = (OCI_G(persistent_timeout) > 0) ? (timestamp + OCI_G(persistent_timeout)) : 0; connection 2144 ext/oci8/oci8.c connection->passwd_changed = 0; connection 2149 ext/oci8/oci8.c connection->charset = charsetid; connection 2151 ext/oci8/oci8.c connection->charset = charsetid_nls_lang; connection 2158 ext/oci8/oci8.c if (php_oci_old_create_session(connection, dbname, dbname_len, username, username_len, password, password_len, new_password, new_password_len, (int) session_mode)) { connection 2159 ext/oci8/oci8.c php_oci_connection_close(connection); connection 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)) { connection 2165 ext/oci8/oci8.c php_oci_connection_close(connection); connection 2171 ext/oci8/oci8.c connection->is_open = 1; connection 2174 ext/oci8/oci8.c if (connection->is_persistent) { connection 2175 ext/oci8/oci8.c new_le.ptr = connection; connection 2177 ext/oci8/oci8.c connection->used_this_request = 1; connection 2178 ext/oci8/oci8.c PHP_OCI_REGISTER_RESOURCE(connection, le_pconnection); connection 2185 ext/oci8/oci8.c ++GC_REFCOUNT(connection->id); connection 2187 ext/oci8/oci8.c zend_hash_update_mem(&EG(persistent_list), connection->hash_key, (void *)&new_le, sizeof(zend_resource)); connection 2191 ext/oci8/oci8.c PHP_OCI_REGISTER_RESOURCE(connection, le_connection); connection 2192 ext/oci8/oci8.c new_le.ptr = connection->id; connection 2194 ext/oci8/oci8.c zend_hash_update_mem(&EG(regular_list), connection->hash_key, (void *)&new_le, sizeof(zend_resource)); connection 2197 ext/oci8/oci8.c PHP_OCI_REGISTER_RESOURCE(connection, le_connection); connection 2203 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_TYPE(connection->is_persistent ? 1 : 0, exclusive ? 1 : 0, connection, OCI_G(num_persistent), OCI_G(num_links)); connection 2207 ext/oci8/oci8.c return connection; connection 2215 ext/oci8/oci8.c static int php_oci_connection_ping(php_oci_connection *connection) connection 2230 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIPing, (connection->svc, OCI_G(err), OCI_DEFAULT)); connection 2233 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIServerVersion, (connection->svc, OCI_G(err), (text *)version, sizeof(version), OCI_HTYPE_SVCCTX)); connection 2258 ext/oci8/oci8.c static int php_oci_connection_status(php_oci_connection *connection) connection 2264 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)connection->server, OCI_HTYPE_SERVER, (dvoid *)&ss, (ub4 *)0, OCI_ATTR_SERVER_STATUS, OCI_G(err))); connection 2279 ext/oci8/oci8.c int php_oci_connection_rollback(php_oci_connection *connection) connection 2283 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCITransRollback, (connection->svc, connection->err, (ub4) 0)); connection 2284 ext/oci8/oci8.c connection->rb_on_disconnect = 0; connection 2287 ext/oci8/oci8.c connection->errcode = php_oci_error(connection->err, errstatus); connection 2288 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 2291 ext/oci8/oci8.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 2300 ext/oci8/oci8.c int php_oci_connection_commit(php_oci_connection *connection) connection 2304 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCITransCommit, (connection->svc, connection->err, (ub4) 0)); connection 2305 ext/oci8/oci8.c connection->rb_on_disconnect = 0; connection 2308 ext/oci8/oci8.c connection->errcode = php_oci_error(connection->err, errstatus); connection 2309 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 2312 ext/oci8/oci8.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 2321 ext/oci8/oci8.c static int php_oci_connection_close(php_oci_connection *connection) connection 2328 ext/oci8/oci8.c DTRACE_OCI8_CONNECTION_CLOSE(connection); connection 2332 ext/oci8/oci8.c if (!connection->is_stub) { connection 2334 ext/oci8/oci8.c php_oci_connection_release(connection); connection 2337 ext/oci8/oci8.c if (!connection->using_spool && connection->svc) { connection 2338 ext/oci8/oci8.c PHP_OCI_CALL(OCISessionEnd, (connection->svc, connection->err, connection->session, (ub4) 0)); connection 2341 ext/oci8/oci8.c if (connection->err) { connection 2342 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->err, (ub4) OCI_HTYPE_ERROR)); connection 2344 ext/oci8/oci8.c if (connection->authinfo) { connection 2345 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->authinfo, (ub4) OCI_HTYPE_AUTHINFO)); connection 2349 ext/oci8/oci8.c if (!connection->using_spool) { connection 2350 ext/oci8/oci8.c if (connection->session) { connection 2351 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->session, OCI_HTYPE_SESSION)); connection 2354 ext/oci8/oci8.c if (connection->is_attached) { connection 2355 ext/oci8/oci8.c PHP_OCI_CALL(OCIServerDetach, (connection->server, OCI_G(err), OCI_DEFAULT)); connection 2358 ext/oci8/oci8.c if (connection->svc) { connection 2359 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->svc, (ub4) OCI_HTYPE_SVCCTX)); connection 2362 ext/oci8/oci8.c if (connection->server) { connection 2363 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->server, (ub4) OCI_HTYPE_SERVER)); connection 2366 ext/oci8/oci8.c if (connection->env) { connection 2367 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->env, OCI_HTYPE_ENV)); connection 2369 ext/oci8/oci8.c } else if (connection->private_spool) { connection 2373 ext/oci8/oci8.c php_oci_spool_close(connection->private_spool); connection 2374 ext/oci8/oci8.c connection->private_spool = NULL; connection 2377 ext/oci8/oci8.c if (GC_REFCOUNT(connection->hash_key) >= 2) { connection 2378 ext/oci8/oci8.c zend_hash_del(&EG(regular_list), connection->hash_key); connection 2381 ext/oci8/oci8.c if (connection->hash_key) { connection 2382 ext/oci8/oci8.c pefree(connection->hash_key, connection->is_persistent); connection 2383 ext/oci8/oci8.c connection->hash_key = NULL; connection 2386 ext/oci8/oci8.c if (connection->client_id) { connection 2387 ext/oci8/oci8.c pefree(connection->client_id, connection->is_persistent); connection 2388 ext/oci8/oci8.c connection->client_id = NULL; connection 2391 ext/oci8/oci8.c pefree(connection, connection->is_persistent); connection 2392 ext/oci8/oci8.c connection = NULL; connection 2404 ext/oci8/oci8.c int php_oci_connection_release(php_oci_connection *connection) connection 2410 ext/oci8/oci8.c if (connection->is_stub) { connection 2414 ext/oci8/oci8.c if (connection->descriptors) { connection 2415 ext/oci8/oci8.c php_oci_connection_descriptors_free(connection); connection 2418 ext/oci8/oci8.c if (connection->svc) { connection 2420 ext/oci8/oci8.c if (connection->rb_on_disconnect) { connection 2421 ext/oci8/oci8.c if (php_oci_connection_rollback(connection)) { connection 2429 ext/oci8/oci8.c connection->idle_expiry = timestamp + OCI_G(persistent_timeout); connection 2433 ext/oci8/oci8.c if (connection->next_pingp) { connection 2435 ext/oci8/oci8.c *(connection->next_pingp) = timestamp + OCI_G(ping_interval); connection 2438 ext/oci8/oci8.c *(connection->next_pingp) = 0; connection 2443 ext/oci8/oci8.c if (connection->using_spool) { connection 2455 ext/oci8/oci8.c if (!connection->is_persistent) { connection 2460 ext/oci8/oci8.c if (connection->svc) { connection 2461 ext/oci8/oci8.c PHP_OCI_CALL(OCISessionRelease, (connection->svc, connection->err, NULL, connection 2467 ext/oci8/oci8.c connection->svc = NULL; connection 2468 ext/oci8/oci8.c connection->server = NULL; connection 2469 ext/oci8/oci8.c connection->session = NULL; connection 2470 ext/oci8/oci8.c connection->id = NULL; connection 2472 ext/oci8/oci8.c connection->is_attached = connection->is_open = connection->rb_on_disconnect = connection->used_this_request = 0; connection 2473 ext/oci8/oci8.c connection->is_stub = 1; connection 2478 ext/oci8/oci8.c connection->next_pingp = NULL; connection 2480 ext/oci8/oci8.c if (connection->client_id) { connection 2481 ext/oci8/oci8.c pefree(connection->client_id, connection->is_persistent); connection 2482 ext/oci8/oci8.c connection->client_id = NULL; connection 2496 ext/oci8/oci8.c int php_oci_password_change(php_oci_connection *connection, char *user, int user_len, char *pass_old, int pass_old_len, char *pass_new, int pass_new_len) connection 2500 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIPasswordChange, (connection->svc, connection->err, (text *)user, user_len, (text *)pass_old, pass_old_len, (text *)pass_new, pass_new_len, OCI_DEFAULT)); connection 2503 ext/oci8/oci8.c connection->errcode = php_oci_error(connection->err, errstatus); connection 2504 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 2507 ext/oci8/oci8.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 2508 ext/oci8/oci8.c connection->passwd_changed = 1; connection 2538 ext/oci8/oci8.c int php_oci_server_get_version(php_oci_connection *connection, char *version, size_t version_size) connection 2542 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIServerVersion, (connection->svc, connection->err, (text *)version, (ub4) version_size, OCI_HTYPE_SVCCTX)); connection 2545 ext/oci8/oci8.c connection->errcode = php_oci_error(connection->err, errstatus); connection 2546 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 2824 ext/oci8/oci8.c php_oci_connection *connection; connection 2830 ext/oci8/oci8.c connection = (php_oci_connection *)le->ptr; connection 2832 ext/oci8/oci8.c if (!connection->used_this_request && OCI_G(persistent_timeout) != -1) { connection 2835 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_EXPIRY(connection, connection->is_stub ? 1 : 0, (long)connection->idle_expiry, (long)timestamp); connection 2838 ext/oci8/oci8.c if (connection->idle_expiry < timestamp) { connection 3100 ext/oci8/oci8.c static int php_oci_old_create_session(php_oci_connection *connection, 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) connection 3112 ext/oci8/oci8.c if (!(connection->env = php_oci_create_env(connection->charset))) { connection 3117 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->server), OCI_HTYPE_SERVER, 0, NULL)); connection 3126 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIServerAttach, (connection->server, OCI_G(err), (text *)dbname, dbname_len, (ub4) OCI_DEFAULT)); connection 3133 ext/oci8/oci8.c connection->is_attached = 1; connection 3136 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->session), OCI_HTYPE_SESSION, 0, NULL)); connection 3145 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->err), OCI_HTYPE_ERROR, 0, NULL)); connection 3154 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->svc), OCI_HTYPE_SVCCTX, 0, NULL)); connection 3164 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) username, (ub4) username_len, (ub4) OCI_ATTR_USERNAME, OCI_G(err))); connection 3175 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) password, (ub4) password_len, (ub4) OCI_ATTR_PASSWORD, OCI_G(err))); connection 3187 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) OCI_G(edition), (ub4) (strlen(OCI_G(edition))), (ub4) OCI_ATTR_EDITION, OCI_G(err))); connection 3199 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) PHP_OCI8_DRIVER_NAME, (ub4) sizeof(PHP_OCI8_DRIVER_NAME)-1, (ub4) OCI_ATTR_DRIVER_NAME, OCI_G(err))); connection 3209 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, (connection->svc, OCI_HTYPE_SVCCTX, connection->server, 0, OCI_ATTR_SERVER, OCI_G(err))); connection 3218 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, (connection->svc, OCI_HTYPE_SVCCTX, connection->session, 0, OCI_ATTR_SESSION, OCI_G(err))); connection 3228 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIPasswordChange, (connection->svc, OCI_G(err), (text *)username, username_len, (text *)password, password_len, (text *)new_password, new_password_len, OCI_AUTH)); connection 3235 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrGet, ((dvoid *)connection->svc, OCI_HTYPE_SVCCTX, (dvoid *)&(connection->session), (ub4 *)0, OCI_ATTR_SESSION, OCI_G(err))); connection 3254 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCISessionBegin, (connection->svc, OCI_G(err), connection->session, (ub4) cred_type, (ub4) session_mode)); connection 3269 ext/oci8/oci8.c if (php_oci_ping_init(connection, OCI_G(err)) != OCI_SUCCESS) { connection 3274 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->svc, (ub4) OCI_HTYPE_SVCCTX, (ub4 *) &statement_cache_size, 0, (ub4) OCI_ATTR_STMTCACHESIZE, OCI_G(err))); connection 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) connection 3307 ext/oci8/oci8.c if (connection->is_persistent && !connection->private_spool && connection 3308 ext/oci8/oci8.c !(connection->private_spool = php_oci_create_spool(username, username_len, password, password_len, dbname, dbname_len, NULL, connection->charset))) { connection 3311 ext/oci8/oci8.c actual_spool = (connection->is_persistent) ? (connection->private_spool) : (session_pool); connection 3313 ext/oci8/oci8.c connection->env = actual_spool->env; connection 3318 ext/oci8/oci8.c if (!connection->using_spool) { connection 3319 ext/oci8/oci8.c connection->using_spool = 1; connection 3324 ext/oci8/oci8.c DTRACE_OCI8_SESSPOOL_TYPE(session_pool ? 1 : 0, session_pool ? session_pool : connection->private_spool); connection 3332 ext/oci8/oci8.c if (!connection->err) { connection 3333 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->err), OCI_HTYPE_ERROR, 0, NULL)); connection 3342 ext/oci8/oci8.c if (!connection->authinfo) { connection 3343 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->authinfo), OCI_HTYPE_AUTHINFO, 0, NULL)); connection 3352 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->authinfo,(ub4) OCI_HTYPE_SESSION, (dvoid *) OCI_G(connection_class), (ub4)(strlen(OCI_G(connection_class))), (ub4)OCI_ATTR_CONNECTION_CLASS, OCI_G(err))); connection 3359 ext/oci8/oci8.c if (connection->is_persistent) connection 3364 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode),OCIAttrSet, ((dvoid *) connection->authinfo,(ub4) OCI_HTYPE_AUTHINFO, (dvoid *) &purity, (ub4)0, (ub4)OCI_ATTR_PURITY, OCI_G(err))); connection 3394 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode),OCISessionGet, (connection->env, OCI_G(err), &(connection->svc), (OCIAuthInfo *)connection->authinfo, (OraText *)actual_spool->poolname, (ub4)actual_spool->poolname_len, NULL, 0, NULL, NULL, NULL, OCI_SESSGET_SPOOL)); connection 3409 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrGet, ((dvoid *)connection->svc, OCI_HTYPE_SVCCTX, (dvoid *)&(connection->server), (ub4 *)0, OCI_ATTR_SERVER, OCI_G(err))); connection 3411 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrGet, ((dvoid *)connection->svc, OCI_HTYPE_SVCCTX, (dvoid *)&(connection->session), (ub4 *)0, OCI_ATTR_SESSION, OCI_G(err))); connection 3414 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIContextGetValue, (connection->session, OCI_G(err), (ub1 *)"NEXT_PING", (ub1)sizeof("NEXT_PING"), (void **)&(connection->next_pingp))); connection 3420 ext/oci8/oci8.c if (!(connection->next_pingp)){ connection 3422 ext/oci8/oci8.c if (php_oci_ping_init(connection, OCI_G(err)) != OCI_SUCCESS) { connection 3426 ext/oci8/oci8.c } else if ((*(connection->next_pingp) > 0) && (timestamp >= *(connection->next_pingp))) { connection 3427 ext/oci8/oci8.c if (php_oci_connection_ping(connection)) { connection 3429 ext/oci8/oci8.c *(connection->next_pingp) = timestamp + OCI_G(ping_interval); connection 3432 ext/oci8/oci8.c PHP_OCI_CALL(OCISessionRelease, (connection->svc, connection->err, NULL,0, (ub4) OCI_SESSRLS_DROPSESS)); connection 3433 ext/oci8/oci8.c connection->svc = NULL; connection 3434 ext/oci8/oci8.c connection->server = NULL; connection 3435 ext/oci8/oci8.c connection->session = NULL; connection 3438 ext/oci8/oci8.c } while (!(connection->svc)); connection 3440 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->svc, (ub4) OCI_HTYPE_SVCCTX, (ub4 *) &statement_cache_size, 0, (ub4) OCI_ATTR_STMTCACHESIZE, OCI_G(err))); connection 3448 ext/oci8/oci8.c connection->is_stub = 0; connection 3449 ext/oci8/oci8.c connection->is_attached = connection->is_open = 1; connection 3508 ext/oci8/oci8.c static sword php_oci_ping_init(php_oci_connection *connection, OCIError *errh) connection 3512 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIContextGetValue, (connection->session, errh, (ub1 *)"NEXT_PING", (ub1)sizeof("NEXT_PING"), (void **)&next_pingp)); connection 3519 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIMemoryAlloc, (connection->session, errh, (void **)&next_pingp, OCI_DURATION_SESSION, sizeof(time_t), OCI_MEMORY_CLEARED)); connection 3533 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIContextSetValue, (connection->session, errh, OCI_DURATION_SESSION, (ub1 *)"NEXT_PING", (ub1)sizeof("NEXT_PING"), next_pingp)); connection 3535 ext/oci8/oci8.c OCIMemoryFree(connection->session, errh, next_pingp); connection 3540 ext/oci8/oci8.c connection->next_pingp = next_pingp; connection 3550 ext/oci8/oci8.c void php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus) connection 3554 ext/oci8/oci8.c DTRACE_OCI8_CHECK_CONNECTION(connection, connection->client_id, connection->is_open ? 1 : 0, (long)errcode, (unsigned long)serverStatus); connection 47 ext/oci8/oci8_collection.c php_oci_collection *php_oci_collection_create(php_oci_connection *connection, char *tdo, int tdo_len, char *schema, int schema_len) connection 57 ext/oci8/oci8_collection.c collection->connection = connection; connection 59 ext/oci8/oci8_collection.c ++GC_REFCOUNT(collection->connection->id); connection 64 ext/oci8/oci8_collection.c connection->env, connection 65 ext/oci8/oci8_collection.c connection->err, connection 66 ext/oci8/oci8_collection.c connection->svc, connection 84 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIHandleAlloc, (connection->env, (dvoid **) &dschp1, (ub4) OCI_HTYPE_DESCRIBE, (size_t) 0, (dvoid **) 0)); connection 93 ext/oci8/oci8_collection.c connection->svc, connection 94 ext/oci8/oci8_collection.c connection->err, connection 109 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *) dschp1, (ub4) OCI_HTYPE_DESCRIBE, (dvoid *)&parmp1, (ub4 *)0, (ub4)OCI_ATTR_PARAM, connection->err)); connection 123 ext/oci8/oci8_collection.c connection->err connection 142 ext/oci8/oci8_collection.c connection->err connection 158 ext/oci8/oci8_collection.c connection->err connection 169 ext/oci8/oci8_collection.c connection->env, connection 170 ext/oci8/oci8_collection.c connection->err, connection 190 ext/oci8/oci8_collection.c connection->err connection 207 ext/oci8/oci8_collection.c connection->env, connection 208 ext/oci8/oci8_collection.c connection->err, connection 209 ext/oci8/oci8_collection.c connection->svc, connection 226 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 235 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 236 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 246 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 249 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCICollSize, (connection->env, connection->err, collection->collection, (sb4 *)size)); connection 252 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 253 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 256 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 265 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 267 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(*max, OCICollMax, (connection->env, collection->collection)); connection 278 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 281 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCICollTrim, (connection->env, connection->err, (sb4) trim_size, collection->collection)); connection 284 ext/oci8/oci8_collection.c errstatus = php_oci_error(connection->err, errstatus); connection 285 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 288 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 298 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 302 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCICollAppend, (connection->env, connection->err, (dvoid *)0, &null_index, collection->collection)); connection 305 ext/oci8/oci8_collection.c errstatus = php_oci_error(connection->err, errstatus); connection 306 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 309 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 320 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 324 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)date, date_len, NULL, 0, NULL, 0, &oci_date)); connection 328 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 329 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 335 ext/oci8/oci8_collection.c connection->env, connection 336 ext/oci8/oci8_collection.c connection->err, connection 344 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 345 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 349 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 361 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 366 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCINumberFromReal, (connection->err, &element_double, sizeof(double), &oci_number)); connection 369 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 370 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 376 ext/oci8/oci8_collection.c connection->env, connection 377 ext/oci8/oci8_collection.c connection->err, connection 385 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 386 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 390 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 401 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 404 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIStringAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); connection 407 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 408 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 414 ext/oci8/oci8_collection.c connection->env, connection 415 ext/oci8/oci8_collection.c connection->err, connection 423 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 424 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 428 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 478 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 488 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 492 ext/oci8/oci8_collection.c connection->env, connection 493 ext/oci8/oci8_collection.c connection->err, connection 503 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 504 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 520 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, element, 0, 0, 0, 0, &buff_len, buff)); connection 523 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 524 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 539 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(str, OCIStringPtr, (connection->env, oci_string)); connection 562 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCINumberToReal, (connection->err, (CONST OCINumber *) element, (uword) sizeof(double), (dvoid *) &double_number)); connection 565 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 566 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 590 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 594 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCICollAssignElem, (connection->env, connection->err, (ub4) index, (dvoid *)"", &null_index, collection->collection)); connection 597 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 598 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 601 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 612 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 616 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)date, date_len, NULL, 0, NULL, 0, &oci_date)); connection 620 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 621 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 627 ext/oci8/oci8_collection.c connection->env, connection 628 ext/oci8/oci8_collection.c connection->err, connection 637 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 638 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 642 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 654 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 659 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCINumberFromReal, (connection->err, &element_double, sizeof(double), &oci_number)); connection 662 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 663 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 669 ext/oci8/oci8_collection.c connection->env, connection 670 ext/oci8/oci8_collection.c connection->err, connection 679 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 680 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 684 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 695 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 698 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIStringAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); connection 701 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 702 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 708 ext/oci8/oci8_collection.c connection->env, connection 709 ext/oci8/oci8_collection.c connection->err, connection 718 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 719 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 723 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 773 ext/oci8/oci8_collection.c php_oci_connection *connection = collection_dest->connection; connection 776 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCICollAssign, (connection->env, connection->err, collection_from->collection, collection_dest->collection)); connection 779 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 780 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 783 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 792 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 796 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIObjectFree, (connection->env, connection->err, (dvoid *)collection->collection, (ub2)OCI_OBJECTFREE_FORCE)); connection 799 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus); connection 800 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 802 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 806 ext/oci8/oci8_collection.c zend_list_delete(collection->connection->id); connection 1093 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1101 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1104 ext/oci8/oci8_interface.c descriptor = php_oci_lob_create(connection, type); connection 1120 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1126 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1128 ext/oci8/oci8_interface.c if (connection->descriptors) { connection 1129 ext/oci8/oci8_interface.c php_oci_connection_descriptors_free(connection); connection 1132 ext/oci8/oci8_interface.c if (php_oci_connection_rollback(connection)) { connection 1144 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1150 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1152 ext/oci8/oci8_interface.c if (connection->descriptors) { connection 1153 ext/oci8/oci8_interface.c php_oci_connection_descriptors_free(connection); connection 1156 ext/oci8/oci8_interface.c if (php_oci_connection_commit(connection)) { connection 1580 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1591 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1592 ext/oci8/oci8_interface.c if (GC_REFCOUNT(connection->id) == 2) /* CHANGED VERSION::PHP7 connection 1596 ext/oci8/oci8_interface.c zend_list_close(connection->id); connection 1634 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1657 ext/oci8/oci8_interface.c connection = (php_oci_connection *) zend_fetch_resource_ex(arg, NULL, le_connection); connection 1658 ext/oci8/oci8_interface.c if (connection) { connection 1659 ext/oci8/oci8_interface.c errh = connection->err; connection 1660 ext/oci8/oci8_interface.c errcode = connection->errcode; connection 1664 ext/oci8/oci8_interface.c connection = (php_oci_connection *) zend_fetch_resource_ex(arg, NULL, le_pconnection); connection 1665 ext/oci8/oci8_interface.c if (connection) { connection 1666 ext/oci8/oci8_interface.c errh = connection->err; connection 1667 ext/oci8/oci8_interface.c errcode = connection->errcode; connection 1722 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1731 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1733 ext/oci8/oci8_interface.c statement = php_oci_statement_create(connection, query, (int) query_len); connection 1773 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1782 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1784 ext/oci8/oci8_interface.c PHP_OCI_CALL_RETURN(errstatus, OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) client_id, (ub4) client_id_len, (ub4) OCI_ATTR_CLIENT_IDENTIFIER, connection->err)); connection 1787 ext/oci8/oci8_interface.c connection->errcode = php_oci_error(connection->err, errstatus); connection 1801 ext/oci8/oci8_interface.c if (connection->client_id) { connection 1802 ext/oci8/oci8_interface.c pefree(connection->client_id, connection->is_persistent); connection 1807 ext/oci8/oci8_interface.c connection->client_id = (char *)pemalloc(client_id_len+1, connection->is_persistent); connection 1808 ext/oci8/oci8_interface.c memcpy(connection->client_id, client_id, client_id_len); connection 1809 ext/oci8/oci8_interface.c connection->client_id[client_id_len] = '\0'; connection 1811 ext/oci8/oci8_interface.c connection->client_id = NULL; connection 1857 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1866 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1868 ext/oci8/oci8_interface.c PHP_OCI_CALL_RETURN(errstatus, OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) module, (ub4) module_len, (ub4) OCI_ATTR_MODULE, connection->err)); connection 1871 ext/oci8/oci8_interface.c connection->errcode = php_oci_error(connection->err, errstatus); connection 1889 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1898 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1900 ext/oci8/oci8_interface.c PHP_OCI_CALL_RETURN(errstatus, OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) action, (ub4) action_len, (ub4) OCI_ATTR_ACTION, connection->err)); connection 1903 ext/oci8/oci8_interface.c connection->errcode = php_oci_error(connection->err, errstatus); connection 1921 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1930 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1932 ext/oci8/oci8_interface.c PHP_OCI_CALL_RETURN(errstatus, OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) client_info, (ub4) client_info_len, (ub4) OCI_ATTR_CLIENT_INFO, connection->err)); connection 1935 ext/oci8/oci8_interface.c connection->errcode = php_oci_error(connection->err, errstatus); connection 1954 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1962 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1964 ext/oci8/oci8_interface.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) dbop_name, (ub4) dbop_name_len, (ub4) OCI_ATTR_DBOP, OCI_G(err))); connection 1986 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1997 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 2012 ext/oci8/oci8_interface.c if (php_oci_password_change(connection, user, (int) user_len, pass_old, (int) pass_old_len, pass_new, (int) pass_new_len)) { connection 2031 ext/oci8/oci8_interface.c connection = php_oci_do_connect_ex(user, (int) user_len, pass_old, (int) pass_old_len, pass_new, (int) pass_new_len, dbname, (int) dbname_len, NULL, OCI_DEFAULT, 0, 0); connection 2032 ext/oci8/oci8_interface.c if (!connection) { connection 2035 ext/oci8/oci8_interface.c RETURN_RES(connection->id); connection 2046 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 2053 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 2055 ext/oci8/oci8_interface.c statement = php_oci_statement_create(connection, NULL, 0); connection 2096 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 2104 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 2106 ext/oci8/oci8_interface.c if (php_oci_server_get_version(connection, version, sizeof(version))) { connection 2452 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 2461 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 2463 ext/oci8/oci8_interface.c if ( (collection = php_oci_collection_create(connection, tdo, (int) tdo_len, schema, (int) schema_len)) ) { connection 54 ext/oci8/oci8_lob.c php_oci_descriptor *php_oci_lob_create (php_oci_connection *connection, zend_long type) connection 73 ext/oci8/oci8_lob.c descriptor->connection = connection; connection 74 ext/oci8/oci8_lob.c ++GC_REFCOUNT(descriptor->connection->id); connection 76 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCIDescriptorAlloc, (connection->env, (dvoid*)&(descriptor->descriptor), descriptor->type, (size_t) 0, (dvoid **) 0)); connection 80 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, OCI_G(errcode)); connection 93 ext/oci8/oci8_lob.c descriptor->charset_id = connection->charset; connection 99 ext/oci8/oci8_lob.c if (!connection->descriptors) { connection 100 ext/oci8/oci8_lob.c ALLOC_HASHTABLE(connection->descriptors); connection 101 ext/oci8/oci8_lob.c zend_hash_init(connection->descriptors, 0, NULL, php_oci_descriptor_flush_hash_dtor, 0); connection 102 ext/oci8/oci8_lob.c connection->descriptor_count = 0; connection 105 ext/oci8/oci8_lob.c descriptor->index = (connection->descriptor_count)++; connection 106 ext/oci8/oci8_lob.c if (connection->descriptor_count == LONG_MAX) { connection 108 ext/oci8/oci8_lob.c php_oci_connection_descriptors_free(connection); connection 112 ext/oci8/oci8_lob.c zend_hash_index_update_ptr(connection->descriptors, descriptor->index, descriptor); connection 123 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 133 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFileOpen, (connection->svc, connection->err, descriptor->descriptor, OCI_FILE_READONLY)); connection 135 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 136 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 141 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobGetLength, (connection->svc, connection->err, descriptor->descriptor, (ub4 *)length)); connection 144 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 145 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 152 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFileClose, (connection->svc, connection->err, descriptor->descriptor)); connection 155 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 156 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 161 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 214 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 223 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobGetChunkSize, (connection->svc, connection->err, descriptor->descriptor, &chunk_size)); connection 226 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 227 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 231 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 245 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 292 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFileOpen, (connection->svc, connection->err, descriptor->descriptor, OCI_FILE_READONLY)); connection 295 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 296 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 302 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobCharSetId, (connection->env, connection->err, descriptor->descriptor, &charset_id)); connection 305 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 306 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 316 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCINlsNumericInfoGet, (connection->env, connection->err, &bytes_per_char, OCI_NLS_CHARSET_MAXBYTESZ)); connection 319 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 320 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 344 ext/oci8/oci8_lob.c connection->svc, connection 345 ext/oci8/oci8_lob.c connection->err, connection 369 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 370 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 382 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFileClose, (connection->svc, connection->err, descriptor->descriptor)); connection 385 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 386 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 396 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 406 ext/oci8/oci8_lob.c php_oci_connection *connection = (php_oci_connection *) descriptor->connection; connection 425 ext/oci8/oci8_lob.c connection->svc, connection 426 ext/oci8/oci8_lob.c connection->err, connection 441 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 442 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 458 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 467 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 481 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobEnableBuffering, (connection->svc, connection->err, descriptor->descriptor)); connection 483 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobDisableBuffering, (connection->svc, connection->err, descriptor->descriptor)); connection 487 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 488 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 492 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 513 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor_dest->connection; connection 538 ext/oci8/oci8_lob.c connection->svc, connection 539 ext/oci8/oci8_lob.c connection->err, connection 549 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 550 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 554 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 563 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 567 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobClose, (connection->svc, connection->err, descriptor->descriptor)); connection 570 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 571 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 574 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 589 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 593 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobIsTemporary, (connection->env,connection->err, descriptor->descriptor, &is_temporary)); connection 596 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 597 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 602 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFreeTemporary, (connection->svc, connection->err, descriptor->descriptor)); connection 605 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 606 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 610 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 620 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 645 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFlushBuffer, (connection->svc, connection->err, lob, (ub4) flush_flag)); connection 648 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 649 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 655 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 664 ext/oci8/oci8_lob.c if (!descriptor || !descriptor->connection) { connection 668 ext/oci8/oci8_lob.c if (descriptor->connection->descriptors) { connection 669 ext/oci8/oci8_lob.c if (zend_hash_num_elements(descriptor->connection->descriptors) == 0) { connection 670 ext/oci8/oci8_lob.c descriptor->connection->descriptor_count = 0; connection 673 ext/oci8/oci8_lob.c zend_hash_index_del(descriptor->connection->descriptors, descriptor->index); connection 674 ext/oci8/oci8_lob.c if (descriptor->index + 1 == descriptor->connection->descriptor_count) { connection 686 ext/oci8/oci8_lob.c descriptor->connection->descriptor_count--; connection 702 ext/oci8/oci8_lob.c zend_list_delete(descriptor->connection->id); connection 714 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 737 ext/oci8/oci8_lob.c connection->svc, connection 738 ext/oci8/oci8_lob.c connection->err, connection 753 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 754 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 758 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 772 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor_dest->connection; connection 790 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobAppend, (connection->svc, connection->err, lob_dest, lob_from)); connection 793 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 794 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 797 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 806 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 829 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobTrim, (connection->svc, connection->err, lob, (ub4) new_lob_length)); connection 832 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 833 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 838 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 848 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 867 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobErase, (connection->svc, connection->err, lob, (ub4 *)&length, (ub4) offset+1)); connection 870 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 871 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 876 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 885 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor_first->connection; connection 890 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobIsEqual, (connection->env, first_lob, second_lob, result)); connection 893 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 894 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 897 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 906 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 928 ext/oci8/oci8_lob.c connection->svc, connection 929 ext/oci8/oci8_lob.c connection->err, connection 940 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 941 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 945 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobOpen, (connection->svc, connection->err, lob, OCI_LOB_READWRITE)); connection 948 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus); connection 949 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 954 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 46 ext/oci8/oci8_statement.c php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len) connection 51 ext/oci8/oci8_statement.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 57 ext/oci8/oci8_statement.c PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->stmt), OCI_HTYPE_STMT, 0, NULL)); connection 60 ext/oci8/oci8_statement.c PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->err), OCI_HTYPE_ERROR, 0, NULL)); connection 65 ext/oci8/oci8_statement.c connection->svc, connection 67 ext/oci8/oci8_statement.c connection->err, connection 78 ext/oci8/oci8_statement.c DTRACE_OCI8_SQLTEXT(connection, connection->client_id, statement, query); connection 83 ext/oci8/oci8_statement.c connection->errcode = php_oci_error(connection->err, errstatus); connection 87 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 103 ext/oci8/oci8_statement.c statement->connection = connection; connection 110 ext/oci8/oci8_statement.c ++GC_REFCOUNT(statement->connection->id); connection 151 ext/oci8/oci8_statement.c PHP_OCI_CALL(OCIHandleAlloc, (statement->connection->env, (dvoid **)&(statement2->err), OCI_HTYPE_ERROR, 0, NULL)); connection 157 ext/oci8/oci8_statement.c statement2->connection = statement->connection; connection 171 ext/oci8/oci8_statement.c GC_REFCOUNT(statement2->connection->id)++; connection 199 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 371 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 425 ext/oci8/oci8_statement.c nested_stmt = php_oci_statement_create(outcol->statement->connection, NULL, 0); connection 457 ext/oci8/oci8_statement.c descr = php_oci_lob_create(outcol->statement->connection, dtype); connection 500 ext/oci8/oci8_statement.c DTRACE_OCI8_EXECUTE_MODE(statement->connection, statement->connection->client_id, statement, mode); connection 516 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 540 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(errstatus, OCIStmtExecute, (statement->connection->svc, statement->stmt, statement->err, iters, 0, NULL, NULL, mode)); connection 544 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 554 ext/oci8/oci8_statement.c statement->connection->rb_on_disconnect = 0; connection 557 ext/oci8/oci8_statement.c statement->connection->rb_on_disconnect = 1; connection 583 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 603 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 613 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 623 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 633 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 643 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 656 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 666 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 676 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 812 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 835 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 897 ext/oci8/oci8_statement.c zend_list_delete(statement->connection->id); connection 968 ext/oci8/oci8_statement.c php_oci_connection *connection = bind->parent_statement->connection; connection 1029 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, &(((OCIDate *)(bind->array.elements))[i]), 0, 0, 0, 0, &buff_len, buff)); connection 1033 ext/oci8/oci8_statement.c connection->errcode = php_oci_error(connection->err, errstatus); connection 1034 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 1037 ext/oci8/oci8_statement.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 1042 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, &(((OCIDate *)(bind->array.elements))[i]), 0, 0, 0, 0, &buff_len, buff)); connection 1044 ext/oci8/oci8_statement.c connection->errcode = php_oci_error(connection->err, errstatus); connection 1045 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 1048 ext/oci8/oci8_statement.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 1279 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1297 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1318 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1532 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1555 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1604 ext/oci8/oci8_statement.c bind = php_oci_bind_array_helper_date(var, max_table_length, statement->connection); connection 1663 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1833 ext/oci8/oci8_statement.c php_oci_bind *php_oci_bind_array_helper_date(zval *var, zend_long max_table_length, php_oci_connection *connection) connection 1861 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)Z_STRVAL_P(entry), (ub4) Z_STRLEN_P(entry), NULL, 0, NULL, 0, &oci_date)); connection 1868 ext/oci8/oci8_statement.c connection->errcode = php_oci_error(connection->err, errstatus); connection 1869 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 1876 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)"01-JAN-00", sizeof("01-JAN-00")-1, NULL, 0, NULL, 0, &oci_date)); connection 1883 ext/oci8/oci8_statement.c connection->errcode = php_oci_error(connection->err, errstatus); connection 1884 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 1890 ext/oci8/oci8_statement.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 176 ext/oci8/php_oci8_int.h php_oci_connection *connection; /* parent connection handle */ connection 200 ext/oci8/php_oci8_int.h php_oci_connection *connection; /* parent connection handle */ connection 225 ext/oci8/php_oci8_int.h php_oci_connection *connection; /* parent connection handle */ connection 322 ext/oci8/php_oci8_int.h #define PHP_OCI_HANDLE_ERROR(connection, errcode) \ connection 350 ext/oci8/php_oci8_int.h (connection)->is_open = 0; \ connection 354 ext/oci8/php_oci8_int.h PHP_OCI_CALL(OCIAttrGet, ((dvoid *)(connection)->server, OCI_HTYPE_SERVER, (dvoid *)&serverStatus, \ connection 355 ext/oci8/php_oci8_int.h (ub4 *)0, OCI_ATTR_SERVER_STATUS, (connection)->err)); \ connection 357 ext/oci8/php_oci8_int.h (connection)->is_open = 0; \ connection 362 ext/oci8/php_oci8_int.h php_oci_dtrace_check_connection(connection, errcode, serverStatus); \ connection 370 ext/oci8/php_oci8_int.h #define PHP_OCI_ZVAL_TO_CONNECTION(zval, connection) \ connection 371 ext/oci8/php_oci8_int.h if ((connection = (php_oci_connection *)zend_fetch_resource2(Z_RES_P(zval), "oci8 connection", le_connection, le_pconnection)) == NULL) { \ connection 398 ext/oci8/php_oci8_int.h #define PHP_OCI_ZVAL_TO_CONNECTION_EX(zval, connection) \ connection 399 ext/oci8/php_oci8_int.h PHP_OCI_FETCH_RESOURCE_EX(zval, connection, php_oci_connection *, "oci8 connection", le_connection) connection 420 ext/oci8/php_oci8_int.h void php_oci_connection_descriptors_free(php_oci_connection *connection); connection 426 ext/oci8/php_oci8_int.h int php_oci_connection_rollback(php_oci_connection *connection); connection 427 ext/oci8/php_oci8_int.h int php_oci_connection_commit(php_oci_connection *connection); connection 428 ext/oci8/php_oci8_int.h int php_oci_connection_release(php_oci_connection *connection); connection 429 ext/oci8/php_oci8_int.h int php_oci_password_change(php_oci_connection *connection, char *user, int user_len, char *pass_old, int pass_old_len, char *pass_new, int pass_new_len); connection 431 ext/oci8/php_oci8_int.h int php_oci_server_get_version(php_oci_connection *connection, char *version, size_t version_size); connection 434 ext/oci8/php_oci8_int.h void php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus); connection 440 ext/oci8/php_oci8_int.h php_oci_descriptor *php_oci_lob_create(php_oci_connection *connection, zend_long type); connection 462 ext/oci8/php_oci8_int.h php_oci_collection *php_oci_collection_create(php_oci_connection *connection, char *tdo, int tdo_len, char *schema, int schema_len); connection 485 ext/oci8/php_oci8_int.h php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len); connection 506 ext/oci8/php_oci8_int.h php_oci_bind *php_oci_bind_array_helper_date(zval *var, zend_long max_table_length, php_oci_connection *connection); connection 120 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 125 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 131 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 135 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 139 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 143 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 147 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 151 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 155 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 159 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 163 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 167 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 173 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 181 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 189 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 210 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 314 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 318 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 322 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 327 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 332 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 357 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 363 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 387 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 394 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 399 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 404 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 408 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 413 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 420 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 429 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 434 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 445 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 449 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 466 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 471 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 476 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 480 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 484 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 488 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 494 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 502 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 510 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 517 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 526 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 531 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 535 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 539 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 543 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 349 ext/soap/php_http.c char *connection; connection 1020 ext/soap/php_http.c connection = get_http_header_value(ZSTR_VAL(http_headers), "Proxy-Connection: "); connection 1021 ext/soap/php_http.c if (connection) { connection 1022 ext/soap/php_http.c if (strncasecmp(connection, "close", sizeof("close")-1) == 0) { connection 1025 ext/soap/php_http.c efree(connection); connection 1029 ext/soap/php_http.c connection = get_http_header_value(ZSTR_VAL(http_headers), "Connection: "); connection 1030 ext/soap/php_http.c if (connection) { connection 1031 ext/soap/php_http.c if (strncasecmp(connection, "close", sizeof("close")-1) == 0) { connection 1034 ext/soap/php_http.c efree(connection); connection 1040 ext/soap/php_http.c connection = get_http_header_value(ZSTR_VAL(http_headers), "Proxy-Connection: "); connection 1041 ext/soap/php_http.c if (connection) { connection 1042 ext/soap/php_http.c if (strncasecmp(connection, "Keep-Alive", sizeof("Keep-Alive")-1) == 0) { connection 1045 ext/soap/php_http.c efree(connection); connection 1049 ext/soap/php_http.c connection = get_http_header_value(ZSTR_VAL(http_headers), "Connection: "); connection 1050 ext/soap/php_http.c if (connection) { connection 1051 ext/soap/php_http.c if (strncasecmp(connection, "Keep-Alive", sizeof("Keep-Alive")-1) == 0) { connection 1054 ext/soap/php_http.c efree(connection); connection 312 sapi/apache2handler/sapi_apache2.c if (ap_rflush(r) < 0 || r->connection->aborted) { connection 625 sapi/apache2handler/sapi_apache2.c brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); connection 692 sapi/apache2handler/sapi_apache2.c bucket = apr_bucket_eos_create(r->connection->bucket_alloc); connection 696 sapi/apache2handler/sapi_apache2.c if (rv != APR_SUCCESS || r->connection->aborted) {