Home
last modified time | relevance | path

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

12345678910>>...42

/third_party/typescript/src/compiler/transformers/module/
Dmodule.ts94 const statements: Statement[] = []; constant
96 …const statementOffset = factory.copyPrologue(node.statements, statements, ensureUseStrict && !isJs…
99 append(statements, createUnderscoreUnderscoreESModule());
105 statements,
117 …append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, sourceElementVisi…
118 …addRange(statements, visitNodes(node.statements, sourceElementVisitor, isStatement, statementOffse…
119 addExportEqualsIfNeeded(statements, /*emitAsReturn*/ false);
120 insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());
122 …factory.updateSourceFile(node, setTextRange(factory.createNodeArray(statements), node.statements));
188 …jsonSourceFile.statements.length ? jsonSourceFile.statements[0].expression : factory.createObjectL…
[all …]
Dsystem.ts119 node.statements
219 const statements: Statement[] = []; constant
228 …const statementOffset = factory.copyPrologue(node.statements, statements, ensureUseStrict, sourceE…
231 statements.push(
256 …const executeStatements = visitNodes(node.statements, sourceElementVisitor, isStatement, statement…
259 addRange(statements, hoistedStatements);
264 insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());
266 const exportStarFunction = addExportStarIfNeeded(statements)!; // TODO: GH#18217
287 statements.push(factory.createReturnStatement(moduleObject));
288 return factory.createBlock(statements, /*multiLine*/ true);
[all …]
DesnextAnd2015.ts26 if (!isExternalModule(node) || some(result.statements, isExternalModuleIndicator)) {
31 …tTextRange(factory.createNodeArray([...result.statements, createEmptyExports(factory)]), result.st…
41 const statements: Statement[] = []; constant
42 const statementOffset = factory.copyPrologue(node.statements, statements);
43 append(statements, externalHelpersImportDeclaration);
45 … addRange(statements, visitNodes(node.statements, visitor, isStatement, statementOffset));
48 setTextRange(factory.createNodeArray(statements), node.statements));
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/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
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_loop_stmt_test.cc31 ASSERT_EQ(e->body->statements.size(), 1u); in TEST_F()
32 EXPECT_TRUE(e->body->statements[0]->Is<ast::DiscardStatement>()); in TEST_F()
34 EXPECT_EQ(e->continuing->statements.size(), 0u); in TEST_F()
45 ASSERT_EQ(e->body->statements.size(), 1u); in TEST_F()
46 EXPECT_TRUE(e->body->statements[0]->Is<ast::DiscardStatement>()); in TEST_F()
48 EXPECT_EQ(e->continuing->statements.size(), 1u); in TEST_F()
49 EXPECT_TRUE(e->continuing->statements[0]->Is<ast::DiscardStatement>()); in TEST_F()
59 ASSERT_EQ(e->body->statements.size(), 0u); in TEST_F()
60 ASSERT_EQ(e->continuing->statements.size(), 0u); in TEST_F()
70 ASSERT_EQ(e->body->statements.size(), 0u); in TEST_F()
[all …]
Dparser_impl_case_body_test.cc29 EXPECT_EQ(e->statements.size(), 0u); in TEST_F()
41 ASSERT_EQ(e->statements.size(), 2u); in TEST_F()
42 EXPECT_TRUE(e->statements[0]->Is<ast::VariableDeclStatement>()); in TEST_F()
43 EXPECT_TRUE(e->statements[1]->Is<ast::AssignmentStatement>()); in TEST_F()
61 ASSERT_EQ(e->statements.size(), 1u); in TEST_F()
62 EXPECT_TRUE(e->statements[0]->Is<ast::FallthroughStatement>()); in TEST_F()
/third_party/typescript/tests/baselines/reference/
DlabeledStatementWithLabel_strict.errors.txt1 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(2,1): erro…
2 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(3,1): erro…
3 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(4,1): erro…
4 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(5,1): erro…
5 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(6,1): erro…
6 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(7,1): erro…
7 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(8,1): erro…
8 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(9,1): erro…
9 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(10,1): err…
10 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(12,1): err…
[all …]
DswitchBreakStatements.errors.txt1 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(2,10): error TS2678: Ty…
2 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(8,10): error TS2678: Ty…
3 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(15,10): error TS2678: T…
4 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(21,10): error TS2678: T…
5 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(24,18): error TS2678: T…
6 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(30,10): error TS2678: T…
7 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(33,18): error TS2678: T…
8 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(40,10): error TS2678: T…
9 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(42,18): error TS2678: T…
10 tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts(44,26): error TS2678: T…
[all …]
DforStatementsMultipleInvalidDecl.errors.txt1 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(32,10): error …
2 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(33,10): error …
3 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(34,10): error …
4 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(35,10): error …
5 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(36,10): error …
6 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(39,10): error …
7 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(40,10): error …
8 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(43,10): error …
9 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(46,10): error …
10 tests/cases/conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts(47,10): error …
[all …]
DinvalidMultipleVariableDeclarations.errors.txt1 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(32,5):…
2 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(33,5):…
3 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(34,5):…
4 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(35,5):…
5 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(36,5):…
6 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(39,5):…
7 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(40,5):…
8 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(43,5):…
9 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(46,5):…
10 tests/cases/conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts(47,5):…
[all …]
DinvalidTryStatements.errors.txt1 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(2,5): error TS1005: 'try' …
2 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(6,12): error TS1005: 'fina…
3 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(10,5): error TS1005: 'try'…
4 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(11,5): error TS1005: 'try'…
5 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(15,5): error TS1005: 'try'…
6 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(17,5): error TS1005: 'try'…
7 tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts(19,20): error TS1003: Iden…
10 ==== tests/cases/conformance/statements/tryStatements/invalidTryStatements.ts (7 errors) ====
DeveryTypeWithAnnotationAndInvalidInitializer.errors.txt1 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
2 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
3 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
4 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
5 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
6 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
7 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
8 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
9 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
12 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.…
[all …]
/third_party/typescript/src/compiler/transformers/
Des2015.ts523 const statements: Statement[] = []; constant
525 …const statementOffset = factory.copyPrologue(node.statements, prologue, /*ensureUseStrict*/ false,…
526 … addRange(statements, visitNodes(node.statements, visitor, isStatement, statementOffset));
528 statements.push(
537 … setTextRange(factory.createNodeArray(concatenate(prologue, statements)), node.statements)
699 const statements: Statement[] = []; constant
705 statements.push(statement);
714 statements.push(exportStatement);
720 statements.push(factory.createEndOfDeclarationMarker(node));
724 return singleOrMany(statements);
[all …]
Des2018.ts439 const statement = concatenate(visited.statements, taggedTemplateStringDeclarations && [
443 …ctory.updateSourceFile(visited, setTextRange(factory.createNodeArray(statement), node.statements));
519 ...block.statements,
609 …const statements: Statement[] = [createForOfBindingStatement(factory, initializerWithoutParens, te… constant
611 addRange(statements, node.statement.statements);
613 statementsLocation = node.statement.statements;
616 append(statements, node.statement);
635 setTextRange(factory.createNodeArray(statements), statementsLocation),
650 const statements: Statement[] = [visitNode(binding, visitor, isStatement)]; constant
653 addRange(statements, statement.statements);
[all …]
/third_party/skia/src/sksl/ir/
DSkSLBlock.cpp15 std::unique_ptr<Statement> Block::MakeUnscoped(int line, StatementArray statements) { in MakeUnscoped() argument
17 if (statements.empty()) { in MakeUnscoped()
21 if (statements.size() > 1) { in MakeUnscoped()
26 for (std::unique_ptr<Statement>& stmt : statements) { in MakeUnscoped()
34 return std::make_unique<Block>(line, std::move(statements), in MakeUnscoped()
49 return std::move(statements.front()); in MakeUnscoped()
53 StatementArray statements, in Make() argument
58 return std::make_unique<Block>(line, std::move(statements), std::move(symbols), isScope); in Make()
/third_party/gettext/libtextstyle/gnulib-local/lib/libcroco/
Dcr-stylesheet.c60 result->statements = a_stmts; in cr_stylesheet_new()
78 if (a_this->statements) { in cr_stylesheet_to_string()
82 for (cur_stmt = a_this->statements; in cr_stylesheet_to_string()
132 return cr_statement_nr_rules (a_this->statements); in cr_stylesheet_nr_rules()
147 return cr_statement_get_from_list (a_this->statements, itemnr); in cr_stylesheet_statement_get_from_list()
183 if (a_this->statements) { in cr_stylesheet_destroy()
184 cr_statement_destroy (a_this->statements); in cr_stylesheet_destroy()
185 a_this->statements = NULL; in cr_stylesheet_destroy()
/third_party/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 …]
/third_party/skia/third_party/externals/tint/src/ast/
Dblock_statement.h34 const StatementList& statements);
40 bool Empty() const { return statements.empty(); } in Empty()
44 return statements.empty() ? nullptr : statements.back(); in Last()
54 const StatementList statements; variable
/third_party/skia/third_party/externals/tint/src/transform/
Dloop_to_for_loop.cc33 if (block->statements.size() != 1) { in IsBlockWithSingleBreak()
36 return block->statements[0]->Is<ast::BreakStatement>(); in IsBlockWithSingleBreak()
70 auto& stmts = loop->body->statements; in Run()
95 if (loop_cont->statements.size() != 1) { in Run()
99 continuing = loop_cont->statements[0]; in Run()
107 for (auto* stmt : loop->body->statements) { in Run()
126 ctx.Remove(loop->body->statements, if_stmt); in Run()
/third_party/skia/src/sksl/dsl/
DDSLBlock.cpp17 DSLBlock::DSLBlock(SkSL::StatementArray statements, std::shared_ptr<SymbolTable> symbols) in DSLBlock() argument
18 : fStatements(std::move(statements)) in DSLBlock()
21 DSLBlock::DSLBlock(SkTArray<DSLStatement> statements, std::shared_ptr<SymbolTable> symbols) in DSLBlock() argument
23 fStatements.reserve_back(statements.count()); in DSLBlock()
24 for (DSLStatement& s : statements) { in DSLBlock()
DDSLCase.cpp16 DSLCase::DSLCase(DSLExpression value, SkSL::StatementArray statements, PositionInfo pos) in DSLCase() argument
18 , fStatements(std::move(statements)) in DSLCase()
21 DSLCase::DSLCase(DSLExpression value, SkTArray<DSLStatement> statements, PositionInfo pos) in DSLCase() argument
24 fStatements.reserve_back(statements.count()); in DSLCase()
25 for (DSLStatement& stmt : statements) { in DSLCase()
/third_party/skia/include/sksl/
DDSLBlock.h27 DSLBlock(Statements... statements) { in DSLBlock() argument
28 fStatements.reserve_back(sizeof...(statements)); in DSLBlock()
33 (static_cast<void>(fStatements.push_back(DSLStatement(statements.release()).release())), in DSLBlock()
40 DSLBlock(SkSL::StatementArray statements, std::shared_ptr<SymbolTable> symbols = nullptr);
42 DSLBlock(SkTArray<DSLStatement> statements, std::shared_ptr<SymbolTable> symbols = nullptr);
DDSLCase.h27 DSLCase(DSLExpression value, Statements... statements) in DSLCase() argument
29 fStatements.reserve_back(sizeof...(statements)); in DSLCase()
34 (static_cast<void>(fStatements.push_back(DSLStatement(std::move(statements)).release())), in DSLCase()
39 DSLCase(DSLExpression value, SkTArray<DSLStatement> statements,
42 DSLCase(DSLExpression value, SkSL::StatementArray statements,

12345678910>>...42