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

/PHP_TRUNK/Zend/
H A Dzend_ini_parser.y277 statement_list statement
281 statement: label
H A Dzend_language_parser.y230 %type <ast> top_statement namespace_name name statement function_declaration_statement
281 statement { $$ = $1; }
335 statement { $$ = $1; }
344 statement: label
350 | T_DO statement T_WHILE '(' expr ')' ';'
374 | ';' /* empty statement */ { $$ = NULL; }
460 statement { $$ = $1; }
465 statement { $$ = $1; }
470 statement { $$ = $1; }
496 statement {
[all...]
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c342 mssql_statement *statement = (mssql_statement *)rsrc->ptr; local
344 if (statement->binds) {
345 zend_hash_destroy(statement->binds);
346 efree(statement->binds);
349 efree(statement);
438 le_statement = zend_register_list_destructors_ex(_free_mssql_statement, NULL, "mssql statement", module_number);
1135 static void _mssql_get_sp_result(mssql_link *mssql_ptr, mssql_statement *statement) argument
1149 if (statement->binds != NULL) { /* Maybe a non-parameter sp */
1150 if (zend_hash_find(statement->binds, parameter, strlen(parameter), (void**)&bind)==SUCCESS) {
1192 if (statement
1976 mssql_statement *statement; local
2017 mssql_statement *statement; local
2119 mssql_statement *statement; local
2205 mssql_statement *statement; local
[all...]
H A Dphp_mssql.h191 mssql_statement * statement; member in struct:mssql_result
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c158 php_error_docref(NULL, E_WARNING, "Error occurred while closing statement");
1042 constructor for statement object.
1053 char *statement; local
1069 if (zend_parse_parameters(2, "Os", &mysql_link, mysqli_link_class_entry, &statement, &statement_len)==FAILURE) {
1077 mysql_stmt_prepare(stmt->stmt, (char *)statement, statement_len);
/PHP_TRUNK/ext/oci8/
H A Doci8.c1196 le_statement = zend_register_list_destructors_ex(php_oci_statement_list_dtor, NULL, "oci8 statement", module_number);
1498 php_oci_statement *statement = (php_oci_statement *)entry->ptr; local
1499 php_oci_statement_free(statement);
1723 * Compute offset in the SQL statement
1725 int php_oci_fetch_sqltext_offset(php_oci_statement *statement, text **sqltext, ub2 *error_offset) argument
1731 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, (dvoid *) sqltext, (ub4 *)0, OCI_ATTR_STATEMENT, statement->err));
1734 statement->errcode = php_oci_error(statement->err, errstatus);
1735 PHP_OCI_HANDLE_ERROR(statement
2641 php_oci_statement *statement; /* statement that will be fetched from */ 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) {
78 if ((tmp_define = zend_hash_add_new_ptr(statement->defines, zend_string_init(name, name_len, 0), define)) != NULL) {
107 php_oci_statement *statement; local
117 PHP_OCI_ZVAL_TO_STATEMENT(z_statement, statement);
119 if (php_oci_bind_by_name(statement, nam
137 php_oci_statement *statement; local
1321 php_oci_statement *statement; local
1342 php_oci_statement *statement; local
1362 php_oci_statement *statement; local
1392 php_oci_statement *statement; local
1529 php_oci_statement *statement; local
1603 php_oci_statement *statement; local
1676 php_oci_statement *statement; local
1694 php_oci_statement *statement; local
1718 php_oci_statement *statement; local
2018 php_oci_statement *statement; local
2089 php_oci_statement *statement; local
2144 php_oci_statement *statement; local
2447 php_oci_statement *statement; local
[all...]
H A Doci8_statement.c48 php_oci_statement *statement; local
53 statement = ecalloc(1,sizeof(php_oci_statement));
57 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->stmt), OCI_HTYPE_STMT, 0, NULL));
60 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->err), OCI_HTYPE_ERROR, 0, NULL));
66 &(statement->stmt),
78 DTRACE_OCI8_SQLTEXT(connection, connection->client_id, statement, query);
85 PHP_OCI_CALL(OCIStmtRelease, (statement->stmt, statement->err, NULL, 0, OCI_STRLS_CACHE_DELETE));
86 PHP_OCI_CALL(OCIHandleFree,(statement->err, OCI_HTYPE_ERROR));
88 efree(statement);
127 php_oci_get_implicit_resultset(php_oci_statement *statement) argument
186 php_oci_statement_set_prefetch(php_oci_statement *statement, ub4 prefetch ) argument
244 php_oci_statement_fetch(php_oci_statement *statement, ub4 nrows) argument
380 php_oci_statement_get_column(php_oci_statement *statement, zend_long column_index, char *column_name, int column_name_len) argument
479 php_oci_statement_execute(php_oci_statement *statement, ub4 mode) argument
849 php_oci_statement_cancel(php_oci_statement *statement) argument
857 php_oci_statement_free(php_oci_statement *statement) argument
1081 php_oci_bind_by_name(php_oci_statement *statement, char *name, int name_len, zval *var, zend_long maxlength, ub2 type) argument
1435 php_oci_statement *statement; local
1478 php_oci_statement_get_type(php_oci_statement *statement, ub2 *type) argument
1501 php_oci_statement_get_numrows(php_oci_statement *statement, ub4 *numrows) argument
1524 php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval *var, zend_long max_table_length, zend_long maxlength, zend_long type) argument
[all...]
H A Dphp_oci8_int.h215 zend_resource *parent_stmtid; /* parent statement id */
216 struct php_oci_statement *impres_child_stmt;/* child of current Implicit Result Set statement handle */
217 ub4 impres_count; /* count of remaining Implicit Result children on parent statement handle */
221 OCIStmt *stmt; /* statement handle */
222 char *last_query; /* last query issued. also used to determine if this is a statement or a refcursor received from Oracle */
229 unsigned executed:1; /* statement executed flag */
230 unsigned has_data:1; /* statement has more data flag */
231 unsigned has_descr:1; /* statement has at least one descriptor or cursor column */
232 ub2 stmttype; /* statement type */
242 OCIStmt *statement; /* use member in struct:__anon145
262 php_oci_statement *statement; /* statement handle. used when fetching REFCURSORS */ member in struct:__anon147
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c416 pdo_raise_impl_error(dbh, NULL, "HY000", "user-supplied statement does not accept constructor arguments");
475 /* {{{ proto object PDO::prepare(string statement [, array options])
476 Prepares a statement for execution and returns a statement object */
480 char *statement; local
487 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|a", &statement,
510 "user-supplied statement class must be derived from PDOStatement");
516 "user-supplied statement class cannot have a public constructor");
540 "failed to instantiate user-supplied statement class"
548 stmt->query_string = estrndup(statement, statement_le
923 char *statement; local
1058 char *statement; local
[all...]
/PHP_TRUNK/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) /* {{{ */ 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

Completed in 19 milliseconds