Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h184 #define ASSERT_DEATH(statement, matcher) \ argument
189 #define EXPECT_DEATH(statement, matcher) \ argument
264 #define EXPECT_DEBUG_DEATH(statement, regex) \ argument
265 GTEST_EXECUTE_STATEMENT_(statement, regex)
267 #define ASSERT_DEBUG_DEATH(statement, regex) \ argument
268 GTEST_EXECUTE_STATEMENT_(statement, regex)
272 #define EXPECT_DEBUG_DEATH(statement, regex) EXPECT_DEATH(statement, regex) argument
274 #define ASSERT_DEBUG_DEATH(statement, regex) ASSERT_DEATH(statement, regex) argument
333 EXPECT_DEATH(statement, regex)
335 ASSERT_DEATH(statement, regex)
[all …]
H A Dgtest-spi.h149 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument
153 static void Execute() { statement; } \
167 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
171 static void Execute() { statement; } \
217 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ argument
229 statement; \
234 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
245 statement; \
/freebsd/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 …]
H A Dstatement.hpp82 class statement { class
88 statement(database&, void*);
92 ~statement(void);
H A Dtest_utils.hpp63 #define REQUIRE_API_ERROR(exp_api_function, statement) \ argument
66 statement; \
67 ATF_FAIL("api_error not raised by " #statement); \
/freebsd/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/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/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h88 static bool Create(const char* statement, Matcher<const std::string&> matcher,
157 virtual bool Create(const char* statement, in GTEST_DISABLE_MSC_WARNINGS_POP_()
165 bool Create(const char* statement, Matcher<const std::string&> matcher,
198 #define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
200 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
215 #define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
216 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
222 #define GTEST_DEATH_TEST_(statement, predicate, regex_or_matcher, fail) \ argument
227 #statement, \
260 #define GTEST_EXECUTE_STATEMENT_(statement, regex_or_matcher) \ argument
[all …]
H A Dgtest-internal.h1352 #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \
1354 statement; \
1451 #define GTEST_TEST_NO_THROW_(statement, fail) \
1455 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1464 : fail(("Expected: " #statement " doesn't throw an exception.\n" \
1469 #define GTEST_TEST_ANY_THROW_(statement, fail) \
1474 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1483 : fail("Expected: " #statement \
1500 #define GTEST_TEST_NO_FATAL_FAILURE_(statement, fail) \
1505 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
[all …]
/freebsd/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&);
H A Dcmd_db_exec.cpp92 cli::format_cell(sqlite::statement& stmt, const int index) in format_cell()
123 cli::format_headers(sqlite::statement& stmt) in format_headers()
140 cli::format_row(sqlite::statement& stmt) in format_row()
181 sqlite::statement stmt = db.create_statement( in run()
/freebsd/contrib/atf/atf-c++/
H A Dmacros.hpp135 #define ATF_REQUIRE_THROW(expected_exception, statement) \
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) \
162 statement; \
165 << ": " #statement " did not throw " #expected_exception \
172 << ": " #statement " threw " #expected_exception "(" \
179 atfu_ss << "Line " << __LINE__ << ": " #statement " threw an " \
[all …]
/freebsd/lib/libc/posix1e/
H A Dmac.c185 char *comment, *parse, *statement; in mac_init_internal() local
202 statement = next_token(&parse); in mac_init_internal()
203 if (statement == NULL) in mac_init_internal()
206 if (strcmp(statement, "default_labels") == 0) { in mac_init_internal()
226 } else if (strcmp(statement, "default_ifnet_labels") == 0 || in mac_init_internal()
227 strcmp(statement, "default_file_labels") == 0 || in mac_init_internal()
228 strcmp(statement, "default_process_labels") == 0) { in mac_init_internal()
231 if (strcmp(statement, "default_ifnet_labels") == 0) in mac_init_internal()
233 else if (strcmp(statement, "default_file_labels") == 0) in mac_init_internal()
235 else if (strcmp(statement, "default_process_labels") == in mac_init_internal()
/freebsd/contrib/lutok/
H A Dtest_utils.hpp61 #define REQUIRE_API_ERROR(exp_api_function, statement) \ argument
64 statement; \
65 ATF_FAIL("api_error not raised by " #statement); \
/freebsd/tools/coccinelle/
H A Dcopystr9.cocci3 statement S1;
12 statement S1;
28 statement S1;
/freebsd/crypto/heimdal/lib/hdb/
H A Dhdb-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 …]
/freebsd/contrib/googletest/docs/reference/
H A Dassertions.md313 `EXPECT_THROW(`*`statement`*`,`*`exception_type`*`)` \
314 `ASSERT_THROW(`*`statement`*`,`*`exception_type`*`)`
320 `EXPECT_ANY_THROW(`*`statement`*`)` \
321 `ASSERT_ANY_THROW(`*`statement`*`)`
327 `EXPECT_NO_THROW(`*`statement`*`)` \
328 `ASSERT_NO_THROW(`*`statement`*`)`
330 Verifies that *`statement`* does not throw any exception.
562 `EXPECT_DEATH(`*`statement`*`,`*`matcher`*`)` \
563 `ASSERT_DEATH(`*`statement`*`,`*`matcher`*`)`
592 `EXPECT_DEBUG_DEATH(`*`statement`*`,`*`matcher`*`)` \
[all …]
/freebsd/contrib/byacc/test/
H A Dbtyacc_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); }
/freebsd/contrib/com_err/
H A Dparse.y94 statements : statement
95 | statements statement
98 statement : INDEX NUMBER

12345678910>>...12