Home
last modified time | relevance | path

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

12345678910>>...25

/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 …]
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/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/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 …]
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/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/jmonkeyengine/engine/src/core-plugins/com/jme3/material/plugins/
DJ3MLoader.java87 private void readShaderStatement(String statement) throws IOException { in readShaderStatement() argument
88 String[] split = statement.split(":"); in readShaderStatement()
90 throw new IOException("Shader statement syntax incorrect" + statement); in readShaderStatement()
94 throw new IOException("Shader statement syntax incorrect: " + statement); in readShaderStatement()
105 private void readLightMode(String statement) throws IOException{ in readLightMode() argument
106 String[] split = statement.split(whitespacePattern); in readLightMode()
115 private void readShadowMode(String statement) throws IOException{ in readShadowMode() argument
116 String[] split = statement.split(whitespacePattern); in readShadowMode()
207 private void readParam(String statement) throws IOException{ in readParam() argument
212 String[] split = statement.split(":"); in readParam()
[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/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/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/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/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DMaterialLoader.java157 private void readTextureUnitStatement(Statement statement){ in readTextureUnitStatement() argument
158 String[] split = statement.getLine().split(" ", 2); in readTextureUnitStatement()
188 private void readTextureUnit(Statement statement){ in readTextureUnit() argument
189 String[] split = statement.getLine().split(" ", 2); in readTextureUnit()
198 for (Statement texUnitStat : statement.getContents()){ in readTextureUnit()
209 private void readPassStatement(Statement statement){ in readPassStatement() argument
211 String[] split = statement.getLine().split(" ", 2); in readPassStatement()
247 readTextureUnit(statement); in readPassStatement()
272 private void readPass(Statement statement){ in readPass() argument
274 String[] split = statement.getLine().split(" ", 2); in readPass()
[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/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/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/matext/
DMaterialExtensionLoader.java68 private void readExtendingMaterialStatement(Statement statement) throws IOException { in readExtendingMaterialStatement() argument
69 if (statement.getLine().startsWith("set_texture_alias")){ in readExtendingMaterialStatement()
70 String[] split = statement.getLine().split(" ", 3); in readExtendingMaterialStatement()
93 private Material readExtendingMaterial(Statement statement) throws IOException{ in readExtendingMaterial() argument
94 String[] split = statement.getLine().split(" ", 2); in readExtendingMaterial()
107 for (Statement extMatStat : statement.getContents()){ in readExtendingMaterial()
121 for (Statement statement : statements){ in load()
122 if (statement.getLine().startsWith("import")){ in load()
125 }else if (statement.getLine().startsWith("material")){ in load()
126 Material material = readExtendingMaterial(statement); in load()
/external/libvpx/libvpx/test/
Dregister_state_check.h87 #define ASM_REGISTER_STATE_CHECK(statement) do { \ argument
89 statement; \
134 #define ASM_REGISTER_STATE_CHECK(statement) do { \ argument
136 statement; \
146 #define ASM_REGISTER_STATE_CHECK(statement) statement argument
182 #define API_REGISTER_STATE_CHECK(statement) do { \ argument
184 ASM_REGISTER_STATE_CHECK(statement); \
/external/v8/test/mjsunit/regress/
Dregress-147497.js40 var statement = ""; variable
41 for (var i = 0; i < 1024; i++) statement += "z";
42 statement = 'with(0)' + statement + '=function foo(){}';
45 eval(statement);

12345678910>>...25