Lines Matching refs:connection

50 	php_oci_connection *connection;  in PHP_FUNCTION()  local
88 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
90 if (php_oci_register_taf_callback(connection, callback) == 0) { in PHP_FUNCTION()
103 php_oci_connection *connection; in PHP_FUNCTION() local
109 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
111 if (php_oci_unregister_taf_callback(connection) == 0) { in PHP_FUNCTION()
1146 php_oci_connection *connection; in PHP_FUNCTION() local
1154 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1157 descriptor = php_oci_lob_create(connection, type); in PHP_FUNCTION()
1173 php_oci_connection *connection; in PHP_FUNCTION() local
1179 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1181 if (connection->descriptors) { in PHP_FUNCTION()
1182 php_oci_connection_descriptors_free(connection); in PHP_FUNCTION()
1185 if (php_oci_connection_rollback(connection)) { in PHP_FUNCTION()
1197 php_oci_connection *connection; in PHP_FUNCTION() local
1203 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1205 if (connection->descriptors) { in PHP_FUNCTION()
1206 php_oci_connection_descriptors_free(connection); in PHP_FUNCTION()
1209 if (php_oci_connection_commit(connection)) { in PHP_FUNCTION()
1652 php_oci_connection *connection; in PHP_FUNCTION() local
1663 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1664 if (GC_REFCOUNT(connection->id) == 2) { /* CHANGED VERSION::PHP7 in PHP_FUNCTION()
1669 php_oci_unregister_taf_callback(connection); in PHP_FUNCTION()
1671 zend_list_close(connection->id); in PHP_FUNCTION()
1710 php_oci_connection *connection; in PHP_FUNCTION() local
1734 connection = (php_oci_connection *) zend_fetch_resource_ex(arg, NULL, le_connection); in PHP_FUNCTION()
1735 if (connection) { in PHP_FUNCTION()
1736 errh = connection->err; in PHP_FUNCTION()
1737 errcode = connection->errcode; in PHP_FUNCTION()
1741 connection = (php_oci_connection *) zend_fetch_resource_ex(arg, NULL, le_pconnection); in PHP_FUNCTION()
1742 if (connection) { in PHP_FUNCTION()
1743 errh = connection->err; in PHP_FUNCTION()
1744 errcode = connection->errcode; in PHP_FUNCTION()
1799 php_oci_connection *connection; in PHP_FUNCTION() local
1809 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1811 statement = php_oci_statement_create(connection, query, (int) query_len); in PHP_FUNCTION()
1852 php_oci_connection *connection; in PHP_FUNCTION() local
1862 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1864 …(dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) client_id, (ub4) client_id_len, … in PHP_FUNCTION()
1867 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1881 if (connection->client_id) { in PHP_FUNCTION()
1882 pefree(connection->client_id, connection->is_persistent); in PHP_FUNCTION()
1887 connection->client_id = (char *)pemalloc(client_id_len+1, connection->is_persistent); in PHP_FUNCTION()
1888 memcpy(connection->client_id, client_id, client_id_len); in PHP_FUNCTION()
1889 connection->client_id[client_id_len] = '\0'; in PHP_FUNCTION()
1891 connection->client_id = NULL; in PHP_FUNCTION()
1937 php_oci_connection *connection; in PHP_FUNCTION() local
1947 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1949 …ttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) module, (ub4) module_le… in PHP_FUNCTION()
1952 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1970 php_oci_connection *connection; in PHP_FUNCTION() local
1980 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1982 …ttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) action, (ub4) action_le… in PHP_FUNCTION()
1985 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
2003 php_oci_connection *connection; in PHP_FUNCTION() local
2013 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2015 …((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) client_info, (ub4) client_info_… in PHP_FUNCTION()
2018 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
2037 php_oci_connection *connection; in PHP_FUNCTION() local
2046 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2048 …PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SE… in PHP_FUNCTION()
2068 php_oci_connection *connection; in PHP_FUNCTION() local
2076 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2078 …PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->svc, (ub4) OCI_HTYPE_SVCCTX… in PHP_FUNCTION()
2099 php_oci_connection *connection; in PHP_FUNCTION() local
2102 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2117 …if (php_oci_password_change(connection, user, (int) user_len, pass_old, (int) pass_old_len, pass_n… in PHP_FUNCTION()
2136connection = php_oci_do_connect_ex(user, (int) user_len, pass_old, (int) pass_old_len, pass_new, (… in PHP_FUNCTION()
2137 if (!connection) { in PHP_FUNCTION()
2140 RETURN_RES(connection->id); in PHP_FUNCTION()
2151 php_oci_connection *connection; in PHP_FUNCTION() local
2158 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2160 statement = php_oci_statement_create(connection, NULL, 0); in PHP_FUNCTION()
2201 php_oci_connection *connection; in PHP_FUNCTION() local
2209 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2211 if (php_oci_server_get_version(connection, version, sizeof(version))) { in PHP_FUNCTION()
2557 php_oci_connection *connection; in PHP_FUNCTION() local
2566 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2568 …if ( (collection = php_oci_collection_create(connection, tdo, (int) tdo_len, schema, (int) schema_… in PHP_FUNCTION()