/third_party/skia/src/sksl/ir/ |
D | SkSLSwitchStatement.cpp | 50 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 …]
|
D | SkSLSwitchCase.h | 19 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()
|
D | SkSLSwitchStatement.h | 63 SwitchCase* caseToCapture,
|
/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/indent/ |
D | indent-eslint.test.ts | 271 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/ |
D | SkSLSwitchStatement.h | 23 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;
|
D | SkSLSwitchCase.h | 19 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/ |
D | eslint-rules.d.ts | 57 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/ |
D | SkSLCanExitWithoutReturningValue.cpp | 99 const SwitchCase& sc = switchStmt->as<SwitchCase>(); in visitStatement()
|
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/ |
D | no-extra-parens.ts | 237 SwitchCase(node) { 239 return rules.SwitchCase(node);
|
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/indent-new-do-not-use/ |
D | index.ts | 82 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/ |
D | switch-fallthrough-comment.src.js.shot | 43 "type": "SwitchCase", 135 "type": "SwitchCase",
|
D | switch-no-default-comment-in-function.src.js.shot | 66 "type": "SwitchCase", 122 "type": "SwitchCase",
|
D | switch-fallthrough-comment-in-function.src.js.shot | 47 "type": "SwitchCase", 139 "type": "SwitchCase",
|
D | switch-no-default-comment.src.js.shot | 62 "type": "SwitchCase",
|
/third_party/typescript_eslint/packages/types/src/ |
D | ast-node-types.ts | 71 SwitchCase = 'SwitchCase', enumerator
|
D | ts-estree.ts | 212 | SwitchCase 1219 export interface SwitchCase extends BaseNode { interface 1220 type: AST_NODE_TYPES.SwitchCase; 1228 cases: SwitchCase[];
|
/third_party/jsframework/ |
D | .eslintrc | 41 "indent": [2, 2, { "SwitchCase": 1 }],
|
/third_party/jsframework/mock-generate/ |
D | .eslintrc | 41 "indent": [2, 2, { "SwitchCase": 1 }],
|
/third_party/typescript_eslint/packages/experimental-utils/src/ts-eslint/ |
D | Rule.ts | 320 SwitchCase?: RuleFunction<TSESTree.SwitchCase>; property
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 1405 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()
|
D | SkSLPipelineStageCodeGenerator.cpp | 289 const SwitchCase& c = stmt->as<SwitchCase>(); in writeSwitchStatement()
|
/third_party/skia/src/sksl/ |
D | SkSLInliner.cpp | 568 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()
|
D | SkSLDehydrator.cpp | 520 const SwitchCase& sc = stmt->as<SwitchCase>(); in write()
|
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/javascript/directives/ |
D | non-directive-string.src.js.shot | 191 "type": "SwitchCase", 266 "type": "SwitchCase",
|
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/javascript/blockBindings/ |
D | let-in-switchcase.src.js.shot | 136 "type": "SwitchCase",
|