Home
last modified time | relevance | path

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

12345678910>>...59

/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest-death-test.h169 # define ASSERT_EXIT(statement, predicate, regex) \ argument
170 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
174 # define EXPECT_EXIT(statement, predicate, regex) \ argument
175 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
180 # define ASSERT_DEATH(statement, regex) \ argument
181 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
185 # define EXPECT_DEATH(statement, regex) \ argument
186 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
260 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
261 GTEST_EXECUTE_STATEMENT_(statement, regex)
[all …]
/external/googletest/googletest/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)
259 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
260 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 …]
/external/swiftshader/third_party/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/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/libaom/libaom/third_party/googletest/src/googletest/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/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 …]
/external/mesa3d/src/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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithStatements.java45 default N setStatement(int i, Statement statement) { in setStatement() argument
46 getStatements().set(i, statement); in setStatement()
53 default N addStatement(Statement statement) { in addStatement() argument
54 getStatements().add(statement); in addStatement()
59 default N addStatement(int index, final Statement statement) { in addStatement() argument
60 getStatements().add(index, statement); in addStatement()
71 default N addStatement(String statement) { in addStatement() argument
72 return addStatement(parseStatement(statement)); in addStatement()
80 default <A extends Statement> A addAndGetStatement(A statement) { in addAndGetStatement() argument
81 getStatements().add(statement); in addAndGetStatement()
[all …]
/external/python/cpython3/Modules/_sqlite/
Dcursor.c43 Py_CLEAR(self->statement); in pysqlite_cursor_init()
82 if (self->statement) { in pysqlite_cursor_dealloc()
83 pysqlite_statement_reset(self->statement); in pysqlite_cursor_dealloc()
84 Py_DECREF(self->statement); in pysqlite_cursor_dealloc()
136 for (i = 0; i < sqlite3_column_count(self->statement->st); i++) { in pysqlite_build_row_cast_map()
140 colname = sqlite3_column_name(self->statement->st, i); in pysqlite_build_row_cast_map()
163 decltype = sqlite3_column_decltype(self->statement->st, i); in pysqlite_build_row_cast_map()
247 numcols = sqlite3_data_count(self->statement->st); in _pysqlite_fetch_one_row()
265 nbytes = sqlite3_column_bytes(self->statement->st, i); in _pysqlite_fetch_one_row()
266 val_str = (const char*)sqlite3_column_blob(self->statement->st, i); in _pysqlite_fetch_one_row()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DLabeledStmt.java47 private Statement statement; field in LabeledStmt
53 public LabeledStmt(final String label, final Statement statement) { in LabeledStmt() argument
54 this(null, new SimpleName(label), statement); in LabeledStmt()
58 public LabeledStmt(final SimpleName label, final Statement statement) { in LabeledStmt() argument
59 this(null, label, statement); in LabeledStmt()
66 public LabeledStmt(TokenRange tokenRange, SimpleName label, Statement statement) { in LabeledStmt() argument
69 setStatement(statement); in LabeledStmt()
87 return statement; in getStatement()
91 public LabeledStmt setStatement(final Statement statement) { in setStatement() argument
92 assertNotNull(statement); in setStatement()
[all …]
/external/python/cpython2/Modules/_sqlite/
Dcursor.c33 static pysqlite_StatementKind detect_statement_type(char* statement) in detect_statement_type() argument
39 src = statement; in detect_statement_type()
82 Py_CLEAR(self->statement); in pysqlite_cursor_init()
121 if (self->statement) { in pysqlite_cursor_dealloc()
122 pysqlite_statement_reset(self->statement); in pysqlite_cursor_dealloc()
123 Py_DECREF(self->statement); in pysqlite_cursor_dealloc()
174 for (i = 0; i < sqlite3_column_count(self->statement->st); i++) { in pysqlite_build_row_cast_map()
178 colname = sqlite3_column_name(self->statement->st, i); in pysqlite_build_row_cast_map()
201 decltype = sqlite3_column_decltype(self->statement->st, i); in pysqlite_build_row_cast_map()
312 numcols = sqlite3_data_count(self->statement->st); in _pysqlite_fetch_one_row()
[all …]
/external/antlr/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/runtime/Cpp/tests/
Dt042ast.g45 : 'if'^ expression s1=statement ('else'! s2=statement)?
49 : 'while'^ expression statement
90 : expression? statement* type+
91 -> ^(EXPR expression? statement* type+)
103 : 'for' '(' start=statement ';' expression ';' next=statement ')' statement
104 -> ^('for' $start expression $next statement)
132 : r=statement expression -> ^($r expression)
136 : r+=statement (',' r+=statement)+ expression -> ^($r expression)
140 : r+=statement (',' r+=statement)+ -> ^(BLOCK $r+)
144 : r=statement expression -> ^($r ^($r expression))
[all …]
/external/antlr/runtime/Python3/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/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/vogar/src/vogar/target/junit/
DStatementRunner.java38 private final Statement statement; field in StatementRunner
42 Statement statement) { in StatementRunner() argument
44 this.statement = statement; in StatementRunner()
49 public StatementRunner(RunnerParams runnerParams, DescribableStatement statement) { in StatementRunner() argument
50 this(runnerParams, statement.getDescription(), statement); in StatementRunner()
60 Statement statement = this.statement; in run() local
61 statement = testRule.apply(statement, description); in run()
62 ParentRunnerHelper.abortingRunLeaf(statement, description, notifier); in run()
/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcCleanupRuleTest.java95 Statement statement = mock(Statement.class); in singleChannelCleanup() local
96 InOrder inOrder = inOrder(statement, channel); in singleChannelCleanup()
105 grpcCleanup.apply(statement, null /* description*/).evaluate(); in singleChannelCleanup()
112 inOrder.verify(statement).evaluate(); in singleChannelCleanup()
122 Statement statement = mock(Statement.class); in singleServerCleanup() local
123 InOrder inOrder = inOrder(statement, server); in singleServerCleanup()
132 grpcCleanup.apply(statement, null /* description*/).evaluate(); in singleServerCleanup()
139 inOrder.verify(statement).evaluate(); in singleServerCleanup()
155 Statement statement = mock(Statement.class); in multiResource_cleanupGracefully() local
156 InOrder inOrder = inOrder(statement, resource1, resource2, resource3); in multiResource_cleanupGracefully()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSQLiteConnection.java378 final SQLiteStatement statement = statementsMap.get(statementPtr); in getStatement() local
379 if (statement == null) { in getStatement()
382 if (statement.isDisposed()) { in getStatement()
383 … throw new IllegalStateException("Statement " + statementPtr + " " + statement + " is disposed"); in getStatement()
385 return statement; in getStatement()
417 … final SQLiteStatement statement = execute("prepare statement", new Callable<SQLiteStatement>() { in prepareStatement() local
425 statementsMap.put(statementPtr, statement); in prepareStatement()
485 final SQLiteStatement statement = getStatement(connectionPtr, statementPtr); in finalizeStmt() local
491 statement.dispose(); in finalizeStmt()
502 final SQLiteStatement statement = statementsMap.get(pointerCounter.get()); in cancel() local
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithStatements.java17 public default T addStatement(Statement statement) { in addStatement() argument
18 getStmts().add(statement); in addStatement()
19 statement.setParentNode((Node) this); in addStatement()
24 public default T addStatement(int index, final Statement statement) { in addStatement() argument
25 getStmts().add(index, statement); in addStatement()
26 statement.setParentNode((Node) this); in addStatement()
31 ExpressionStmt statement = new ExpressionStmt(expr); in addStatement() local
32 expr.setParentNode(statement); in addStatement()
33 return addStatement(statement); in addStatement()
36 public default T addStatement(String statement) { in addStatement() argument
[all …]
/external/boringssl/src/util/fipstools/delocate/
Ddelocate.go125 for statement := input.ast.up; statement != nil; statement = statement.next {
126 assertNodeType(statement, ruleStatement)
127 origStatement = statement
129 node := skipWS(statement.up)
131 d.writeNode(statement)
137 d.writeNode(statement)
139 statement, err = d.processDirective(statement, node.up)
141 statement, err = d.processLabelContainingDirective(statement, node.up)
143 statement, err = d.processLabel(statement, node.up)
147 statement, err = d.processIntelInstruction(statement, node.up)
[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/swiftshader/third_party/llvm-7.0/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 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/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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DControlFlowLogic.java85 private List<TryStmt> containedTryStmts(Statement statement) { in containedTryStmts() argument
98 public boolean canCompleteNormally(Statement statement) { in canCompleteNormally() argument
99 if (!isReachable(statement)) { in canCompleteNormally()
106 if (n.isEmpty() && !parentIs(statement, SwitchStmt.class)) { in canCompleteNormally()
107 return isReachable(statement); in canCompleteNormally()
111 if (!n.isEmpty() && !parentIs(statement, SwitchStmt.class)) { in canCompleteNormally()
166 return statement.accept(visitor, null); in canCompleteNormally()
169 private boolean isReachableBecauseOfPosition(Statement statement) { in isReachableBecauseOfPosition() argument
185 public boolean isReachable(Statement statement) { in isReachable() argument
192 if (statement.getParentNode().isPresent()) { in isReachable()
[all …]

12345678910>>...59