connection 2704 ext/gd/gd.c ap_bsetflag(php3_rqst->connection->client, B_EBCDIC2ASCII, 0); connection 154 ext/gd/gd_ctx.c ap_bsetflag(php3_rqst->connection->client, B_EBCDIC2ASCII, 0); connection 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); connection 141 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 TSRMLS_DC); connection 144 ext/oci8/oci8.c static sword php_oci_ping_init(php_oci_connection *connection, OCIError *errh TSRMLS_DC); connection 1404 ext/oci8/oci8.c php_oci_connection *connection = (php_oci_connection *)entry->ptr; connection 1406 ext/oci8/oci8.c if (connection) { connection 1407 ext/oci8/oci8.c php_oci_connection_close(connection TSRMLS_CC); connection 1419 ext/oci8/oci8.c php_oci_connection *connection = (php_oci_connection *)entry->ptr; connection 1421 ext/oci8/oci8.c if (connection) { connection 1422 ext/oci8/oci8.c php_oci_connection_close(connection TSRMLS_CC); connection 1436 ext/oci8/oci8.c php_oci_connection *connection = (php_oci_connection *)entry->ptr; connection 1451 ext/oci8/oci8.c if (!connection->is_open || connection 1452 ext/oci8/oci8.c connection->passwd_changed || connection 1457 ext/oci8/oci8.c if ((zend_hash_find(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1, (void **) &le)== SUCCESS) && (le->type == le_pconnection) && (le->ptr == connection)) { connection 1458 ext/oci8/oci8.c zend_hash_del(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1); connection 1461 ext/oci8/oci8.c php_oci_connection_close(connection TSRMLS_CC); connection 1467 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_P_DTOR_CLOSE(connection); connection 1480 ext/oci8/oci8.c php_oci_connection_release(connection TSRMLS_CC); connection 1484 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_P_DTOR_RELEASE(connection); connection 1619 ext/oci8/oci8.c void php_oci_connection_descriptors_free(php_oci_connection *connection TSRMLS_DC) connection 1621 ext/oci8/oci8.c zend_hash_destroy(connection->descriptors); connection 1622 ext/oci8/oci8.c efree(connection->descriptors); connection 1623 ext/oci8/oci8.c connection->descriptors = NULL; connection 1624 ext/oci8/oci8.c connection->descriptor_count = 0; connection 1736 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1744 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1757 ext/oci8/oci8.c php_oci_connection *connection; connection 1779 ext/oci8/oci8.c connection = php_oci_do_connect_ex(username, username_len, password, password_len, NULL, 0, dbname, dbname_len, charset, session_mode, persistent, exclusive TSRMLS_CC); connection 1783 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_RETURN(connection); connection 1788 ext/oci8/oci8.c if (!connection) { connection 1791 ext/oci8/oci8.c RETURN_RESOURCE(connection->id); connection 1805 ext/oci8/oci8.c php_oci_connection *connection = NULL; connection 1937 ext/oci8/oci8.c connection = (php_oci_connection *)le->ptr; connection 1948 ext/oci8/oci8.c connection = (php_oci_connection *)ptr; connection 1955 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_LOOKUP(connection, connection && connection->is_stub ? 1 : 0); connection 1966 ext/oci8/oci8.c if (connection && connection->is_persistent && connection->is_stub) { connection 1967 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, session_mode TSRMLS_CC)) { connection 1969 ext/oci8/oci8.c zend_hash_del(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1); connection 1977 ext/oci8/oci8.c if (connection) { connection 1978 ext/oci8/oci8.c if (connection->is_open) { connection 1980 ext/oci8/oci8.c if (connection->is_persistent) { connection 1988 ext/oci8/oci8.c if (php_oci_connection_status(connection TSRMLS_CC)) { connection 1996 ext/oci8/oci8.c if (!ping_done && (*(connection->next_pingp) > 0) && (timestamp >= *(connection->next_pingp)) && !php_oci_connection_ping(connection TSRMLS_CC)) { connection 2002 ext/oci8/oci8.c connection->used_this_request = 1; connection 2003 ext/oci8/oci8.c tmp = (php_oci_connection *)zend_list_find(connection->id, &rsrc_type); connection 2006 ext/oci8/oci8.c memcmp(tmp->hash_key, hashed_details.c, hashed_details.len) == 0 && zend_list_addref(connection->id) == SUCCESS) { connection 2009 ext/oci8/oci8.c PHP_OCI_REGISTER_RESOURCE(connection, le_pconnection); connection 2016 ext/oci8/oci8.c zend_list_addref(connection->id); connection 2020 ext/oci8/oci8.c return connection; connection 2027 ext/oci8/oci8.c zend_list_addref(connection->id); connection 2028 ext/oci8/oci8.c return connection; connection 2038 ext/oci8/oci8.c connection->is_open = 0; connection 2039 ext/oci8/oci8.c connection->used_this_request = 1; connection 2044 ext/oci8/oci8.c if (connection == zend_list_find(connection->id, &rsrc_type) && rsrc_type == le_pconnection) { connection 2056 ext/oci8/oci8.c connection = NULL; connection 2085 ext/oci8/oci8.c connection = (php_oci_connection *) ecalloc(1, sizeof(php_oci_connection)); connection 2086 ext/oci8/oci8.c connection->hash_key = estrndup(hashed_details.c, hashed_details.len); connection 2087 ext/oci8/oci8.c connection->is_persistent = 0; connection 2089 ext/oci8/oci8.c connection->client_id = NULL; connection 2092 ext/oci8/oci8.c connection = (php_oci_connection *) calloc(1, sizeof(php_oci_connection)); connection 2093 ext/oci8/oci8.c if (connection == NULL) { connection 2096 ext/oci8/oci8.c connection->hash_key = zend_strndup(hashed_details.c, hashed_details.len); connection 2097 ext/oci8/oci8.c if (connection->hash_key == NULL) { connection 2098 ext/oci8/oci8.c free(connection); connection 2101 ext/oci8/oci8.c connection->is_persistent = 1; connection 2103 ext/oci8/oci8.c connection->client_id = NULL; connection 2107 ext/oci8/oci8.c connection = (php_oci_connection *) ecalloc(1, sizeof(php_oci_connection)); connection 2108 ext/oci8/oci8.c connection->hash_key = estrndup(hashed_details.c, hashed_details.len); connection 2109 ext/oci8/oci8.c connection->is_persistent = 0; connection 2111 ext/oci8/oci8.c connection->client_id = NULL; connection 2123 ext/oci8/oci8.c if (use_spool && !connection->is_persistent) { connection 2126 ext/oci8/oci8.c php_oci_connection_close(connection TSRMLS_CC); connection 2133 ext/oci8/oci8.c connection->idle_expiry = (OCI_G(persistent_timeout) > 0) ? (timestamp + OCI_G(persistent_timeout)) : 0; connection 2136 ext/oci8/oci8.c connection->passwd_changed = 0; connection 2141 ext/oci8/oci8.c connection->charset = charsetid; connection 2143 ext/oci8/oci8.c connection->charset = charsetid_nls_lang; connection 2150 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, session_mode TSRMLS_CC)) { connection 2151 ext/oci8/oci8.c php_oci_connection_close(connection TSRMLS_CC); connection 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)) { connection 2157 ext/oci8/oci8.c php_oci_connection_close(connection TSRMLS_CC); connection 2163 ext/oci8/oci8.c connection->is_open = 1; connection 2166 ext/oci8/oci8.c if (connection->is_persistent) { connection 2167 ext/oci8/oci8.c new_le.ptr = connection; connection 2169 ext/oci8/oci8.c connection->used_this_request = 1; connection 2170 ext/oci8/oci8.c PHP_OCI_REGISTER_RESOURCE(connection, le_pconnection); connection 2177 ext/oci8/oci8.c zend_list_addref(connection->id); connection 2179 ext/oci8/oci8.c zend_hash_update(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1, (void *)&new_le, sizeof(zend_rsrc_list_entry), NULL); connection 2183 ext/oci8/oci8.c PHP_OCI_REGISTER_RESOURCE(connection, le_connection); connection 2184 ext/oci8/oci8.c new_le.ptr = OCI8_INT_TO_PTR(connection->id); connection 2186 ext/oci8/oci8.c zend_hash_update(&EG(regular_list), connection->hash_key, strlen(connection->hash_key)+1, (void *)&new_le, sizeof(zend_rsrc_list_entry), NULL); connection 2189 ext/oci8/oci8.c PHP_OCI_REGISTER_RESOURCE(connection, le_connection); connection 2195 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 2199 ext/oci8/oci8.c return connection; connection 2207 ext/oci8/oci8.c static int php_oci_connection_ping(php_oci_connection *connection TSRMLS_DC) connection 2222 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIPing, (connection->svc, OCI_G(err), OCI_DEFAULT)); connection 2225 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIServerVersion, (connection->svc, OCI_G(err), (text *)version, sizeof(version), OCI_HTYPE_SVCCTX)); connection 2250 ext/oci8/oci8.c static int php_oci_connection_status(php_oci_connection *connection TSRMLS_DC) connection 2256 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 2271 ext/oci8/oci8.c int php_oci_connection_rollback(php_oci_connection *connection TSRMLS_DC) connection 2275 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCITransRollback, (connection->svc, connection->err, (ub4) 0)); connection 2276 ext/oci8/oci8.c connection->rb_on_disconnect = 0; connection 2279 ext/oci8/oci8.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 2280 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 2283 ext/oci8/oci8.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 2292 ext/oci8/oci8.c int php_oci_connection_commit(php_oci_connection *connection TSRMLS_DC) connection 2296 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCITransCommit, (connection->svc, connection->err, (ub4) 0)); connection 2297 ext/oci8/oci8.c connection->rb_on_disconnect = 0; connection 2300 ext/oci8/oci8.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 2301 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 2304 ext/oci8/oci8.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 2313 ext/oci8/oci8.c static int php_oci_connection_close(php_oci_connection *connection TSRMLS_DC) connection 2320 ext/oci8/oci8.c DTRACE_OCI8_CONNECTION_CLOSE(connection); connection 2324 ext/oci8/oci8.c if (!connection->is_stub) { connection 2326 ext/oci8/oci8.c php_oci_connection_release(connection TSRMLS_CC); connection 2329 ext/oci8/oci8.c if (!connection->using_spool && connection->svc) { connection 2330 ext/oci8/oci8.c PHP_OCI_CALL(OCISessionEnd, (connection->svc, connection->err, connection->session, (ub4) 0)); connection 2333 ext/oci8/oci8.c if (connection->err) { connection 2334 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->err, (ub4) OCI_HTYPE_ERROR)); connection 2336 ext/oci8/oci8.c if (connection->authinfo) { connection 2337 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->authinfo, (ub4) OCI_HTYPE_AUTHINFO)); connection 2341 ext/oci8/oci8.c if (!connection->using_spool) { connection 2342 ext/oci8/oci8.c if (connection->session) { connection 2343 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->session, OCI_HTYPE_SESSION)); connection 2346 ext/oci8/oci8.c if (connection->is_attached) { connection 2347 ext/oci8/oci8.c PHP_OCI_CALL(OCIServerDetach, (connection->server, OCI_G(err), OCI_DEFAULT)); connection 2350 ext/oci8/oci8.c if (connection->svc) { connection 2351 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->svc, (ub4) OCI_HTYPE_SVCCTX)); connection 2354 ext/oci8/oci8.c if (connection->server) { connection 2355 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->server, (ub4) OCI_HTYPE_SERVER)); connection 2358 ext/oci8/oci8.c if (connection->env) { connection 2359 ext/oci8/oci8.c PHP_OCI_CALL(OCIHandleFree, ((dvoid *) connection->env, OCI_HTYPE_ENV)); connection 2361 ext/oci8/oci8.c } else if (connection->private_spool) { connection 2365 ext/oci8/oci8.c php_oci_spool_close(connection->private_spool TSRMLS_CC); connection 2368 ext/oci8/oci8.c if (connection->hash_key) { connection 2369 ext/oci8/oci8.c pefree(connection->hash_key, connection->is_persistent); connection 2372 ext/oci8/oci8.c if (connection->client_id) { connection 2373 ext/oci8/oci8.c pefree(connection->client_id, connection->is_persistent); connection 2376 ext/oci8/oci8.c pefree(connection, connection->is_persistent); connection 2377 ext/oci8/oci8.c connection = NULL; connection 2389 ext/oci8/oci8.c int php_oci_connection_release(php_oci_connection *connection TSRMLS_DC) connection 2395 ext/oci8/oci8.c if (connection->is_stub) { connection 2399 ext/oci8/oci8.c if (connection->descriptors) { connection 2400 ext/oci8/oci8.c php_oci_connection_descriptors_free(connection TSRMLS_CC); connection 2403 ext/oci8/oci8.c if (connection->svc) { connection 2405 ext/oci8/oci8.c if (connection->rb_on_disconnect) { connection 2406 ext/oci8/oci8.c if (php_oci_connection_rollback(connection TSRMLS_CC)) { connection 2414 ext/oci8/oci8.c connection->idle_expiry = timestamp + OCI_G(persistent_timeout); connection 2418 ext/oci8/oci8.c if (connection->next_pingp) { connection 2420 ext/oci8/oci8.c *(connection->next_pingp) = timestamp + OCI_G(ping_interval); connection 2423 ext/oci8/oci8.c *(connection->next_pingp) = 0; connection 2428 ext/oci8/oci8.c if (connection->using_spool) { connection 2440 ext/oci8/oci8.c if (!connection->is_persistent) { connection 2445 ext/oci8/oci8.c if (connection->svc) { connection 2446 ext/oci8/oci8.c PHP_OCI_CALL(OCISessionRelease, (connection->svc, connection->err, NULL, connection 2452 ext/oci8/oci8.c connection->svc = NULL; connection 2453 ext/oci8/oci8.c connection->server = NULL; connection 2454 ext/oci8/oci8.c connection->session = NULL; connection 2456 ext/oci8/oci8.c connection->is_attached = connection->is_open = connection->rb_on_disconnect = connection->used_this_request = 0; connection 2457 ext/oci8/oci8.c connection->is_stub = 1; connection 2462 ext/oci8/oci8.c connection->next_pingp = NULL; connection 2464 ext/oci8/oci8.c if (connection->client_id) { connection 2465 ext/oci8/oci8.c pefree(connection->client_id, connection->is_persistent); connection 2466 ext/oci8/oci8.c connection->client_id = NULL; connection 2480 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 TSRMLS_DC) connection 2484 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 2487 ext/oci8/oci8.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 2488 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 2491 ext/oci8/oci8.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 2492 ext/oci8/oci8.c connection->passwd_changed = 1; connection 2524 ext/oci8/oci8.c int php_oci_server_get_version(php_oci_connection *connection, char **version TSRMLS_DC) connection 2529 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(errstatus, OCIServerVersion, (connection->svc, connection->err, (text *)version_buff, sizeof(version_buff), OCI_HTYPE_SVCCTX)); connection 2532 ext/oci8/oci8.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 2533 ext/oci8/oci8.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 2800 ext/oci8/oci8.c php_oci_connection *connection; connection 2806 ext/oci8/oci8.c connection = (php_oci_connection *)le->ptr; connection 2808 ext/oci8/oci8.c if (!connection->used_this_request && OCI_G(persistent_timeout) != -1) { connection 2811 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_EXPIRY(connection, connection->is_stub ? 1 : 0, (long)connection->idle_expiry, (long)timestamp); connection 2814 ext/oci8/oci8.c if (connection->idle_expiry < timestamp) { connection 3070 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 TSRMLS_DC) connection 3075 ext/oci8/oci8.c if (!(connection->env = php_oci_create_env(connection->charset TSRMLS_CC))) { connection 3080 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->server), OCI_HTYPE_SERVER, 0, NULL)); connection 3089 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 3096 ext/oci8/oci8.c connection->is_attached = 1; connection 3099 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->session), OCI_HTYPE_SESSION, 0, NULL)); connection 3108 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->err), OCI_HTYPE_ERROR, 0, NULL)); connection 3117 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->svc), OCI_HTYPE_SVCCTX, 0, NULL)); connection 3127 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 3138 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 3150 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 3162 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 3172 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 3181 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 3191 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 3198 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 3217 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 3232 ext/oci8/oci8.c if (php_oci_ping_init(connection, OCI_G(err) TSRMLS_CC) != OCI_SUCCESS) { connection 3237 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 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) connection 3263 ext/oci8/oci8.c if (connection->is_persistent && !connection->private_spool && connection 3264 ext/oci8/oci8.c !(connection->private_spool = php_oci_create_spool(username, username_len, password, password_len, dbname, dbname_len, NULL, 0, connection->charset TSRMLS_CC))) { connection 3267 ext/oci8/oci8.c actual_spool = (connection->is_persistent) ? (connection->private_spool) : (session_pool); connection 3269 ext/oci8/oci8.c connection->env = actual_spool->env; connection 3274 ext/oci8/oci8.c if (!connection->using_spool) { connection 3275 ext/oci8/oci8.c connection->using_spool = 1; connection 3280 ext/oci8/oci8.c DTRACE_OCI8_SESSPOOL_TYPE(session_pool ? 1 : 0, session_pool ? session_pool : connection->private_spool); connection 3288 ext/oci8/oci8.c if (!connection->err) { connection 3289 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->err), OCI_HTYPE_ERROR, 0, NULL)); connection 3298 ext/oci8/oci8.c if (!connection->authinfo) { connection 3299 ext/oci8/oci8.c PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIHandleAlloc, (connection->env, (dvoid **)&(connection->authinfo), OCI_HTYPE_AUTHINFO, 0, NULL)); connection 3308 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 3315 ext/oci8/oci8.c if (connection->is_persistent) connection 3320 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 3350 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 3365 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 3367 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 3370 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 3376 ext/oci8/oci8.c if (!(connection->next_pingp)){ connection 3378 ext/oci8/oci8.c if (php_oci_ping_init(connection, OCI_G(err) TSRMLS_CC) != OCI_SUCCESS) { connection 3382 ext/oci8/oci8.c } else if ((*(connection->next_pingp) > 0) && (timestamp >= *(connection->next_pingp))) { connection 3383 ext/oci8/oci8.c if (php_oci_connection_ping(connection TSRMLS_CC)) { connection 3385 ext/oci8/oci8.c *(connection->next_pingp) = timestamp + OCI_G(ping_interval); connection 3388 ext/oci8/oci8.c PHP_OCI_CALL(OCISessionRelease, (connection->svc, connection->err, NULL,0, (ub4) OCI_SESSRLS_DROPSESS)); connection 3389 ext/oci8/oci8.c connection->svc = NULL; connection 3390 ext/oci8/oci8.c connection->server = NULL; connection 3391 ext/oci8/oci8.c connection->session = NULL; connection 3394 ext/oci8/oci8.c } while (!(connection->svc)); connection 3396 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 3404 ext/oci8/oci8.c connection->is_stub = 0; connection 3405 ext/oci8/oci8.c connection->is_attached = connection->is_open = 1; connection 3464 ext/oci8/oci8.c static sword php_oci_ping_init(php_oci_connection *connection, OCIError *errh TSRMLS_DC) connection 3468 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 3475 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 3489 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 3491 ext/oci8/oci8.c OCIMemoryFree(connection->session, errh, next_pingp); connection 3496 ext/oci8/oci8.c connection->next_pingp = next_pingp; connection 3506 ext/oci8/oci8.c void php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus) connection 3510 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 TSRMLS_DC) connection 57 ext/oci8/oci8_collection.c collection->connection = connection; connection 59 ext/oci8/oci8_collection.c zend_list_addref(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 TSRMLS_CC); 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 TSRMLS_CC); 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, trim_size, collection->collection)); connection 284 ext/oci8/oci8_collection.c errstatus = php_oci_error(connection->err, errstatus TSRMLS_CC); 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 TSRMLS_CC); 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 TSRMLS_CC); 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 TSRMLS_CC); 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 TSRMLS_CC); 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 TSRMLS_CC); 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 TSRMLS_CC); 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 TSRMLS_CC); 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 489 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 493 ext/oci8/oci8_collection.c connection->env, connection 494 ext/oci8/oci8_collection.c connection->err, connection 504 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 505 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 523 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, element, 0, 0, 0, 0, &buff_len, buff)); connection 526 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 527 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 543 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(str, OCIStringPtr, (connection->env, oci_string)); connection 566 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCINumberToReal, (connection->err, (CONST OCINumber *) element, (uword) sizeof(double), (dvoid *) &double_number)); connection 569 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 570 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 596 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 600 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCICollAssignElem, (connection->env, connection->err, (ub4) index, (dvoid *)"", &null_index, collection->collection)); connection 603 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 604 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 607 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 618 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 622 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 626 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 627 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 633 ext/oci8/oci8_collection.c connection->env, connection 634 ext/oci8/oci8_collection.c connection->err, connection 643 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 644 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 648 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 660 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 665 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCINumberFromReal, (connection->err, &element_double, sizeof(double), &oci_number)); connection 668 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 669 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 675 ext/oci8/oci8_collection.c connection->env, connection 676 ext/oci8/oci8_collection.c connection->err, connection 685 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 686 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 690 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 701 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 704 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIStringAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); connection 707 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 708 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 714 ext/oci8/oci8_collection.c connection->env, connection 715 ext/oci8/oci8_collection.c connection->err, connection 724 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 725 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 729 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 779 ext/oci8/oci8_collection.c php_oci_connection *connection = collection_dest->connection; connection 782 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCICollAssign, (connection->env, connection->err, collection_from->collection, collection_dest->collection)); connection 785 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 786 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 789 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 798 ext/oci8/oci8_collection.c php_oci_connection *connection = collection->connection; connection 802 ext/oci8/oci8_collection.c PHP_OCI_CALL_RETURN(errstatus, OCIObjectFree, (connection->env, connection->err, (dvoid *)collection->collection, (ub2)OCI_OBJECTFREE_FORCE)); connection 805 ext/oci8/oci8_collection.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 806 ext/oci8/oci8_collection.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 808 ext/oci8/oci8_collection.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 812 ext/oci8/oci8_collection.c zend_list_delete(collection->connection->id); connection 1072 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1080 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1083 ext/oci8/oci8_interface.c descriptor = php_oci_lob_create(connection, type TSRMLS_CC); connection 1099 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1105 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1107 ext/oci8/oci8_interface.c if (connection->descriptors) { connection 1108 ext/oci8/oci8_interface.c php_oci_connection_descriptors_free(connection TSRMLS_CC); connection 1111 ext/oci8/oci8_interface.c if (php_oci_connection_rollback(connection TSRMLS_CC)) { connection 1123 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1129 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1131 ext/oci8/oci8_interface.c if (connection->descriptors) { connection 1132 ext/oci8/oci8_interface.c php_oci_connection_descriptors_free(connection TSRMLS_CC); connection 1135 ext/oci8/oci8_interface.c if (php_oci_connection_commit(connection TSRMLS_CC)) { connection 1557 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1568 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1569 ext/oci8/oci8_interface.c zend_list_delete(connection->id); connection 1607 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1630 ext/oci8/oci8_interface.c connection = (php_oci_connection *) zend_fetch_resource(&arg TSRMLS_CC, -1, NULL, NULL, 1, le_connection); connection 1631 ext/oci8/oci8_interface.c if (connection) { connection 1632 ext/oci8/oci8_interface.c errh = connection->err; connection 1633 ext/oci8/oci8_interface.c errcode = connection->errcode; connection 1637 ext/oci8/oci8_interface.c connection = (php_oci_connection *) zend_fetch_resource(&arg TSRMLS_CC, -1, NULL, NULL, 1, le_pconnection); connection 1638 ext/oci8/oci8_interface.c if (connection) { connection 1639 ext/oci8/oci8_interface.c errh = connection->err; connection 1640 ext/oci8/oci8_interface.c errcode = connection->errcode; connection 1694 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1703 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1705 ext/oci8/oci8_interface.c statement = php_oci_statement_create(connection, query, query_len TSRMLS_CC); connection 1745 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1754 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1756 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 1759 ext/oci8/oci8_interface.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 1773 ext/oci8/oci8_interface.c if (connection->client_id) { connection 1774 ext/oci8/oci8_interface.c pefree(connection->client_id, connection->is_persistent); connection 1779 ext/oci8/oci8_interface.c connection->client_id = (char *)pemalloc(client_id_len+1, connection->is_persistent); connection 1780 ext/oci8/oci8_interface.c memcpy(connection->client_id, client_id, client_id_len); connection 1781 ext/oci8/oci8_interface.c connection->client_id[client_id_len] = '\0'; connection 1783 ext/oci8/oci8_interface.c connection->client_id = NULL; connection 1829 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1838 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1840 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 1843 ext/oci8/oci8_interface.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 1861 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1870 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1872 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 1875 ext/oci8/oci8_interface.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 1893 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1902 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1904 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 1907 ext/oci8/oci8_interface.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 1926 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1934 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1936 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 1958 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 1969 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 1984 ext/oci8/oci8_interface.c if (php_oci_password_change(connection, user, user_len, pass_old, pass_old_len, pass_new, pass_new_len TSRMLS_CC)) { connection 2003 ext/oci8/oci8_interface.c connection = php_oci_do_connect_ex(user, user_len, pass_old, pass_old_len, pass_new, pass_new_len, dbname, dbname_len, NULL, OCI_DEFAULT, 0, 0 TSRMLS_CC); connection 2004 ext/oci8/oci8_interface.c if (!connection) { connection 2007 ext/oci8/oci8_interface.c RETURN_RESOURCE(connection->id); connection 2018 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 2025 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 2027 ext/oci8/oci8_interface.c statement = php_oci_statement_create(connection, NULL, 0 TSRMLS_CC); connection 2068 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 2075 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 2077 ext/oci8/oci8_interface.c if (php_oci_server_get_version(connection, &version TSRMLS_CC)) { connection 2424 ext/oci8/oci8_interface.c php_oci_connection *connection; connection 2433 ext/oci8/oci8_interface.c PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); connection 2435 ext/oci8/oci8_interface.c if ( (collection = php_oci_collection_create(connection, tdo, tdo_len, schema, schema_len TSRMLS_CC)) ) { connection 54 ext/oci8/oci8_lob.c php_oci_descriptor *php_oci_lob_create (php_oci_connection *connection, long type TSRMLS_DC) connection 73 ext/oci8/oci8_lob.c descriptor->connection = connection; connection 74 ext/oci8/oci8_lob.c zend_list_addref(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 TSRMLS_CC); connection 112 ext/oci8/oci8_lob.c zend_hash_index_update(connection->descriptors,descriptor->index,&descriptor,sizeof(php_oci_descriptor *),NULL); 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 TSRMLS_CC); 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 TSRMLS_CC); 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 TSRMLS_CC); 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 215 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 224 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobGetChunkSize, (connection->svc, connection->err, descriptor->descriptor, &chunk_size)); connection 227 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 228 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 232 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 246 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 293 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFileOpen, (connection->svc, connection->err, descriptor->descriptor, OCI_FILE_READONLY)); connection 296 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 297 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 303 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobCharSetId, (connection->env, connection->err, descriptor->descriptor, &charset_id)); connection 306 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 307 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 317 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCINlsNumericInfoGet, (connection->env, connection->err, &bytes_per_char, OCI_NLS_CHARSET_MAXBYTESZ)); connection 320 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 321 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 345 ext/oci8/oci8_lob.c connection->svc, connection 346 ext/oci8/oci8_lob.c connection->err, connection 370 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 371 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 383 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFileClose, (connection->svc, connection->err, descriptor->descriptor)); connection 386 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 387 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 397 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 407 ext/oci8/oci8_lob.c php_oci_connection *connection = (php_oci_connection *) descriptor->connection; connection 426 ext/oci8/oci8_lob.c connection->svc, connection 427 ext/oci8/oci8_lob.c connection->err, connection 442 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 443 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 459 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 468 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 482 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobEnableBuffering, (connection->svc, connection->err, descriptor->descriptor)); connection 484 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobDisableBuffering, (connection->svc, connection->err, descriptor->descriptor)); connection 488 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 489 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 493 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 514 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor_dest->connection; connection 539 ext/oci8/oci8_lob.c connection->svc, connection 540 ext/oci8/oci8_lob.c connection->err, connection 550 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 551 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 555 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 564 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 568 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobClose, (connection->svc, connection->err, descriptor->descriptor)); connection 571 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 572 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 575 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 590 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 594 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobIsTemporary, (connection->env,connection->err, descriptor->descriptor, &is_temporary)); connection 597 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 598 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 603 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFreeTemporary, (connection->svc, connection->err, descriptor->descriptor)); connection 606 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 607 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 611 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 621 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 646 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobFlushBuffer, (connection->svc, connection->err, lob, flush_flag)); connection 649 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 650 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 656 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 665 ext/oci8/oci8_lob.c if (!descriptor || !descriptor->connection) { connection 669 ext/oci8/oci8_lob.c if (descriptor->connection->descriptors) { connection 671 ext/oci8/oci8_lob.c zend_hash_index_del(descriptor->connection->descriptors, descriptor->index); connection 672 ext/oci8/oci8_lob.c if (zend_hash_num_elements(descriptor->connection->descriptors) == 0) { connection 673 ext/oci8/oci8_lob.c descriptor->connection->descriptor_count = 0; connection 675 ext/oci8/oci8_lob.c if (descriptor->index + 1 == descriptor->connection->descriptor_count) { connection 687 ext/oci8/oci8_lob.c descriptor->connection->descriptor_count--; connection 703 ext/oci8/oci8_lob.c zend_list_delete(descriptor->connection->id); connection 715 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 738 ext/oci8/oci8_lob.c connection->svc, connection 739 ext/oci8/oci8_lob.c connection->err, connection 754 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 755 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 759 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 773 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor_dest->connection; connection 791 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobAppend, (connection->svc, connection->err, lob_dest, lob_from)); connection 794 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 795 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 798 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 807 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 830 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobTrim, (connection->svc, connection->err, lob, new_lob_length)); connection 833 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 834 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 839 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 849 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 868 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobErase, (connection->svc, connection->err, lob, (ub4 *)&length, offset+1)); connection 871 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 872 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 877 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 886 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor_first->connection; connection 891 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobIsEqual, (connection->env, first_lob, second_lob, result)); connection 894 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 895 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 898 ext/oci8/oci8_lob.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 907 ext/oci8/oci8_lob.c php_oci_connection *connection = descriptor->connection; connection 929 ext/oci8/oci8_lob.c connection->svc, connection 930 ext/oci8/oci8_lob.c connection->err, connection 941 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 942 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 946 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(errstatus, OCILobOpen, (connection->svc, connection->err, lob, OCI_LOB_READWRITE)); connection 949 ext/oci8/oci8_lob.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 950 ext/oci8/oci8_lob.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 955 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 TSRMLS_DC) 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 TSRMLS_CC); connection 87 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 102 ext/oci8/oci8_statement.c statement->connection = connection; connection 109 ext/oci8/oci8_statement.c zend_list_addref(statement->connection->id); connection 150 ext/oci8/oci8_statement.c PHP_OCI_CALL(OCIHandleAlloc, (statement->connection->env, (dvoid **)&(statement2->err), OCI_HTYPE_ERROR, 0, NULL)); connection 156 ext/oci8/oci8_statement.c statement2->connection = statement->connection; connection 170 ext/oci8/oci8_statement.c zend_list_addref(statement2->connection->id); connection 198 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 370 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 TSRMLS_CC); connection 457 ext/oci8/oci8_statement.c descr = php_oci_lob_create(outcol->statement->connection, dtype TSRMLS_CC); connection 501 ext/oci8/oci8_statement.c DTRACE_OCI8_EXECUTE_MODE(statement->connection, statement->connection->client_id, statement, mode); connection 517 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 541 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(errstatus, OCIStmtExecute, (statement->connection->svc, statement->stmt, statement->err, iters, 0, NULL, NULL, mode)); connection 545 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 555 ext/oci8/oci8_statement.c statement->connection->rb_on_disconnect = 0; connection 558 ext/oci8/oci8_statement.c statement->connection->rb_on_disconnect = 1; connection 584 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 604 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 614 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 624 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 634 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 644 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 657 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 667 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 677 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 TSRMLS_CC); 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 TSRMLS_CC); 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 1261 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1279 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1300 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1499 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1522 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1570 ext/oci8/oci8_statement.c bind = php_oci_bind_array_helper_date(var, max_table_length, statement->connection TSRMLS_CC); connection 1625 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); connection 1784 ext/oci8/oci8_statement.c php_oci_bind *php_oci_bind_array_helper_date(zval *var, long max_table_length, php_oci_connection *connection TSRMLS_DC) connection 1812 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)Z_STRVAL_PP(entry), Z_STRLEN_PP(entry), NULL, 0, NULL, 0, &oci_date)); connection 1819 ext/oci8/oci8_statement.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 1820 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 1827 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 1834 ext/oci8/oci8_statement.c connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC); connection 1835 ext/oci8/oci8_statement.c PHP_OCI_HANDLE_ERROR(connection, connection->errcode); connection 1841 ext/oci8/oci8_statement.c connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ connection 169 ext/oci8/php_oci8_int.h php_oci_connection *connection; /* parent connection handle */ connection 193 ext/oci8/php_oci8_int.h php_oci_connection *connection; /* parent connection handle */ connection 218 ext/oci8/php_oci8_int.h php_oci_connection *connection; /* parent connection handle */ connection 315 ext/oci8/php_oci8_int.h #define PHP_OCI_HANDLE_ERROR(connection, errcode) \ connection 343 ext/oci8/php_oci8_int.h (connection)->is_open = 0; \ connection 347 ext/oci8/php_oci8_int.h PHP_OCI_CALL(OCIAttrGet, ((dvoid *)(connection)->server, OCI_HTYPE_SERVER, (dvoid *)&serverStatus, \ connection 348 ext/oci8/php_oci8_int.h (ub4 *)0, OCI_ATTR_SERVER_STATUS, (connection)->err)); \ connection 350 ext/oci8/php_oci8_int.h (connection)->is_open = 0; \ connection 355 ext/oci8/php_oci8_int.h php_oci_dtrace_check_connection(connection, errcode, serverStatus); \ connection 363 ext/oci8/php_oci8_int.h #define PHP_OCI_ZVAL_TO_CONNECTION(zval, connection) \ connection 364 ext/oci8/php_oci8_int.h ZEND_FETCH_RESOURCE2(connection, php_oci_connection *, &zval, -1, "oci8 connection", le_connection, le_pconnection) connection 383 ext/oci8/php_oci8_int.h #define PHP_OCI_ZVAL_TO_CONNECTION_EX(zval, connection) \ connection 384 ext/oci8/php_oci8_int.h PHP_OCI_FETCH_RESOURCE_EX(zval, connection, php_oci_connection *, "oci8 connection", le_connection) connection 405 ext/oci8/php_oci8_int.h void php_oci_connection_descriptors_free(php_oci_connection *connection TSRMLS_DC); connection 411 ext/oci8/php_oci8_int.h int php_oci_connection_rollback(php_oci_connection *connection TSRMLS_DC); connection 412 ext/oci8/php_oci8_int.h int php_oci_connection_commit(php_oci_connection *connection TSRMLS_DC); connection 413 ext/oci8/php_oci8_int.h int php_oci_connection_release(php_oci_connection *connection TSRMLS_DC); connection 414 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 TSRMLS_DC); connection 416 ext/oci8/php_oci8_int.h int php_oci_server_get_version(php_oci_connection *connection, char **version TSRMLS_DC); connection 419 ext/oci8/php_oci8_int.h void php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus); connection 425 ext/oci8/php_oci8_int.h php_oci_descriptor *php_oci_lob_create(php_oci_connection *connection, long type TSRMLS_DC); connection 447 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 TSRMLS_DC); connection 470 ext/oci8/php_oci8_int.h php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len TSRMLS_DC); connection 491 ext/oci8/php_oci8_int.h php_oci_bind *php_oci_bind_array_helper_date(zval *var, long max_table_length, php_oci_connection *connection TSRMLS_DC); connection 119 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 124 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 130 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 134 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 138 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 142 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 146 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 150 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 154 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 158 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 162 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 166 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 172 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 180 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 188 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 209 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 313 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 317 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 321 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 326 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 331 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 356 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 362 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 386 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 393 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 398 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 403 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 407 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 412 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 419 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 428 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 433 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 444 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 448 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 465 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 470 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 475 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 479 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 483 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 487 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 493 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 501 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 509 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 516 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 525 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 530 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 534 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 538 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 542 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, connection) connection 353 ext/soap/php_http.c char *connection; connection 1029 ext/soap/php_http.c connection = get_http_header_value(http_headers,"Proxy-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 1038 ext/soap/php_http.c connection = get_http_header_value(http_headers,"Connection: "); connection 1039 ext/soap/php_http.c if (connection) { connection 1040 ext/soap/php_http.c if (strncasecmp(connection, "close", sizeof("close")-1) == 0) { connection 1043 ext/soap/php_http.c efree(connection); connection 1049 ext/soap/php_http.c connection = get_http_header_value(http_headers,"Proxy-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 1058 ext/soap/php_http.c connection = get_http_header_value(http_headers,"Connection: "); connection 1059 ext/soap/php_http.c if (connection) { connection 1060 ext/soap/php_http.c if (strncasecmp(connection, "Keep-Alive", sizeof("Keep-Alive")-1) == 0) { connection 1063 ext/soap/php_http.c efree(connection); connection 153 ext/sybase_ct/php_sybase_ct.c ZEND_ARG_INFO(0, connection) connection 340 ext/sybase_ct/php_sybase_ct.c if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS, connection 347 ext/sybase_ct/php_sybase_ct.c if ((con_status & CS_CONSTAT_DEAD) || ct_close(sybase_ptr->connection, CS_UNUSED)!=CS_SUCCEED) { connection 348 ext/sybase_ct/php_sybase_ct.c ct_close(sybase_ptr->connection, CS_FORCE_CLOSE); connection 353 ext/sybase_ct/php_sybase_ct.c ct_con_drop(sybase_ptr->connection); connection 367 ext/sybase_ct/php_sybase_ct.c if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS, connection 374 ext/sybase_ct/php_sybase_ct.c if ((con_status & CS_CONSTAT_DEAD) || ct_close(sybase_ptr->connection, CS_UNUSED)!=CS_SUCCEED) { connection 375 ext/sybase_ct/php_sybase_ct.c ct_close(sybase_ptr->connection, CS_FORCE_CLOSE); connection 379 ext/sybase_ct/php_sybase_ct.c ct_con_drop(sybase_ptr->connection); connection 386 ext/sybase_ct/php_sybase_ct.c static CS_RETCODE CS_PUBLIC _client_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, CS_CLIENTMSG *errmsg) connection 466 ext/sybase_ct/php_sybase_ct.c static CS_RETCODE CS_PUBLIC _server_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, CS_SERVERMSG *srvmsg) connection 477 ext/sybase_ct/php_sybase_ct.c if (ct_con_props(connection, CS_GET, CS_USERDATA, &sybase, CS_SIZEOF(sybase), NULL) != CS_SUCCEED) { connection 635 ext/sybase_ct/php_sybase_ct.c if (ct_con_alloc(SybCtG(context), &sybase->connection)!=CS_SUCCEED) { connection 641 ext/sybase_ct/php_sybase_ct.c if (ct_con_props(sybase->connection, CS_SET, CS_USERDATA, &sybase, CS_SIZEOF(sybase), NULL)!=CS_SUCCEED) { connection 643 ext/sybase_ct/php_sybase_ct.c ct_con_drop(sybase->connection); connection 648 ext/sybase_ct/php_sybase_ct.c ct_con_props(sybase->connection, CS_SET, CS_USERNAME, user, CS_NULLTERM, NULL); connection 651 ext/sybase_ct/php_sybase_ct.c ct_con_props(sybase->connection, CS_SET, CS_PASSWORD, passwd, CS_NULLTERM, NULL); connection 654 ext/sybase_ct/php_sybase_ct.c ct_con_props(sybase->connection, CS_SET, CS_APPNAME, appname, CS_NULLTERM, NULL); connection 656 ext/sybase_ct/php_sybase_ct.c ct_con_props(sybase->connection, CS_SET, CS_APPNAME, SybCtG(appname), CS_NULLTERM, NULL); connection 660 ext/sybase_ct/php_sybase_ct.c ct_con_props(sybase->connection, CS_SET, CS_HOSTNAME, SybCtG(hostname), CS_NULLTERM, NULL); connection 673 ext/sybase_ct/php_sybase_ct.c if (ct_con_props(sybase->connection, CS_SET, CS_LOC_PROP, tmp_locale, CS_UNUSED, NULL)!=CS_SUCCEED) { connection 682 ext/sybase_ct/php_sybase_ct.c if (ct_con_props(sybase->connection, CS_SET, CS_PACKETSIZE, (CS_VOID *)&packetsize, CS_UNUSED, NULL) != CS_SUCCEED) { connection 712 ext/sybase_ct/php_sybase_ct.c if (ct_connect(sybase->connection, host, CS_NULLTERM)!=CS_SUCCEED) { connection 714 ext/sybase_ct/php_sybase_ct.c ct_con_drop(sybase->connection); connection 718 ext/sybase_ct/php_sybase_ct.c if (ct_cmd_alloc(sybase->connection, &sybase->cmd)!=CS_SUCCEED) { connection 720 ext/sybase_ct/php_sybase_ct.c ct_close(sybase->connection, CS_UNUSED); connection 721 ext/sybase_ct/php_sybase_ct.c ct_con_drop(sybase->connection); connection 794 ext/sybase_ct/php_sybase_ct.c ct_close(sybase_ptr->connection, CS_UNUSED); connection 795 ext/sybase_ct/php_sybase_ct.c ct_con_drop(sybase_ptr->connection); connection 814 ext/sybase_ct/php_sybase_ct.c if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS, connection 824 ext/sybase_ct/php_sybase_ct.c ct_close(sybase_ptr->connection, CS_FORCE_CLOSE); connection 843 ext/sybase_ct/php_sybase_ct.c ct_con_drop(sybase.connection); /* drop old connection */ connection 895 ext/sybase_ct/php_sybase_ct.c ct_close(sybase_ptr->connection, CS_UNUSED); connection 896 ext/sybase_ct/php_sybase_ct.c ct_con_drop(sybase_ptr->connection); connection 80 ext/sybase_ct/php_sybase_ct.h CS_CONNECTION *connection; connection 117 sapi/apache/mod_php5.c bflush((request_rec *) server_context->connection->client); connection 398 sapi/apache/mod_php5.c fd = r->connection->client->fd; connection 550 sapi/apache/mod_php5.c r->connection->user = pstrdup(r->connection->pool, tmp_user); connection 551 sapi/apache/mod_php5.c r->connection->ap_auth_type = "Basic"; connection 558 sapi/apache/mod_php5.c r->connection->ap_auth_type = "Digest"; connection 86 sapi/apache2filter/sapi_apache2.c if (ap_pass_brigade(f->next, bb) != APR_SUCCESS || ctx->r->connection->aborted) { connection 279 sapi/apache2filter/sapi_apache2.c ba = ctx->r->connection->bucket_alloc; connection 283 sapi/apache2filter/sapi_apache2.c if (ap_pass_brigade(f->next, bb) != APR_SUCCESS || ctx->r->connection->aborted) { connection 655 sapi/apache2filter/sapi_apache2.c ap_add_output_filter("PHP", NULL, r, r->connection); connection 657 sapi/apache2filter/sapi_apache2.c ap_add_input_filter("PHP", NULL, r, r->connection); connection 311 sapi/apache2handler/sapi_apache2.c if (ap_rflush(r) < 0 || r->connection->aborted) { connection 614 sapi/apache2handler/sapi_apache2.c brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); connection 681 sapi/apache2handler/sapi_apache2.c bucket = apr_bucket_eos_create(r->connection->bucket_alloc); connection 685 sapi/apache2handler/sapi_apache2.c if (rv != APR_SUCCESS || r->connection->aborted) { connection 262 sapi/apache_hooks/mod_php5.c bflush((request_rec *) server_context->connection->client); connection 600 sapi/apache_hooks/mod_php5.c r->connection->user = pstrdup(r->connection->pool, tmp_user); connection 601 sapi/apache_hooks/mod_php5.c r->connection->ap_auth_type = "Basic"; connection 608 sapi/apache_hooks/mod_php5.c r->connection->ap_auth_type = "Digest"; connection 730 sapi/apache_hooks/php_apache.c res = (char *)ap_get_remote_host(r->connection, r->per_dir_config, (int)type); connection 26 sapi/webjames/php_webjames.h void webjames_php_request(struct connection *conn); connection 33 sapi/webjames/webjames.c struct connection *conn; /*structure holding all the details of the current request*/ connection 219 sapi/webjames/webjames.c static void webjames_php_close(struct connection *conn, int force) connection 228 sapi/webjames/webjames.c void webjames_php_request(struct connection *conn)