Searched refs:case_stmt (Results 1 – 12 of 12) sorted by relevance
/third_party/skia/third_party/externals/tint/src/ast/ |
D | switch_statement_test.cc | 32 auto* case_stmt = create<CaseStatement>(lit, Block()); in TEST_F() local 33 body.push_back(case_stmt); in TEST_F() 38 EXPECT_EQ(stmt->body[0], case_stmt); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
D | generator_impl_switch_test.cc | 35 auto* case_stmt = create<ast::CaseStatement>(case_val, case_body); in TEST_F() local 38 body.push_back(case_stmt); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
D | generator_impl_switch_test.cc | 35 auto* case_stmt = create<ast::CaseStatement>(case_val, case_body); in TEST_F() local 38 body.push_back(case_stmt); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
D | generator_impl_switch_test.cc | 35 auto* case_stmt = create<ast::CaseStatement>(case_val, case_body); in TEST_F() local 38 body.push_back(case_stmt); in TEST_F()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | show-parse.c | 549 struct statement *case_stmt = sym->stmt; in show_switch_statement() local 550 struct expression *expr = case_stmt->case_expression; in show_switch_statement() 551 struct expression *to = case_stmt->case_to; in show_switch_statement()
|
D | linearize.c | 2253 struct statement *case_stmt = sym->stmt; in linearize_switch() local 2256 if (!case_stmt->case_expression) { in linearize_switch() 2259 } else if (case_stmt->case_expression->type != EXPR_VALUE) { in linearize_switch() 2262 struct expression *case_to = case_stmt->case_to; in linearize_switch() 2265 begin = end = case_stmt->case_expression->value; in linearize_switch()
|
D | compile-i386.c | 1726 struct statement *case_stmt = sym->stmt; in emit_switch_statement() local 1727 struct expression *expr = case_stmt->case_expression; in emit_switch_statement() 1728 struct expression *to = case_stmt->case_to; in emit_switch_statement()
|
D | evaluate.c | 3868 struct statement *case_stmt = sym->stmt; in evaluate_switch_statement() local 3869 check_case_type(sel, case_stmt->case_expression, enumcase_holder); in evaluate_switch_statement() 3870 check_case_type(sel, case_stmt->case_to, enumcase_holder); in evaluate_switch_statement()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver_validation.cc | 2285 for (auto* case_stmt : s->body) { in ValidateSwitch() local 2286 if (case_stmt->IsDefault()) { in ValidateSwitch() 2290 case_stmt->source); in ValidateSwitch() 2296 for (auto* selector : case_stmt->selectors) { in ValidateSwitch() 2301 case_stmt->source); in ValidateSwitch()
|
D | resolver.cc | 2381 for (auto* case_stmt : stmt->body) { in SwitchStatement() local 2382 Mark(case_stmt); in SwitchStatement() 2383 auto* c = CaseStatement(case_stmt); in SwitchStatement()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | function.cc | 3097 auto* case_stmt = in EmitSwitchStart() local 3099 swch->cases.emplace_back(case_stmt); in EmitSwitchStart()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ast_to_hir.cpp | 6875 foreach_list_typed (ast_case_statement, case_stmt, link, & this->cases) { in hir() 6876 case_stmt->hir(&tmp, state); in hir()
|