Home
last modified time | relevance | path

Searched refs:pdo_dbh_t (Results 1 – 17 of 17) sorted by relevance

/PHP-5.5/ext/pdo/
H A Dphp_pdo_driver.h27 typedef struct _pdo_dbh_t pdo_dbh_t; typedef
235 int (*db_handle_factory)(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC);
242 typedef int (*pdo_dbh_close_func)(pdo_dbh_t *dbh TSRMLS_DC);
254 typedef int (*pdo_dbh_txn_func)(pdo_dbh_t *dbh TSRMLS_DC);
257 typedef int (*pdo_dbh_set_attr_func)(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC);
277 typedef int (*pdo_dbh_check_liveness_func)(pdo_dbh_t *dbh TSRMLS_DC);
282 typedef void (*pdo_dbh_request_shutdown)(pdo_dbh_t *dbh TSRMLS_DC);
574 pdo_dbh_t *dbh;
655 PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt,
658 PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh TSRMLS_DC);
[all …]
H A Dpdo_dbh.c204 pdo_dbh_t *dbh = NULL; in PHP_METHOD()
281 pdo_dbh_t *pdbh = NULL; in PHP_METHOD()
304 pdbh = (pdo_dbh_t*)le->ptr; in PHP_METHOD()
1289 int pdo_hash_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC) in pdo_hash_methods()
1370 pdo_dbh_t *dbh = zend_object_store_get_object(object TSRMLS_CC); in dbh_method_get()
1515 static void dbh_free(pdo_dbh_t *dbh TSRMLS_DC) in dbh_free()
1559 PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh TSRMLS_DC) in php_pdo_dbh_addref()
1564 PDO_API void php_pdo_dbh_delref(pdo_dbh_t *dbh TSRMLS_DC) in php_pdo_dbh_delref()
1569 static void pdo_dbh_free_storage(pdo_dbh_t *dbh TSRMLS_DC) in pdo_dbh_free_storage()
1588 pdo_dbh_t *dbh; in pdo_dbh_new()
[all …]
H A Dphp_pdo_int.h58 extern void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt TSRMLS_DC);
74 int pdo_hash_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC);
/PHP-5.5/ext/pdo_dblib/
H A Ddblib_driver.c38 static int dblib_fetch_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info TSRMLS_DC) in dblib_fetch_error()
75 static int dblib_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) in dblib_handle_closer()
94 static int dblib_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, z… in dblib_handle_preparer()
108 static long dblib_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in dblib_handle_doer()
144 static int dblib_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted… in dblib_handle_quoter()
172 static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh TSRMLS_DC) in pdo_dblib_transaction_cmd()
188 static int dblib_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in dblib_handle_begin()
193 static int dblib_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) in dblib_handle_commit()
198 static int dblib_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) in dblib_handle_rollback()
203 char *dblib_handle_last_id(pdo_dbh_t *dbh, const char *name, unsigned int *len TSRMLS_DC) in dblib_handle_last_id()
[all …]
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_driver.c147 pdo_dbh_t *dbh = self->dbh; in pgsql_lob_close()
514 static int pgsql_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in pgsql_handle_begin()
519 static int pgsql_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) in pgsql_handle_commit()
532 static int pgsql_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) in pgsql_handle_rollback()
541 pdo_dbh_t *dbh; in PHP_METHOD()
649 pdo_dbh_t *dbh; in PHP_METHOD()
741 pdo_dbh_t *dbh; in PHP_METHOD()
830 pdo_dbh_t *dbh; in PHP_METHOD()
903 pdo_dbh_t *dbh; in PHP_METHOD()
928 pdo_dbh_t *dbh; in PHP_METHOD()
[all …]
H A Dphp_pdo_pgsql_int.h86 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, co…
99 pdo_dbh_t *dbh;
113 php_stream *pdo_pgsql_create_lob_stream(pdo_dbh_t *stmt, int lfd, Oid oid TSRMLS_DC);
/PHP-5.5/ext/pdo_odbc/
H A Dodbc_driver.c34 static int pdo_odbc_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info TSRMLS_DC) in pdo_odbc_fetch_error_func()
59 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const c… in pdo_odbc_error()
127 static int odbc_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) in odbc_handle_closer()
145 static int odbc_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zv… in odbc_handle_preparer()
223 static long odbc_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in odbc_handle_doer()
271 static int odbc_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in odbc_handle_begin()
287 static int odbc_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) in odbc_handle_commit()
313 static int odbc_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) in odbc_handle_rollback()
339 static int odbc_handle_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) in odbc_handle_set_attr()
354 static int odbc_handle_get_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) in odbc_handle_get_attr()
[all …]
H A Dphp_pdo_odbc_int.h170 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const c…
/PHP-5.5/ext/pdo_firebird/
H A Dfirebird_driver.c36 static int firebird_alloc_prepare_stmt(pdo_dbh_t*, const char*, long, XSQLDA*, isc_stmt_handle*,
40 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, long line TSRMLS_DC) /* {{… in _firebird_error()
98 static int firebird_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in firebird_handle_closer()
135 static int firebird_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, /* {{{ */ in firebird_handle_preparer()
221 static long firebird_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) /* {{{ */ in firebird_handle_doer()
275 static int firebird_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, /* {{{ */ in firebird_handle_quoter()
315 static int firebird_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in firebird_handle_begin()
368 static int firebird_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in firebird_handle_commit()
381 static int firebird_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in firebird_handle_rollback()
394 static int firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, const char *sql, long sql_len, /* {{{ */ in firebird_alloc_prepare_stmt()
[all …]
H A Dphp_pdo_firebird_int.h131 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, long line TSRMLS_DC);
/PHP-5.5/ext/pdo_sqlite/
H A Dsqlite_driver.c155 static int sqlite_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in sqlite_handle_closer()
206 static long sqlite_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in sqlite_handle_doer()
241 static int sqlite_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in sqlite_handle_begin()
255 static int sqlite_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) in sqlite_handle_commit()
269 static int sqlite_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) in sqlite_handle_rollback()
298 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) in pdo_sqlite_set_attr()
542 pdo_dbh_t *dbh; in PHP_METHOD()
613 pdo_dbh_t *dbh; in PHP_METHOD()
675 pdo_dbh_t *dbh; in PHP_METHOD()
723 static const zend_function_entry *get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC) in get_driver_methods()
[all …]
H A Dphp_pdo_sqlite_int.h73 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC…
/PHP-5.5/ext/pdo_mysql/
H A Dmysql_driver.c46 int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC) in _pdo_mysql_error()
117 static int pdo_mysql_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info TSRMLS_DC) in pdo_mysql_fetch_error_func()
141 static int mysql_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_closer()
256 static long mysql_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in mysql_handle_doer()
318 static int mysql_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_begin()
327 static int mysql_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_commit()
340 static int mysql_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_rollback()
353 static inline int mysql_handle_autocommit(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_autocommit()
371 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) in pdo_mysql_set_attribute()
481 static int pdo_mysql_check_liveness(pdo_dbh_t *dbh TSRMLS_DC)
[all …]
H A Dpdo_mysql.c65 pdo_dbh_t * dbh = zend_object_store_get_object(zv TSRMLS_CC); in ZEND_DECLARE_MODULE_GLOBALS()
H A Dphp_pdo_mysql_int.h150 extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC);
/PHP-5.5/ext/pdo_oci/
H A Doci_driver.c36 static int pdo_oci_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info TSRMLS_DC) /* {{{ … in pdo_oci_fetch_error_func()
198 static int oci_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in oci_handle_closer()
251 static int oci_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zva… in oci_handle_preparer()
327 static long oci_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) /* {{{ */ in oci_handle_doer()
408 static int oci_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in oci_handle_begin()
415 static int oci_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in oci_handle_commit()
429 static int oci_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in oci_handle_rollback()
443 static int oci_handle_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ in oci_handle_set_attribute()
470 static int oci_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) /* {{… in oci_handle_get_attribute()
536 static int pdo_oci_check_liveness(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in pdo_oci_check_liveness()
[all …]
H A Dphp_pdo_oci_int.h89 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini…

Completed in 70 milliseconds