Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd-13.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h180 # define ASSERT_DEATH(statement, regex) \ argument
185 # define EXPECT_DEATH(statement, regex) \ argument
260 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
261 GTEST_EXECUTE_STATEMENT_(statement, regex)
263 # define ASSERT_DEBUG_DEATH(statement, regex) \ argument
264 GTEST_EXECUTE_STATEMENT_(statement, regex)
268 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
269 EXPECT_DEATH(statement, regex)
272 ASSERT_DEATH(statement, regex)
332 EXPECT_DEATH(statement, regex)
[all …]
H A Dgtest-spi.h143 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument
147 static void Execute() { statement; }\
160 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
164 static void Execute() { statement; }\
209 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ argument
219 if (::testing::internal::AlwaysTrue()) { statement; }\
223 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
233 if (::testing::internal::AlwaysTrue()) { statement; }\
/freebsd-13.1/contrib/kyua/utils/sqlite/
H A Dstatement.cpp151 sqlite::statement::statement(database& db, void* raw_stmt) : in statement() function in sqlite::statement
161 sqlite::statement::~statement(void) in ~statement()
174 sqlite::statement::step_without_results(void) in step_without_results()
189 sqlite::statement::step(void) in step()
210 sqlite::statement::column_count(void) in column_count()
222 sqlite::statement::column_name(const int index) in column_name()
251 sqlite::statement::column_id(const char* name) in column_id()
308 sqlite::statement::column_int(const int index) in column_int()
479 sqlite::statement::reset(void) in reset()
579 sqlite::statement::bind_parameter_count(void) in bind_parameter_count()
[all …]
H A Dstatement_test.cpp50 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
63 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
75 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
86 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
100 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
538 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
557 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
573 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
589 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
605 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
[all …]
/freebsd-13.1/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.output83 53 statement : IF '(' $$6 expr ')' THEN $$8 statement ELSE $$9 statement
1012 statement : IF . '(' $$6 expr ')' THEN $$8 statement ELSE $$9 statement (53)
1058 statement : IF '(' . $$6 expr ')' THEN $$8 statement ELSE $$9 statement (53)
1080 statement : IF '(' $$6 . expr ')' THEN $$8 statement ELSE $$9 statement (53)
1097 statement : IF '(' $$6 expr . ')' THEN $$8 statement ELSE $$9 statement (53)
1110 statement : IF '(' $$6 expr ')' . THEN $$8 statement ELSE $$9 statement (53)
1118 statement : IF '(' $$6 expr ')' THEN . $$8 statement ELSE $$9 statement (53)
1129 statement : IF '(' $$6 expr ')' THEN $$8 . statement ELSE $$9 statement (53)
1160 statement : IF '(' $$6 expr ')' THEN $$8 statement . ELSE $$9 statement (53)
1180 statement : IF '(' $$6 expr ')' THEN $$8 statement ELSE . $$9 statement (53)
[all …]
/freebsd-13.1/contrib/apr-util/test/
H A Ddbd.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()
99 rv = apr_dbd_query(driver, handle, &nrows, statement); in invalid_op()
201 const char* statement; in test_transactions() local
276 apr_dbd_prepared_t *statement = NULL; in test_pselect() local
[all …]
/freebsd-13.1/contrib/apr-util/dbd/
H A Dapr_dbd_oracle.c120 apr_dbd_prepared_t *statement; member
863 if (*statement == NULL) { in dbd_oracle_prepare()
866 stmt = *statement; in dbd_oracle_prepare()
921 OCIStmt *stmt = statement->stmt; in dbd_oracle_bind()
922 apr_dbd_t *sql = statement->handle; in dbd_oracle_bind()
1176 dbd_oracle_bind(statement, values); in dbd_oracle_pquery()
1253 dbd_oracle_bind(statement, values); in dbd_oracle_pselect()
1278 (*results)->statement = statement; in dbd_oracle_pselect()
1310 OCIStmt *stmt = statement->stmt; in dbd_oracle_bbind()
1665 (*results)->statement = statement; in dbd_oracle_pbselect()
[all …]
H A Dapr_dbd_mysql.c78 MYSQL_STMT *statement; member
283 if (res->statement) { in dbd_mysql_get_row()
341 if (row->res->statement) {
370 if (row->res->statement) { in dbd_mysql_get_entry()
392 if (row->res->statement) { in dbd_mysql_datum_get()
586 if (!*statement) { in dbd_mysql_prepare()
591 if ((*statement)->stmt) { in dbd_mysql_prepare()
600 (*statement)->nargs = nargs; in dbd_mysql_prepare()
731 (*res)->statement = statement->stmt; in dbd_mysql_pselect_internal()
1234 if (res->statement) { in dbd_mysql_num_cols()
[all …]
H A Dapr_dbd_pgsql.c491 if (!*statement) { 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()
603 (*statement)->prepared = 1; in dbd_pgsql_prepare()
630 if (statement->prepared) { in dbd_pgsql_pquery_internal()
631 res = PQexecPrepared(sql->conn, statement->name, statement->nargs, in dbd_pgsql_pquery_internal()
635 res = PQexecParams(sql->conn, statement->name, statement->nargs, 0, in dbd_pgsql_pquery_internal()
786 if (statement->prepared) { in dbd_pgsql_pselect_internal()
787 res = PQexecPrepared(sql->conn, statement->name, statement->nargs, in dbd_pgsql_pselect_internal()
[all …]
H A Dapr_dbd_odbc.c330 if (statement) { 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()
620 statement->stmt); in odbc_bind_param()
1470 (*statement)->nargs = nargs; in odbc_prepare()
1471 (*statement)->nvals = nvals; in odbc_prepare()
1472 (*statement)->types = in odbc_prepare()
1496 rc = odbc_bind_param(pool, statement, i + 1, statement->types[i], in odbc_pquery()
1547 rc = odbc_bind_param(pool, statement, i + 1, statement->types[i], in odbc_pselect()
1631 rc = odbc_bind_param(pool, statement, i + 1, statement->types[i], in odbc_pbquery()
[all …]
H A Dapr_dbd_sqlite3.c436 *statement = prep; in dbd_sqlite3_prepare()
448 sqlite3_stmt *stmt = statement->stmt; in dbd_sqlite3_bind()
456 switch (statement->types[i]) { in dbd_sqlite3_bind()
484 sqlite3_stmt *stmt = statement->stmt; in dbd_sqlite3_pquery()
495 dbd_sqlite3_bind(statement, values); in dbd_sqlite3_pquery()
522 for (i = 0; i < statement->nvals; i++) { in dbd_sqlite3_pvquery()
534 sqlite3_stmt *stmt = statement->stmt; in dbd_sqlite3_pselect()
545 dbd_sqlite3_bind(statement, values); in dbd_sqlite3_pselect()
584 sqlite3_stmt *stmt = statement->stmt; in dbd_sqlite3_bbind()
664 sqlite3_stmt *stmt = statement->stmt; in dbd_sqlite3_pbquery()
[all …]
H A Dapr_dbd.c311 return driver->query(handle,nrows,statement); in apr_dbd_query()
319 return driver->select(pool,handle,res,statement,random); in apr_dbd_select()
371 apr_dbd_prepared_t **statement) in apr_dbd_prepare() argument
481 apr_dbd_prepared_t *statement, in apr_dbd_pquery() argument
484 return driver->pquery(pool,handle,nrows,statement,args); in apr_dbd_pquery()
503 va_start(args, statement); in apr_dbd_pvquery()
504 ret = driver->pvquery(pool,handle,nrows,statement,args); in apr_dbd_pvquery()
526 apr_dbd_prepared_t *statement, in apr_dbd_pbquery() argument
529 return driver->pbquery(pool,handle,nrows,statement,args); in apr_dbd_pbquery()
548 va_start(args, statement); in apr_dbd_pvbquery()
[all …]
/freebsd-13.1/contrib/kyua/store/
H A Ddbtypes.hpp50 void bind_bool(utils::sqlite::statement&, const char*, const bool);
51 void bind_delta(utils::sqlite::statement&, const char*,
53 void bind_optional_string(utils::sqlite::statement&, const char*,
55 void bind_test_result_type(utils::sqlite::statement&, const char*,
57 void bind_timestamp(utils::sqlite::statement&, const char*,
59 bool column_bool(utils::sqlite::statement&, const char*);
60 utils::datetime::delta column_delta(utils::sqlite::statement&, const char*);
61 std::string column_optional_string(utils::sqlite::statement&, const char*);
63 utils::sqlite::statement&, const char*);
64 utils::datetime::timestamp column_timestamp(utils::sqlite::statement&,
H A Ddbtypes.cpp49 store::bind_bool(sqlite::statement& stmt, const char* field, const bool value) in bind_bool()
61 store::bind_delta(sqlite::statement& stmt, const char* field, in bind_delta()
77 store::bind_optional_string(sqlite::statement& stmt, const char* field, in bind_optional_string()
93 store::bind_test_result_type(sqlite::statement& stmt, const char* field, in bind_test_result_type()
129 store::bind_timestamp(sqlite::statement& stmt, const char* field, in bind_timestamp()
145 store::column_bool(sqlite::statement& stmt, const char* column) in column_bool()
170 store::column_delta(sqlite::statement& stmt, const char* column) in column_delta()
189 store::column_optional_string(sqlite::statement& stmt, const char* column) in column_optional_string()
212 store::column_test_result_type(sqlite::statement& stmt, const char* column) in column_test_result_type()
244 store::column_timestamp(sqlite::statement& stmt, const char* column) in column_timestamp()
H A Ddbtypes_test.cpp58 do_ok_test(void (*bind)(sqlite::statement&, const char*, Type1), in do_ok_test() argument
60 Type3 (*column)(sqlite::statement&, const char*)) in do_ok_test() argument
65 sqlite::statement insert = db.create_statement("INSERT INTO test " in do_ok_test()
70 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_ok_test()
85 Type2 (*column)(sqlite::statement&, const char*), in do_invalid_test() argument
91 sqlite::statement insert = db.create_statement("INSERT INTO test " in do_invalid_test()
96 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_invalid_test()
H A Dwrite_transaction.cpp81 sqlite::statement stmt = db.create_statement( in put_env_vars()
103 sqlite::statement stmt = db.create_statement( in last_rowid()
128 sqlite::statement stmt = db.create_statement( in put_metadata()
176 sqlite::statement stmt = db.create_statement( in put_file()
266 sqlite::statement stmt = _pimpl->_db.create_statement( in put_context()
296 sqlite::statement stmt = _pimpl->_db.create_statement( in put_test_program()
342 sqlite::statement stmt = _pimpl->_db.create_statement( in put_test_case()
381 sqlite::statement stmt = _pimpl->_db.create_statement( in put_test_case_file()
416 sqlite::statement stmt = _pimpl->_db.create_statement( in put_result()
H A Dread_transaction.cpp80 sqlite::statement stmt = db.create_statement( in get_env_vars()
104 sqlite::statement stmt = db.create_statement( in get_metadata()
129 sqlite::statement stmt = db.create_statement( in get_file()
165 sqlite::statement stmt = db.create_statement( in get_test_cases()
193 parse_result(sqlite::statement& stmt, const char* type_column, in parse_result()
233 sqlite::statement stmt = db.create_statement( in get_test_program()
259 sqlite::statement _stmt;
402 sqlite::statement stmt = db.create_statement( in get_test_case_file()
505 sqlite::statement stmt = _pimpl->_db.create_statement( in get_context()
/freebsd-13.1/contrib/apr-util/include/private/
H A Dapr_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 …]
/freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h81 static bool Create(const char* statement, const RE* regex,
147 virtual bool Create(const char* statement, const RE* regex, in GTEST_DISABLE_MSC_WARNINGS_POP_()
154 virtual bool Create(const char* statement, const RE* regex,
165 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
167 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
182 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
183 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
189 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ argument
210 GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, gtest_dt); \
229 #define GTEST_EXECUTE_STATEMENT_(statement, regex) \ argument
[all …]
/freebsd-13.1/contrib/apr-util/include/
H A Dapr_dbd.h272 int *nrows, const char *statement);
288 const char *statement, int random);
398 apr_dbd_prepared_t **statement);
414 apr_dbd_prepared_t *statement, int nargs,
431 apr_dbd_prepared_t *statement, int random,
447 apr_dbd_prepared_t *statement, ...);
463 apr_dbd_prepared_t *statement,
478 int *nrows, apr_dbd_prepared_t *statement,
495 apr_dbd_prepared_t *statement, int random,
511 apr_dbd_prepared_t *statement, ...);
[all …]
/freebsd-13.1/contrib/kyua/cli/
H A Dcmd_db_exec_test.cpp58 sqlite::statement create = db.create_statement( in do_format_cell_test()
62 sqlite::statement insert = db.create_statement( in do_format_cell_test()
67 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_format_cell_test()
120 sqlite::statement create = db.create_statement( in ATF_TEST_CASE_BODY()
124 sqlite::statement query = db.create_statement( in ATF_TEST_CASE_BODY()
135 sqlite::statement create = db.create_statement( in ATF_TEST_CASE_BODY()
140 sqlite::statement insert = db.create_statement( in ATF_TEST_CASE_BODY()
146 sqlite::statement query = db.create_statement("SELECT * FROM test"); in ATF_TEST_CASE_BODY()
H A Dcmd_db_exec.hpp43 std::string format_cell(utils::sqlite::statement&, const int);
44 std::string format_headers(utils::sqlite::statement&);
45 std::string format_row(utils::sqlite::statement&);
/freebsd-13.1/contrib/atf/atf-c++/
H A 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 …]
/freebsd-13.1/contrib/apr-util/dbd/unsupported/
H A Dapr_dbd_freetds.c246 apr_dbd_prepared_t *statement, in dbd_freetds_pselect() argument
249 const char *query = dbd_statement(pool, statement, in dbd_freetds_pselect()
250 statement->nargs, values); in dbd_freetds_pselect()
255 apr_dbd_prepared_t *statement, in dbd_freetds_pvselect() argument
267 for (i = 0; i < statement->nargs; i++) { in dbd_freetds_pvselect()
278 const char *query = dbd_statement(pool, statement, in dbd_freetds_pquery()
294 for (i = 0; i < statement->nargs; i++) { in dbd_freetds_pvquery()
453 apr_dbd_prepared_t **statement) in dbd_freetds_prepare() argument
461 if (!*statement) { in dbd_freetds_prepare()
464 stmt = *statement; in dbd_freetds_prepare()
[all …]
/freebsd-13.1/lib/libc/posix1e/
H A Dmac.c189 char *comment, *parse, *statement; in mac_init_internal() local
206 statement = next_token(&parse); in mac_init_internal()
207 if (statement == NULL) in mac_init_internal()
210 if (strcmp(statement, "default_labels") == 0) { in mac_init_internal()
230 } else if (strcmp(statement, "default_ifnet_labels") == 0 || in mac_init_internal()
231 strcmp(statement, "default_file_labels") == 0 || in mac_init_internal()
232 strcmp(statement, "default_process_labels") == 0) { in mac_init_internal()
235 if (strcmp(statement, "default_ifnet_labels") == 0) in mac_init_internal()
237 else if (strcmp(statement, "default_file_labels") == 0) in mac_init_internal()
239 else if (strcmp(statement, "default_process_labels") == in mac_init_internal()

12345678910>>...12