Searched refs:connection (Results 1 - 25 of 25) sorted by relevance

/PHP_TRUNK/ext/mysqli/tests/
H A Dconnect.inc85 * @param enable_env_flags Enable setting of connection flags through env(MYSQL_TEST_CONNECT_FLAGS)?
106 * @param enable_env_flags Enable setting of connection flags through env(MYSQL_TEST_CONNECT_FLAGS)
/PHP_TRUNK/ext/oci8/tests/
H A Ddetails.inc20 $dbase = getenv('PHP_OCI8_TEST_DB'); // Database connection string
/PHP_TRUNK/ext/oci8/
H A Doci8_dtrace.d20 probe oci8__check__connection(void *connection, char *client_id, int is_open, long errcode, unsigned long server_status);
22 probe oci8__connect__return(void *connection);
23 probe oci8__connection__close(void *connection);
25 probe oci8__execute__mode(void *connection, char *client_id, void *statement, unsigned int mode);
26 probe oci8__sqltext(void *connection, char *client_id, void *statement, char *sql);
28 probe oci8__connect__p__dtor__close(void *connection);
29 probe oci8__connect__p__dtor__release(void *connection);
30 probe oci8__connect__lookup(void *connection, int is_stub);
31 probe oci8__connect__expiry(void *connection, int is_stub, long idle_expiry, long timestamp);
32 probe oci8__connect__type(int persistent, int exclusive, void *connection, lon
[all...]
H A Doci8.c138 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);
139 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);
142 static sword php_oci_ping_init(php_oci_connection *connection, OCIError *errh);
1197 le_connection = zend_register_list_destructors_ex(php_oci_connection_list_dtor, NULL, "oci8 connection", module_number);
1198 le_pconnection = zend_register_list_destructors_ex(php_oci_pconnection_list_np_dtor, php_oci_pconnection_list_dtor, "oci8 persistent connection", module_number);
1398 * Non-persistent connection destructor
1402 php_oci_connection *connection = (php_oci_connection *)entry->ptr; local
1404 if (connection) {
1405 php_oci_connection_close(connection);
1413 * Persistent connection destructo
1417 php_oci_connection *connection = (php_oci_connection *)entry->ptr; local
1434 php_oci_connection *connection = (php_oci_connection *)entry->ptr; local
1618 php_oci_connection_descriptors_free(php_oci_connection *connection) argument
1756 php_oci_connection *connection; local
1805 php_oci_connection *connection = NULL; local
2211 php_oci_connection_ping(php_oci_connection *connection) argument
2254 php_oci_connection_status(php_oci_connection *connection) argument
2275 php_oci_connection_rollback(php_oci_connection *connection) argument
2296 php_oci_connection_commit(php_oci_connection *connection) argument
2317 php_oci_connection_close(php_oci_connection *connection) argument
2393 php_oci_connection_release(php_oci_connection *connection) argument
2484 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) argument
2528 php_oci_server_get_version(php_oci_connection *connection, char **version) argument
2803 php_oci_connection *connection; local
3080 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) argument
3263 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) argument
3474 php_oci_ping_init(php_oci_connection *connection, OCIError *errh) argument
3516 php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus) argument
[all...]
H A Doci8_collection.c46 Create and return connection handle */
47 php_oci_collection *php_oci_collection_create(php_oci_connection *connection, char *tdo, int tdo_len, char *schema, int schema_len) argument
57 collection->connection = connection;
59 ++GC_REFCOUNT(collection->connection->id);
64 connection->env,
65 connection->err,
66 connection->svc,
84 PHP_OCI_CALL_RETURN(errstatus, OCIHandleAlloc, (connection->env, (dvoid **) &dschp1, (ub4) OCI_HTYPE_DESCRIBE, (size_t) 0, (dvoid **) 0));
93 connection
246 php_oci_connection *connection = collection->connection; local
265 php_oci_connection *connection = collection->connection; local
278 php_oci_connection *connection = collection->connection; local
298 php_oci_connection *connection = collection->connection; local
320 php_oci_connection *connection = collection->connection; local
361 php_oci_connection *connection = collection->connection; local
401 php_oci_connection *connection = collection->connection; local
478 php_oci_connection *connection = collection->connection; local
590 php_oci_connection *connection = collection->connection; local
612 php_oci_connection *connection = collection->connection; local
654 php_oci_connection *connection = collection->connection; local
695 php_oci_connection *connection = collection->connection; local
773 php_oci_connection *connection = collection_dest->connection; local
792 php_oci_connection *connection = collection->connection; local
[all...]
H A Doci8_interface.c1068 /* {{{ proto object oci_new_descriptor(resource connection [, int type])
1073 php_oci_connection *connection; local
1081 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection);
1084 descriptor = php_oci_lob_create(connection, type);
1095 /* {{{ proto bool oci_rollback(resource connection)
1100 php_oci_connection *connection; local
1106 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection);
1108 if (connection->descriptors) {
1109 php_oci_connection_descriptors_free(connection);
1112 if (php_oci_connection_rollback(connection)) {
1124 php_oci_connection *connection; local
1554 php_oci_connection *connection; local
1604 php_oci_connection *connection; local
1693 php_oci_connection *connection; local
1744 php_oci_connection *connection; local
1828 php_oci_connection *connection; local
1860 php_oci_connection *connection; local
1892 php_oci_connection *connection; local
1925 php_oci_connection *connection; local
1957 php_oci_connection *connection; local
2017 php_oci_connection *connection; local
2067 php_oci_connection *connection; local
2421 php_oci_connection *connection; local
[all...]
H A Doci8_lob.c54 php_oci_descriptor *php_oci_lob_create (php_oci_connection *connection, zend_long type) argument
73 descriptor->connection = connection;
74 ++GC_REFCOUNT(descriptor->connection->id);
76 PHP_OCI_CALL_RETURN(errstatus, OCIDescriptorAlloc, (connection->env, (dvoid*)&(descriptor->descriptor), descriptor->type, (size_t) 0, (dvoid **) 0));
80 PHP_OCI_HANDLE_ERROR(connection, OCI_G(errcode));
93 descriptor->charset_id = connection->charset;
99 if (!connection->descriptors) {
100 ALLOC_HASHTABLE(connection->descriptors);
101 zend_hash_init(connection
123 php_oci_connection *connection = descriptor->connection; local
214 php_oci_connection *connection = descriptor->connection; local
245 php_oci_connection *connection = descriptor->connection; local
406 php_oci_connection *connection = (php_oci_connection *) descriptor->connection; local
471 php_oci_connection *connection = descriptor->connection; local
517 php_oci_connection *connection = descriptor_dest->connection; local
567 php_oci_connection *connection = descriptor->connection; local
593 php_oci_connection *connection = descriptor->connection; local
624 php_oci_connection *connection = descriptor->connection; local
718 php_oci_connection *connection = descriptor->connection; local
776 php_oci_connection *connection = descriptor_dest->connection; local
810 php_oci_connection *connection = descriptor->connection; local
852 php_oci_connection *connection = descriptor->connection; local
889 php_oci_connection *connection = descriptor_first->connection; local
910 php_oci_connection *connection = descriptor->connection; local
[all...]
H A Doci8_statement.c46 php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len) argument
51 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */
57 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->stmt), OCI_HTYPE_STMT, 0, NULL));
60 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->err), OCI_HTYPE_ERROR, 0, NULL));
65 connection->svc,
67 connection->err,
78 DTRACE_OCI8_SQLTEXT(connection, connection->client_id, statement, query);
83 connection->errcode = php_oci_error(connection
967 php_oci_connection *connection = bind->parent_statement->connection; local
1774 php_oci_bind_array_helper_date(zval *var, zend_long max_table_length, php_oci_connection *connection) argument
[all...]
H A Dphp_oci8_int.h146 HashTable *descriptors; /* descriptors hash, used to flush all the LOBs using this connection on commit */
148 unsigned is_open:1; /* hels to determine if the connection is dead or not */
149 unsigned is_attached:1; /* hels to determine if we should detach from the server when closing/freeing the connection */
151 unsigned used_this_request:1; /* helps to determine if we should reset connection's next ping time and check its timeout */
152 unsigned rb_on_disconnect:1; /* helps to determine if we should rollback this connection on close/shutdown */
153 unsigned passwd_changed:1; /* helps determine if a persistent connection hash should be invalidated after a password change */
154 unsigned is_stub:1; /* flag to keep track whether the connection structure has a real OCI connection associated */
155 unsigned using_spool:1; /* Is this connection from session pool? */
156 time_t idle_expiry; /* time when the connection wil
169 php_oci_connection *connection; /* parent connection handle */ member in struct:__anon140
193 php_oci_connection *connection; /* parent connection handle */ member in struct:__anon142
218 php_oci_connection *connection; /* parent connection handle */ member in struct:__anon144
[all...]
/PHP_TRUNK/ext/ftp/tests/
H A Dserver.inc97 if (!$s) die("Error accepting a new connection\n");
224 fputs($s, "150 File status okay; about to open data connection\r\n");
229 fputs($s, "425 Can't open data connection\r\n");
279 fputs($s, "150 File status okay; about to open data connection\r\n");
282 fputs($s, "425 Can't open data connection\r\n");
326 fputs($s, "425 Can't open data connection\r\n");
333 fputs($s, "150 File status okay; about to open data connection.\r\n");
334 //the data connection is handled in another forked process
339 fputs($s, "150 File status okay; about to open data connection.\r\n");
344 fputs($s, "150 File status okay; about to open data connection
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.h80 CS_CONNECTION *connection; member in struct:__anon265
H A Dphp_sybase_ct.c153 ZEND_ARG_INFO(0, connection)
340 if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS,
342 php_error_docref(NULL, E_WARNING, "Sybase: Unable to get connection status on close");
347 if ((con_status & CS_CONSTAT_DEAD) || ct_close(sybase_ptr->connection, CS_UNUSED)!=CS_SUCCEED) {
348 ct_close(sybase_ptr->connection, CS_FORCE_CLOSE);
353 ct_con_drop(sybase_ptr->connection);
367 if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS,
369 php_error_docref(NULL, E_WARNING, "Sybase: Unable to get connection status on close");
374 if ((con_status & CS_CONSTAT_DEAD) || ct_close(sybase_ptr->connection, CS_UNUSED)!=CS_SUCCEED) {
375 ct_close(sybase_ptr->connection, CS_FORCE_CLOS
386 _client_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, CS_CLIENTMSG *errmsg) argument
465 _server_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, CS_SERVERMSG *srvmsg) argument
[all...]
/PHP_TRUNK/sapi/webjames/
H A Dphp_webjames.h26 void webjames_php_request(struct connection *conn);
H A Dwebjames.c33 struct connection *conn; /*structure holding all the details of the current request*/
35 closefn oldclose; /*function to call to close the connection*/
219 static void webjames_php_close(struct connection *conn, int force)
220 /*called by webjames if it wants to close the connection*/
227 void webjames_php_request(struct connection *conn)
/PHP_TRUNK/
H A Dmakerpm51 PHP 7 is a powerful apache module that adds scripting and database connection
/PHP_TRUNK/sapi/fpm/tests/
H A Dfcgi.inc142 * Define whether or not the FastCGI application should keep the connection
145 * @param Boolean $b true if the connection should stay alive, false otherwise
158 * @return Boolean true if the connection should stay alive, false otherwise
247 * Create a connection to the FastCGI application
/PHP_TRUNK/ext/gd/
H A Dgd.c2680 ap_bsetflag(php3_rqst->connection->client, B_EBCDIC2ASCII, 0);
H A Dgd_ctx.c144 ap_bsetflag(php3_rqst->connection->client, B_EBCDIC2ASCII, 0);
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c120 ZEND_ARG_INFO(0, connection)
125 ZEND_ARG_INFO(0, connection)
131 ZEND_ARG_INFO(0, connection)
135 ZEND_ARG_INFO(0, connection)
139 ZEND_ARG_INFO(0, connection)
143 ZEND_ARG_INFO(0, connection)
147 ZEND_ARG_INFO(0, connection)
151 ZEND_ARG_INFO(0, connection)
155 ZEND_ARG_INFO(0, connection)
159 ZEND_ARG_INFO(0, connection)
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_http.c130 (name_len != sizeof("connection")-1 ||
131 strncasecmp(s, "connection", sizeof("connection")-1) != 0) &&
345 char *connection; local
491 /* Check if keep-alive connection is still opened */
1008 connection = get_http_header_value(http_headers->val, "Proxy-Connection: ");
1009 if (connection) {
1010 if (strncasecmp(connection, "close", sizeof("close")-1) == 0) {
1013 efree(connection);
1017 connection
[all...]
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c117 bflush((request_rec *) server_context->connection->client);
397 fd = r->connection->client->fd;
549 r->connection->user = pstrdup(r->connection->pool, tmp_user);
550 r->connection->ap_auth_type = "Basic";
557 r->connection->ap_auth_type = "Digest";
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c86 if (ap_pass_brigade(f->next, bb) != APR_SUCCESS || ctx->r->connection->aborted) {
278 ba = ctx->r->connection->bucket_alloc;
282 if (ap_pass_brigade(f->next, bb) != APR_SUCCESS || ctx->r->connection->aborted) {
651 ap_add_output_filter("PHP", NULL, r, r->connection);
653 ap_add_input_filter("PHP", NULL, r, r->connection);
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c313 if (ap_rflush(r) < 0 || r->connection->aborted) {
621 brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc);
688 bucket = apr_bucket_eos_create(r->connection->bucket_alloc);
692 if (rv != APR_SUCCESS || r->connection->aborted) {
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c262 bflush((request_rec *) server_context->connection->client);
599 r->connection->user = pstrdup(r->connection->pool, tmp_user);
600 r->connection->ap_auth_type = "Basic";
607 r->connection->ap_auth_type = "Digest";
H A Dphp_apache.c728 res = (char *)ap_get_remote_host(r->connection, r->per_dir_config, (int)type);

Completed in 54 milliseconds