Lines Matching refs:connection

49 	php_oci_connection *connection;  in PHP_FUNCTION()  local
58 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
65 if (php_oci_register_taf_callback(connection, callback) == 0) { in PHP_FUNCTION()
77 php_oci_connection *connection; in PHP_FUNCTION() local
83 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
85 if (php_oci_unregister_taf_callback(connection) == 0) { in PHP_FUNCTION()
973 php_oci_connection *connection; in PHP_FUNCTION() local
981 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
984 descriptor = php_oci_lob_create(connection, type); in PHP_FUNCTION()
999 php_oci_connection *connection; in PHP_FUNCTION() local
1005 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1007 if (connection->descriptors) { in PHP_FUNCTION()
1008 php_oci_connection_descriptors_free(connection); in PHP_FUNCTION()
1011 if (php_oci_connection_rollback(connection)) { in PHP_FUNCTION()
1022 php_oci_connection *connection; in PHP_FUNCTION() local
1028 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1030 if (connection->descriptors) { in PHP_FUNCTION()
1031 php_oci_connection_descriptors_free(connection); in PHP_FUNCTION()
1034 if (php_oci_connection_commit(connection)) { in PHP_FUNCTION()
1448 php_oci_connection *connection; in PHP_FUNCTION() local
1459 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1460 if (GC_REFCOUNT(connection->id) == 2) { /* CHANGED VERSION::PHP7 in PHP_FUNCTION()
1465 php_oci_unregister_taf_callback(connection); in PHP_FUNCTION()
1467 zend_list_close(connection->id); in PHP_FUNCTION()
1502 php_oci_connection *connection; in PHP_FUNCTION() local
1526 connection = (php_oci_connection *) zend_fetch_resource_ex(arg, NULL, le_connection); in PHP_FUNCTION()
1527 if (connection) { in PHP_FUNCTION()
1528 errh = connection->err; in PHP_FUNCTION()
1529 errcode = connection->errcode; in PHP_FUNCTION()
1533 connection = (php_oci_connection *) zend_fetch_resource_ex(arg, NULL, le_pconnection); in PHP_FUNCTION()
1534 if (connection) { in PHP_FUNCTION()
1535 errh = connection->err; in PHP_FUNCTION()
1536 errcode = connection->errcode; in PHP_FUNCTION()
1589 php_oci_connection *connection; in PHP_FUNCTION() local
1599 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1601 statement = php_oci_statement_create(connection, query, (int) query_len); in PHP_FUNCTION()
1673 php_oci_connection *connection; in PHP_FUNCTION() local
1683 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1685 …(dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) client_id, (ub4) client_id_len, … in PHP_FUNCTION()
1688 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1702 if (connection->client_id) { in PHP_FUNCTION()
1703 pefree(connection->client_id, connection->is_persistent); in PHP_FUNCTION()
1708 connection->client_id = (char *)pemalloc(client_id_len+1, connection->is_persistent); in PHP_FUNCTION()
1709 memcpy(connection->client_id, client_id, client_id_len); in PHP_FUNCTION()
1710 connection->client_id[client_id_len] = '\0'; in PHP_FUNCTION()
1712 connection->client_id = NULL; in PHP_FUNCTION()
1758 php_oci_connection *connection; in PHP_FUNCTION() local
1761 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1763 …ttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) module, (ub4) module_le… in PHP_FUNCTION()
1766 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1786 php_oci_connection *connection; in PHP_FUNCTION() local
1789 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1791 …ttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) action, (ub4) action_le… in PHP_FUNCTION()
1794 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1814 php_oci_connection *connection; in PHP_FUNCTION() local
1817 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1819 …((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) client_info, (ub4) client_info_… in PHP_FUNCTION()
1822 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1844 php_oci_connection *connection; in PHP_FUNCTION() local
1846 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1848 …PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SE… in PHP_FUNCTION()
1874 php_oci_connection *connection; in PHP_FUNCTION() local
1876 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1878 …PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->svc, (ub4) OCI_HTYPE_SVCCTX… in PHP_FUNCTION()
1898 php_oci_connection *connection; in PHP_FUNCTION() local
1901 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1916 …if (php_oci_password_change(connection, user, (int) user_len, pass_old, (int) pass_old_len, pass_n… in PHP_FUNCTION()
1935connection = php_oci_do_connect_ex(user, (int) user_len, pass_old, (int) pass_old_len, pass_new, (… in PHP_FUNCTION()
1936 if (!connection) { in PHP_FUNCTION()
1939 RETURN_RES(connection->id); in PHP_FUNCTION()
1949 php_oci_connection *connection; in PHP_FUNCTION() local
1956 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1958 statement = php_oci_statement_create(connection, NULL, 0); in PHP_FUNCTION()
1997 php_oci_connection *connection; in PHP_FUNCTION() local
2005 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2007 if (php_oci_server_get_version(connection, version, sizeof(version))) { in PHP_FUNCTION()
2298 php_oci_connection *connection; in PHP_FUNCTION() local
2307 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2309 …if ( (collection = php_oci_collection_create(connection, tdo, (int) tdo_len, schema, (int) schema_… in PHP_FUNCTION()