/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_ps.c | 48 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() local 139 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() local 206 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() local 219 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() local 248 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in mysqlnd_stmt_skip_metadata() local 286 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in mysqlnd_stmt_read_prepare_response() local 331 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in mysqlnd_stmt_prepare_read_eof() local 376 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() local 501 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in mysqlnd_stmt_execute_parse_response() local 638 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() local [all …]
|
H A D | mysqlnd.h | 172 #define mysqlnd_stmt_num_rows(stmt) (stmt)->m->get_num_rows((stmt)) argument 173 #define mysqlnd_stmt_param_count(stmt) (stmt)->m->get_param_count((stmt)) argument 177 #define mysqlnd_stmt_errno(stmt) (stmt)->m->get_error_no((stmt)) argument 178 #define mysqlnd_stmt_error(stmt) (stmt)->m->get_error_str((stmt)) argument 179 #define mysqlnd_stmt_sqlstate(stmt) (stmt)->m->get_sqlstate((stmt)) argument 227 #define mysqlnd_stmt_get_result(stmt) (stmt)->m->get_result((stmt)) argument 229 #define mysqlnd_stmt_next_result(stmt) (stmt)->m->next_result((stmt)) argument 232 #define mysqlnd_stmt_execute(stmt) (stmt)->m->execute((stmt)) argument 246 #define mysqlnd_stmt_free_result(stmt) (stmt)->m->free_result((stmt)) argument 248 #define mysqlnd_stmt_reset(stmt) (stmt)->m->reset((stmt)) argument [all …]
|
H A D | mysqlnd_ps_codec.c | 532 mysqlnd_stmt_free_copies(MYSQLND_STMT_DATA * stmt, zval *copies) in mysqlnd_stmt_free_copies() 575 mysqlnd_stmt_execute_prepare_param_types(MYSQLND_STMT_DATA * stmt, zval ** copies_param, int * rese… in mysqlnd_stmt_execute_prepare_param_types() 632 mysqlnd_stmt_execute_store_types(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar ** p) in mysqlnd_stmt_execute_store_types() 676 mysqlnd_stmt_execute_calculate_param_values_size(MYSQLND_STMT_DATA * stmt, zval ** copies_param, si… in mysqlnd_stmt_execute_calculate_param_values_size() 767 mysqlnd_stmt_execute_store_param_values(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar * buf, … in mysqlnd_stmt_execute_store_param_values() 834 MYSQLND_STMT_DATA * stmt = s->data; in mysqlnd_stmt_execute_store_params() local 910 MYSQLND_STMT_DATA * stmt = s->data; in mysqlnd_stmt_execute_generate_request() local
|
H A D | mysqlnd_driver.c | 193 MYSQLND_STMT_DATA * stmt = NULL; in MYSQLND_METHOD() local
|
/PHP-7.1/ext/pdo_mysql/ |
H A D | mysql_statement.c | 38 # define pdo_mysql_stmt_close(stmt) mysqlnd_stmt_close(stmt, 0) argument 42 # define pdo_mysql_stmt_close(stmt) mysql_stmt_close(stmt) argument 47 static int pdo_mysql_stmt_dtor(pdo_stmt_t *stmt) /* {{{ */ in pdo_mysql_stmt_dtor() 118 static void pdo_mysql_stmt_set_row_count(pdo_stmt_t *stmt) /* {{{ */ in pdo_mysql_stmt_set_row_count() 129 static int pdo_mysql_fill_stmt_from_result(pdo_stmt_t *stmt) /* {{{ */ in pdo_mysql_fill_stmt_from_result() 163 static int pdo_mysql_stmt_execute_prepared_libmysql(pdo_stmt_t *stmt) /* {{{ */ in pdo_mysql_stmt_execute_prepared_libmysql() 274 static int pdo_mysql_stmt_execute_prepared_mysqlnd(pdo_stmt_t *stmt) /* {{{ */ in pdo_mysql_stmt_execute_prepared_mysqlnd() 316 static int pdo_mysql_stmt_execute(pdo_stmt_t *stmt) /* {{{ */ in pdo_mysql_stmt_execute() 342 static int pdo_mysql_stmt_next_rowset(pdo_stmt_t *stmt) /* {{{ */ in pdo_mysql_stmt_next_rowset() 678 static int pdo_mysql_stmt_describe(pdo_stmt_t *stmt, int colno) /* {{{ */ [all …]
|
H A D | mysql_driver.c | 46 int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line) in _pdo_mysql_error() 117 static int pdo_mysql_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_mysql_fetch_error_func() 162 static int mysql_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, pdo_stmt_t *stmt,… in mysql_handle_preparer()
|
H A D | php_pdo_mysql_int.h | 135 MYSQLND_STMT *stmt; member 137 MYSQL_STMT *stmt; member
|
/PHP-7.1/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 34 static int pdo_sqlite_stmt_dtor(pdo_stmt_t *stmt) in pdo_sqlite_stmt_dtor() 46 static int pdo_sqlite_stmt_execute(pdo_stmt_t *stmt) in pdo_sqlite_stmt_execute() 78 static int pdo_sqlite_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, in pdo_sqlite_stmt_param_hook() 201 static int pdo_sqlite_stmt_fetch(pdo_stmt_t *stmt, in pdo_sqlite_stmt_fetch() 234 static int pdo_sqlite_stmt_describe(pdo_stmt_t *stmt, int colno) in pdo_sqlite_stmt_describe() 264 static int pdo_sqlite_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, zend_ulong *len, int *c… in pdo_sqlite_stmt_get_col() 293 static int pdo_sqlite_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) in pdo_sqlite_stmt_col_meta() 348 static int pdo_sqlite_stmt_cursor_closer(pdo_stmt_t *stmt) in pdo_sqlite_stmt_cursor_closer()
|
H A D | sqlite_driver.c | 34 int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line) /* {{{ */ in _pdo_sqlite_error() 89 static int pdo_sqlite_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_sqlite_fetch_error_func() 178 static int sqlite_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, pdo_stmt_t *stmt… in sqlite_handle_preparer()
|
/PHP-7.1/ext/pdo_dblib/ |
H A D | dblib_stmt.c | 98 static int pdo_dblib_stmt_cursor_closer(pdo_stmt_t *stmt) in pdo_dblib_stmt_cursor_closer() 111 static int pdo_dblib_stmt_dtor(pdo_stmt_t *stmt) in pdo_dblib_stmt_dtor() 122 static int pdo_dblib_stmt_next_rowset_no_cancel(pdo_stmt_t *stmt) in pdo_dblib_stmt_next_rowset_no_cancel() 145 static int pdo_dblib_stmt_next_rowset(pdo_stmt_t *stmt) in pdo_dblib_stmt_next_rowset() 166 static int pdo_dblib_stmt_execute(pdo_stmt_t *stmt) in pdo_dblib_stmt_execute() 192 static int pdo_dblib_stmt_fetch(pdo_stmt_t *stmt, in pdo_dblib_stmt_fetch() 215 static int pdo_dblib_stmt_describe(pdo_stmt_t *stmt, int colno) in pdo_dblib_stmt_describe() 255 static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, 440 static int pdo_dblib_stmt_get_column_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value)
|
H A D | dblib_driver.c | 38 static int dblib_fetch_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in dblib_fetch_error() 101 static int dblib_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, pdo_stmt_t *stmt,… in dblib_handle_preparer()
|
/PHP-7.1/ext/pdo_firebird/ |
H A D | firebird_statement.c | 33 #define RECORD_ERROR(stmt) _firebird_error(NULL, stmt, __FILE__, __LINE__) argument 51 static int firebird_stmt_dtor(pdo_stmt_t *stmt) /* {{{ */ in firebird_stmt_dtor() 87 static int firebird_stmt_execute(pdo_stmt_t *stmt) /* {{{ */ in firebird_stmt_execute() 168 static int firebird_stmt_fetch(pdo_stmt_t *stmt, /* {{{ */ in firebird_stmt_fetch() 198 static int firebird_stmt_describe(pdo_stmt_t *stmt, int colno) /* {{{ */ in firebird_stmt_describe() 248 static int firebird_fetch_blob(pdo_stmt_t *stmt, int colno, char **ptr, /* {{{ */ in firebird_fetch_blob() 325 static int firebird_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, /* {{{ */ in firebird_stmt_get_col() 446 static int firebird_bind_blob(pdo_stmt_t *stmt, ISC_QUAD *blob_id, zval *param) in firebird_bind_blob() 709 static int firebird_stmt_set_attribute(pdo_stmt_t *stmt, zend_long attr, zval *val) /* {{{ */ in firebird_stmt_set_attribute() 730 static int firebird_stmt_get_attribute(pdo_stmt_t *stmt, zend_long attr, zval *val) /* {{{ */ in firebird_stmt_get_attribute() [all …]
|
H A D | firebird_driver.c | 38 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, zend_long line) /* {{{ */ in _firebird_error() 134 pdo_stmt_t *stmt, zval *driver_options) in firebird_handle_preparer() 222 isc_stmt_handle stmt = PDO_FIREBIRD_HANDLE_INITIALIZER; in firebird_handle_doer() local 619 static int pdo_firebird_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) /* {{{ */ in pdo_firebird_fetch_error_func()
|
/PHP-7.1/ext/pdo_odbc/ |
H A D | odbc_stmt.c | 60 static int pdo_odbc_utf82ucs2(pdo_stmt_t *stmt, int is_unicode, const char *buf, in pdo_odbc_utf82ucs2() 95 static int pdo_odbc_ucs22utf8(pdo_stmt_t *stmt, int is_unicode, const char *buf, in pdo_odbc_ucs22utf8() 126 static void free_cols(pdo_stmt_t *stmt, pdo_odbc_stmt *S) in free_cols() 141 static int odbc_stmt_dtor(pdo_stmt_t *stmt) in odbc_stmt_dtor() 162 static int odbc_stmt_execute(pdo_stmt_t *stmt) in odbc_stmt_execute() 282 static int odbc_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, in odbc_stmt_param_hook() 526 static int odbc_stmt_fetch(pdo_stmt_t *stmt, in odbc_stmt_fetch() 564 static int odbc_stmt_describe(pdo_stmt_t *stmt, int colno) in odbc_stmt_describe() 775 static int odbc_stmt_set_param(pdo_stmt_t *stmt, zend_long attr, zval *val) in odbc_stmt_set_param() 802 static int odbc_stmt_get_attr(pdo_stmt_t *stmt, zend_long attr, zval *val) in odbc_stmt_get_attr() [all …]
|
H A D | odbc_driver.c | 34 static int pdo_odbc_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) 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() 145 static int odbc_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, pdo_stmt_t *stmt, … in odbc_handle_preparer() 228 PDO_ODBC_HSTMT stmt; in odbc_handle_doer() local
|
/PHP-7.1/ext/pdo/ |
H A D | pdo_stmt.c | 193 int pdo_stmt_describe_columns(pdo_stmt_t *stmt) /* {{{ */ in pdo_stmt_describe_columns() 2014 static int pdo_stmt_do_next_rowset(pdo_stmt_t *stmt) in pdo_stmt_do_next_rowset() 2185 pdo_stmt_t *stmt = Z_PDO_STMT_P(object); in dbstmt_prop_write() local 2198 pdo_stmt_t *stmt = Z_PDO_STMT_P(object); in dbstmt_prop_delete() local 2256 pdo_stmt_t *stmt; in dbstmt_clone_obj() local 2356 pdo_stmt_t *stmt = php_pdo_stmt_fetch_object(std); in pdo_dbstmt_free_storage() local 2362 pdo_stmt_t *stmt; in pdo_dbstmt_new() local 2457 pdo_stmt_t *stmt = Z_PDO_STMT_P(object); in pdo_stmt_iter_get() local 2490 pdo_stmt_t *stmt = row->stmt; in row_prop_read() local 2546 pdo_stmt_t *stmt = row->stmt; in row_prop_exists() local [all …]
|
H A D | pdo.php | 11 $stmt = $x->prepare("INSERT INTO test (NAME, VALUE) VALUES (:name, :value)"); variable 25 $stmt = null; variable 47 $stmt = $x->prepare("select NAME, VALUE from test where value like ?"); variable
|
H A D | pdo_dbh.c | 41 void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *sqlstate, const char *supp)… in pdo_raise_impl_error() 101 PDO_API void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt) /* {{{ */ in pdo_handle_error() 424 static void pdo_stmt_construct(zend_execute_data *execute_data, pdo_stmt_t *stmt, zval *object, zen… in pdo_stmt_construct() 469 pdo_stmt_t *stmt; in PHP_METHOD() local 1051 pdo_stmt_t *stmt; in PHP_METHOD() local
|
/PHP-7.1/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 61 static int pgsql_stmt_dtor(pdo_stmt_t *stmt) in pgsql_stmt_dtor() 135 static int pgsql_stmt_execute(pdo_stmt_t *stmt) in pgsql_stmt_execute() 262 static int pgsql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, in pgsql_stmt_param_hook() 417 static int pgsql_stmt_fetch(pdo_stmt_t *stmt, in pgsql_stmt_fetch() 470 static int pgsql_stmt_describe(pdo_stmt_t *stmt, int colno) in pgsql_stmt_describe() 531 static int pgsql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, zend_ulong *len, int *caller… in pgsql_stmt_get_col() 638 static int pgsql_stmt_get_column_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) in pgsql_stmt_get_column_meta() 708 static int pdo_pgsql_stmt_cursor_closer(pdo_stmt_t *stmt) in pdo_pgsql_stmt_cursor_closer()
|
/PHP-7.1/ext/mysqli/ |
H A D | mysqli_api.c | 326 MY_STMT *stmt; in PHP_FUNCTION() local 590 MY_STMT *stmt; in PHP_FUNCTION() local 863 MY_STMT *stmt; local 941 MY_STMT *stmt; local 2008 MY_STMT *stmt; local 2322 MY_STMT *stmt; local 2369 MY_STMT *stmt; local 2396 MY_STMT *stmt; local 2412 MY_STMT *stmt; local 2465 MY_STMT *stmt; local [all …]
|
H A D | mysqli_priv.h | 138 #define MYSQLI_REPORT_STMT_ERROR(stmt) \ argument
|
H A D | mysqli.c | 155 void php_clear_stmt_bind(MY_STMT *stmt) in php_clear_stmt_bind() 247 MY_STMT *stmt = (MY_STMT *)my_res->ptr; in mysqli_stmt_free_storage() local 1043 MY_STMT *stmt; in ZEND_GET_MODULE() local
|
H A D | mysqli_nonapi.c | 460 MY_STMT *stmt; local 870 MY_STMT *stmt; local 923 MY_STMT *stmt; local
|
/PHP-7.1/ext/pdo_oci/ |
H A D | oci_statement.c | 65 static int oci_stmt_dtor(pdo_stmt_t *stmt) /* {{{ */ in oci_stmt_dtor() 130 static int oci_stmt_execute(pdo_stmt_t *stmt) /* {{{ */ in oci_stmt_execute() 281 static int oci_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, enum pdo_param… in oci_stmt_param_hook() 462 static int oci_stmt_fetch(pdo_stmt_t *stmt, enum pdo_fetch_orientation ori, zend_long offset) /* {{… in oci_stmt_fetch() 525 static int oci_stmt_describe(pdo_stmt_t *stmt, int colno) /* {{{ */ in oci_stmt_describe() 635 pdo_stmt_t *stmt; member 687 pdo_stmt_t *stmt = self->stmt; in oci_blob_close() local 734 static php_stream *oci_create_lob_stream(zval *dbh, pdo_stmt_t *stmt, OCILobLocator *lob) in oci_create_lob_stream() 762 static int oci_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, size_t *len, int *caller_frees… in oci_stmt_get_col()
|
H A D | oci_driver.c | 36 static int pdo_oci_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) /* {{{ */ in pdo_oci_fetch_error_func() 60 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini… in _oci_error() 251 static int oci_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, pdo_stmt_t *stmt, z… in oci_handle_preparer() 328 OCIStmt *stmt; in oci_handle_doer() local
|