Home
last modified time | relevance | path

Searched refs:statements (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/external/fonttools/Tests/feaLib/
Dparser_test.py80 c1 = doc.statements[0]
81 c2 = doc.statements[1].statements[1]
87 self.assertEqual(doc.statements[1].name, "test")
93 c1 = doc.statements[0]
103 anchor = doc.statements[0].statements[0].entryAnchor
116 anchor = doc.statements[0].statements[0].entryAnchor
131 anchor = doc.statements[0].statements[0].entryAnchor
144 anchor = doc.statements[0].statements[0].exitAnchor
153 anchor = doc.statements[0].statements[1].entryAnchor
169 [foo] = self.parse("anchorDef 123 456 foo;").statements
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DBlockStmt.java46 private NodeList<Statement> statements; field in BlockStmt
53 public BlockStmt(final NodeList<Statement> statements) { in BlockStmt() argument
54 this(null, statements); in BlockStmt()
61 public BlockStmt(TokenRange tokenRange, NodeList<Statement> statements) { in BlockStmt() argument
63 setStatements(statements); in BlockStmt()
81 return statements; in getStatements()
85 public BlockStmt setStatements(final NodeList<Statement> statements) { in setStatements() argument
86 assertNotNull(statements); in setStatements()
87 if (statements == this.statements) { in setStatements()
90 notifyPropertyChange(ObservableProperty.STATEMENTS, this.statements, statements); in setStatements()
[all …]
DSwitchEntry.java90 private NodeList<Statement> statements; field in SwitchEntry
99 …chEntry(final NodeList<Expression> labels, final Type type, final NodeList<Statement> statements) { in SwitchEntry() argument
100 this(null, labels, type, statements); in SwitchEntry()
107 …ry(TokenRange tokenRange, NodeList<Expression> labels, Type type, NodeList<Statement> statements) { in SwitchEntry() argument
111 setStatements(statements); in SwitchEntry()
134 return statements; in getStatements()
158 public SwitchEntry setStatements(final NodeList<Statement> statements) { in setStatements() argument
159 assertNotNull(statements); in setStatements()
160 if (statements == this.statements) { in setStatements()
163 notifyPropertyChange(ObservableProperty.STATEMENTS, this.statements, statements); in setStatements()
[all …]
/external/fonttools/Tests/voltLib/
Dparser_test.py28 ).statements
36 ).statements
45 ).statements
54 ).statements
63 ).statements
71 ).statements
79 ).statements
87 ).statements
95 ).statements
103 ).statements
[all …]
/external/angle/src/compiler/translator/tree_ops/
DPruneEmptyCases.cpp20 bool AreEmptyBlocks(TIntermSequence *statements);
40 bool AreEmptyBlocks(TIntermSequence *statements) in AreEmptyBlocks() argument
42 for (size_t i = 0u; i < statements->size(); ++i) in AreEmptyBlocks()
44 if (!IsEmptyBlock(statements->at(i))) in AreEmptyBlocks()
76 TIntermSequence *statements = statementList->getSequence(); in visitSwitch() local
80 size_t i = statements->size(); in visitSwitch()
85 TIntermNode *statement = statements->at(i); in visitSwitch()
112 if (lastNoOpInStatementList < statements->size()) in visitSwitch()
114 statements->erase(statements->begin() + lastNoOpInStatementList, statements->end()); in visitSwitch()
DRewriteDoWhile.cpp59 TIntermSequence *statements = node->getSequence(); in visitBlock() local
64 for (size_t i = 0; i < statements->size(); i++) in visitBlock()
66 TIntermNode *statement = (*statements)[i]; in visitBlock()
/external/angle/third_party/glslang/src/Test/baseResults/
Dpreprocessor.many.endif.vert.err1 ERROR: 0:1: '#endif' : mismatched statements
2 ERROR: 0:2: '#endif' : mismatched statements
3 ERROR: 0:3: '#endif' : mismatched statements
4 ERROR: 0:4: '#endif' : mismatched statements
5 ERROR: 0:5: '#endif' : mismatched statements
6 ERROR: 0:6: '#endif' : mismatched statements
7 ERROR: 0:7: '#endif' : mismatched statements
/external/deqp-deps/glslang/Test/baseResults/
Dpreprocessor.many.endif.vert.err1 ERROR: 0:1: '#endif' : mismatched statements
2 ERROR: 0:2: '#endif' : mismatched statements
3 ERROR: 0:3: '#endif' : mismatched statements
4 ERROR: 0:4: '#endif' : mismatched statements
5 ERROR: 0:5: '#endif' : mismatched statements
6 ERROR: 0:6: '#endif' : mismatched statements
7 ERROR: 0:7: '#endif' : mismatched statements
/external/v8/src/ast/
Dsource-range-ast-visitor.cc20 ZonePtrList<Statement>* stmts = stmt->statements(); in VisitBlock()
32 MaybeRemoveLastContinuationRange(clause->statements()); in VisitSwitchStatement()
96 ZonePtrList<Statement>* statements) { in MaybeRemoveLastContinuationRange() argument
97 if (statements->is_empty()) return; in MaybeRemoveLastContinuationRange()
98 MaybeRemoveContinuationRange(statements->last()); in MaybeRemoveLastContinuationRange()
102 Statement* FindLastNonSyntheticStatement(ZonePtrList<Statement>* statements) { in FindLastNonSyntheticStatement() argument
103 for (int i = statements->length() - 1; i >= 0; --i) { in FindLastNonSyntheticStatement()
104 Statement* stmt = statements->at(i); in FindLastNonSyntheticStatement()
123 FindLastNonSyntheticStatement(try_catch_stmt->try_block()->statements()); in MaybeRemoveContinuationRangeOfAsyncReturn()
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py53 statements = self.doc_.statements
57 statements.append(
61 statements.append(self.parse_include_())
63 statements.append(self.parse_glyphclass_definition_())
65 statements.append(self.parse_anonymous_())
67 statements.append(self.parse_anchordef_())
69 statements.append(self.parse_languagesystem_())
71 statements.append(self.parse_lookup_(vertical=False))
73 statements.append(self.parse_markClass_())
75 statements.append(self.parse_feature_block_())
[all …]
/external/selinux/secilc/docs/
DREADME.md33 * [Call / Macro Statements](cil_call_macro_statements.md#call--macro-statements)
37 … and Permission Statements](cil_class_and_permission_statements.md#class-and-permission-statements)
48 * [Conditional Statements](cil_conditional_statements.md#conditional-statements)
54 * [Constraint Statements](cil_constraint_statements.md#constraint-statements)
60 * [Container Statements](cil_container_statements.md#container-statements)
70 * [Default Object Statements](cil_default_object_statements.md#default-object-statements)
76 * [File Labeling Statements](cil_file_labeling_statements.md#file-labeling-statements)
81 …urity Labeling Statements](cil_mls_labeling_statements.md#multi-level-security-labeling-statements)
98 * [Network Labeling Statements](cil_network_labeling_statements.md#network-labeling-statements)
104 * [Policy Configuration Statements](cil_policy_config_statements.md#policy-configuration-statements)
[all …]
Dcil_container_statements.md34 <td align="left"><p>Zero or more valid CIL statements.</p></td>
82 <td align="left"><p>Zero or more valid CIL statements forming the abstract block.</p></td>
94 …tement. All [`blockinherit`](cil_container_statements.md#blockinherit) statements are resolved fir…
130 <td align="left"><p>Zero or more valid CIL statements.</p></td>
194statements in the optional block must be satisfied before instantiation in the binary policy. [`tu…
229 <td align="left"><p>Zero or more valid CIL statements.</p></td>
236 …al block `ext_gateway.move_file` into policy providing all optional CIL statements can be resolved:
257statements into a named container ([`block`](cil_container_statements.md#block), [`optional`](cil_…
284 <td align="left"><p>Zero or more valid CIL statements.</p></td>
Dcil_conditional_statements.md43 Contains the run time conditional statements that are instantiated in the binary policy according t…
45 [`call`](cil_call_macro_statements.md#call) statements are allowed within a [`booleanif`](cil_condi…
86 <td align="left"><p>An optional set of CIL statements that will be instantiated when the <code>bool…
90 <td align="left"><p>An optional set of CIL statements that will be instantiated when the <code>bool…
119 Tunables are similar to booleans, however they are used to manage areas of CIL statements that may …
157 Compile time conditional statement that may or may not add CIL statements to be compiled.
198 <td align="left"><p>An optional set of CIL statements that will be instantiated when the <code>tuna…
202 <td align="left"><p>An optional set of CIL statements that will be instantiated when the <code>tuna…
/external/vogar/src/vogar/target/junit/
DParentStatementRunner.java40 private final List<DescribableStatement> statements; field in ParentStatementRunner
43 public ParentStatementRunner(Class<?> testClass, List<DescribableStatement> statements, in ParentStatementRunner() argument
48 this.statements = statements; in ParentStatementRunner()
59 return statements; in getChildren()
/external/v8/src/parsing/
Drewriter.cc47 void Process(ZonePtrList<Statement>* statements);
119 b->statements()->Add( in AssignUndefinedBefore()
121 b->statements()->Add(s, zone()); in AssignUndefinedBefore()
125 void Processor::Process(ZonePtrList<Statement>* statements) { in Process() argument
131 for (int i = statements->length() - 1; i >= 0 && (breakable_ || !is_set_); in Process()
133 Visit(statements->at(i)); in Process()
134 statements->Set(i, replacement_); in Process()
150 Process(node->statements()); in VisitBlock()
263 node->finally_block()->statements()->InsertAt( in VisitTryFinallyStatement()
266 node->finally_block()->statements()->Add( in VisitTryFinallyStatement()
[all …]
Dparser.cc605 StatementListT statements(pointer_buffer()); in DoParseProgram() local
606 ParseModuleItemList(&statements); in DoParseProgram()
612 block = factory()->NewBlock(true, statements); in DoParseProgram()
614 statements.MergeInto(&body); in DoParseProgram()
774 StatementListT statements(pointer_buffer()); in ParseREPLProgram() local
775 ParseStatementList(&statements, Token::EOS); in ParseREPLProgram()
776 block = factory()->NewBlock(true, statements); in ParseREPLProgram()
782 Rewriter::RewriteBody(info, scope, block->statements()); in ParseREPLProgram()
1714 ScopedPtrList<Statement> statements(pointer_buffer()); in BuildInitializationBlock() local
1717 InitializeVariables(&statements, parsing_result->descriptor.kind, in BuildInitializationBlock()
[all …]
/external/mesa3d/src/compiler/glsl/tests/
Dlower_jump_cases.py117 def loop(statements): argument
121 check_sexp(statements)
122 return [['loop', statements]]
138 def complex_if(var_prefix, statements): argument
155 check_sexp(statements)
156 return simple_if(var_prefix + 'a', simple_if(var_prefix + 'b', statements))
225 def if_execute_flag(statements): argument
229 check_sexp(statements)
230 return [['if', ['var_ref', 'execute_flag'], statements, []]]
239 def if_not_return_flag(statements): argument
[all …]
/external/autotest/contrib/
Dcoverage.py104 def __init__(self, statements, excluded, suite_spots): argument
106 self.statements = statements
158 self.statements[lines[1]] = 1
197 self.statements[lineno] = 1
712 statements = {}
714 visitor = StatementFindingAstVisitor(statements, excluded, suite_spots)
717 lines = statements.keys()
730 def format_lines(self, statements, lines): argument
736 while i < len(statements) and j < len(lines):
737 if statements[i] == lines[j]:
[all …]
/external/clang/test/Index/
Dcomplete-at-exprstmt.m26 …ftParen (}{Placeholder expression}{RightParen )}{LeftBrace {}{Placeholder statements}{RightBrace }}
28statements}{RightBrace }}{Text @catch}{LeftParen (}{Placeholder parameter}{RightParen )}{LeftBrace…
37 …ftParen (}{Placeholder expression}{RightParen )}{LeftBrace {}{Placeholder statements}{RightBrace }}
39statements}{RightBrace }}{Text @catch}{LeftParen (}{Placeholder parameter}{RightParen )}{LeftBrace…
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
Dcontrol_flow.md7 AutoGraph rewrites all control flow statements with specialized AutoGraph
14 Key Point: Only statements that are conditioned on, or iterate over, a
125 This explains why inserting `print` statements in an `if` statement produces
179 ### `if` statements
181 `if` statements whose condition is a `tf.Tensor` are executed as TensorFlow
191 `if` statements whose condition is not a `tf.Tensor` are executed as normal
201 `if` statements executed as TensorFlow conditionals are subject to restrictions
211 ### `while` statements
213 `while` statements whose condition is a `tf.Tensor` are executed as TensorFlow
222 `while` statements whose condition is not a `tf.Tensor` are executed as normal
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
DStatementTransformationsTest.java57 NodeList<Statement> statements = stmt.asSwitchStmt().getEntry(0).getStatements(); in switchEntryCsmHasTrailingUnindent() local
58 statements.set(1, statements.get(1).clone()); // clone() to force replacement in switchEntryCsmHasTrailingUnindent()
/external/selinux/secilc/test/
Din_test.cil25 ;; Check that "in" statements work in blocks
47 ;; Check that "in" statements work in optionals
67 ;; Check that "in" statements work in macros
86 ;; Check "in" statements work for nested optionals
99 ;; Check "in: statements work for nested optionals and macros
/external/python/cpython2/Misc/Vim/
Dvim_syntax.py77 statements = ( variable
171 for statement_var, statement_parts in statements:
178 for statement_var, statement_parts in statements:
210 for statement_var, statement_parts in statements:
/external/junit/src/main/java/org/junit/runners/
DBlockJUnit4ClassRunner.java17 import org.junit.internal.runners.statements.ExpectException;
18 import org.junit.internal.runners.statements.Fail;
19 import org.junit.internal.runners.statements.FailOnTimeout;
20 import org.junit.internal.runners.statements.InvokeMethod;
21 import org.junit.internal.runners.statements.RunAfters;
22 import org.junit.internal.runners.statements.RunBefores;
/external/skqp/src/sksl/ast/
DSkSLASTBlock.h19 ASTBlock(int offset, std::vector<std::unique_ptr<ASTStatement>> statements) in ASTBlock()
21 , fStatements(std::move(statements)) {} in ASTBlock()

12345678910>>...26