Home
last modified time | relevance | path

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

12345678910>>...33

/external/gtest/include/gtest/
Dgtest-death-test.h168 # define ASSERT_EXIT(statement, predicate, regex) \ argument
169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
173 # define EXPECT_EXIT(statement, predicate, regex) \ argument
174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
179 # define ASSERT_DEATH(statement, regex) \ argument
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
184 # define EXPECT_DEATH(statement, regex) \ argument
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
258 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
259 GTEST_EXECUTE_STATEMENT_(statement, regex)
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/
Dgtest-death-test.h168 # define ASSERT_EXIT(statement, predicate, regex) \ argument
169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
173 # define EXPECT_EXIT(statement, predicate, regex) \ argument
174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
179 # define ASSERT_DEATH(statement, regex) \ argument
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
184 # define EXPECT_DEATH(statement, regex) \ argument
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
258 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
259 GTEST_EXECUTE_STATEMENT_(statement, regex)
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/
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 …]
Dgtest-spi.h139 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument
143 static void Execute() { statement; }\
156 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
160 static void Execute() { statement; }\
205 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ argument
215 if (::testing::internal::AlwaysTrue()) { statement; }\
219 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
229 if (::testing::internal::AlwaysTrue()) { statement; }\
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest-death-test.h168 # define ASSERT_EXIT(statement, predicate, regex) \ argument
169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
173 # define EXPECT_EXIT(statement, predicate, regex) \ argument
174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
179 # define ASSERT_DEATH(statement, regex) \ argument
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
184 # define EXPECT_DEATH(statement, regex) \ argument
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
258 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
259 GTEST_EXECUTE_STATEMENT_(statement, regex)
[all …]
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; }\
/external/mesa3d/src/gtest/include/gtest/
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 …]
/external/protobuf/gtest/include/gtest/
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 …]
/external/jetty/src/java/org/eclipse/jetty/server/session/
DJDBCSessionManager.java816 PreparedStatement statement = null; in loadSession()
820statement = _jdbcSessionIdMgr._dbAdaptor.getLoadStatement(connection, id, canonicalContextPath, vh… in loadSession()
821 ResultSet result = statement.executeQuery(); in loadSession()
850 if (statement!=null) in loadSession()
852 try { statement.close(); } in loadSession()
895 PreparedStatement statement = null; in storeSession() local
902 statement = connection.prepareStatement(_jdbcSessionIdMgr._insertSession); in storeSession()
903 statement.setString(1, rowId); //rowId in storeSession()
904 statement.setString(2, session.getId()); //session id in storeSession()
905 statement.setString(3, session.getCanonicalContext()); //context path in storeSession()
[all …]
DJDBCSessionIdManager.java216 … PreparedStatement statement = connection.prepareStatement("select * from "+_sessionTable+ in getLoadStatement() local
218 statement.setString(1, rowId); in getLoadStatement()
219 statement.setString(2, virtualHosts); in getLoadStatement()
221 return statement; in getLoadStatement()
227 … PreparedStatement statement = connection.prepareStatement("select * from "+_sessionTable+ in getLoadStatement() local
229 statement.setString(1, rowId); in getLoadStatement()
230 statement.setString(2, contextPath); in getLoadStatement()
231 statement.setString(3, virtualHosts); in getLoadStatement()
233 return statement; in getLoadStatement()
636 Statement statement = connection.createStatement(); in prepareTables() local
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt042ast.g32 : 'if'^ expression s1=statement ('else'! s2=statement)?
36 : 'while'^ expression statement
77 : expression? statement* type+
78 -> ^(EXPR expression? statement* type+)
90 : 'for' '(' start=statement ';' expression ';' next=statement ')' statement
91 -> ^('for' $start expression $next statement)
119 : r=statement expression -> ^($r expression)
123 : r+=statement (',' r+=statement)+ expression -> ^($r expression)
127 : r+=statement (',' r+=statement)+ -> ^(BLOCK $r+)
131 : r=statement expression -> ^($r ^($r expression))
[all …]
/external/v8/test/webkit/
Dclass-syntax-name.js28 function runTestShouldBe(statement, result) { argument
29 shouldBe(statement, result);
30 shouldBe("'use strict'; " + statement, result);
33 function runTestShouldBeTrue(statement) { argument
34 shouldBeTrue(statement);
35 shouldBeTrue("'use strict'; " + statement);
38 function runTestShouldThrow(statement) { argument
39 shouldThrow(statement);
40 shouldThrow("'use strict'; " + statement);
43 function runTestShouldNotThrow(statement) { argument
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt042ast.g38 : 'if'^ expression s1=statement ('else'! s2=statement)?
42 : 'while'^ expression statement
83 : expression? statement* type+
84 -> ^(EXPR expression? statement* type+)
96 : 'for' '(' start=statement ';' expression ';' next=statement ')' statement
97 -> ^('for' $start expression $next statement)
125 : r=statement expression -> ^($r expression)
129 : r+=statement (',' r+=statement)+ expression -> ^($r expression)
133 : r+=statement (',' r+=statement)+ -> ^(BLOCK $r+)
137 : r=statement expression -> ^($r ^($r expression))
[all …]
/external/junit/src/org/junit/runners/
DBlockJUnit4ClassRunner.java243 Statement statement= methodInvoker(method, test); in methodBlock() local
244 statement= possiblyExpectingExceptions(method, test, statement); in methodBlock()
245 statement= withPotentialTimeout(method, test, statement); in methodBlock()
246 statement= withBefores(method, test, statement); in methodBlock()
247 statement= withAfters(method, test, statement); in methodBlock()
248 statement= withRules(method, test, statement); in methodBlock()
249 return statement; in methodBlock()
302 Statement statement) { in withBefores() argument
305 return befores.isEmpty() ? statement : new RunBefores(statement, in withBefores()
320 Statement statement) { in withAfters() argument
[all …]
DParentRunner.java156 Statement statement= childrenInvoker(notifier); in classBlock() local
157 statement= withBeforeClasses(statement); in classBlock()
158 statement= withAfterClasses(statement); in classBlock()
159 statement= withClassRules(statement); in classBlock()
160 return statement; in classBlock()
168 protected Statement withBeforeClasses(Statement statement) { in withBeforeClasses() argument
171 return befores.isEmpty() ? statement : in withBeforeClasses()
172 new RunBefores(statement, befores, null); in withBeforeClasses()
182 protected Statement withAfterClasses(Statement statement) { in withAfterClasses() argument
185 return afters.isEmpty() ? statement : in withAfterClasses()
[all …]
/external/gtest/include/gtest/internal/
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 …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
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 …]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
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 …]
/external/vogar/test/vogar/testing/
DInterceptOutputStreamsTest.java61 Statement statement = new Statement() { in testApply() local
82 statement = ios.apply(statement, Description.EMPTY); in testApply()
83 statement.evaluate(); in testApply()
97 Statement statement = new Statement() { in testApply_NotIntercepting() local
111 statement = ios.apply(statement, Description.EMPTY); in testApply_NotIntercepting()
112 statement.evaluate(); in testApply_NotIntercepting()
119 Statement statement = new Statement() { in testApply_Nesting() local
128 statement = ios.apply(statement, Description.EMPTY); in testApply_Nesting()
132 statement.evaluate(); in testApply_Nesting()
/external/llvm/utils/unittest/googletest/include/gtest/internal/
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 bool Create(const char *statement, const RE *regex, const char *file,
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 …]
/external/mesa3d/src/gtest/include/gtest/internal/
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 …]
/external/chromium-trace/catapult/catapult_base/catapult_base/refactor/annotated_symbol/
Dclass_definition.py27 statement = compound_statement.children[0]
28 if statement.type == symbol.classdef:
29 return cls(statement.type, statement.children)
30 elif (statement.type == symbol.decorated and
31 statement.children[-1].type == symbol.classdef):
32 return cls(statement.type, statement.children)
Dfunction_definition.py27 statement = compound_statement.children[0]
28 if statement.type == symbol.funcdef:
29 return cls(statement.type, statement.children)
30 elif (statement.type == symbol.decorated and
31 statement.children[-1].type == symbol.funcdef):
32 return cls(statement.type, statement.children)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudfront/
Dtest_signed_urls.py197 statement = statements[0]
198 resource = statement["Resource"]
200 condition = statement["Condition"]
220 statement = statements[0]
221 resource = statement["Resource"]
223 condition = statement["Condition"]
243 statement = statements[0]
244 resource = statement["Resource"]
246 condition = statement["Condition"]
267 statement = statements[0]
[all …]
/external/libvpx/libvpx/test/
Dregister_state_check.h89 #define ASM_REGISTER_STATE_CHECK(statement) do { \ argument
91 statement; \
136 #define ASM_REGISTER_STATE_CHECK(statement) do { \ argument
138 statement; \
148 #define ASM_REGISTER_STATE_CHECK(statement) statement argument
184 #define API_REGISTER_STATE_CHECK(statement) do { \ argument
186 ASM_REGISTER_STATE_CHECK(statement); \

12345678910>>...33