H 294 ext/gd/libgd/gd.c #define RETURN_HWB(h, w, b) {HWB->H = h; HWB->W = w; HWB->B = b; return HWB;} H 321 ext/gd/libgd/gd.c float H, W, B; H 364 ext/gd/libgd/gd.c if ((HWB1.H == HWB_UNDEFINED) || (HWB2.H == HWB_UNDEFINED)) { H 367 ext/gd/libgd/gd.c diff = fabsf(HWB1.H - HWB2.H); H 391 ext/gd/libgd/gd.c float h = HWB.H, w = HWB.W, b = HWB.B, v, n, f; H 251 ext/hash/hash_md.c (a) += H ((b), (c), (d)) + (x) + (php_hash_uint32)(ac); \ H 191 ext/hash/hash_sha.c (e) += H ((b), (c), (d)) + (w) + (php_hash_uint32)(0x8F1BBCDC); \ H 37 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 38 ext/pdo_dblib/dblib_driver.c pdo_dblib_err *einfo = &H->err; H 74 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 76 ext/pdo_dblib/dblib_driver.c if (H) { H 77 ext/pdo_dblib/dblib_driver.c if (H->link) { H 78 ext/pdo_dblib/dblib_driver.c dbclose(H->link); H 79 ext/pdo_dblib/dblib_driver.c H->link = NULL; H 81 ext/pdo_dblib/dblib_driver.c if (H->login) { H 82 ext/pdo_dblib/dblib_driver.c dbfreelogin(H->login); H 83 ext/pdo_dblib/dblib_driver.c H->login = NULL; H 85 ext/pdo_dblib/dblib_driver.c pefree(H, dbh->is_persistent); H 93 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 96 ext/pdo_dblib/dblib_driver.c S->H = H; H 107 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 110 ext/pdo_dblib/dblib_driver.c dbsetuserdata(H->link, (BYTE*)&H->err); H 112 ext/pdo_dblib/dblib_driver.c if (FAIL == dbcmd(H->link, sql)) { H 116 ext/pdo_dblib/dblib_driver.c if (FAIL == dbsqlexec(H->link)) { H 120 ext/pdo_dblib/dblib_driver.c resret = dbresults(H->link); H 126 ext/pdo_dblib/dblib_driver.c ret = dbnextrow(H->link); H 131 ext/pdo_dblib/dblib_driver.c if (dbnumcols(H->link) <= 0) { H 132 ext/pdo_dblib/dblib_driver.c return DBCOUNT(H->link); H 136 ext/pdo_dblib/dblib_driver.c dbcanquery(H->link); H 138 ext/pdo_dblib/dblib_driver.c return DBCOUNT(H->link); H 143 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H = (pdo_dblib_db_handle *)dbh->driver_data; H 186 ext/pdo_dblib/dblib_driver.c pdo_dblib_db_handle *H; H 199 ext/pdo_dblib/dblib_driver.c H = pecalloc(1, sizeof(*H), dbh->is_persistent); H 200 ext/pdo_dblib/dblib_driver.c H->login = dblogin(); H 201 ext/pdo_dblib/dblib_driver.c H->err.sqlstate = dbh->error_code; H 203 ext/pdo_dblib/dblib_driver.c if (!H->login) { H 208 ext/pdo_dblib/dblib_driver.c DBSETLUSER(H->login, dbh->username); H 211 ext/pdo_dblib/dblib_driver.c DBSETLPWD(H->login, dbh->password); H 216 ext/pdo_dblib/dblib_driver.c DBSETLCHARSET(H->login, vars[0].optval); H 220 ext/pdo_dblib/dblib_driver.c DBSETLAPP(H->login, vars[1].optval); H 223 ext/pdo_dblib/dblib_driver.c dbprocerrhandle(H->login, (EHANDLEFUNC) error_handler); H 224 ext/pdo_dblib/dblib_driver.c dbprocmsghandle(H->login, (MHANDLEFUNC) msg_handler); H 227 ext/pdo_dblib/dblib_driver.c H->link = dbopen(H->login, vars[2].optval); H 229 ext/pdo_dblib/dblib_driver.c if (H->link == NULL) { H 233 ext/pdo_dblib/dblib_driver.c if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) { H 249 ext/pdo_dblib/dblib_driver.c dbh->driver_data = H; H 72 ext/pdo_dblib/dblib_stmt.c pdo_dblib_db_handle *H = S->H; H 78 ext/pdo_dblib/dblib_stmt.c dbsetuserdata(H->link, &S->err); H 85 ext/pdo_dblib/dblib_stmt.c if (FAIL == dbcmd(H->link, stmt->active_query_string)) { H 88 ext/pdo_dblib/dblib_stmt.c if (FAIL == dbsqlexec(H->link)) { H 92 ext/pdo_dblib/dblib_stmt.c resret = dbresults(H->link); H 97 ext/pdo_dblib/dblib_stmt.c ret = dbnextrow(H->link); H 99 ext/pdo_dblib/dblib_stmt.c stmt->row_count = DBCOUNT(H->link); H 106 ext/pdo_dblib/dblib_stmt.c S->ncols = dbnumcols(H->link); H 116 ext/pdo_dblib/dblib_stmt.c S->cols[i].coltype = dbcoltype(H->link, i+1); H 117 ext/pdo_dblib/dblib_stmt.c S->cols[i].name = dbcolname(H->link, i+1); H 126 ext/pdo_dblib/dblib_stmt.c S->cols[i].source = dbcolsource(H->link, i+1); H 128 ext/pdo_dblib/dblib_stmt.c S->cols[i].maxlen = dbcollen(H->link, i+1); H 145 ext/pdo_dblib/dblib_stmt.c if (dbdatlen(H->link, i+1) == 0 && dbdata(H->link, i+1) == NULL) { H 155 ext/pdo_dblib/dblib_stmt.c val->len = dbdatlen(H->link, i+1); H 157 ext/pdo_dblib/dblib_stmt.c memcpy(val->data, dbdata(H->link, i+1), val->len); H 163 ext/pdo_dblib/dblib_stmt.c val->len = 32 + (2 * dbdatlen(H->link, i+1)); H 166 ext/pdo_dblib/dblib_stmt.c val->len = dbconvert(NULL, S->cols[i].coltype, dbdata(H->link, i+1), H 167 ext/pdo_dblib/dblib_stmt.c dbdatlen(H->link, i+1), SQLCHAR, val->data, val->len); H 182 ext/pdo_dblib/dblib_stmt.c ret = dbnextrow(H->link); H 185 ext/pdo_dblib/dblib_stmt.c dbclrbuf(H->link, DBLASTROW(H->link)-1); H 191 ext/pdo_dblib/dblib_stmt.c dbresults(H->link); H 193 ext/pdo_dblib/dblib_stmt.c dbcanquery(H->link); H 129 ext/pdo_dblib/php_pdo_dblib_int.h pdo_dblib_db_handle *H; H 42 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = stmt ? ((pdo_firebird_stmt *)stmt->driver_data)->H H 48 ext/pdo_firebird/firebird_driver.c switch (isc_sqlcode(H->isc_status)) { H 99 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 103 ext/pdo_firebird/firebird_driver.c if (isc_commit_transaction(H->isc_status, &H->tr)) { H 107 ext/pdo_firebird/firebird_driver.c if (isc_rollback_transaction(H->isc_status, &H->tr)) { H 113 ext/pdo_firebird/firebird_driver.c if (isc_detach_database(H->isc_status, &H->db)) { H 117 ext/pdo_firebird/firebird_driver.c pefree(H, dbh->is_persistent); H 127 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 150 ext/pdo_firebird/firebird_driver.c S->H = H; H 158 ext/pdo_firebird/firebird_driver.c if (isc_dsql_sql_info(H->isc_status, &s, sizeof(info), const_cast(info), sizeof(result), H 165 ext/pdo_firebird/firebird_driver.c if (isc_dsql_describe(H->isc_status, &s, PDO_FB_SQLDA_VERSION, &S->out_sqlda)) { H 171 ext/pdo_firebird/firebird_driver.c if (isc_dsql_describe_bind(H->isc_status, &s, PDO_FB_SQLDA_VERSION, &num_sqlda)) { H 180 ext/pdo_firebird/firebird_driver.c if (isc_dsql_describe_bind(H->isc_status, &s, PDO_FB_SQLDA_VERSION, S->in_sqlda)) { H 212 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 229 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 235 ext/pdo_firebird/firebird_driver.c if (isc_dsql_sql_info(H->isc_status, &stmt, sizeof(info_count), const_cast(info_count), H 254 ext/pdo_firebird/firebird_driver.c if (dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { H 305 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 347 ext/pdo_firebird/firebird_driver.c if (isc_start_transaction(H->isc_status, &H->tr, 1, &H->db, (unsigned short)(ptpb-tpb), tpb)) { H 358 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 360 ext/pdo_firebird/firebird_driver.c if (isc_commit_transaction(H->isc_status, &H->tr)) { H 371 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 373 ext/pdo_firebird/firebird_driver.c if (isc_rollback_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 406 ext/pdo_firebird/firebird_driver.c if (isc_dsql_allocate_statement(H->isc_status, &H->db, s)) { H 445 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 459 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 472 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 pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 515 ext/pdo_firebird/firebird_driver.c ZVAL_BOOL(val, !isc_version(&H->db, firebird_info_cb, NULL)); H 547 ext/pdo_firebird/firebird_driver.c if (!isc_version(&H->db, firebird_info_cb, (void*)tmp)) { H 559 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data; H 560 ext/pdo_firebird/firebird_driver.c ISC_STATUS *s = H->isc_status; H 574 ext/pdo_firebird/firebird_driver.c add_next_index_string(info, const_cast(H->last_app_error),1); H 607 ext/pdo_firebird/firebird_driver.c pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent); H 630 ext/pdo_firebird/firebird_driver.c if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), 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 96 ext/pdo_firebird/firebird_statement.c if (*S->name && isc_dsql_free_statement(H->isc_status, &S->stmt, DSQL_close)) { H 103 ext/pdo_firebird/firebird_statement.c isc_dsql_execute2(H->isc_status, &H->tr, &S->stmt, PDO_FB_SQLDA_VERSION, H 105 ext/pdo_firebird/firebird_statement.c || isc_dsql_execute(H->isc_status, &H->tr, &S->stmt, PDO_FB_SQLDA_VERSION, H 111 ext/pdo_firebird/firebird_statement.c if (stmt->dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { H 132 ext/pdo_firebird/firebird_statement.c pdo_firebird_db_handle *H = S->H; H 136 ext/pdo_firebird/firebird_statement.c H->last_app_error = "Cannot fetch from a closed cursor"; H 144 ext/pdo_firebird/firebird_statement.c if (isc_dsql_fetch(H->isc_status, &S->stmt, PDO_FB_SQLDA_VERSION, &S->out_sqlda)) { H 145 ext/pdo_firebird/firebird_statement.c if (H->isc_status[0] && H->isc_status[1]) { H 221 ext/pdo_firebird/firebird_statement.c pdo_firebird_db_handle *H = S->H; H 228 ext/pdo_firebird/firebird_statement.c if (isc_open_blob(H->isc_status, &H->db, &H->tr, &blobh, blob_id)) { H 233 ext/pdo_firebird/firebird_statement.c if (isc_blob_info(H->isc_status, &blobh, 1, const_cast(&bl_item), H 246 ext/pdo_firebird/firebird_statement.c H->last_app_error = "Couldn't determine BLOB size"; H 273 ext/pdo_firebird/firebird_statement.c stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]); H 278 ext/pdo_firebird/firebird_statement.c if (H->isc_status[0] == 1 && (stat != 0 && stat != isc_segstr_eof && stat != isc_segment)) { H 279 ext/pdo_firebird/firebird_statement.c H->last_app_error = "Error reading from BLOB"; H 286 ext/pdo_firebird/firebird_statement.c if (isc_close_blob(H->isc_status, &blobh)) { H 439 ext/pdo_firebird/firebird_statement.c pdo_firebird_db_handle *H = S->H; H 445 ext/pdo_firebird/firebird_statement.c if (isc_create_blob(H->isc_status, &H->db, &H->tr, &h, blob_id)) { H 458 ext/pdo_firebird/firebird_statement.c if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) { H 468 ext/pdo_firebird/firebird_statement.c if (isc_close_blob(H->isc_status, &h)) { H 488 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Invalid parameter index"; H 514 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Invalid parameter name"; H 545 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Cannot bind to array field"; H 592 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Parameter requires non-null value"; H 599 ext/pdo_firebird/firebird_statement.c S->H->last_app_error = "Binding arrays/objects is not supported"; H 654 ext/pdo_firebird/firebird_statement.c if (isc_dsql_set_cursor_name(S->H->isc_status, &S->stmt, Z_STRVAL_P(val),0)) { H 82 ext/pdo_firebird/php_pdo_firebird_int.h pdo_firebird_db_handle *H; H 47 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 58 ext/pdo_mysql/mysql_driver.c einfo = &H->einfo; H 68 ext/pdo_mysql/mysql_driver.c einfo->errcode = mysql_errno(H->server); H 81 ext/pdo_mysql/mysql_driver.c einfo->errmsg = pestrdup(mysql_error(H->server), dbh->is_persistent); H 102 ext/pdo_mysql/mysql_driver.c strcpy(*pdo_err, mysql_sqlstate(H->server)); H 120 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 121 ext/pdo_mysql/mysql_driver.c pdo_mysql_error_info *einfo = &H->einfo; H 127 ext/pdo_mysql/mysql_driver.c einfo = &H->einfo; H 140 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 142 ext/pdo_mysql/mysql_driver.c if (H) { H 143 ext/pdo_mysql/mysql_driver.c if (H->server) { H 144 ext/pdo_mysql/mysql_driver.c mysql_close(H->server); H 145 ext/pdo_mysql/mysql_driver.c H->server = NULL; H 147 ext/pdo_mysql/mysql_driver.c if (H->einfo.errmsg) { H 148 ext/pdo_mysql/mysql_driver.c pefree(H->einfo.errmsg, dbh->is_persistent); H 149 ext/pdo_mysql/mysql_driver.c H->einfo.errmsg = NULL; H 151 ext/pdo_mysql/mysql_driver.c pefree(H, dbh->is_persistent); H 160 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 169 ext/pdo_mysql/mysql_driver.c S->H = H; H 173 ext/pdo_mysql/mysql_driver.c if (H->emulate_prepare) { H 178 ext/pdo_mysql/mysql_driver.c server_version = mysql_get_server_version(H->server); H 195 ext/pdo_mysql/mysql_driver.c if (!(S->stmt = mysql_stmt_init(H->server))) { H 206 ext/pdo_mysql/mysql_driver.c if (mysql_errno(H->server) == 1295) { H 246 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 248 ext/pdo_mysql/mysql_driver.c if (mysql_real_query(H->server, sql, sql_len)) { H 252 ext/pdo_mysql/mysql_driver.c my_ulonglong c = mysql_affected_rows(H->server); H 255 ext/pdo_mysql/mysql_driver.c return (H->einfo.errcode ? -1 : 0); H 264 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 265 ext/pdo_mysql/mysql_driver.c char *id = php_pdo_int64_to_str(mysql_insert_id(H->server) TSRMLS_CC); H 272 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 274 ext/pdo_mysql/mysql_driver.c *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); H 332 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 340 ext/pdo_mysql/mysql_driver.c ZVAL_STRING(return_value, (char *)mysql_get_server_info(H->server), 1); H 344 ext/pdo_mysql/mysql_driver.c ZVAL_STRING(return_value, (char *)mysql_get_host_info(H->server), 1); H 350 ext/pdo_mysql/mysql_driver.c if ((tmp = (char *)mysql_stat(H->server))) { H 364 ext/pdo_mysql/mysql_driver.c ZVAL_LONG(return_value, H->buffered); H 368 ext/pdo_mysql/mysql_driver.c ZVAL_LONG(return_value, H->emulate_prepare); H 372 ext/pdo_mysql/mysql_driver.c ZVAL_LONG(return_value, H->max_buffer_size); H 384 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data; H 391 ext/pdo_mysql/mysql_driver.c if (mysql_ping(H->server)) { H 396 ext/pdo_mysql/mysql_driver.c mysql_stat(H->server); H 397 ext/pdo_mysql/mysql_driver.c switch (mysql_errno(H->server)) { H 436 ext/pdo_mysql/mysql_driver.c pdo_mysql_db_handle *H; H 459 ext/pdo_mysql/mysql_driver.c H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent); H 461 ext/pdo_mysql/mysql_driver.c H->einfo.errcode = 0; H 462 ext/pdo_mysql/mysql_driver.c H->einfo.errmsg = NULL; H 467 ext/pdo_mysql/mysql_driver.c if (!(H->server = mysql_init(NULL))) { H 472 ext/pdo_mysql/mysql_driver.c dbh->driver_data = H; H 473 ext/pdo_mysql/mysql_driver.c H->max_buffer_size = 1024*1024; H 474 ext/pdo_mysql/mysql_driver.c H->buffered = H->emulate_prepare = 1; H 482 ext/pdo_mysql/mysql_driver.c H->buffered = pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_USE_BUFFERED_QUERY, 1 TSRMLS_CC); H 484 ext/pdo_mysql/mysql_driver.c H->emulate_prepare = pdo_attr_lval(driver_options, H 485 ext/pdo_mysql/mysql_driver.c PDO_MYSQL_ATTR_DIRECT_QUERY, H->emulate_prepare TSRMLS_CC); H 486 ext/pdo_mysql/mysql_driver.c H->emulate_prepare = pdo_attr_lval(driver_options, H 487 ext/pdo_mysql/mysql_driver.c PDO_ATTR_EMULATE_PREPARES, H->emulate_prepare TSRMLS_CC); H 489 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 491 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_OPT_CONNECT_TIMEOUT, (const char *)&connect_timeout)) { H 500 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_OPT_LOCAL_INFILE, (const char *)&local_infile)) { H 510 ext/pdo_mysql/mysql_driver.c mysql_options(H->server, MYSQL_OPT_RECONNECT, (const char*)&reconnect); H 516 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_INIT_COMMAND, (const char *)init_cmd)) { H 526 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_READ_DEFAULT_FILE, (const char *)default_file)) { H 536 ext/pdo_mysql/mysql_driver.c if (mysql_options(H->server, MYSQL_READ_DEFAULT_GROUP, (const char *)default_group)) { H 553 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 562 ext/pdo_mysql/mysql_driver.c H->attached = 1; H 71 ext/pdo_mysql/mysql_statement.c if (S->H->server) { H 72 ext/pdo_mysql/mysql_statement.c while (mysql_more_results(S->H->server)) { H 74 ext/pdo_mysql/mysql_statement.c if (mysql_next_result(S->H->server) != 0) { H 78 ext/pdo_mysql/mysql_statement.c res = mysql_store_result(S->H->server); H 92 ext/pdo_mysql/mysql_statement.c pdo_mysql_db_handle *H = S->H; H 113 ext/pdo_mysql/mysql_statement.c int calc_max_length = H->buffered && S->max_length == 1; H 160 ext/pdo_mysql/mysql_statement.c if (S->bound_result[i].buffer_length > H->max_buffer_size) { H 161 ext/pdo_mysql/mysql_statement.c S->bound_result[i].buffer_length = H->max_buffer_size; H 196 ext/pdo_mysql/mysql_statement.c if (H->buffered) { H 215 ext/pdo_mysql/mysql_statement.c if (mysql_real_query(H->server, stmt->active_query_string, stmt->active_query_stringlen) != 0) { H 220 ext/pdo_mysql/mysql_statement.c row_count = mysql_affected_rows(H->server); H 224 ext/pdo_mysql/mysql_statement.c if (!H->buffered) { H 225 ext/pdo_mysql/mysql_statement.c S->result = mysql_use_result(H->server); H 227 ext/pdo_mysql/mysql_statement.c S->result = mysql_store_result(H->server); H 252 ext/pdo_mysql/mysql_statement.c pdo_mysql_db_handle *H = S->H; H 267 ext/pdo_mysql/mysql_statement.c ret = mysql_next_result(H->server); H 276 ext/pdo_mysql/mysql_statement.c if (!H->buffered) { H 277 ext/pdo_mysql/mysql_statement.c S->result = mysql_use_result(H->server); H 280 ext/pdo_mysql/mysql_statement.c S->result = mysql_store_result(H->server); H 281 ext/pdo_mysql/mysql_statement.c if ((my_ulonglong)-1 == (row_count = mysql_affected_rows(H->server))) { H 420 ext/pdo_mysql/mysql_statement.c if (mysql_errno(S->H->server)) { H 608 ext/pdo_mysql/mysql_statement.c if (!S->H->buffered) { H 619 ext/pdo_mysql/mysql_statement.c while (mysql_more_results(S->H->server)) { H 621 ext/pdo_mysql/mysql_statement.c if (mysql_next_result(S->H->server) != 0) { H 624 ext/pdo_mysql/mysql_statement.c res = mysql_store_result(S->H->server); H 52 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 78 ext/pdo_oci/oci_driver.c einfo = &H->einfo; H 154 ext/pdo_oci/oci_driver.c H->attached = 0; H 167 ext/pdo_oci/oci_driver.c if (H->einfo.errmsg) { H 168 ext/pdo_oci/oci_driver.c pefree(H->einfo.errmsg, dbh->is_persistent); H 170 ext/pdo_oci/oci_driver.c H->einfo = *einfo; H 171 ext/pdo_oci/oci_driver.c H->einfo.errmsg = einfo->errmsg ? pestrdup(einfo->errmsg, dbh->is_persistent) : NULL; H 187 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 189 ext/pdo_oci/oci_driver.c if (H->svc) { H 191 ext/pdo_oci/oci_driver.c OCITransRollback(H->svc, H->err, 0); H 194 ext/pdo_oci/oci_driver.c if (H->session) { H 195 ext/pdo_oci/oci_driver.c OCIHandleFree(H->session, OCI_HTYPE_SESSION); H 196 ext/pdo_oci/oci_driver.c H->session = NULL; H 199 ext/pdo_oci/oci_driver.c if (H->svc) { H 200 ext/pdo_oci/oci_driver.c OCIHandleFree(H->svc, OCI_HTYPE_SVCCTX); H 201 ext/pdo_oci/oci_driver.c H->svc = NULL; H 204 ext/pdo_oci/oci_driver.c if (H->server && H->attached) { H 205 ext/pdo_oci/oci_driver.c H->last_err = OCIServerDetach(H->server, H->err, OCI_DEFAULT); H 206 ext/pdo_oci/oci_driver.c if (H->last_err) { H 209 ext/pdo_oci/oci_driver.c H->attached = 0; H 212 ext/pdo_oci/oci_driver.c if (H->server) { H 213 ext/pdo_oci/oci_driver.c OCIHandleFree(H->server, OCI_HTYPE_SERVER); H 214 ext/pdo_oci/oci_driver.c H->server = NULL; H 217 ext/pdo_oci/oci_driver.c OCIHandleFree(H->err, OCI_HTYPE_ERROR); H 218 ext/pdo_oci/oci_driver.c H->err = NULL; H 220 ext/pdo_oci/oci_driver.c if (H->charset && H->env) { H 221 ext/pdo_oci/oci_driver.c OCIHandleFree(H->env, OCI_HTYPE_ENV); H 222 ext/pdo_oci/oci_driver.c H->env = NULL; H 225 ext/pdo_oci/oci_driver.c if (H->einfo.errmsg) { H 226 ext/pdo_oci/oci_driver.c pefree(H->einfo.errmsg, dbh->is_persistent); H 227 ext/pdo_oci/oci_driver.c H->einfo.errmsg = NULL; H 230 ext/pdo_oci/oci_driver.c pefree(H, dbh->is_persistent); H 238 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 253 ext/pdo_oci/oci_driver.c S->H = H; H 269 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid*)&S->stmt, OCI_HTYPE_STMT, 0, NULL); H 272 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid*)&S->err, OCI_HTYPE_ERROR, 0, NULL); H 275 ext/pdo_oci/oci_driver.c H->last_err = OCIStmtPrepare(S->stmt, H->err, (text*)sql, sql_len, OCI_NTV_SYNTAX, OCI_DEFAULT); H 280 ext/pdo_oci/oci_driver.c if (H->last_err) { H 281 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCIStmtPrepare"); H 292 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0, H 293 ext/pdo_oci/oci_driver.c OCI_ATTR_PREFETCH_ROWS, H->err); H 294 ext/pdo_oci/oci_driver.c if (!H->last_err) { H 296 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0, H 297 ext/pdo_oci/oci_driver.c OCI_ATTR_PREFETCH_MEMORY, H->err); H 314 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 320 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid*)&stmt, OCI_HTYPE_STMT, 0, NULL); H 322 ext/pdo_oci/oci_driver.c H->last_err = OCIStmtPrepare(stmt, H->err, (text*)sql, sql_len, OCI_NTV_SYNTAX, OCI_DEFAULT); H 323 ext/pdo_oci/oci_driver.c if (H->last_err) { H 324 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCIStmtPrepare"); H 329 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrGet(stmt, OCI_HTYPE_STMT, &stmt_type, 0, OCI_ATTR_STMT_TYPE, H->err); H 339 ext/pdo_oci/oci_driver.c H->last_err = OCIStmtExecute(H->svc, stmt, H->err, 1, 0, NULL, NULL, H 342 ext/pdo_oci/oci_driver.c if (H->last_err) { H 343 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCIStmtExecute"); H 346 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrGet(stmt, OCI_HTYPE_STMT, &rowcount, 0, OCI_ATTR_ROW_COUNT, H->err); H 402 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 404 ext/pdo_oci/oci_driver.c H->last_err = OCITransCommit(H->svc, H->err, 0); H 406 ext/pdo_oci/oci_driver.c if (H->last_err) { H 407 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCITransCommit"); H 416 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 418 ext/pdo_oci/oci_driver.c H->last_err = OCITransRollback(H->svc, H->err, 0); H 420 ext/pdo_oci/oci_driver.c if (H->last_err) { H 421 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCITransRollback"); H 430 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 435 ext/pdo_oci/oci_driver.c H->last_err = OCITransCommit(H->svc, H->err, 0); H 437 ext/pdo_oci/oci_driver.c if (H->last_err) { H 438 ext/pdo_oci/oci_driver.c H->last_err = oci_drv_error("OCITransCommit"); H 457 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; H 467 ext/pdo_oci/oci_driver.c if (OCIServerRelease(H->svc, H->err, infostr, (ub4)sizeof(infostr), (ub1)OCI_HTYPE_SVCCTX, &vernum)) H 539 ext/pdo_oci/oci_driver.c pdo_oci_db_handle *H; H 548 ext/pdo_oci/oci_driver.c H = pecalloc(1, sizeof(*H), dbh->is_persistent); H 549 ext/pdo_oci/oci_driver.c dbh->driver_data = H; H 554 ext/pdo_oci/oci_driver.c H->charset = OCINlsCharSetNameToId(pdo_oci_Env, (const oratext *)vars[0].optval); H 555 ext/pdo_oci/oci_driver.c if (!H->charset) { H 559 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 566 ext/pdo_oci/oci_driver.c if (H->env == NULL) { H 568 ext/pdo_oci/oci_driver.c H->env = pdo_oci_Env; H 572 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid **)&H->err, OCI_HTYPE_ERROR, 0, NULL); H 575 ext/pdo_oci/oci_driver.c OCIHandleAlloc(H->env, (dvoid **)&H->server, OCI_HTYPE_SERVER, 0, NULL); H 577 ext/pdo_oci/oci_driver.c H->last_err = OCIServerAttach(H->server, H->err, (text*)vars[1].optval, H 580 ext/pdo_oci/oci_driver.c if (H->last_err) { H 585 ext/pdo_oci/oci_driver.c H->attached = 1; H 588 ext/pdo_oci/oci_driver.c H->last_err = OCIHandleAlloc(H->env, (dvoid**)&H->svc, OCI_HTYPE_SVCCTX, 0, NULL); H 589 ext/pdo_oci/oci_driver.c if (H->last_err) { H 594 ext/pdo_oci/oci_driver.c H->last_err = OCIHandleAlloc(H->env, (dvoid**)&H->session, OCI_HTYPE_SESSION, 0, NULL); H 595 ext/pdo_oci/oci_driver.c if (H->last_err) { H 601 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(H->svc, OCI_HTYPE_SVCCTX, H->server, 0, OCI_ATTR_SERVER, H->err); H 602 ext/pdo_oci/oci_driver.c if (H->last_err) { H 609 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(H->session, OCI_HTYPE_SESSION, H 611 ext/pdo_oci/oci_driver.c OCI_ATTR_USERNAME, H->err); H 612 ext/pdo_oci/oci_driver.c if (H->last_err) { H 620 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(H->session, OCI_HTYPE_SESSION, H 622 ext/pdo_oci/oci_driver.c OCI_ATTR_PASSWORD, H->err); H 623 ext/pdo_oci/oci_driver.c if (H->last_err) { H 630 ext/pdo_oci/oci_driver.c H->last_err = OCISessionBegin(H->svc, H->err, H->session, OCI_CRED_RDBMS, OCI_DEFAULT); H 631 ext/pdo_oci/oci_driver.c if (H->last_err) { H 637 ext/pdo_oci/oci_driver.c H->last_err = OCIAttrSet(H->svc, OCI_HTYPE_SVCCTX, H->session, 0, OCI_ATTR_SESSION, H->err); H 638 ext/pdo_oci/oci_driver.c if (H->last_err) { H 144 ext/pdo_oci/oci_statement.c STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, H 329 ext/pdo_oci/oci_statement.c STMT_CALL(OCIDescriptorAlloc, (S->H->env, &P->thing, OCI_DTYPE_LOB, 0, NULL)); H 369 ext/pdo_oci/oci_statement.c OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); H 381 ext/pdo_oci/oci_statement.c OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); H 391 ext/pdo_oci/oci_statement.c OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, H 400 ext/pdo_oci/oci_statement.c OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); H 401 ext/pdo_oci/oci_statement.c OCILobFlushBuffer(S->H->svc, S->err, (OCILobLocator*)P->thing, 0); H 407 ext/pdo_oci/oci_statement.c OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); H 410 ext/pdo_oci/oci_statement.c OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, H 417 ext/pdo_oci/oci_statement.c OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); H 553 ext/pdo_oci/oci_statement.c STMT_CALL(OCIDescriptorAlloc, (S->H->env, (dvoid**)&S->cols[colno].data, OCI_DTYPE_LOB, 0, NULL)); H 613 ext/pdo_oci/oci_statement.c r = OCILobWrite(self->S->H->svc, self->S->err, self->lob, H 633 ext/pdo_oci/oci_statement.c r = OCILobRead(self->S->H->svc, self->S->err, self->lob, H 651 ext/pdo_oci/oci_statement.c OCILobClose(self->S->H->svc, self->S->err, self->lob); H 663 ext/pdo_oci/oci_statement.c OCILobFlushBuffer(self->S->H->svc, self->S->err, self->lob, 0); H 725 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 172 ext/pdo_odbc/odbc_driver.c rc = SQLAllocHandle(SQL_HANDLE_STMT, H->dbc, &S->stmt); H 208 ext/pdo_odbc/odbc_driver.c strcpy(H->einfo.last_err_msg, S->einfo.last_err_msg); H 209 ext/pdo_odbc/odbc_driver.c H->einfo.file = S->einfo.file; H 210 ext/pdo_odbc/odbc_driver.c H->einfo.line = S->einfo.line; H 211 ext/pdo_odbc/odbc_driver.c H->einfo.what = S->einfo.what; H 224 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 229 ext/pdo_odbc/odbc_driver.c rc = SQLAllocHandle(SQL_HANDLE_STMT, H->dbc, &stmt); H 265 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 275 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 277 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)SQL_AUTOCOMMIT_OFF, SQL_IS_INTEGER); H 288 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 291 ext/pdo_odbc/odbc_driver.c rc = SQLEndTran(SQL_HANDLE_DBC, H->dbc, SQL_COMMIT); H 303 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)SQL_AUTOCOMMIT_ON, SQL_IS_INTEGER); H 314 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; H 317 ext/pdo_odbc/odbc_driver.c rc = SQLEndTran(SQL_HANDLE_DBC, H->dbc, SQL_ROLLBACK); H 326 ext/pdo_odbc/odbc_driver.c if (dbh->auto_commit && H->dbc) { H 328 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)SQL_AUTOCOMMIT_ON, SQL_IS_INTEGER); H 373 ext/pdo_odbc/odbc_driver.c pdo_odbc_db_handle *H; H 378 ext/pdo_odbc/odbc_driver.c H = pecalloc(1, sizeof(*H), dbh->is_persistent); H 380 ext/pdo_odbc/odbc_driver.c dbh->driver_data = H; H 382 ext/pdo_odbc/odbc_driver.c SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &H->env); H 383 ext/pdo_odbc/odbc_driver.c rc = SQLSetEnvAttr(H->env, SQL_ATTR_ODBC_VERSION, (void*)SQL_OV_ODBC3, 0); H 392 ext/pdo_odbc/odbc_driver.c rc = SQLSetEnvAttr(H->env, SQL_ATTR_CP_MATCH, (void*)pdo_odbc_pool_mode, 0); H 400 ext/pdo_odbc/odbc_driver.c rc = SQLAllocHandle(SQL_HANDLE_DBC, H->env, &H->dbc); H 406 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ATTR_AUTOCOMMIT, H 415 ext/pdo_odbc/odbc_driver.c rc = SQLSetConnectAttr(H->dbc, SQL_ODBC_CURSORS, (void*)cursor_lib, SQL_IS_INTEGER); H 436 ext/pdo_odbc/odbc_driver.c rc = SQLDriverConnect(H->dbc, NULL, (char*)dbh->data_source, strlen(dbh->data_source), H 440 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 146 ext/pdo_odbc/php_pdo_odbc_int.h pdo_odbc_db_handle *H; H 64 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 66 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_error_info *einfo = &H->einfo; H 67 ext/pdo_pgsql/pgsql_driver.c char *errmsg = PQerrorMessage(H->server); H 106 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 107 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_error_info *einfo = &H->einfo; H 174 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 179 ext/pdo_pgsql/pgsql_driver.c self->conn = H->server; H 195 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 196 ext/pdo_pgsql/pgsql_driver.c if (H) { H 197 ext/pdo_pgsql/pgsql_driver.c if (H->server) { H 198 ext/pdo_pgsql/pgsql_driver.c PQfinish(H->server); H 199 ext/pdo_pgsql/pgsql_driver.c H->server = NULL; H 201 ext/pdo_pgsql/pgsql_driver.c if (H->einfo.errmsg) { H 202 ext/pdo_pgsql/pgsql_driver.c pefree(H->einfo.errmsg, dbh->is_persistent); H 203 ext/pdo_pgsql/pgsql_driver.c H->einfo.errmsg = NULL; H 205 ext/pdo_pgsql/pgsql_driver.c pefree(H, dbh->is_persistent); H 214 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 224 ext/pdo_pgsql/pgsql_driver.c S->H = H; H 251 ext/pdo_pgsql/pgsql_driver.c if (!emulate && PQprotocolVersion(H->server) > 2) { H 284 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 289 ext/pdo_pgsql/pgsql_driver.c if (!(res = PQexec(H->server, sql))) { H 300 ext/pdo_pgsql/pgsql_driver.c H->pgoid = PQoidValue(res); H 312 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, unquoted, unquotedlen, quotedlen); H 336 ext/pdo_pgsql/pgsql_driver.c *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, 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 361 ext/pdo_pgsql/pgsql_driver.c res = PQexecParams(H->server, "SELECT CURRVAL($1)", 1, NULL, q, NULL, NULL, 0); H 370 ext/pdo_pgsql/pgsql_driver.c PQescapeStringConn(H->server, name_escaped, name, l, NULL); H 373 ext/pdo_pgsql/pgsql_driver.c res = PQexec(H->server, q); H 395 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 404 ext/pdo_pgsql/pgsql_driver.c if (PQprotocolVersion(H->server) >= 3) { /* PostgreSQL 7.4 or later */ H 405 ext/pdo_pgsql/pgsql_driver.c ZVAL_STRING(return_value, (char*)PQparameterStatus(H->server, "server_version"), 1); H 409 ext/pdo_pgsql/pgsql_driver.c PGresult *res = PQexec(H->server, "SELECT VERSION()"); H 421 ext/pdo_pgsql/pgsql_driver.c switch (PQstatus(H->server)) { H 455 ext/pdo_pgsql/pgsql_driver.c int spid = PQbackendPID(H->server); H 461 ext/pdo_pgsql/pgsql_driver.c (char*)PQparameterStatus(H->server, "client_encoding"), H 462 ext/pdo_pgsql/pgsql_driver.c (char*)PQparameterStatus(H->server, "is_superuser"), H 463 ext/pdo_pgsql/pgsql_driver.c (char*)PQparameterStatus(H->server, "session_authorization"), H 464 ext/pdo_pgsql/pgsql_driver.c (char*)PQparameterStatus(H->server, "DateStyle")); H 482 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 483 ext/pdo_pgsql/pgsql_driver.c if (PQstatus(H->server) == CONNECTION_BAD) { H 484 ext/pdo_pgsql/pgsql_driver.c PQreset(H->server); H 486 ext/pdo_pgsql/pgsql_driver.c return (PQstatus(H->server) == CONNECTION_OK) ? SUCCESS : FAILURE; H 492 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data; H 496 ext/pdo_pgsql/pgsql_driver.c res = PQexec(H->server, cmd); H 527 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 533 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 534 ext/pdo_pgsql/pgsql_driver.c lfd = lo_creat(H->server, INV_READ|INV_WRITE); H 552 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 579 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 581 ext/pdo_pgsql/pgsql_driver.c lfd = lo_open(H->server, oid, mode); H 601 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 619 ext/pdo_pgsql/pgsql_driver.c H = (pdo_pgsql_db_handle *)dbh->driver_data; H 621 ext/pdo_pgsql/pgsql_driver.c if (1 == lo_unlink(H->server, oid)) { H 670 ext/pdo_pgsql/pgsql_driver.c pdo_pgsql_db_handle *H; H 675 ext/pdo_pgsql/pgsql_driver.c H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent); H 676 ext/pdo_pgsql/pgsql_driver.c dbh->driver_data = H; H 678 ext/pdo_pgsql/pgsql_driver.c H->einfo.errcode = 0; H 679 ext/pdo_pgsql/pgsql_driver.c H->einfo.errmsg = NULL; H 705 ext/pdo_pgsql/pgsql_driver.c H->server = PQconnectdb(conn_str); H 709 ext/pdo_pgsql/pgsql_driver.c if (PQstatus(H->server) != CONNECTION_OK) { H 714 ext/pdo_pgsql/pgsql_driver.c PQsetNoticeProcessor(H->server, (void(*)(void*,const char*))_pdo_pgsql_notice, (void *)&dbh); H 716 ext/pdo_pgsql/pgsql_driver.c H->attached = 1; H 717 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 140 ext/pdo_pgsql/pgsql_statement.c S->result = PQprepare(H->server, S->stmt_name, S->query, H 163 ext/pdo_pgsql/pgsql_statement.c res = PQexec(H->server, buf); H 175 ext/pdo_pgsql/pgsql_statement.c S->result = PQexecPrepared(H->server, S->stmt_name, H 188 ext/pdo_pgsql/pgsql_statement.c S->result = PQexec(H->server, q); H 191 ext/pdo_pgsql/pgsql_statement.c S->result = PQexec(H->server, stmt->active_query_string); H 207 ext/pdo_pgsql/pgsql_statement.c H->pgoid = PQoidValue(S->result); H 357 ext/pdo_pgsql/pgsql_statement.c S->result = PQexec(S->H->server, q); H 582 ext/pdo_pgsql/pgsql_statement.c int loid = lo_open(S->H->server, oid, INV_READ); H 628 ext/pdo_pgsql/pgsql_statement.c res = PQexec(S->H->server, q); H 56 ext/pdo_pgsql/php_pdo_pgsql_int.h pdo_pgsql_db_handle *H; H 56 ext/pdo_sqlite/php_pdo_sqlite_int.h pdo_sqlite_db_handle *H; H 100 ext/pdo_sqlite/sqlite/src/hash.h #define sqliteHashFirst(H) ((H)->first) H 109 ext/pdo_sqlite/sqlite/src/hash.h #define sqliteHashCount(H) ((H)->count) 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 136 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 138 ext/pdo_sqlite/sqlite_driver.c if (H) { H 139 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_error_info *einfo = &H->einfo; H 141 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_cleanup_callbacks(H TSRMLS_CC); H 142 ext/pdo_sqlite/sqlite_driver.c if (H->db) { H 143 ext/pdo_sqlite/sqlite_driver.c sqlite3_close(H->db); H 144 ext/pdo_sqlite/sqlite_driver.c H->db = NULL; H 150 ext/pdo_sqlite/sqlite_driver.c pefree(H, dbh->is_persistent); H 159 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 164 ext/pdo_sqlite/sqlite_driver.c S->H = H; H 170 ext/pdo_sqlite/sqlite_driver.c H->einfo.errcode = SQLITE_ERROR; H 175 ext/pdo_sqlite/sqlite_driver.c i = sqlite3_prepare(H->db, sql, sql_len, &S->stmt, &tail); H 187 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 190 ext/pdo_sqlite/sqlite_driver.c if (sqlite3_exec(H->db, sql, NULL, NULL, &errmsg) != SQLITE_OK) { H 197 ext/pdo_sqlite/sqlite_driver.c return sqlite3_changes(H->db); H 203 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 206 ext/pdo_sqlite/sqlite_driver.c id = php_pdo_int64_to_str(sqlite3_last_insert_rowid(H->db) TSRMLS_CC); H 222 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 225 ext/pdo_sqlite/sqlite_driver.c if (sqlite3_exec(H->db, "BEGIN", NULL, NULL, &errmsg) != SQLITE_OK) { H 236 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 239 ext/pdo_sqlite/sqlite_driver.c if (sqlite3_exec(H->db, "COMMIT", NULL, NULL, &errmsg) != SQLITE_OK) { H 250 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 253 ext/pdo_sqlite/sqlite_driver.c if (sqlite3_exec(H->db, "ROLLBACK", NULL, NULL, &errmsg) != SQLITE_OK) { H 279 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 284 ext/pdo_sqlite/sqlite_driver.c sqlite3_busy_timeout(H->db, Z_LVAL_P(val) * 1000); H 471 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H; H 489 ext/pdo_sqlite/sqlite_driver.c H = (pdo_sqlite_db_handle *)dbh->driver_data; H 493 ext/pdo_sqlite/sqlite_driver.c ret = sqlite3_create_function(H->db, func_name, argc, SQLITE_UTF8, H 504 ext/pdo_sqlite/sqlite_driver.c func->next = H->funcs; H 505 ext/pdo_sqlite/sqlite_driver.c H->funcs = func; H 543 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H; H 567 ext/pdo_sqlite/sqlite_driver.c H = (pdo_sqlite_db_handle *)dbh->driver_data; H 571 ext/pdo_sqlite/sqlite_driver.c ret = sqlite3_create_function(H->db, func_name, argc, SQLITE_UTF8, H 586 ext/pdo_sqlite/sqlite_driver.c func->next = H->funcs; H 587 ext/pdo_sqlite/sqlite_driver.c H->funcs = func; H 615 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; H 618 ext/pdo_sqlite/sqlite_driver.c if (H) { H 619 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_cleanup_callbacks(H TSRMLS_CC); H 696 ext/pdo_sqlite/sqlite_driver.c pdo_sqlite_db_handle *H; H 701 ext/pdo_sqlite/sqlite_driver.c H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent); H 703 ext/pdo_sqlite/sqlite_driver.c H->einfo.errcode = 0; H 704 ext/pdo_sqlite/sqlite_driver.c H->einfo.errmsg = NULL; H 705 ext/pdo_sqlite/sqlite_driver.c dbh->driver_data = H; H 716 ext/pdo_sqlite/sqlite_driver.c i = sqlite3_open(filename, &H->db); H 725 ext/pdo_sqlite/sqlite_driver.c sqlite3_set_authorizer(H->db, authorizer, NULL); H 731 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 98 ext/sqlite/libsqlite/src/hash.h #define sqliteHashFirst(H) ((H)->first) H 107 ext/sqlite/libsqlite/src/hash.h #define sqliteHashCount(H) ((H)->count) H 48 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H; H 95 ext/sqlite/pdo_sqlite2.c S->einfo.errcode = sqlite_compile(S->H->db, stmt->active_query_string, &tail, &S->vm, &errmsg); H 111 ext/sqlite/pdo_sqlite2.c stmt->row_count = sqlite_changes(S->H->db); H 234 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 236 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_error_info *einfo = &H->einfo; H 301 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 302 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_error_info *einfo = &H->einfo; H 322 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 324 ext/sqlite/pdo_sqlite2.c if (H) { H 325 ext/sqlite/pdo_sqlite2.c if (H->db) { H 326 ext/sqlite/pdo_sqlite2.c sqlite_close(H->db); H 327 ext/sqlite/pdo_sqlite2.c H->db = NULL; H 329 ext/sqlite/pdo_sqlite2.c if (H->einfo.errmsg) { H 330 ext/sqlite/pdo_sqlite2.c pefree(H->einfo.errmsg, dbh->is_persistent); H 331 ext/sqlite/pdo_sqlite2.c H->einfo.errmsg = NULL; H 333 ext/sqlite/pdo_sqlite2.c pefree(H, dbh->is_persistent); H 342 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 345 ext/sqlite/pdo_sqlite2.c S->H = H; H 351 ext/sqlite/pdo_sqlite2.c H->einfo.errcode = SQLITE_ERROR; H 361 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 364 ext/sqlite/pdo_sqlite2.c if ((H->einfo.errcode = sqlite_exec(H->db, sql, NULL, NULL, &errmsg)) != SQLITE_OK) { H 368 ext/sqlite/pdo_sqlite2.c return sqlite_changes(H->db); H 374 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 377 ext/sqlite/pdo_sqlite2.c id = php_pdo_int64_to_str(sqlite_last_insert_rowid(H->db) TSRMLS_CC); H 417 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 420 ext/sqlite/pdo_sqlite2.c if (sqlite_exec(H->db, "BEGIN", NULL, NULL, &errmsg) != SQLITE_OK) { H 429 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 432 ext/sqlite/pdo_sqlite2.c if (sqlite_exec(H->db, "COMMIT", NULL, NULL, &errmsg) != SQLITE_OK) { H 441 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 444 ext/sqlite/pdo_sqlite2.c if (sqlite_exec(H->db, "ROLLBACK", NULL, NULL, &errmsg) != SQLITE_OK) { H 468 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H = (pdo_sqlite2_db_handle *)dbh->driver_data; H 473 ext/sqlite/pdo_sqlite2.c sqlite_busy_timeout(H->db, Z_LVAL_P(val) * 1000); H 572 ext/sqlite/pdo_sqlite2.c pdo_sqlite2_db_handle *H; H 578 ext/sqlite/pdo_sqlite2.c H = pecalloc(1, sizeof(pdo_sqlite2_db_handle), dbh->is_persistent); H 580 ext/sqlite/pdo_sqlite2.c H->einfo.errcode = 0; H 581 ext/sqlite/pdo_sqlite2.c H->einfo.errmsg = NULL; H 582 ext/sqlite/pdo_sqlite2.c dbh->driver_data = H; H 593 ext/sqlite/pdo_sqlite2.c H->db = sqlite_open(filename, 0666, &errmsg); H 596 ext/sqlite/pdo_sqlite2.c if (!H->db) { H 601 ext/sqlite/pdo_sqlite2.c sqlite_set_authorizer(H->db, authorizer, NULL); H 606 ext/sqlite/pdo_sqlite2.c sqlite_busy_timeout(H->db, timeout * 1000); H 206 ext/standard/md5.c (a) += H ((b), (c), (d)) + (x) + (php_uint32)(ac); \ H 151 ext/standard/sha1.c (e) += H ((b), (c), (d)) + (w) + (php_uint32)(0x8F1BBCDC); \ H 543 win32/crypt_win32.c H;