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()
1640 php_oci_connection *connection; in PHP_FUNCTION() local
1650 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1652 …(dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) client_id, (ub4) client_id_len, … in PHP_FUNCTION()
1655 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1669 if (connection->client_id) { in PHP_FUNCTION()
1670 pefree(connection->client_id, connection->is_persistent); in PHP_FUNCTION()
1675 connection->client_id = (char *)pemalloc(client_id_len+1, connection->is_persistent); in PHP_FUNCTION()
1676 memcpy(connection->client_id, client_id, client_id_len); in PHP_FUNCTION()
1677 connection->client_id[client_id_len] = '\0'; in PHP_FUNCTION()
1679 connection->client_id = NULL; in PHP_FUNCTION()
1732 php_oci_connection *connection; in PHP_FUNCTION() local
1735 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1737 …ttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) module, (ub4) module_le… in PHP_FUNCTION()
1740 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1766 php_oci_connection *connection; in PHP_FUNCTION() local
1769 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1771 …ttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) action, (ub4) action_le… in PHP_FUNCTION()
1774 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1800 php_oci_connection *connection; in PHP_FUNCTION() local
1803 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1805 …((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) client_info, (ub4) client_info_… in PHP_FUNCTION()
1808 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION()
1834 php_oci_connection *connection; in PHP_FUNCTION() local
1836 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1838 …PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SE… in PHP_FUNCTION()
1864 php_oci_connection *connection; in PHP_FUNCTION() local
1866 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1868 …PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->svc, (ub4) OCI_HTYPE_SVCCTX… in PHP_FUNCTION()
1888 php_oci_connection *connection; in PHP_FUNCTION() local
1891 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1906 …if (php_oci_password_change(connection, user, (int) user_len, pass_old, (int) pass_old_len, pass_n… in PHP_FUNCTION()
1925connection = php_oci_do_connect_ex(user, (int) user_len, pass_old, (int) pass_old_len, pass_new, (… in PHP_FUNCTION()
1926 if (!connection) { in PHP_FUNCTION()
1929 RETURN_RES(connection->id); in PHP_FUNCTION()
1939 php_oci_connection *connection; in PHP_FUNCTION() local
1946 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1948 statement = php_oci_statement_create(connection, NULL, 0); in PHP_FUNCTION()
1987 php_oci_connection *connection; in PHP_FUNCTION() local
1995 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
1997 if (php_oci_server_get_version(connection, version, sizeof(version))) { in PHP_FUNCTION()
2288 php_oci_connection *connection; in PHP_FUNCTION() local
2297 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); in PHP_FUNCTION()
2299 …if ( (collection = php_oci_collection_create(connection, tdo, (int) tdo_len, schema, (int) schema_… in PHP_FUNCTION()