H 302 ext/gd/libgd/gd.c #define RETURN_HWB(h, w, b) {HWB->H = h; HWB->W = w; HWB->B = b; return HWB;} H 329 ext/gd/libgd/gd.c float H, W, B; H 372 ext/gd/libgd/gd.c if ((HWB1.H == HWB_UNDEFINED) || (HWB2.H == HWB_UNDEFINED)) { H 375 ext/gd/libgd/gd.c diff = fabsf(HWB1.H - HWB2.H); H 399 ext/gd/libgd/gd.c float h = HWB.H, w = HWB.W, b = HWB.B, v, n, f; H 254 ext/hash/hash_md.c (a) += H ((b), (c), (d)) + (x) + (php_hash_uint32)(ac); \ H 192 ext/hash/hash_sha.c (e) += H ((b), (c), (d)) + (w) + (php_hash_uint32)(0x8F1BBCDC); \ H 40 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 41 ext/pdo_dblib/dblib_driver.c pdo_dblib_err *einfo = &H->err; H 77 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 79 ext/pdo_dblib/dblib_driver.c if (H) { H 80 ext/pdo_dblib/dblib_driver.c if (H->link) { H 81 ext/pdo_dblib/dblib_driver.c dbclose(H->link); H 82 ext/pdo_dblib/dblib_driver.c H->link = NULL; H 84 ext/pdo_dblib/dblib_driver.c if (H->login) { H 85 ext/pdo_dblib/dblib_driver.c dbfreelogin(H->login); H 86 ext/pdo_dblib/dblib_driver.c H->login = NULL; H 88 ext/pdo_dblib/dblib_driver.c pefree(H, dbh->is_persistent); H 96 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 99 ext/pdo_dblib/dblib_driver.c S->H = H; H 110 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 113 ext/pdo_dblib/dblib_driver.c dbsetuserdata(H->link, (BYTE*)&H->err); H 115 ext/pdo_dblib/dblib_driver.c if (FAIL == dbcmd(H->link, sql)) { H 119 ext/pdo_dblib/dblib_driver.c if (FAIL == dbsqlexec(H->link)) { H 123 ext/pdo_dblib/dblib_driver.c resret = dbresults(H->link); H 129 ext/pdo_dblib/dblib_driver.c ret = dbnextrow(H->link); H 134 ext/pdo_dblib/dblib_driver.c if (dbnumcols(H->link) <= 0) { H 135 ext/pdo_dblib/dblib_driver.c return DBCOUNT(H->link); H 139 ext/pdo_dblib/dblib_driver.c dbcanquery(H->link); H 141 ext/pdo_dblib/dblib_driver.c return DBCOUNT(H->link); H 146 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 174 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 177 ext/pdo_dblib/dblib_driver.c if (FAIL == dbcmd(H->link, cmd)) { H 181 ext/pdo_dblib/dblib_driver.c if (FAIL == dbsqlexec(H->link)) { H 205 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 214 ext/pdo_dblib/dblib_driver.c if (FAIL == dbcmd(H->link, "SELECT @@IDENTITY")) { H 218 ext/pdo_dblib/dblib_driver.c if (FAIL == dbsqlexec(H->link)) { H 222 ext/pdo_dblib/dblib_driver.c ret = dbresults(H->link); H 224 ext/pdo_dblib/dblib_driver.c dbcancel(H->link); H 228 ext/pdo_dblib/dblib_driver.c ret = dbnextrow(H->link); H 231 ext/pdo_dblib/dblib_driver.c dbcancel(H->link); H 235 ext/pdo_dblib/dblib_driver.c if (dbdatlen(H->link, 1) == 0) { H 236 ext/pdo_dblib/dblib_driver.c dbcancel(H->link); H 241 ext/pdo_dblib/dblib_driver.c *len = dbconvert(NULL, (dbcoltype(H->link, 1)) , (dbdata(H->link, 1)) , (dbdatlen(H->link, 1)), SQLCHAR, id, (DBINT)-1); H 243 ext/pdo_dblib/dblib_driver.c dbcancel(H->link); H 267 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H; H 304 ext/pdo_dblib/dblib_driver.c H = pecalloc(1, sizeof(*H), dbh->is_persistent); H 305 ext/pdo_dblib/dblib_driver.c H->login = dblogin(); H 306 ext/pdo_dblib/dblib_driver.c H->err.sqlstate = dbh->error_code; H 308 ext/pdo_dblib/dblib_driver.c if (!H->login) { H 312 ext/pdo_dblib/dblib_driver.c DBERRHANDLE(H->login, (EHANDLEFUNC) error_handler); H 313 ext/pdo_dblib/dblib_driver.c DBMSGHANDLE(H->login, (MHANDLEFUNC) msg_handler); H 318 ext/pdo_dblib/dblib_driver.c if(FAIL==dbsetlversion(H->login, tdsver[i].value)) { H 334 ext/pdo_dblib/dblib_driver.c if(FAIL == DBSETLUSER(H->login, dbh->username)) { H 340 ext/pdo_dblib/dblib_driver.c if(FAIL == DBSETLPWD(H->login, dbh->password)) { H 347 ext/pdo_dblib/dblib_driver.c DBSETLCHARSET(H->login, vars[0].optval); H 351 ext/pdo_dblib/dblib_driver.c DBSETLAPP(H->login, vars[1].optval); H 356 ext/pdo_dblib/dblib_driver.c if(FAIL == DBSETLDBNAME(H->login, vars[3].optval)) goto cleanup; H 360 ext/pdo_dblib/dblib_driver.c H->link = dbopen(H->login, vars[2].optval); H 362 ext/pdo_dblib/dblib_driver.c if (!H->link) { H 372 ext/pdo_dblib/dblib_driver.c if(FAIL == dbuse(H->link, vars[3].optval)) goto cleanup; H 378 ext/pdo_dblib/dblib_driver.c DBSETOPT(H->link, DBTEXTLIMIT, "2147483647"); H 382 ext/pdo_dblib/dblib_driver.c DBSETOPT(H->link, DBTEXTSIZE, "2147483647"); H 385 ext/pdo_dblib/dblib_driver.c DBSETOPT(H->link, DBQUOTEDIDENT, "1"); H 399 ext/pdo_dblib/dblib_driver.c dbh->driver_data = H; H 101 ext/pdo_dblib/dblib_stmt.c pdo_dblib_db_handle *H = S->H; H 104 ext/pdo_dblib/dblib_stmt.c dbcancel(H->link); H 127 ext/pdo_dblib/dblib_stmt.c pdo_dblib_db_handle *H = S->H; H 130 ext/pdo_dblib/dblib_stmt.c ret = dbresults(H->link); H 141 ext/pdo_dblib/dblib_stmt.c stmt->row_count = DBCOUNT(H->link); H 142 ext/pdo_dblib/dblib_stmt.c stmt->column_count = dbnumcols(H->link); H 150 ext/pdo_dblib/dblib_stmt.c pdo_dblib_db_handle *H = S->H; H 153 ext/pdo_dblib/dblib_stmt.c dbsetuserdata(H->link, (BYTE*) &S->err); H 157 ext/pdo_dblib/dblib_stmt.c if (FAIL == dbcmd(H->link, stmt->active_query_string)) { H 161 ext/pdo_dblib/dblib_stmt.c if (FAIL == dbsqlexec(H->link)) { H 167 ext/pdo_dblib/dblib_stmt.c stmt->row_count = DBCOUNT(H->link); H 168 ext/pdo_dblib/dblib_stmt.c stmt->column_count = dbnumcols(H->link); H 180 ext/pdo_dblib/dblib_stmt.c pdo_dblib_db_handle *H = S->H; H 182 ext/pdo_dblib/dblib_stmt.c ret = dbnextrow(H->link); H 199 ext/pdo_dblib/dblib_stmt.c pdo_dblib_db_handle *H = S->H; H 207 ext/pdo_dblib/dblib_stmt.c col->name = (char*)dbcolname(H->link, colno+1); H 208 ext/pdo_dblib/dblib_stmt.c col->maxlen = dbcollen(H->link, colno+1); H 220 ext/pdo_dblib/dblib_stmt.c pdo_dblib_db_handle *H = S->H; H 226 ext/pdo_dblib/dblib_stmt.c coltype = dbcoltype(H->link, colno+1); H 228 ext/pdo_dblib/dblib_stmt.c *len = dbdatlen(H->link, colno+1); H 229 ext/pdo_dblib/dblib_stmt.c *ptr = dbdata(H->link, colno+1); H 293 ext/pdo_dblib/dblib_stmt.c pdo_dblib_db_handle *H = S->H; H 302 ext/pdo_dblib/dblib_stmt.c dbtypeinfo = dbcoltypeinfo(H->link, colno+1); H 306 ext/pdo_dblib/dblib_stmt.c add_assoc_long(return_value, "max_length", dbcollen(H->link, colno+1) ); H 309 ext/pdo_dblib/dblib_stmt.c add_assoc_string(return_value, "column_source", dbcolsource(H->link, colno+1), 1); H 310 ext/pdo_dblib/dblib_stmt.c add_assoc_string(return_value, "native_type", pdo_dblib_get_field_name(dbcoltype(H->link, colno+1)), 1); H 311 ext/pdo_dblib/dblib_stmt.c add_assoc_long(return_value, "native_type_id", dbcoltype(H->link, colno+1)); H 312 ext/pdo_dblib/dblib_stmt.c add_assoc_long(return_value, "native_usertype_id", dbcolutype(H->link, colno+1)); H 119 ext/pdo_dblib/php_pdo_dblib_int.h pdo_dblib_db_handle *H; H 45 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = stmt ? ((pdo_firebird_stmt *)stmt->driver_data)->H H 51 ext/pdo_firebird/firebird_driver.c switch (isc_sqlcode(H->isc_status)) { H 102 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 106 ext/pdo_firebird/firebird_driver.c if (isc_commit_transaction(H->isc_status, &H->tr)) { H 110 ext/pdo_firebird/firebird_driver.c if (isc_rollback_transaction(H->isc_status, &H->tr)) { H 116 ext/pdo_firebird/firebird_driver.c if (isc_detach_database(H->isc_status, &H->db)) { H 120 ext/pdo_firebird/firebird_driver.c if (H->date_format) { H 121 ext/pdo_firebird/firebird_driver.c efree(H->date_format); H 123 ext/pdo_firebird/firebird_driver.c if (H->time_format) { H 124 ext/pdo_firebird/firebird_driver.c efree(H->time_format); H 126 ext/pdo_firebird/firebird_driver.c if (H->timestamp_format) { H 127 ext/pdo_firebird/firebird_driver.c efree(H->timestamp_format); H 130 ext/pdo_firebird/firebird_driver.c pefree(H, dbh->is_persistent); H 140 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 163 ext/pdo_firebird/firebird_driver.c S->H = H; H 171 ext/pdo_firebird/firebird_driver.c if (isc_dsql_sql_info(H->isc_status, &s, sizeof(info), const_cast(info), sizeof(result), H 178 ext/pdo_firebird/firebird_driver.c if (isc_dsql_describe(H->isc_status, &s, PDO_FB_SQLDA_VERSION, &S->out_sqlda)) { H 184 ext/pdo_firebird/firebird_driver.c if (isc_dsql_describe_bind(H->isc_status, &s, PDO_FB_SQLDA_VERSION, &num_sqlda)) { H 193 ext/pdo_firebird/firebird_driver.c if (isc_dsql_describe_bind(H->isc_status, &s, PDO_FB_SQLDA_VERSION, S->in_sqlda)) { H 225 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 243 ext/pdo_firebird/firebird_driver.c if (isc_dsql_execute2(H->isc_status, &H->tr, &stmt, PDO_FB_SQLDA_VERSION, &in_sqlda, &out_sqlda)) { H 249 ext/pdo_firebird/firebird_driver.c if (isc_dsql_sql_info(H->isc_status, &stmt, sizeof(info_count), const_cast(info_count), H 268 ext/pdo_firebird/firebird_driver.c if (dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { H 319 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 361 ext/pdo_firebird/firebird_driver.c if (isc_start_transaction(H->isc_status, &H->tr, 1, &H->db, (unsigned short)(ptpb-tpb), tpb)) { H 372 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 374 ext/pdo_firebird/firebird_driver.c if (isc_commit_transaction(H->isc_status, &H->tr)) { H 385 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 387 ext/pdo_firebird/firebird_driver.c if (isc_rollback_transaction(H->isc_status, &H->tr)) { H 399 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 420 ext/pdo_firebird/firebird_driver.c if (isc_dsql_allocate_statement(H->isc_status, &H->db, s)) { H 462 ext/pdo_firebird/firebird_driver.c if (isc_dsql_prepare(H->isc_status, &H->tr, s, 0, new_sql, PDO_FB_DIALECT, out_sqlda)) { H 476 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 489 ext/pdo_firebird/firebird_driver.c H->last_app_error = "Cannot enable auto-commit while a transaction is already open"; H 505 ext/pdo_firebird/firebird_driver.c H->fetch_table_names = Z_BVAL_P(val); H 510 ext/pdo_firebird/firebird_driver.c if (H->date_format) { H 511 ext/pdo_firebird/firebird_driver.c efree(H->date_format); H 513 ext/pdo_firebird/firebird_driver.c spprintf(&H->date_format, 0, "%s", Z_STRVAL_P(val)); H 518 ext/pdo_firebird/firebird_driver.c if (H->time_format) { H 519 ext/pdo_firebird/firebird_driver.c efree(H->time_format); H 521 ext/pdo_firebird/firebird_driver.c spprintf(&H->time_format, 0, "%s", Z_STRVAL_P(val)); H 526 ext/pdo_firebird/firebird_driver.c if (H->timestamp_format) { H 527 ext/pdo_firebird/firebird_driver.c efree(H->timestamp_format); H 529 ext/pdo_firebird/firebird_driver.c spprintf(&H->timestamp_format, 0, "%s", Z_STRVAL_P(val)); H 551 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 561 ext/pdo_firebird/firebird_driver.c ZVAL_BOOL(val, !isc_version(&H->db, firebird_info_cb, NULL)); H 593 ext/pdo_firebird/firebird_driver.c if (!isc_version(&H->db, firebird_info_cb, (void*)tmp)) { H 599 ext/pdo_firebird/firebird_driver.c ZVAL_BOOL(val, H->fetch_table_names); H 609 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 610 ext/pdo_firebird/firebird_driver.c ISC_STATUS *s = H->isc_status; H 622 ext/pdo_firebird/firebird_driver.c } else if (H->last_app_error) { H 624 ext/pdo_firebird/firebird_driver.c add_next_index_string(info, const_cast(H->last_app_error),1); H 657 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent); H 680 ext/pdo_firebird/firebird_driver.c if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buffer)) { H 700 ext/pdo_firebird/firebird_driver.c ISC_STATUS *s = H->isc_status; H 702 ext/pdo_firebird/firebird_driver.c zend_throw_exception_ex(php_pdo_get_exception(), H->isc_status[1] TSRMLS_CC, "SQLSTATE[%s] [%d] %s", H 703 ext/pdo_firebird/firebird_driver.c "HY000", H->isc_status[1], errmsg); H 59 ext/pdo_firebird/firebird_statement.c if (isc_dsql_free_statement(S->H->isc_status, &S->stmt, DSQL_drop)) { H 92 ext/pdo_firebird/firebird_statement.c pdo_firebird_db_handle *H = S->H; H 99 ext/pdo_firebird/firebird_statement.c if ((*S->name || S->cursor_open) && isc_dsql_free_statement(H->isc_status, &S->stmt, DSQL_close)) { H 105 ext/pdo_firebird/firebird_statement.c if (isc_dsql_execute(H->isc_status, &H->tr, &S->stmt, PDO_FB_SQLDA_VERSION, S->in_sqlda)) { H 119 ext/pdo_firebird/firebird_statement.c if (isc_dsql_sql_info(H->isc_status, &S->stmt, sizeof ( info_count), H 139 ext/pdo_firebird/firebird_statement.c if (stmt->dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { H 161 ext/pdo_firebird/firebird_statement.c pdo_firebird_db_handle *H = S->H; H 165 ext/pdo_firebird/firebird_statement.c H->last_app_error = "Cannot fetch from a closed cursor"; H 167 ext/pdo_firebird/firebird_statement.c if (isc_dsql_fetch(H->isc_status, &S->stmt, PDO_FB_SQLDA_VERSION, &S->out_sqlda)) { H 168 ext/pdo_firebird/firebird_statement.c if (H->isc_status[0] && H->isc_status[1]) { H 197 ext/pdo_firebird/firebird_statement.c colname_len = (S->H->fetch_table_names && var->relname_length) H 227 ext/pdo_firebird/firebird_statement.c pdo_firebird_db_handle *H = S->H; H 234 ext/pdo_firebird/firebird_statement.c if (isc_open_blob(H->isc_status, &H->db, &H->tr, &blobh, blob_id)) { H 239 ext/pdo_firebird/firebird_statement.c if (isc_blob_info(H->isc_status, &blobh, 1, const_cast(&bl_item), H 252 ext/pdo_firebird/firebird_statement.c H->last_app_error = "Couldn't determine BLOB size"; H 279 ext/pdo_firebird/firebird_statement.c stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]); H 284 ext/pdo_firebird/firebird_statement.c if (H->isc_status[0] == 1 && (stat != 0 && stat != isc_segstr_eof && stat != isc_segment)) { H 285 ext/pdo_firebird/firebird_statement.c H->last_app_error = "Error reading from BLOB"; H 292 ext/pdo_firebird/firebird_statement.c if (isc_close_blob(H->isc_status, &blobh)) { H 388 ext/pdo_firebird/firebird_statement.c fmt = S->H->date_format ? S->H->date_format : PDO_FB_DEF_DATE_FMT; H 392 ext/pdo_firebird/firebird_statement.c fmt = S->H->time_format ? S->H->time_format : PDO_FB_DEF_TIME_FMT; H 396 ext/pdo_firebird/firebird_statement.c fmt = S->H->timestamp_format ? S->H->timestamp_format : PDO_FB_DEF_TIMESTAMP_FMT; H 416 ext/pdo_firebird/firebird_statement.c pdo_firebird_db_handle *H = S->H; H 422 ext/pdo_firebird/firebird_statement.c if (isc_create_blob(H->isc_status, &H->db, &H->tr, &h, blob_id)) { H 435 ext/pdo_firebird/firebird_statement.c if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) { H 445 ext/pdo_firebird/firebird_statement.c if (isc_close_blob(H->isc_status, &h)) { H 465 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Invalid parameter index"; H 491 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Invalid parameter name"; H 525 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Cannot bind to array field"; H 575 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Parameter requires non-null value"; H 582 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Binding arrays/objects is not supported"; H 645 ext/pdo_firebird/firebird_statement.c if (isc_dsql_set_cursor_name(S->H->isc_status, &S->stmt, Z_STRVAL_P(val),0)) { H 680 ext/pdo_firebird/firebird_statement.c if ((*S->name || S->cursor_open) && isc_dsql_free_statement(S->H->isc_status, &S->stmt, DSQL_close)) { H 96 ext/pdo_firebird/php_pdo_firebird_int.h pdo_firebird_db_handle *H; H 48 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 61 ext/pdo_mysql/mysql_driver.c einfo = &H->einfo; H 67 ext/pdo_mysql/mysql_driver.c einfo->errcode = mysql_errno(H->server); H 93 ext/pdo_mysql/mysql_driver.c einfo->errmsg = pestrdup(mysql_error(H->server), dbh->is_persistent); H 103 ext/pdo_mysql/mysql_driver.c strcpy(*pdo_err, mysql_sqlstate(H->server)); H 119 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 120 ext/pdo_mysql/mysql_driver.c pdo_mysql_error_info *einfo = &H->einfo; H 128 ext/pdo_mysql/mysql_driver.c einfo = &H->einfo; H 143 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 147 ext/pdo_mysql/mysql_driver.c if (H) { H 148 ext/pdo_mysql/mysql_driver.c if (H->server) { H 149 ext/pdo_mysql/mysql_driver.c mysql_close(H->server); H 150 ext/pdo_mysql/mysql_driver.c H->server = NULL; H 152 ext/pdo_mysql/mysql_driver.c if (H->einfo.errmsg) { H 153 ext/pdo_mysql/mysql_driver.c pefree(H->einfo.errmsg, dbh->is_persistent); H 154 ext/pdo_mysql/mysql_driver.c H->einfo.errmsg = NULL; H 156 ext/pdo_mysql/mysql_driver.c pefree(H, dbh->is_persistent); H 166 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 177 ext/pdo_mysql/mysql_driver.c S->H = H; H 181 ext/pdo_mysql/mysql_driver.c if (H->emulate_prepare) { H 185 ext/pdo_mysql/mysql_driver.c server_version = mysql_get_server_version(H->server); H 202 ext/pdo_mysql/mysql_driver.c if (!(S->stmt = mysql_stmt_init(H->server))) { H 213 ext/pdo_mysql/mysql_driver.c if (mysql_errno(H->server) == 1295) { H 258 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 263 ext/pdo_mysql/mysql_driver.c if (mysql_real_query(H->server, sql, sql_len)) { H 267 ext/pdo_mysql/mysql_driver.c my_ulonglong c = mysql_affected_rows(H->server); H 270 ext/pdo_mysql/mysql_driver.c PDO_DBG_RETURN(H->einfo.errcode ? -1 : 0); H 275 ext/pdo_mysql/mysql_driver.c while (mysql_more_results(H->server)) { H 276 ext/pdo_mysql/mysql_driver.c if (mysql_next_result(H->server)) { H 279 ext/pdo_mysql/mysql_driver.c result = mysql_store_result(H->server); H 293 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 294 ext/pdo_mysql/mysql_driver.c char *id = php_pdo_int64_to_str(mysql_insert_id(H->server) TSRMLS_CC); H 304 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 309 ext/pdo_mysql/mysql_driver.c *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); H 419 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 430 ext/pdo_mysql/mysql_driver.c ZVAL_STRING(return_value, (char *)mysql_get_server_info(H->server), 1); H 434 ext/pdo_mysql/mysql_driver.c ZVAL_STRING(return_value, (char *)mysql_get_host_info(H->server), 1); H 441 ext/pdo_mysql/mysql_driver.c if (mysqlnd_stat(H->server, &tmp, &tmp_len) == PASS) { H 444 ext/pdo_mysql/mysql_driver.c if ((tmp = (char *)mysql_stat(H->server))) { H 458 ext/pdo_mysql/mysql_driver.c ZVAL_LONG(return_value, H->buffered); H 462 ext/pdo_mysql/mysql_driver.c ZVAL_LONG(return_value, H->emulate_prepare); H 467 ext/pdo_mysql/mysql_driver.c ZVAL_LONG(return_value, H->max_buffer_size); H 482 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 492 ext/pdo_mysql/mysql_driver.c if (mysql_ping(H->server)) { H 497 ext/pdo_mysql/mysql_driver.c mysql_stat(H->server); H 498 ext/pdo_mysql/mysql_driver.c switch (mysql_errno(H->server)) { H 538 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H; H 571 ext/pdo_mysql/mysql_driver.c H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent); H 573 ext/pdo_mysql/mysql_driver.c H->einfo.errcode = 0; H 574 ext/pdo_mysql/mysql_driver.c H->einfo.errmsg = NULL; H 579 ext/pdo_mysql/mysql_driver.c if (!(H->server = pdo_mysql_init(dbh->is_persistent))) { H 584 ext/pdo_mysql/mysql_driver.c dbh->driver_data = H; H 587 ext/pdo_mysql/mysql_driver.c H->max_buffer_size = 1024*1024; H 590 ext/pdo_mysql/mysql_driver.c H->buffered = H->emulate_prepare = 1; H 602 ext/pdo_mysql/mysql_driver.c H->buffered = pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_USE_BUFFERED_QUERY, 1 TSRMLS_CC); H 604 ext/pdo_mysql/mysql_driver.c H->emulate_prepare = pdo_attr_lval(driver_options, H 605 ext/pdo_mysql/mysql_driver.c PDO_MYSQL_ATTR_DIRECT_QUERY, H->emulate_prepare TSRMLS_CC); H 606 ext/pdo_mysql/mysql_driver.c H->emulate_prepare = pdo_attr_lval(driver_options, H 607 ext/pdo_mysql/mysql_driver.c PDO_ATTR_EMULATE_PREPARES, H->emulate_prepare TSRMLS_CC); H 610 ext/pdo_mysql/mysql_driver.c H->max_buffer_size = pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_MAX_BUFFER_SIZE, H->max_buffer_size TSRMLS_CC); H 621 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_OPT_CONNECT_TIMEOUT, (const char *)&connect_timeout)) { H 635 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_OPT_LOCAL_INFILE, (const char *)&local_infile)) { H 647 ext/pdo_mysql/mysql_driver.c mysql_options(H->server, MYSQL_OPT_RECONNECT, (const char*)&reconnect); H 652 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_INIT_COMMAND, (const char *)init_cmd)) { H 662 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_READ_DEFAULT_FILE, (const char *)default_file)) { H 672 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_READ_DEFAULT_GROUP, (const char *)default_group)) { H 682 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_OPT_COMPRESS, 0)) { H 695 ext/pdo_mysql/mysql_driver.c mysql_ssl_set(H->server, ssl_key, ssl_cert, ssl_ca, ssl_capath, ssl_cipher); H 717 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_SERVER_PUBLIC_KEY, public_key)) { H 729 ext/pdo_mysql/mysql_driver.c if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) { H 754 ext/pdo_mysql/mysql_driver.c if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_len, H 757 ext/pdo_mysql/mysql_driver.c if (mysql_real_connect(H->server, host, dbh->username, dbh->password, dbname, port, unix_socket, connect_opts) == NULL) { H 767 ext/pdo_mysql/mysql_driver.c H->attached = 1; H 92 ext/pdo_mysql/mysql_statement.c if (S->H->server) { H 93 ext/pdo_mysql/mysql_statement.c while (mysql_more_results(S->H->server)) { H 95 ext/pdo_mysql/mysql_statement.c if (mysql_next_result(S->H->server) != 0) { H 99 ext/pdo_mysql/mysql_statement.c res = mysql_store_result(S->H->server); H 131 ext/pdo_mysql/mysql_statement.c pdo_mysql_db_handle *H = S->H; H 135 ext/pdo_mysql/mysql_statement.c row_count = mysql_affected_rows(H->server); H 139 ext/pdo_mysql/mysql_statement.c if (!H->buffered) { H 140 ext/pdo_mysql/mysql_statement.c S->result = mysql_use_result(H->server); H 142 ext/pdo_mysql/mysql_statement.c S->result = mysql_store_result(H->server); H 165 ext/pdo_mysql/mysql_statement.c pdo_mysql_db_handle *H = S->H; H 188 ext/pdo_mysql/mysql_statement.c int calc_max_length = H->buffered && S->max_length == 1; H 233 ext/pdo_mysql/mysql_statement.c if (S->bound_result[i].buffer_length > H->max_buffer_size) { H 234 ext/pdo_mysql/mysql_statement.c S->bound_result[i].buffer_length = H->max_buffer_size; H 260 ext/pdo_mysql/mysql_statement.c if (H->buffered) { H 276 ext/pdo_mysql/mysql_statement.c pdo_mysql_db_handle *H = S->H; H 302 ext/pdo_mysql/mysql_statement.c if (H->buffered) { H 318 ext/pdo_mysql/mysql_statement.c pdo_mysql_db_handle *H = S->H; H 332 ext/pdo_mysql/mysql_statement.c if (mysql_real_query(H->server, stmt->active_query_string, stmt->active_query_stringlen) != 0) { H 344 ext/pdo_mysql/mysql_statement.c pdo_mysql_db_handle *H = S->H; H 350 ext/pdo_mysql/mysql_statement.c if (!H->emulate_prepare) { H 388 ext/pdo_mysql/mysql_statement.c if (H->buffered) { H 414 ext/pdo_mysql/mysql_statement.c if (!mysql_more_results(H->server)) { H 419 ext/pdo_mysql/mysql_statement.c if (mysql_next_result(H->server) == FAIL) { H 426 ext/pdo_mysql/mysql_statement.c if (mysql_next_result(H->server) > 0) { H 640 ext/pdo_mysql/mysql_statement.c if (S->result->unbuf && !S->result->unbuf->eof_reached && mysql_errno(S->H->server)) { H 642 ext/pdo_mysql/mysql_statement.c if (!S->result->eof && mysql_errno(S->H->server)) { H 680 ext/pdo_mysql/mysql_statement.c if (S->H->fetch_table_names) { H 892 ext/pdo_mysql/mysql_statement.c while (mysql_more_results(S->H->server)) { H 894 ext/pdo_mysql/mysql_statement.c if (mysql_next_result(S->H->server) != 0) { H 897 ext/pdo_mysql/mysql_statement.c res = mysql_store_result(S->H->server); H 120 ext/pdo_mysql/php_pdo_mysql_int.h pdo_mysql_db_handle *H; H 38 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 41 ext/pdo_oci/oci_driver.c einfo = &H->einfo; H 64 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 75 ext/pdo_oci/oci_driver.c einfo = &H->einfo; H 167 ext/pdo_oci/oci_driver.c H->attached = 0; H 180 ext/pdo_oci/oci_driver.c if (H->einfo.errmsg) { H 181 ext/pdo_oci/oci_driver.c pefree(H->einfo.errmsg, dbh->is_persistent); H 183 ext/pdo_oci/oci_driver.c H->einfo = *einfo; H 184 ext/pdo_oci/oci_driver.c H->einfo.errmsg = einfo->errmsg ? pestrdup(einfo->errmsg, dbh->is_persistent) : NULL; H 200 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 202 ext/pdo_oci/oci_driver.c if (H->svc) { H 204 ext/pdo_oci/oci_driver.c OCITransRollback(H->svc, H->err, 0); H 207 ext/pdo_oci/oci_driver.c if (H->session) { H 208 ext/pdo_oci/oci_driver.c OCIHandleFree(H->session, OCI_HTYPE_SESSION); H 209 ext/pdo_oci/oci_driver.c H->session = NULL; H 212 ext/pdo_oci/oci_driver.c if (H->svc) { H 213 ext/pdo_oci/oci_driver.c OCIHandleFree(H->svc, OCI_HTYPE_SVCCTX); H 214 ext/pdo_oci/oci_driver.c H->svc = NULL; H 217 ext/pdo_oci/oci_driver.c if (H->server && H->attached) { H 218 ext/pdo_oci/oci_driver.c H->last_err = OCIServerDetach(H->server, H->err, OCI_DEFAULT); H 219 ext/pdo_oci/oci_driver.c if (H->last_err) { H 222 ext/pdo_oci/oci_driver.c H->attached = 0; H 225 ext/pdo_oci/oci_driver.c if (H->server) { H 226 ext/pdo_oci/oci_driver.c OCIHandleFree(H->server, OCI_HTYPE_SERVER); H 227 ext/pdo_oci/oci_driver.c H->server = NULL; H 230 ext/pdo_oci/oci_driver.c if (H->err) { H 231 ext/pdo_oci/oci_driver.c OCIHandleFree(H->err, OCI_HTYPE_ERROR); H 232 ext/pdo_oci/oci_driver.c H->err = NULL; H 235 ext/pdo_oci/oci_driver.c if (H->charset && H->env) { H 236 ext/pdo_oci/oci_driver.c OCIHandleFree(H->env, OCI_HTYPE_ENV); H 237 ext/pdo_oci/oci_driver.c H->env = NULL; H 240 ext/pdo_oci/oci_driver.c if (H->einfo.errmsg) { H 241 ext/pdo_oci/oci_driver.c pefree(H->einfo.errmsg, dbh->is_persistent); H 242 ext/pdo_oci/oci_driver.c H->einfo.errmsg = NULL; H 245 ext/pdo_oci/oci_driver.c pefree(H, dbh->is_persistent); H 253 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 268 ext/pdo_oci/oci_driver.c S->H = H; H 284 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid*)&S->stmt, OCI_HTYPE_STMT, 0, NULL); H 287 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid*)&S->err, OCI_HTYPE_ERROR, 0, NULL); H 290 ext/pdo_oci/oci_driver.c H->last_err = OCIStmtPrepare(S->stmt, H->err, (text*)sql, sql_len, OCI_NTV_SYNTAX, OCI_DEFAULT); H 295 ext/pdo_oci/oci_driver.c if (H->last_err) { H 296 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCIStmtPrepare"); H 307 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0, H 308 ext/pdo_oci/oci_driver.c OCI_ATTR_PREFETCH_ROWS, H->err); H 309 ext/pdo_oci/oci_driver.c if (!H->last_err) { H 311 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0, H 312 ext/pdo_oci/oci_driver.c OCI_ATTR_PREFETCH_MEMORY, H->err); H 329 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 335 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid*)&stmt, OCI_HTYPE_STMT, 0, NULL); H 337 ext/pdo_oci/oci_driver.c H->last_err = OCIStmtPrepare(stmt, H->err, (text*)sql, sql_len, OCI_NTV_SYNTAX, OCI_DEFAULT); H 338 ext/pdo_oci/oci_driver.c if (H->last_err) { H 339 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCIStmtPrepare"); H 344 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrGet(stmt, OCI_HTYPE_STMT, &stmt_type, 0, OCI_ATTR_STMT_TYPE, H->err); H 354 ext/pdo_oci/oci_driver.c H->last_err = OCIStmtExecute(H->svc, stmt, H->err, 1, 0, NULL, NULL, H 357 ext/pdo_oci/oci_driver.c if (H->last_err) { H 358 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCIStmtExecute"); H 361 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrGet(stmt, OCI_HTYPE_STMT, &rowcount, 0, OCI_ATTR_ROW_COUNT, H->err); H 417 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 419 ext/pdo_oci/oci_driver.c H->last_err = OCITransCommit(H->svc, H->err, 0); H 421 ext/pdo_oci/oci_driver.c if (H->last_err) { H 422 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCITransCommit"); H 431 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 433 ext/pdo_oci/oci_driver.c H->last_err = OCITransRollback(H->svc, H->err, 0); H 435 ext/pdo_oci/oci_driver.c if (H->last_err) { H 436 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCITransRollback"); H 445 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 450 ext/pdo_oci/oci_driver.c H->last_err = OCITransCommit(H->svc, H->err, 0); H 452 ext/pdo_oci/oci_driver.c if (H->last_err) { H 453 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCITransCommit"); H 472 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 482 ext/pdo_oci/oci_driver.c if (OCIServerRelease(H->svc, H->err, infostr, (ub4)sizeof(infostr), (ub1)OCI_HTYPE_SVCCTX, &vernum)) H 538 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 545 ext/pdo_oci/oci_driver.c if (H->attached == 0) { H 557 ext/pdo_oci/oci_driver.c H->last_err = OCIPing (H->svc, H->err, OCI_DEFAULT); H 560 ext/pdo_oci/oci_driver.c H->last_err = OCIServerVersion (H->svc, H->err, (text *)version, sizeof(version), OCI_HTYPE_SVCCTX); H 562 ext/pdo_oci/oci_driver.c if (H->last_err == OCI_SUCCESS) { H 566 ext/pdo_oci/oci_driver.c OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); H 593 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H; H 602 ext/pdo_oci/oci_driver.c H = pecalloc(1, sizeof(*H), dbh->is_persistent); H 603 ext/pdo_oci/oci_driver.c dbh->driver_data = H; H 608 ext/pdo_oci/oci_driver.c H->charset = OCINlsCharSetNameToId(pdo_oci_Env, (const oratext *)vars[0].optval); H 609 ext/pdo_oci/oci_driver.c if (!H->charset) { H 613 ext/pdo_oci/oci_driver.c if (OCIEnvNlsCreate(&H->env, PDO_OCI_INIT_MODE, 0, NULL, NULL, NULL, 0, NULL, H->charset, H->charset) != OCI_SUCCESS) { H 620 ext/pdo_oci/oci_driver.c if (H->env == NULL) { H 622 ext/pdo_oci/oci_driver.c H->env = pdo_oci_Env; H 626 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid **)&H->err, OCI_HTYPE_ERROR, 0, NULL); H 629 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid **)&H->server, OCI_HTYPE_SERVER, 0, NULL); H 631 ext/pdo_oci/oci_driver.c H->last_err = OCIServerAttach(H->server, H->err, (text*)vars[1].optval, H 634 ext/pdo_oci/oci_driver.c if (H->last_err) { H 639 ext/pdo_oci/oci_driver.c H->attached = 1; H 642 ext/pdo_oci/oci_driver.c H->last_err = OCIHandleAlloc(H->env, (dvoid**)&H->svc, OCI_HTYPE_SVCCTX, 0, NULL); H 643 ext/pdo_oci/oci_driver.c if (H->last_err) { H 648 ext/pdo_oci/oci_driver.c H->last_err = OCIHandleAlloc(H->env, (dvoid**)&H->session, OCI_HTYPE_SESSION, 0, NULL); H 649 ext/pdo_oci/oci_driver.c if (H->last_err) { H 655 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(H->svc, OCI_HTYPE_SVCCTX, H->server, 0, OCI_ATTR_SERVER, H->err); H 656 ext/pdo_oci/oci_driver.c if (H->last_err) { H 663 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(H->session, OCI_HTYPE_SESSION, H 665 ext/pdo_oci/oci_driver.c OCI_ATTR_USERNAME, H->err); H 666 ext/pdo_oci/oci_driver.c if (H->last_err) { H 674 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(H->session, OCI_HTYPE_SESSION, H 676 ext/pdo_oci/oci_driver.c OCI_ATTR_PASSWORD, H->err); H 677 ext/pdo_oci/oci_driver.c if (H->last_err) { H 684 ext/pdo_oci/oci_driver.c H->last_err = OCISessionBegin(H->svc, H->err, H->session, OCI_CRED_RDBMS, OCI_DEFAULT); H 685 ext/pdo_oci/oci_driver.c if (H->last_err) { H 691 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(H->svc, OCI_HTYPE_SVCCTX, H->session, 0, OCI_ATTR_SESSION, H->err); H 692 ext/pdo_oci/oci_driver.c if (H->last_err) { H 146 ext/pdo_oci/oci_statement.c STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, H 337 ext/pdo_oci/oci_statement.c STMT_CALL(OCIDescriptorAlloc, (S->H->env, &P->thing, OCI_DTYPE_LOB, 0, NULL)); H 377 ext/pdo_oci/oci_statement.c OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); H 389 ext/pdo_oci/oci_statement.c OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); H 399 ext/pdo_oci/oci_statement.c OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, H 408 ext/pdo_oci/oci_statement.c OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); H 409 ext/pdo_oci/oci_statement.c OCILobFlushBuffer(S->H->svc, S->err, (OCILobLocator*)P->thing, 0); H 415 ext/pdo_oci/oci_statement.c OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); H 418 ext/pdo_oci/oci_statement.c OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, H 425 ext/pdo_oci/oci_statement.c OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); H 561 ext/pdo_oci/oci_statement.c STMT_CALL(OCIDescriptorAlloc, (S->H->env, (dvoid**)&S->cols[colno].data, OCI_DTYPE_LOB, 0, NULL)); H 621 ext/pdo_oci/oci_statement.c r = OCILobWrite(self->S->H->svc, self->S->err, self->lob, H 641 ext/pdo_oci/oci_statement.c r = OCILobRead(self->S->H->svc, self->S->err, self->lob, H 662 ext/pdo_oci/oci_statement.c OCILobClose(self->S->H->svc, self->S->err, self->lob); H 673 ext/pdo_oci/oci_statement.c OCILobFlushBuffer(self->S->H->svc, self->S->err, self->lob, 0); H 738 ext/pdo_oci/oci_statement.c OCILobOpen(S->H->svc, S->err, (OCILobLocator*)C->data, OCI_LOB_READONLY); H 61 ext/pdo_oci/php_pdo_oci_int.h pdo_oci_db_handle *H; H 90 ext/pdo_oci/php_pdo_oci_int.h #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__ TSRMLS_CC) H 91 ext/pdo_oci/php_pdo_oci_int.h #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__ TSRMLS_CC) H 36 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 37 ext/pdo_odbc/odbc_driver.c pdo_odbc_errinfo *einfo = &H->einfo; H 65 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle*)dbh->driver_data; H 66 ext/pdo_odbc/odbc_driver.c pdo_odbc_errinfo *einfo = &H->einfo; H 84 ext/pdo_odbc/odbc_driver.c } else if (H->dbc) { H 86 ext/pdo_odbc/odbc_driver.c eh = H->dbc; H 89 ext/pdo_odbc/odbc_driver.c eh = H->env; H 129 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle*)dbh->driver_data; H 131 ext/pdo_odbc/odbc_driver.c if (H->dbc != SQL_NULL_HANDLE) { H 132 ext/pdo_odbc/odbc_driver.c SQLEndTran(SQL_HANDLE_DBC, H->dbc, SQL_ROLLBACK); H 133 ext/pdo_odbc/odbc_driver.c SQLDisconnect(H->dbc); H 134 ext/pdo_odbc/odbc_driver.c SQLFreeHandle(SQL_HANDLE_DBC, H->dbc); H 135 ext/pdo_odbc/odbc_driver.c H->dbc = NULL; H 137 ext/pdo_odbc/odbc_driver.c SQLFreeHandle(SQL_HANDLE_ENV, H->env); H 138 ext/pdo_odbc/odbc_driver.c H->env = NULL; H 139 ext/pdo_odbc/odbc_driver.c pefree(H, dbh->is_persistent); H 148 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 155 ext/pdo_odbc/odbc_driver.c S->H = H; H 156 ext/pdo_odbc/odbc_driver.c S->assume_utf8 = H->assume_utf8; H 173 ext/pdo_odbc/odbc_driver.c rc = SQLAllocHandle(SQL_HANDLE_STMT, H->dbc, &S->stmt); H 209 ext/pdo_odbc/odbc_driver.c strcpy(H->einfo.last_err_msg, S->einfo.last_err_msg); H 210 ext/pdo_odbc/odbc_driver.c H->einfo.file = S->einfo.file; H 211 ext/pdo_odbc/odbc_driver.c H->einfo.line = S->einfo.line; H 212 ext/pdo_odbc/odbc_driver.c H->einfo.what = S->einfo.what; H 225 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 230 ext/pdo_odbc/odbc_driver.c rc = SQLAllocHandle(SQL_HANDLE_STMT, H->dbc, &stmt); H 276 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 278 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)SQL_AUTOCOMMIT_OFF, SQL_IS_INTEGER); H 289 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 292 ext/pdo_odbc/odbc_driver.c rc = SQLEndTran(SQL_HANDLE_DBC, H->dbc, SQL_COMMIT); H 304 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)SQL_AUTOCOMMIT_ON, SQL_IS_INTEGER); H 315 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 318 ext/pdo_odbc/odbc_driver.c rc = SQLEndTran(SQL_HANDLE_DBC, H->dbc, SQL_ROLLBACK); H 327 ext/pdo_odbc/odbc_driver.c if (dbh->auto_commit && H->dbc) { H 329 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)SQL_AUTOCOMMIT_ON, SQL_IS_INTEGER); H 341 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 344 ext/pdo_odbc/odbc_driver.c H->assume_utf8 = zval_is_true(val); H 347 ext/pdo_odbc/odbc_driver.c strcpy(H->einfo.last_err_msg, "Unknown Attribute"); H 348 ext/pdo_odbc/odbc_driver.c H->einfo.what = "setAttribute"; H 349 ext/pdo_odbc/odbc_driver.c strcpy(H->einfo.last_state, "IM001"); H 356 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 369 ext/pdo_odbc/odbc_driver.c ZVAL_BOOL(val, H->assume_utf8 ? 1 : 0); H 393 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H; H 398 ext/pdo_odbc/odbc_driver.c H = pecalloc(1, sizeof(*H), dbh->is_persistent); H 400 ext/pdo_odbc/odbc_driver.c dbh->driver_data = H; H 402 ext/pdo_odbc/odbc_driver.c SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &H->env); H 403 ext/pdo_odbc/odbc_driver.c rc = SQLSetEnvAttr(H->env, SQL_ATTR_ODBC_VERSION, (void*)SQL_OV_ODBC3, 0); H 412 ext/pdo_odbc/odbc_driver.c rc = SQLSetEnvAttr(H->env, SQL_ATTR_CP_MATCH, (void*)pdo_odbc_pool_mode, 0); H 420 ext/pdo_odbc/odbc_driver.c rc = SQLAllocHandle(SQL_HANDLE_DBC, H->env, &H->dbc); H 426 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, H 435 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ODBC_CURSORS, (void*)cursor_lib, SQL_IS_INTEGER); H 456 ext/pdo_odbc/odbc_driver.c rc = SQLDriverConnect(H->dbc, NULL, (char*)dbh->data_source, strlen(dbh->data_source), H 460 ext/pdo_odbc/odbc_driver.c rc = SQLConnect(H->dbc, (char*)dbh->data_source, SQL_NTS, dbh->username, SQL_NTS, dbh->password, SQL_NTS); H 150 ext/pdo_odbc/php_pdo_odbc_int.h pdo_odbc_db_handle *H; H 65 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 67 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_error_info *einfo = &H->einfo; H 68 ext/pdo_pgsql/pgsql_driver.c char *errmsg = PQerrorMessage(H->server); H 107 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 108 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_error_info *einfo = &H->einfo; H 175 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 180 ext/pdo_pgsql/pgsql_driver.c self->conn = H->server; H 196 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 197 ext/pdo_pgsql/pgsql_driver.c if (H) { H 198 ext/pdo_pgsql/pgsql_driver.c if (H->server) { H 199 ext/pdo_pgsql/pgsql_driver.c PQfinish(H->server); H 200 ext/pdo_pgsql/pgsql_driver.c H->server = NULL; H 202 ext/pdo_pgsql/pgsql_driver.c if (H->einfo.errmsg) { H 203 ext/pdo_pgsql/pgsql_driver.c pefree(H->einfo.errmsg, dbh->is_persistent); H 204 ext/pdo_pgsql/pgsql_driver.c H->einfo.errmsg = NULL; H 206 ext/pdo_pgsql/pgsql_driver.c pefree(H, dbh->is_persistent); H 215 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 225 ext/pdo_pgsql/pgsql_driver.c S->H = H; H 236 ext/pdo_pgsql/pgsql_driver.c spprintf(&S->cursor_name, 0, "pdo_crsr_%08x", ++H->stmt_counter); H 244 ext/pdo_pgsql/pgsql_driver.c if (pdo_attr_lval(driver_options, PDO_PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT, H->disable_native_prepares TSRMLS_CC) == 1 || H 245 ext/pdo_pgsql/pgsql_driver.c pdo_attr_lval(driver_options, PDO_ATTR_EMULATE_PREPARES, H->emulate_prepares TSRMLS_CC) == 1) { H 249 ext/pdo_pgsql/pgsql_driver.c emulate = H->disable_native_prepares || H->emulate_prepares; H 252 ext/pdo_pgsql/pgsql_driver.c if (!emulate && PQprotocolVersion(H->server) > 2) { H 266 ext/pdo_pgsql/pgsql_driver.c spprintf(&S->stmt_name, 0, "pdo_stmt_%08x", ++H->stmt_counter); H 285 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 290 ext/pdo_pgsql/pgsql_driver.c if (!(res = PQexec(H->server, sql))) { H 301 ext/pdo_pgsql/pgsql_driver.c H->pgoid = PQoidValue(res); H 311 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 318 ext/pdo_pgsql/pgsql_driver.c escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, (size_t)unquotedlen, &tmp_len); H 336 ext/pdo_pgsql/pgsql_driver.c *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, (size_t)unquotedlen, NULL); H 347 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 351 ext/pdo_pgsql/pgsql_driver.c if (H->pgoid == InvalidOid) { H 354 ext/pdo_pgsql/pgsql_driver.c *len = spprintf(&id, 0, "%ld", (long) H->pgoid); H 360 ext/pdo_pgsql/pgsql_driver.c res = PQexecParams(H->server, "SELECT CURRVAL($1)", 1, NULL, q, NULL, NULL, 0); H 379 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 387 ext/pdo_pgsql/pgsql_driver.c if (PQprotocolVersion(H->server) >= 3) { /* PostgreSQL 7.4 or later */ H 388 ext/pdo_pgsql/pgsql_driver.c ZVAL_STRING(return_value, (char*)PQparameterStatus(H->server, "server_version"), 1); H 391 ext/pdo_pgsql/pgsql_driver.c PGresult *res = PQexec(H->server, "SELECT VERSION()"); H 403 ext/pdo_pgsql/pgsql_driver.c switch (PQstatus(H->server)) { H 437 ext/pdo_pgsql/pgsql_driver.c int spid = PQbackendPID(H->server); H 442 ext/pdo_pgsql/pgsql_driver.c (char*)PQparameterStatus(H->server, "client_encoding"), H 443 ext/pdo_pgsql/pgsql_driver.c (char*)PQparameterStatus(H->server, "is_superuser"), H 444 ext/pdo_pgsql/pgsql_driver.c (char*)PQparameterStatus(H->server, "session_authorization"), H 445 ext/pdo_pgsql/pgsql_driver.c (char*)PQparameterStatus(H->server, "DateStyle")); H 460 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 461 ext/pdo_pgsql/pgsql_driver.c if (PQstatus(H->server) == CONNECTION_BAD) { H 462 ext/pdo_pgsql/pgsql_driver.c PQreset(H->server); H 464 ext/pdo_pgsql/pgsql_driver.c return (PQstatus(H->server) == CONNECTION_OK) ? SUCCESS : FAILURE; H 470 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 474 ext/pdo_pgsql/pgsql_driver.c res = PQexec(H->server, cmd); H 502 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 504 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 506 ext/pdo_pgsql/pgsql_driver.c return PQtransactionStatus(H->server); H 514 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 546 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 548 ext/pdo_pgsql/pgsql_driver.c while ((pgsql_result = PQgetResult(H->server))) { H 551 ext/pdo_pgsql/pgsql_driver.c pgsql_result = PQexec(H->server, query); H 559 ext/pdo_pgsql/pgsql_driver.c status = (ExecStatusType) PQstatus(H->server); H 584 ext/pdo_pgsql/pgsql_driver.c if (PQputCopyData(H->server, query, query_len) != 1) { H 595 ext/pdo_pgsql/pgsql_driver.c if (PQputCopyEnd(H->server, NULL) != 1) { H 600 ext/pdo_pgsql/pgsql_driver.c while ((pgsql_result = PQgetResult(H->server))) { H 622 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 653 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 655 ext/pdo_pgsql/pgsql_driver.c while ((pgsql_result = PQgetResult(H->server))) { H 658 ext/pdo_pgsql/pgsql_driver.c pgsql_result = PQexec(H->server, query); H 665 ext/pdo_pgsql/pgsql_driver.c status = (ExecStatusType) PQstatus(H->server); H 675 ext/pdo_pgsql/pgsql_driver.c if (PQputCopyData(H->server, buf, line_len) != 1) { H 685 ext/pdo_pgsql/pgsql_driver.c if (PQputCopyEnd(H->server, NULL) != 1) { H 690 ext/pdo_pgsql/pgsql_driver.c while ((pgsql_result = PQgetResult(H->server))) { H 714 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 734 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 742 ext/pdo_pgsql/pgsql_driver.c while ((pgsql_result = PQgetResult(H->server))) { H 751 ext/pdo_pgsql/pgsql_driver.c pgsql_result = PQexec(H->server, query); H 757 ext/pdo_pgsql/pgsql_driver.c status = (ExecStatusType) PQstatus(H->server); H 764 ext/pdo_pgsql/pgsql_driver.c int ret = PQgetCopyData(H->server, &csv, 0); H 785 ext/pdo_pgsql/pgsql_driver.c while ((pgsql_result = PQgetResult(H->server))) { H 803 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 821 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 823 ext/pdo_pgsql/pgsql_driver.c while ((pgsql_result = PQgetResult(H->server))) { H 832 ext/pdo_pgsql/pgsql_driver.c pgsql_result = PQexec(H->server, query); H 838 ext/pdo_pgsql/pgsql_driver.c status = (ExecStatusType) PQstatus(H->server); H 847 ext/pdo_pgsql/pgsql_driver.c int ret = PQgetCopyData(H->server, &csv, 0); H 859 ext/pdo_pgsql/pgsql_driver.c while ((pgsql_result = PQgetResult(H->server))) { H 876 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 882 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 883 ext/pdo_pgsql/pgsql_driver.c lfd = lo_creat(H->server, INV_READ|INV_WRITE); H 901 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 928 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 930 ext/pdo_pgsql/pgsql_driver.c lfd = lo_open(H->server, oid, mode); H 950 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 968 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 970 ext/pdo_pgsql/pgsql_driver.c if (1 == lo_unlink(H->server, oid)) { H 1002 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 1007 ext/pdo_pgsql/pgsql_driver.c H->emulate_prepares = Z_LVAL_P(val); H 1010 ext/pdo_pgsql/pgsql_driver.c H->disable_native_prepares = Z_LVAL_P(val); H 1039 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 1044 ext/pdo_pgsql/pgsql_driver.c H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent); H 1045 ext/pdo_pgsql/pgsql_driver.c dbh->driver_data = H; H 1047 ext/pdo_pgsql/pgsql_driver.c H->einfo.errcode = 0; H 1048 ext/pdo_pgsql/pgsql_driver.c H->einfo.errmsg = NULL; H 1074 ext/pdo_pgsql/pgsql_driver.c H->server = PQconnectdb(conn_str); H 1078 ext/pdo_pgsql/pgsql_driver.c if (PQstatus(H->server) != CONNECTION_OK) { H 1083 ext/pdo_pgsql/pgsql_driver.c PQsetNoticeProcessor(H->server, (void(*)(void*,const char*))_pdo_pgsql_notice, (void *)&dbh); H 1085 ext/pdo_pgsql/pgsql_driver.c H->attached = 1; H 1086 ext/pdo_pgsql/pgsql_driver.c H->pgoid = -1; H 59 ext/pdo_pgsql/pgsql_statement.c pdo_pgsql_db_handle *H = S->H; H 65 ext/pdo_pgsql/pgsql_statement.c res = PQexec(H->server, q); H 97 ext/pdo_pgsql/pgsql_statement.c pdo_pgsql_db_handle *H = S->H; H 102 ext/pdo_pgsql/pgsql_statement.c res = PQexec(H->server, q); H 121 ext/pdo_pgsql/pgsql_statement.c pdo_pgsql_db_handle *H = S->H; H 137 ext/pdo_pgsql/pgsql_statement.c S->result = PQexec(H->server, q); H 142 ext/pdo_pgsql/pgsql_statement.c S->result = PQexec(H->server, q); H 157 ext/pdo_pgsql/pgsql_statement.c S->result = PQexec(H->server, q); H 168 ext/pdo_pgsql/pgsql_statement.c S->result = PQprepare(H->server, S->stmt_name, S->query, H 191 ext/pdo_pgsql/pgsql_statement.c res = PQexec(H->server, buf); H 203 ext/pdo_pgsql/pgsql_statement.c S->result = PQexecPrepared(H->server, S->stmt_name, H 214 ext/pdo_pgsql/pgsql_statement.c S->result = PQexec(H->server, stmt->active_query_string); H 230 ext/pdo_pgsql/pgsql_statement.c H->pgoid = PQoidValue(S->result); H 405 ext/pdo_pgsql/pgsql_statement.c S->result = PQexec(S->H->server, q); H 529 ext/pdo_pgsql/pgsql_statement.c int loid = lo_open(S->H->server, oid, INV_READ); H 591 ext/pdo_pgsql/pgsql_statement.c res = PQexec(S->H->server, q); H 64 ext/pdo_pgsql/php_pdo_pgsql_int.h pdo_pgsql_db_handle *H; H 65 ext/pdo_sqlite/php_pdo_sqlite_int.h pdo_sqlite_db_handle *H; H 36 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 38 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_error_info *einfo = &H->einfo; H 40 ext/pdo_sqlite/sqlite_driver.c einfo->errcode = sqlite3_errcode(H->db); H 48 ext/pdo_sqlite/sqlite_driver.c einfo->errmsg = pestrdup((char*)sqlite3_errmsg(H->db), dbh->is_persistent); H 91 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 92 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_error_info *einfo = &H->einfo; H 102 ext/pdo_sqlite/sqlite_driver.c static void pdo_sqlite_cleanup_callbacks(pdo_sqlite_db_handle *H TSRMLS_DC) H 106 ext/pdo_sqlite/sqlite_driver.c while (H->funcs) { H 107 ext/pdo_sqlite/sqlite_driver.c func = H->funcs; H 108 ext/pdo_sqlite/sqlite_driver.c H->funcs = func->next; H 110 ext/pdo_sqlite/sqlite_driver.c if (H->db) { H 112 ext/pdo_sqlite/sqlite_driver.c sqlite3_create_function(H->db, H 133 ext/pdo_sqlite/sqlite_driver.c while (H->collations) { H 135 ext/pdo_sqlite/sqlite_driver.c collation = H->collations; H 136 ext/pdo_sqlite/sqlite_driver.c H->collations = collation->next; H 138 ext/pdo_sqlite/sqlite_driver.c if (H->db) { H 140 ext/pdo_sqlite/sqlite_driver.c sqlite3_create_collation(H->db, H 157 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 159 ext/pdo_sqlite/sqlite_driver.c if (H) { H 160 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_error_info *einfo = &H->einfo; H 162 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_cleanup_callbacks(H TSRMLS_CC); H 163 ext/pdo_sqlite/sqlite_driver.c if (H->db) { H 164 ext/pdo_sqlite/sqlite_driver.c sqlite3_close(H->db); H 165 ext/pdo_sqlite/sqlite_driver.c H->db = NULL; H 171 ext/pdo_sqlite/sqlite_driver.c pefree(H, dbh->is_persistent); H 180 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 185 ext/pdo_sqlite/sqlite_driver.c S->H = H; H 191 ext/pdo_sqlite/sqlite_driver.c H->einfo.errcode = SQLITE_ERROR; H 196 ext/pdo_sqlite/sqlite_driver.c i = sqlite3_prepare(H->db, sql, sql_len, &S->stmt, &tail); H 208 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 211 ext/pdo_sqlite/sqlite_driver.c if (sqlite3_exec(H->db, sql, NULL, NULL, &errmsg) != SQLITE_OK) { H 218 ext/pdo_sqlite/sqlite_driver.c return sqlite3_changes(H->db); H 224 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 227 ext/pdo_sqlite/sqlite_driver.c id = php_pdo_int64_to_str(sqlite3_last_insert_rowid(H->db) TSRMLS_CC); H 243 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 246 ext/pdo_sqlite/sqlite_driver.c if (sqlite3_exec(H->db, "BEGIN", NULL, NULL, &errmsg) != SQLITE_OK) { H 257 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 260 ext/pdo_sqlite/sqlite_driver.c if (sqlite3_exec(H->db, "COMMIT", NULL, NULL, &errmsg) != SQLITE_OK) { H 271 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 274 ext/pdo_sqlite/sqlite_driver.c if (sqlite3_exec(H->db, "ROLLBACK", NULL, NULL, &errmsg) != SQLITE_OK) { H 300 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 305 ext/pdo_sqlite/sqlite_driver.c sqlite3_busy_timeout(H->db, Z_LVAL_P(val) * 1000); H 543 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H; H 561 ext/pdo_sqlite/sqlite_driver.c H = (pdo_sqlite_db_handle *)dbh->driver_data; H 565 ext/pdo_sqlite/sqlite_driver.c ret = sqlite3_create_function(H->db, func_name, argc, SQLITE_UTF8, H 575 ext/pdo_sqlite/sqlite_driver.c func->next = H->funcs; H 576 ext/pdo_sqlite/sqlite_driver.c H->funcs = func; H 614 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H; H 638 ext/pdo_sqlite/sqlite_driver.c H = (pdo_sqlite_db_handle *)dbh->driver_data; H 642 ext/pdo_sqlite/sqlite_driver.c ret = sqlite3_create_function(H->db, func_name, argc, SQLITE_UTF8, H 655 ext/pdo_sqlite/sqlite_driver.c func->next = H->funcs; H 656 ext/pdo_sqlite/sqlite_driver.c H->funcs = func; H 676 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H; H 694 ext/pdo_sqlite/sqlite_driver.c H = (pdo_sqlite_db_handle *)dbh->driver_data; H 698 ext/pdo_sqlite/sqlite_driver.c ret = sqlite3_create_collation(H->db, collation_name, SQLITE_UTF8, collation, php_sqlite3_collation_callback); H 705 ext/pdo_sqlite/sqlite_driver.c collation->next = H->collations; H 706 ext/pdo_sqlite/sqlite_driver.c H->collations = collation; H 736 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 739 ext/pdo_sqlite/sqlite_driver.c if (H) { H 740 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_cleanup_callbacks(H TSRMLS_CC); H 812 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H; H 817 ext/pdo_sqlite/sqlite_driver.c H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent); H 819 ext/pdo_sqlite/sqlite_driver.c H->einfo.errcode = 0; H 820 ext/pdo_sqlite/sqlite_driver.c H->einfo.errmsg = NULL; H 821 ext/pdo_sqlite/sqlite_driver.c dbh->driver_data = H; H 832 ext/pdo_sqlite/sqlite_driver.c i = sqlite3_open(filename, &H->db); H 841 ext/pdo_sqlite/sqlite_driver.c sqlite3_set_authorizer(H->db, authorizer, NULL); H 847 ext/pdo_sqlite/sqlite_driver.c sqlite3_busy_timeout(H->db, timeout * 1000); H 63 ext/pdo_sqlite/sqlite_statement.c stmt->row_count = sqlite3_changes(S->H->db); H 7368 ext/sqlite3/libsqlite/sqlite3.c #define sqliteHashFirst(H) ((H)->first) H 111786 ext/sqlite3/libsqlite/sqlite3.c #define fts3HashFirst(H) ((H)->first) H 111795 ext/sqlite3/libsqlite/sqlite3.c #define fts3HashCount(H) ((H)->count) H 70 ext/standard/crypt_sha256.c uint32_t H[8]; H 117 ext/standard/crypt_sha256.c uint32_t a = ctx->H[0]; H 118 ext/standard/crypt_sha256.c uint32_t b = ctx->H[1]; H 119 ext/standard/crypt_sha256.c uint32_t c = ctx->H[2]; H 120 ext/standard/crypt_sha256.c uint32_t d = ctx->H[3]; H 121 ext/standard/crypt_sha256.c uint32_t e = ctx->H[4]; H 122 ext/standard/crypt_sha256.c uint32_t f = ctx->H[5]; H 123 ext/standard/crypt_sha256.c uint32_t g = ctx->H[6]; H 124 ext/standard/crypt_sha256.c uint32_t h = ctx->H[7]; H 197 ext/standard/crypt_sha256.c ctx->H[0] = a; H 198 ext/standard/crypt_sha256.c ctx->H[1] = b; H 199 ext/standard/crypt_sha256.c ctx->H[2] = c; H 200 ext/standard/crypt_sha256.c ctx->H[3] = d; H 201 ext/standard/crypt_sha256.c ctx->H[4] = e; H 202 ext/standard/crypt_sha256.c ctx->H[5] = f; H 203 ext/standard/crypt_sha256.c ctx->H[6] = g; H 204 ext/standard/crypt_sha256.c ctx->H[7] = h; H 211 ext/standard/crypt_sha256.c ctx->H[0] = 0x6a09e667; H 212 ext/standard/crypt_sha256.c ctx->H[1] = 0xbb67ae85; H 213 ext/standard/crypt_sha256.c ctx->H[2] = 0x3c6ef372; H 214 ext/standard/crypt_sha256.c ctx->H[3] = 0xa54ff53a; H 215 ext/standard/crypt_sha256.c ctx->H[4] = 0x510e527f; H 216 ext/standard/crypt_sha256.c ctx->H[5] = 0x9b05688c; H 217 ext/standard/crypt_sha256.c ctx->H[6] = 0x1f83d9ab; H 218 ext/standard/crypt_sha256.c ctx->H[7] = 0x5be0cd19; H 255 ext/standard/crypt_sha256.c ((uint32_t *) resbuf)[i] = SWAP(ctx->H[i]); H 64 ext/standard/crypt_sha512.c uint64_t H[8]; H 141 ext/standard/crypt_sha512.c uint64_t a = ctx->H[0]; H 142 ext/standard/crypt_sha512.c uint64_t b = ctx->H[1]; H 143 ext/standard/crypt_sha512.c uint64_t c = ctx->H[2]; H 144 ext/standard/crypt_sha512.c uint64_t d = ctx->H[3]; H 145 ext/standard/crypt_sha512.c uint64_t e = ctx->H[4]; H 146 ext/standard/crypt_sha512.c uint64_t f = ctx->H[5]; H 147 ext/standard/crypt_sha512.c uint64_t g = ctx->H[6]; H 148 ext/standard/crypt_sha512.c uint64_t h = ctx->H[7]; H 224 ext/standard/crypt_sha512.c ctx->H[0] = a; H 225 ext/standard/crypt_sha512.c ctx->H[1] = b; H 226 ext/standard/crypt_sha512.c ctx->H[2] = c; H 227 ext/standard/crypt_sha512.c ctx->H[3] = d; H 228 ext/standard/crypt_sha512.c ctx->H[4] = e; H 229 ext/standard/crypt_sha512.c ctx->H[5] = f; H 230 ext/standard/crypt_sha512.c ctx->H[6] = g; H 231 ext/standard/crypt_sha512.c ctx->H[7] = h; H 238 ext/standard/crypt_sha512.c ctx->H[0] = UINT64_C (0x6a09e667f3bcc908); H 239 ext/standard/crypt_sha512.c ctx->H[1] = UINT64_C (0xbb67ae8584caa73b); H 240 ext/standard/crypt_sha512.c ctx->H[2] = UINT64_C (0x3c6ef372fe94f82b); H 241 ext/standard/crypt_sha512.c ctx->H[3] = UINT64_C (0xa54ff53a5f1d36f1); H 242 ext/standard/crypt_sha512.c ctx->H[4] = UINT64_C (0x510e527fade682d1); H 243 ext/standard/crypt_sha512.c ctx->H[5] = UINT64_C (0x9b05688c2b3e6c1f); H 244 ext/standard/crypt_sha512.c ctx->H[6] = UINT64_C (0x1f83d9abfb41bd6b); H 245 ext/standard/crypt_sha512.c ctx->H[7] = UINT64_C (0x5be0cd19137e2179); H 282 ext/standard/crypt_sha512.c ((uint64_t *) resbuf)[i] = SWAP(ctx->H[i]); H 243 ext/standard/md5.c STEP(H, a, b, c, d, GET(5), 0xfffa3942, 4) H 244 ext/standard/md5.c STEP(H, d, a, b, c, GET(8), 0x8771f681, 11) H 245 ext/standard/md5.c STEP(H, c, d, a, b, GET(11), 0x6d9d6122, 16) H 246 ext/standard/md5.c STEP(H, b, c, d, a, GET(14), 0xfde5380c, 23) H 247 ext/standard/md5.c STEP(H, a, b, c, d, GET(1), 0xa4beea44, 4) H 248 ext/standard/md5.c STEP(H, d, a, b, c, GET(4), 0x4bdecfa9, 11) H 249 ext/standard/md5.c STEP(H, c, d, a, b, GET(7), 0xf6bb4b60, 16) H 250 ext/standard/md5.c STEP(H, b, c, d, a, GET(10), 0xbebfbc70, 23) H 251 ext/standard/md5.c STEP(H, a, b, c, d, GET(13), 0x289b7ec6, 4) H 252 ext/standard/md5.c STEP(H, d, a, b, c, GET(0), 0xeaa127fa, 11) H 253 ext/standard/md5.c STEP(H, c, d, a, b, GET(3), 0xd4ef3085, 16) H 254 ext/standard/md5.c STEP(H, b, c, d, a, GET(6), 0x04881d05, 23) H 255 ext/standard/md5.c STEP(H, a, b, c, d, GET(9), 0xd9d4d039, 4) H 256 ext/standard/md5.c STEP(H, d, a, b, c, GET(12), 0xe6db99e5, 11) H 257 ext/standard/md5.c STEP(H, c, d, a, b, GET(15), 0x1fa27cf8, 16) H 258 ext/standard/md5.c STEP(H, b, c, d, a, GET(2), 0xc4ac5665, 23) H 151 ext/standard/sha1.c (e) += H ((b), (c), (d)) + (w) + (php_uint32)(0x8F1BBCDC); \