Home
last modified time | relevance | path

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

123456789

/minix3/external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-death-test.h157 # define ASSERT_EXIT(statement, predicate, regex) \ argument
158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
162 # define EXPECT_EXIT(statement, predicate, regex) \ argument
163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
168 # define ASSERT_DEATH(statement, regex) \ argument
169 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
173 # define EXPECT_DEATH(statement, regex) \ argument
174 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
247 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
248 do { statement; } while (::testing::internal::AlwaysFalse())
[all …]
H A Dgtest-spi.h138 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument
142 static void Execute() { statement; }\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
159 static void Execute() { statement; }\
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ argument
214 if (::testing::internal::AlwaysTrue()) { statement; }\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
228 if (::testing::internal::AlwaysTrue()) { statement; }\
/minix3/external/bsd/kyua-cli/dist/utils/sqlite/
H A Dstatement.cpp102 struct utils::sqlite::statement::impl {
149 sqlite::statement::statement(database& db, void* raw_stmt) : in statement() function in sqlite::statement
159 sqlite::statement::~statement(void) in ~statement()
172 sqlite::statement::step_without_results(void) in step_without_results()
190 sqlite::statement::step(void) in step()
211 sqlite::statement::column_count(void) in column_count()
223 sqlite::statement::column_name(const int index) in column_name()
238 sqlite::statement::column_type(const int index) in column_type()
252 sqlite::statement::column_id(const char* name) in column_id()
280 sqlite::statement::column_blob(const int index) in column_blob()
[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()
112 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
125 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
139 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
158 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
178 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
[all …]
H A Dstatement.hpp92 class statement { class
98 statement(database&, void*);
102 ~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); \
H A Ddatabase.hpp52 class statement;
99 statement create_statement(const std::string&);
/minix3/external/bsd/kyua-cli/dist/store/
H A Ddbtypes.hpp52 void bind_bool(utils::sqlite::statement&, const char*, const bool);
53 void bind_delta(utils::sqlite::statement&, const char*,
55 void bind_optional_string(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*);
62 utils::datetime::timestamp column_timestamp(utils::sqlite::statement&,
H A Ddbtypes.cpp47 store::bind_bool(sqlite::statement& stmt, const char* field, const bool value) in bind_bool()
59 store::bind_delta(sqlite::statement& stmt, const char* field, in bind_delta()
76 store::bind_optional_string(sqlite::statement& stmt, const char* field, in bind_optional_string()
92 store::bind_timestamp(sqlite::statement& stmt, const char* field, in bind_timestamp()
108 store::column_bool(sqlite::statement& stmt, const char* column) in column_bool()
133 store::column_delta(sqlite::statement& stmt, const char* column) in column_delta()
152 store::column_optional_string(sqlite::statement& stmt, const char* column) in column_optional_string()
175 store::column_timestamp(sqlite::statement& stmt, const char* column) in column_timestamp()
H A Ddbtypes_test.cpp57 do_ok_test(void (*bind)(sqlite::statement&, const char*, Type1), in do_ok_test() argument
59 Type3 (*column)(sqlite::statement&, const char*)) in do_ok_test() argument
64 sqlite::statement insert = db.create_statement("INSERT INTO test " in do_ok_test()
69 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_ok_test()
84 Type2 (*column)(sqlite::statement&, const char*), in do_invalid_test() argument
90 sqlite::statement insert = db.create_statement("INSERT INTO test " in do_invalid_test()
95 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_invalid_test()
H A Dtransaction.cpp83 sqlite::statement stmt = db.create_statement( in get_env_vars()
109 sqlite::statement stmt = db.create_statement( in get_metadata()
134 sqlite::statement stmt = db.create_statement( in get_file()
180 sqlite::statement stmt = db.create_statement( in get_test_cases()
210 parse_result(sqlite::statement& stmt, const char* type_column, in parse_result()
256 sqlite::statement stmt = db.create_statement( in put_env_vars()
279 sqlite::statement stmt = db.create_statement( in last_rowid()
304 sqlite::statement stmt = db.create_statement( in put_metadata()
352 sqlite::statement stmt = db.create_statement( in put_file()
379 sqlite::statement stmt = db.create_statement( in get_test_program()
[all …]
/minix3/external/bsd/byacc/dist/test/btyacc/
H A Dbtyacc_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 …]
/minix3/external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h79 static bool Create(const char* statement, const RE* regex,
143 virtual bool Create(const char* statement, const RE* regex,
150 virtual bool Create(const char* statement, const RE* regex,
161 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
163 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
178 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
179 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ argument
190 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
206 GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, gtest_dt); \
[all …]
H A Dgtest-internal.h1140 #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \
1141 if (::testing::internal::AlwaysTrue()) { statement; }
1143 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1148 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1155 "Expected: " #statement " throws an exception of type " \
1161 "Expected: " #statement " throws an exception of type " \
1169 #define GTEST_TEST_NO_THROW_(statement, fail) \
1173 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1180 fail("Expected: " #statement " doesn't throw an exception.\n" \
1183 #define GTEST_TEST_ANY_THROW_(statement, fail) \
[all …]
/minix3/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/tombc/
H A Dgrammar.txt1 program := program statement | statement | empty
2 statement := { statement } …
6 … for (identifer = numexpression; numexpression; identifier = numexpression) { statement } |
7 … while (numexpression) { statement } |
8 … if (numexpresion) { statement } elif |
12 elif := else statement | empty
/minix3/external/bsd/kyua-cli/dist/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.hpp41 class statement;
48 std::string format_cell(utils::sqlite::statement&, const int);
49 std::string format_headers(utils::sqlite::statement&);
50 std::string format_row(utils::sqlite::statement&);
H A Dcmd_db_exec.cpp84 cli::format_cell(sqlite::statement& stmt, const int index) in format_cell()
115 cli::format_headers(sqlite::statement& stmt) in format_headers()
132 cli::format_row(sqlite::statement& stmt) in format_row()
170 sqlite::statement stmt = backend.database().create_statement( in run()
/minix3/minix/kernel/
H A Ddebug.h73 #define TRACE(code, statement) if(verboseflags & code) { printf("%s:%d: ", __FILE__, __LINE__); sta… argument
76 #define TRACE(code, statement) argument
/minix3/external/bsd/lutok/dist/
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); \
/minix3/external/bsd/dhcp/dist/contrib/ldap/
H A Ddhcpd-conf-to-ldap210 foreach $statement (@{$curentry{'ranges'}})
212 print "dhcpRange: $statement\n";
268 foreach $statement (@{$curentry{'ranges'}})
270 print "dhcpRange: $statement\n";
300 foreach $statement (@{$curentry{'statements'}})
302 print "dhcpStatements: $statement\n";
308 foreach $statement (@{$curentry{'options'}})
310 print "dhcpOption: $statement\n";
/minix3/external/bsd/llvm/dist/llvm/test/MC/Mips/
H A Dmips-pdr-bad.s9 .ent foo, 5, bar # AMS: :[[@LINE]]:20: error: unexpected token, expected end of statement
20 … .frame $sp, 8, $ra, foo # ASM: :[[@LINE]]:27: error: unexpected token, expected end of statement
27 … .mask 0x80000000, -4, bar # ASM: :[[@LINE]]:29: error: unexpected token, expected end of statement
34 ….fmask 0x80000000, -4, bar # ASM: :[[@LINE]]:30: error: unexpected token, expected end of statement
38 … .end _local_foo_bar, foo # ASM: :[[@LINE]]:28: error: unexpected token, expected end of statement
/minix3/external/bsd/llvm/dist/clang/test/Parser/
H A Dobjc-try-catch-1.m42 @try { // expected-error {{@try statement without a @catch and @finally clause}}
50 @try {}// expected-error {{@try statement without a @catch and @finally clause}}
56 @try {}// expected-error {{@try statement without a @catch and @finally clause}}
/minix3/crypto/external/bsd/heimdal/dist/lib/com_err/
H A Dparse.y96 statements : statement
97 | statements statement
100 statement : INDEX NUMBER
/minix3/external/bsd/byacc/dist/test/
H A Dbtyacc_demo.y61 %type <code> statement(<scope>) statement_list(<scope>)
184 statement($e): in statement() function
187 | IF '(' expr($e) ')' THEN statement($e) ELSE statement($e) [YYVALID;]
189 | IF '(' expr($e) ')' THEN statement($e) [YYVALID;]
195 | statement_list statement($e) { $$ = code_append($1, $2); }

123456789