Searched defs:statement (Results 1 - 11 of 11) sorted by relevance

/PHP_5_5/ext/oci8/
H A Doci8_statement.c48 php_oci_statement *statement; local
50 statement = ecalloc(1,sizeof(php_oci_statement));
54 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->stmt), OCI_HTYPE_STMT, 0, NULL));
57 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->err), OCI_HTYPE_ERROR, 0, NULL));
63 &(statement->stmt),
76 PHP_OCI_CALL(OCIStmtRelease, (statement->stmt, statement->err, NULL, 0, statement->errcode ? OCI_STRLS_CACHE_DELETE : OCI_DEFAULT));
77 PHP_OCI_CALL(OCIHandleFree,(statement->err, OCI_HTYPE_ERROR));
79 efree(statement);
114 php_oci_statement_set_prefetch(php_oci_statement *statement, long size TSRMLS_DC) argument
171 php_oci_statement_fetch(php_oci_statement *statement, ub4 nrows TSRMLS_DC) argument
306 php_oci_statement_get_column(php_oci_statement *statement, long column_index, char *column_name, int column_name_len TSRMLS_DC) argument
406 php_oci_statement_execute(php_oci_statement *statement, ub4 mode TSRMLS_DC) argument
985 php_oci_bind_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long maxlength, ub2 type TSRMLS_DC) argument
1323 php_oci_statement *statement; local
1365 php_oci_statement_get_type(php_oci_statement *statement, ub2 *type TSRMLS_DC) argument
1386 php_oci_statement_get_numrows(php_oci_statement *statement, ub4 *numrows TSRMLS_DC) argument
1407 php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long max_table_length, long maxlength, long type TSRMLS_DC) argument
[all...]
H A Dphp_oci8_int.h189 int parent_stmtid; /* parent statement id */
193 OCIStmt *stmt; /* statement handle */
194 char *last_query; /* last query issued. also used to determine if this is a statement or a refcursor received from Oracle */
200 unsigned executed:1; /* statement executed flag */
201 unsigned has_data:1; /* statement has more data flag */
202 unsigned has_descr:1; /* statement has at least one descriptor or cursor column */
203 ub2 stmttype; /* statement type */
210 OCIStmt *statement; /* used for binding REFCURSORs */ member in struct:__anon140
211 php_oci_statement *parent_statement; /* pointer to the parent statement */
228 php_oci_statement *statement; /* statemen member in struct:__anon142
[all...]
H A Doci8.c1197 le_statement = zend_register_list_destructors_ex(php_oci_statement_list_dtor, NULL, "oci8 statement", module_number);
1480 php_oci_statement *statement = (php_oci_statement *)entry->ptr; local
1481 php_oci_statement_free(statement TSRMLS_CC);
1697 * Compute offset in the SQL statement
1699 int php_oci_fetch_sqltext_offset(php_oci_statement *statement, text **sqltext, ub2 *error_offset TSRMLS_DC) argument
1705 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, (dvoid *) sqltext, (ub4 *)0, OCI_ATTR_STATEMENT, statement->err));
1708 statement->errcode = php_oci_error(statement->err, errstatus TSRMLS_CC);
1709 PHP_OCI_HANDLE_ERROR(statement
2574 php_oci_statement *statement; local
[all...]
H A Doci8_interface.c56 php_oci_statement *statement; local
68 PHP_OCI_ZVAL_TO_STATEMENT(stmt, statement);
70 if (statement->defines == NULL) {
71 ALLOC_HASHTABLE(statement->defines);
72 zend_hash_init(statement->defines, 13, NULL, php_oci_define_hash_dtor, 0);
77 if (zend_hash_add(statement->defines, name, name_len, define, sizeof(php_oci_define), (void **)&tmp_define) == SUCCESS) {
106 php_oci_statement *statement; local
116 PHP_OCI_ZVAL_TO_STATEMENT(z_statement, statement);
118 if (php_oci_bind_by_name(statement, name, name_len, bind_var, maxlen, bind_type TSRMLS_CC)) {
136 php_oci_statement *statement; local
1325 php_oci_statement *statement; local
1346 php_oci_statement *statement; local
1366 php_oci_statement *statement; local
1395 php_oci_statement *statement; local
1549 php_oci_statement *statement; local
1623 php_oci_statement *statement; local
1696 php_oci_statement *statement; local
1714 php_oci_statement *statement; local
1738 php_oci_statement *statement; local
1972 php_oci_statement *statement; local
2043 php_oci_statement *statement; local
2098 php_oci_statement *statement; local
[all...]
/PHP_5_5/ext/pdo_odbc/
H A Dodbc_driver.c59 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line TSRMLS_DC) /* {{{ */ argument
77 if (statement == SQL_NULL_HSTMT && S) {
78 statement = S->stmt;
81 if (statement) {
83 eh = statement;
239 /* If SQLExecDirect executes a searched update or delete statement that
/PHP_5_5/Zend/
H A Dzend_ini_parser.y276 statement_list statement
280 statement: label
H A Dzend_language_parser.y233 statement { zend_verify_namespace(TSRMLS_C); }
270 statement
277 statement: label
284 | T_IF parenthesis_expr { zend_do_if_cond(&$2, &$1 TSRMLS_CC); } statement { zend_do_if_after_statement(&$1, 1 TSRMLS_CC); } elseif_list else_single { zend_do_if_end(TSRMLS_C); }
287 | T_DO { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_do_while_begin(TSRMLS_C); } statement T_WHILE { $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); } parenthesis_expr ';' { zend_do_do_while_end(&$1, &$4, &$6 TSRMLS_CC); }
321 | ';' /* empty statement */
444 statement
450 statement
456 statement
489 statement
[all...]
/PHP_5_5/ext/mssql/
H A Dphp_mssql.c345 mssql_statement *statement = (mssql_statement *)rsrc->ptr; local
347 if (statement->binds) {
348 zend_hash_destroy(statement->binds);
349 efree(statement->binds);
352 efree(statement);
441 le_statement = zend_register_list_destructors_ex(_free_mssql_statement, NULL, "mssql statement", module_number);
1138 static void _mssql_get_sp_result(mssql_link *mssql_ptr, mssql_statement *statement TSRMLS_DC)
1152 if (statement->binds != NULL) { /* Maybe a non-parameter sp */
1153 if (zend_hash_find(statement->binds, parameter, strlen(parameter), (void**)&bind)==SUCCESS) {
1195 if (statement
1979 mssql_statement *statement; local
2020 mssql_statement *statement; local
2122 mssql_statement *statement; local
2208 mssql_statement *statement; local
[all...]
H A Dphp_mssql.h191 mssql_statement * statement; member in struct:mssql_result
/PHP_5_5/ext/pdo/
H A Dpdo_dbh.c436 pdo_raise_impl_error(dbh, NULL, "HY000", "user-supplied statement does not accept constructor arguments" TSRMLS_CC);
510 Prepares a statement for execution and returns a statement object */
515 char *statement; local
520 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|a", &statement,
543 "user-supplied statement class must be derived from PDOStatement" TSRMLS_CC);
549 "user-supplied statement class cannot have a public constructor" TSRMLS_CC);
573 "failed to instantiate user-supplied statement class"
581 stmt->query_string = estrndup(statement, statement_len);
592 if (dbh->methods->preparer(dbh, statement, statement_le
957 char *statement; local
1090 char *statement; local
[all...]
/PHP_5_5/ext/mysqli/
H A Dmysqli.c165 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error occurred while closing statement");
1028 constructor for statement object.
1039 char *statement; local
1055 if (zend_parse_parameters(2 TSRMLS_CC, "Os", &mysql_link, mysqli_link_class_entry, &statement, &statement_len)==FAILURE) {
1063 mysql_stmt_prepare(stmt->stmt, (char *)statement, statement_len);

Completed in 19 milliseconds