Home
last modified time | relevance | path

Searched refs:SwitchCase (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/src/sksl/ir/
DSkSLSwitchStatement.cpp50 static std::forward_list<const SwitchCase*> find_duplicate_case_values( in find_duplicate_case_values()
52 std::forward_list<const SwitchCase*> duplicateCases; in find_duplicate_case_values()
57 const SwitchCase* sc = &stmt->as<SwitchCase>(); in find_duplicate_case_values()
113 SwitchCase* caseToCapture, in BlockForCase()
120 const SwitchCase& sc = (*iter)->as<SwitchCase>(); in BlockForCase()
132 std::unique_ptr<Statement>& stmt = (*iter)->as<SwitchCase>().statement(); in BlockForCase()
152 caseStmts.push_back(std::move((*startIter)->as<SwitchCase>().statement())); in BlockForCase()
159 SkASSERT((*startIter)->as<SwitchCase>().statement().get() == stripBreakStmt); in BlockForCase()
160 move_all_but_break((*startIter)->as<SwitchCase>().statement(), &caseStmts); in BlockForCase()
203 cases.push_back(std::make_unique<SwitchCase>(caseLine, std::move(caseValue), in Convert()
[all …]
DSkSLSwitchCase.h19 class SwitchCase final : public Statement {
24 SwitchCase(int line, std::unique_ptr<Expression> value, std::unique_ptr<Statement> statement) in SwitchCase() function
46 return std::make_unique<SwitchCase>(fLine, in clone()
DSkSLSwitchStatement.h63 SwitchCase* caseToCapture,
/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/indent/
Dindent-eslint.test.ts271 options: [2, { VariableDeclarator: 1, SwitchCase: 1 }],
286 options: [2, { VariableDeclarator: 1, SwitchCase: 1 }],
294 options: [2, { VariableDeclarator: 1, SwitchCase: 1 }],
302 options: [2, { VariableDeclarator: 1, SwitchCase: 1 }],
310 options: [2, { VariableDeclarator: 1, SwitchCase: 1 }],
318 options: [2, { VariableDeclarator: 1, SwitchCase: 1 }],
327 options: [2, { VariableDeclarator: 1, SwitchCase: 1 }],
335 options: [4, { VariableDeclarator: 1, SwitchCase: 1 }],
348 options: [2, { SwitchCase: 1, VariableDeclarator: 2 }],
362 options: [4, { VariableDeclarator: 1, SwitchCase: 1 }],
[all …]
/third_party/flutter/skia/src/sksl/ir/
DSkSLSwitchStatement.h23 std::vector<std::unique_ptr<SwitchCase>> cases, in SwitchStatement()
32 std::vector<std::unique_ptr<SwitchCase>> cloned; in clone()
34 cloned.push_back(std::unique_ptr<SwitchCase>((SwitchCase*) s->clone().release())); in clone()
58 std::vector<std::unique_ptr<SwitchCase>> fCases;
DSkSLSwitchCase.h19 struct SwitchCase : public Statement { struct
20 SwitchCase(int offset, std::unique_ptr<Expression> value, in SwitchCase() function
31 return std::unique_ptr<Statement>(new SwitchCase(fOffset, in clone() argument
/third_party/typescript_eslint/packages/eslint-plugin/typings/
Deslint-rules.d.ts57 SwitchCase?: number;
130 SwitchCase(node: TSESTree.SwitchCase): void;
185 SwitchCase: RuleFunction<TSESTree.Node>;
536 SwitchCase(node: TSESTree.SwitchCase): void;
/third_party/skia/src/sksl/analysis/
DSkSLCanExitWithoutReturningValue.cpp99 const SwitchCase& sc = switchStmt->as<SwitchCase>(); in visitStatement()
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-extra-parens.ts237 SwitchCase(node) {
239 return rules.SwitchCase(node);
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/
Dindex.ts82 AST_NODE_TYPES.SwitchCase,
185 AST_NODE_TYPES.SwitchCase,
223 SwitchCase?: number; property
281 SwitchCase: {
379 SwitchCase: 1,
1340 options.SwitchCase,
1353 SwitchCase(node) {
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/comments/
Dswitch-fallthrough-comment.src.js.shot43 "type": "SwitchCase",
135 "type": "SwitchCase",
Dswitch-no-default-comment-in-function.src.js.shot66 "type": "SwitchCase",
122 "type": "SwitchCase",
Dswitch-fallthrough-comment-in-function.src.js.shot47 "type": "SwitchCase",
139 "type": "SwitchCase",
Dswitch-no-default-comment.src.js.shot62 "type": "SwitchCase",
/third_party/typescript_eslint/packages/types/src/
Dast-node-types.ts71 SwitchCase = 'SwitchCase', enumerator
Dts-estree.ts212 | SwitchCase
1219 export interface SwitchCase extends BaseNode { interface
1220 type: AST_NODE_TYPES.SwitchCase;
1228 cases: SwitchCase[];
/third_party/jsframework/
D.eslintrc41 "indent": [2, 2, { "SwitchCase": 1 }],
/third_party/jsframework/mock-generate/
D.eslintrc41 "indent": [2, 2, { "SwitchCase": 1 }],
/third_party/typescript_eslint/packages/experimental-utils/src/ts-eslint/
DRule.ts320 SwitchCase?: RuleFunction<TSESTree.SwitchCase>; property
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp1405 const SwitchCase& c = stmt->as<SwitchCase>(); in writeSwitchStatement()
1453 if (s.cases().size() == 1 && !s.cases().front()->as<SwitchCase>().value()) { in writeSwitchStatement()
1457 const SwitchCase& c = stmt->as<SwitchCase>(); in writeSwitchStatement()
DSkSLPipelineStageCodeGenerator.cpp289 const SwitchCase& c = stmt->as<SwitchCase>(); in writeSwitchStatement()
/third_party/skia/src/sksl/
DSkSLInliner.cpp568 const SwitchCase& sc = switchCaseStmt->as<SwitchCase>(); in inlineStatement()
569 cases.push_back(std::make_unique<SwitchCase>(line, expr(sc.value()), in inlineStatement()
912 this->visitStatement(&switchCase->as<SwitchCase>().statement()); in visitStatement()
DSkSLDehydrator.cpp520 const SwitchCase& sc = stmt->as<SwitchCase>(); in write()
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/javascript/directives/
Dnon-directive-string.src.js.shot191 "type": "SwitchCase",
266 "type": "SwitchCase",
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/javascript/blockBindings/
Dlet-in-switchcase.src.js.shot136 "type": "SwitchCase",

12