Home
last modified time | relevance | path

Searched refs:statement (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/NextBSD/contrib/apr-util/dbd/
HDapr_dbd_oracle.c92 apr_dbd_prepared_t **statement);
96 apr_dbd_prepared_t *statement,
99 int *nrows, apr_dbd_prepared_t *statement,
120 apr_dbd_prepared_t *statement; member
253 define_arg *val = &res->statement->out[col]; in lob_bucket_read()
678 define_arg *val = &res->statement->out[n]; in dbd_oracle_get_name()
680 if ((n < 0) || (n >= res->statement->nout)) { in dbd_oracle_get_name()
711 sql->status = OCIStmtFetch2(res->statement->stmt, res->handle->err, 1, in dbd_oracle_get_row()
715 sql->status = OCIStmtFetch2(res->statement->stmt, res->handle->err, 1, in dbd_oracle_get_row()
770 static apr_status_t freeStatement(void *statement) in freeStatement() argument
[all …]
HDapr_dbd_mysql.c78 MYSQL_STMT *statement; member
155 rv = mysql_stmt_fetch_column(res->statement, bind, col, in lob_bucket_read()
247 (*results)->statement = NULL; in dbd_mysql_select()
283 if (res->statement) { in dbd_mysql_get_row()
286 mysql_stmt_data_seek(res->statement, (my_ulonglong) --rownum); in dbd_mysql_get_row()
292 ret = mysql_stmt_fetch(res->statement); in dbd_mysql_get_row()
295 ret = mysql_stmt_errno(res->statement); in dbd_mysql_get_row()
341 if (row->res->statement) {
343 if (mysql_stmt_fetch_column(row->res->statement, bind, n, 0) != 0) {
370 if (row->res->statement) { in dbd_mysql_get_entry()
[all …]
HDapr_dbd_pgsql.c480 apr_dbd_prepared_t **statement) in dbd_pgsql_prepare() argument
491 if (!*statement) { in dbd_pgsql_prepare()
492 *statement = apr_palloc(pool, sizeof(apr_dbd_prepared_t)); in dbd_pgsql_prepare()
494 (*statement)->nargs = nargs; in dbd_pgsql_prepare()
495 (*statement)->nvals = nvals; in dbd_pgsql_prepare()
496 (*statement)->types = types; in dbd_pgsql_prepare()
559 (*statement)->prepared = 0; in dbd_pgsql_prepare()
560 (*statement)->name = apr_pstrdup(pool, query); in dbd_pgsql_prepare()
563 (*statement)->name = apr_pstrdup(pool, label); in dbd_pgsql_prepare()
603 (*statement)->prepared = 1; in dbd_pgsql_prepare()
[all …]
HDapr_dbd_odbc.c327 apr_dbd_prepared_t *statement = s; in odbc_close_pstmt() local
330 if (statement) { in odbc_close_pstmt()
331 SQLHANDLE hstmt = statement->stmt; in odbc_close_pstmt()
333 if (hstmt && statement->apr_dbd && statement->apr_dbd->dbc) { in odbc_close_pstmt()
336 statement->stmt = NULL; in odbc_close_pstmt()
524 apr_dbd_prepared_t *statement, const int narg, in odbc_bind_param() argument
617 rc = SQLBindParameter(statement->stmt, narg, inOut, cType, in odbc_bind_param()
619 CHECK_ERROR(statement->apr_dbd, "SQLBindParameter", rc, SQL_HANDLE_STMT, in odbc_bind_param()
620 statement->stmt); in odbc_bind_param()
1233 static int odbc_query(apr_dbd_t *handle, int *nrows, const char *statement) in odbc_query() argument
[all …]
HDapr_dbd_sqlite3.c414 apr_dbd_prepared_t **statement) in dbd_sqlite3_prepare() argument
436 *statement = prep; in dbd_sqlite3_prepare()
446 static void dbd_sqlite3_bind(apr_dbd_prepared_t *statement, const char **values) in dbd_sqlite3_bind() argument
448 sqlite3_stmt *stmt = statement->stmt; in dbd_sqlite3_bind()
451 for (i = 0, j = 0; i < statement->nargs; i++, j++) { in dbd_sqlite3_bind()
456 switch (statement->types[i]) { in dbd_sqlite3_bind()
481 int *nrows, apr_dbd_prepared_t *statement, in dbd_sqlite3_pquery() argument
484 sqlite3_stmt *stmt = statement->stmt; in dbd_sqlite3_pquery()
495 dbd_sqlite3_bind(statement, values); in dbd_sqlite3_pquery()
511 apr_dbd_prepared_t *statement, va_list args) in dbd_sqlite3_pvquery() argument
[all …]
HDapr_dbd.c312 int *nrows, const char *statement) in apr_dbd_query() argument
314 return driver->query(handle,nrows,statement); in apr_dbd_query()
320 const char *statement, int random) in apr_dbd_select() argument
322 return driver->select(pool,handle,res,statement,random); in apr_dbd_select()
374 apr_dbd_prepared_t **statement) in apr_dbd_prepare() argument
478 return driver->prepare(pool,handle,pq,label,nargs,nvals,t,statement); in apr_dbd_prepare()
484 apr_dbd_prepared_t *statement, in apr_dbd_pquery() argument
487 return driver->pquery(pool,handle,nrows,statement,args); in apr_dbd_pquery()
493 apr_dbd_prepared_t *statement, int random, in apr_dbd_pselect() argument
496 return driver->pselect(pool,handle,res,statement,random,args); in apr_dbd_pselect()
[all …]
HDapr_dbd_freetds.c244 apr_dbd_prepared_t *statement, in dbd_freetds_pselect() argument
247 const char *query = dbd_statement(pool, statement, in dbd_freetds_pselect()
248 statement->nargs, values); in dbd_freetds_pselect()
253 apr_dbd_prepared_t *statement, in dbd_freetds_pvselect() argument
263 values = apr_palloc(pool, sizeof(*values) * statement->nargs); in dbd_freetds_pvselect()
265 for (i = 0; i < statement->nargs; i++) { in dbd_freetds_pvselect()
269 return dbd_freetds_pselect(pool, sql, results, statement, seek, values); in dbd_freetds_pvselect()
273 int *nrows, apr_dbd_prepared_t *statement, in dbd_freetds_pquery() argument
276 const char *query = dbd_statement(pool, statement, in dbd_freetds_pquery()
277 statement->nargs, values); in dbd_freetds_pquery()
[all …]
HDapr_dbd_sqlite2.c325 apr_dbd_prepared_t ** statement) in dbd_sqlite_prepare() argument
331 int *nrows, apr_dbd_prepared_t * statement, in dbd_sqlite_pquery() argument
338 int *nrows, apr_dbd_prepared_t * statement, in dbd_sqlite_pvquery() argument
346 apr_dbd_prepared_t * statement, in dbd_sqlite_pselect() argument
354 apr_dbd_prepared_t * statement, int seek, in dbd_sqlite_pvselect() argument
361 int *nrows, apr_dbd_prepared_t * statement, in dbd_sqlite_pbquery() argument
368 int *nrows, apr_dbd_prepared_t * statement, in dbd_sqlite_pvbquery() argument
376 apr_dbd_prepared_t * statement, in dbd_sqlite_pbselect() argument
384 apr_dbd_prepared_t * statement, int seek, in dbd_sqlite_pvbselect() argument
/NextBSD/contrib/byacc/test/btyacc/
HDbtyacc_demo.output78 50 statement : decl
82 52 statement : $$9 expr ';'
88 55 statement : IF '(' $$7 expr ')' THEN $$10 statement ELSE $$11 statement
89 56 | IF '(' $$7 expr ')' THEN $$10 statement
93 58 statement : $$12 block_statement
96 60 | statement_list $$2 statement
795 statement_list : statement_list . $$2 statement (60)
941 statement_list : statement_list $$2 . statement (60)
960 statement goto 88
1057 statement : IF . '(' $$7 expr ')' THEN $$10 statement ELSE $$11 statement (55)
[all …]
/NextBSD/contrib/apr-util/test/
HDdbd.c39 const char *statement = "CREATE TABLE apr_dbd_test (" in create_table() local
43 rv = apr_dbd_query(driver, handle, &nrows, statement); in create_table()
51 const char *statement = "DROP TABLE apr_dbd_test" ; in drop_table() local
52 rv = apr_dbd_query(driver, handle, &nrows, statement); in drop_table()
62 const char *statement = in insert_rows() local
69 rv = apr_dbd_query(driver, handle, &nrows, statement); in insert_rows()
81 statement = stmt[i]; in insert_rows()
82 rv = apr_dbd_query(driver, handle, &nrows, statement); in insert_rows()
98 const char *statement = "INSERT into apr_dbd_test1 (col2) values ('foo')" ; in invalid_op() local
99 rv = apr_dbd_query(driver, handle, &nrows, statement); in invalid_op()
[all …]
/NextBSD/contrib/apr-util/include/private/
HDapr_dbd_internal.h122 int (*query)(apr_dbd_t *handle, int *nrows, const char *statement);
136 const char *statement, int random);
209 apr_dbd_type_e *types, apr_dbd_prepared_t **statement);
221 apr_dbd_prepared_t *statement, va_list args);
235 apr_dbd_prepared_t *statement, int random, va_list args);
247 apr_dbd_prepared_t *statement, const char **args);
260 apr_dbd_results_t **res, apr_dbd_prepared_t *statement,
300 apr_dbd_prepared_t *statement, va_list args);
314 apr_dbd_prepared_t *statement, int random, va_list args);
326 apr_dbd_prepared_t *statement,const void **args);
[all …]
/NextBSD/contrib/apr-util/include/
HDapr_dbd.h275 int *nrows, const char *statement);
291 const char *statement, int random);
401 apr_dbd_prepared_t **statement);
417 apr_dbd_prepared_t *statement, int nargs,
434 apr_dbd_prepared_t *statement, int random,
450 apr_dbd_prepared_t *statement, ...);
466 apr_dbd_prepared_t *statement,
481 int *nrows, apr_dbd_prepared_t *statement,
498 apr_dbd_prepared_t *statement, int random,
514 apr_dbd_prepared_t *statement, ...);
[all …]
/NextBSD/contrib/atf/atf-c++/
Dmacros.hpp135 #define ATF_REQUIRE_THROW(expected_exception, statement) \ argument
138 statement; \
141 << ": " #statement " did not throw " #expected_exception \
147 atfu_ss << "Line " << __LINE__ << ": " #statement " threw an " \
153 atfu_ss << "Line " << __LINE__ << ": " #statement " threw an " \
159 #define ATF_REQUIRE_THROW_RE(expected_exception, regexp, statement) \ argument
162 statement; \
165 << ": " #statement " did not throw " #expected_exception \
172 << ": " #statement " threw " #expected_exception "(" \
179 atfu_ss << "Line " << __LINE__ << ": " #statement " threw an " \
[all …]
/NextBSD/contrib/binutils/ld/
HDldwrite.c39 build_link_order (lang_statement_union_type *statement) in build_link_order() argument
41 switch (statement->header.type) in build_link_order()
50 output_section = statement->data_statement.output_section; in build_link_order()
58 link_order->offset = statement->data_statement.output_offset; in build_link_order()
61 value = statement->data_statement.value; in build_link_order()
107 switch (statement->data_statement.type) in build_link_order()
135 switch (statement->data_statement.type) in build_link_order()
145 if (statement->data_statement.type == QUAD) in build_link_order()
184 rs = &statement->reloc_statement; in build_link_order()
224 asection *i = statement->input_section.section; in build_link_order()
[all …]
HDldlang.h530 #define LANG_FOR_EACH_INPUT_STATEMENT(statement) \ argument
531 lang_input_statement_type *statement; \
532 for (statement = (lang_input_statement_type *) file_chain.head; \
533 statement != (lang_input_statement_type *) NULL; \
534 statement = (lang_input_statement_type *) statement->next) \
/NextBSD/lib/libc/posix1e/
HDmac.c187 char *comment, *parse, *statement; in mac_init_internal() local
204 statement = next_token(&parse); in mac_init_internal()
205 if (statement == NULL) in mac_init_internal()
208 if (strcmp(statement, "default_labels") == 0) { in mac_init_internal()
228 } else if (strcmp(statement, "default_ifnet_labels") == 0 || in mac_init_internal()
229 strcmp(statement, "default_file_labels") == 0 || in mac_init_internal()
230 strcmp(statement, "default_process_labels") == 0) { in mac_init_internal()
233 if (strcmp(statement, "default_ifnet_labels") == 0) in mac_init_internal()
235 else if (strcmp(statement, "default_file_labels") == 0) in mac_init_internal()
237 else if (strcmp(statement, "default_process_labels") == in mac_init_internal()
/NextBSD/crypto/heimdal/lib/hdb/
HDhdb-sqlite.c128 sqlite3_stmt **statement, in hdb_sqlite_prepare_stmt() argument
133 ret = sqlite3_prepare_v2(db, str, -1, statement, NULL); in hdb_sqlite_prepare_stmt()
140 ret = sqlite3_prepare_v2(db, str, -1, statement, NULL); in hdb_sqlite_prepare_stmt()
166 const char *statement, in hdb_sqlite_exec_stmt() argument
171 ret = sqlite3_exec(database, statement, NULL, NULL, NULL); in hdb_sqlite_exec_stmt()
178 ret = sqlite3_exec(database, statement, NULL, NULL, NULL); in hdb_sqlite_exec_stmt()
183 "Execute %s: %s", statement, in hdb_sqlite_exec_stmt()
456 hdb_sqlite_step_once(krb5_context context, HDB *db, sqlite3_stmt *statement) in hdb_sqlite_step_once() argument
461 ret = hdb_sqlite_step(context, hsdb->db, statement); in hdb_sqlite_step_once()
462 sqlite3_clear_bindings(statement); in hdb_sqlite_step_once()
[all …]
/NextBSD/contrib/byacc/test/
HDbtyacc_demo.y59 %type <code> statement(<scope>) statement_list(<scope>)
182 statement($e): in statement() function
185 | IF '(' expr($e) ')' THEN statement($e) ELSE statement($e) [YYVALID;]
187 | IF '(' expr($e) ')' THEN statement($e) [YYVALID;]
193 | statement_list statement($e) { $$ = code_append($1, $2); }
/NextBSD/contrib/gcc/doc/
HDtree-ssa.texi59 statements in a tree IL@. In GENERIC, a statement is defined as any
60 expression whose value, if any, is ignored. A statement will always
62 non-statement expression may also have side effects. A
168 and adds a new statement to initialize it before the current statement.
227 statement.
253 A C @code{?:} expression is converted into an @code{if} statement with
298 also be a statement. No other C expressions can appear at statement level;
322 GCC was primarily used for the C statement-expression extension.
326 @code{DECL_INITIAL} and into a statement in the controlled block. When
360 reason, they are instead replaced with an empty statement, generated by
[all …]
/NextBSD/crypto/heimdal/lib/com_err/
HDparse.y94 statements : statement
95 | statements statement
98 statement : INDEX NUMBER
/NextBSD/contrib/com_err/
HDparse.y94 statements : statement
95 | statements statement
98 statement : INDEX NUMBER
/NextBSD/usr.bin/migcom/
HDstatement.h82 typedef struct statement struct
85 struct statement *stNext; argument
/NextBSD/contrib/apr/
HDemacs-mode7 (statement-block-intro . ++)
10 (statement-case-intro . ++)
/NextBSD/contrib/ntp/
HDdot.emacs8 (statement-case-intro . *)
9 (statement-cont . *)
/NextBSD/contrib/netbsd-tests/lib/libcurses/director/
HDtestlang_parse.y192 statement : /* empty */
193 | assign statement
194 | call statement
195 | call2 statement
196 | call3 statement
197 | call4 statement
198 | check statement
199 | delay statement
200 | input statement
201 | noinput statement
[all …]

12345678910>>...13