Home
last modified time | relevance | path

Searched refs:else_body (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tint/src/src/writer/wgsl/
H A Dgenerator_impl_if_test.cc48 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
49 else_body->append(std::make_unique<ast::DiscardStatement>()); in TEST_F()
53 std::move(else_body))); in TEST_F()
75 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
76 else_body->append(std::make_unique<ast::DiscardStatement>()); in TEST_F()
79 elses.push_back(std::make_unique<ast::ElseStatement>(std::move(else_body))); in TEST_F()
103 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
104 else_body->append(std::make_unique<ast::DiscardStatement>()); in TEST_F()
111 std::move(else_body))); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tint/src/src/writer/hlsl/
H A Dgenerator_impl_if_test.cc46 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
47 else_body->append(std::make_unique<ast::ReturnStatement>()); in TEST_F()
51 std::move(else_body))); in TEST_F()
74 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
75 else_body->append(std::make_unique<ast::ReturnStatement>()); in TEST_F()
78 elses.push_back(std::make_unique<ast::ElseStatement>(std::move(else_body))); in TEST_F()
101 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
102 else_body->append(std::make_unique<ast::ReturnStatement>()); in TEST_F()
109 std::move(else_body))); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tint/src/src/writer/msl/
H A Dgenerator_impl_if_test.cc50 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
51 else_body->append(std::make_unique<ast::ReturnStatement>()); in TEST_F()
55 std::move(else_body))); in TEST_F()
78 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
79 else_body->append(std::make_unique<ast::ReturnStatement>()); in TEST_F()
82 elses.push_back(std::make_unique<ast::ElseStatement>(std::move(else_body))); in TEST_F()
107 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
108 else_body->append(std::make_unique<ast::ReturnStatement>()); in TEST_F()
115 std::move(else_body))); in TEST_F()
/dports/devel/py-mypy/mypy-0.910/mypyc/irbuild/
H A Dstatement.py203 else_body = BasicBlock() if stmt.else_body else next
212 if stmt.else_body:
213 builder.activate_block(else_body)
214 builder.accept(stmt.else_body)
236 if s.else_body is not None:
238 builder.accept(s.else_body)
249 assert s.else_body is not None
250 builder.accept(s.else_body)
357 if else_body:
359 else_body()
[all …]
/dports/science/ascent/ascent-0.7.1-66-gbcf2742a/src/ascent/runtimes/expressions/
H A Dascent_jit_field.cpp334 const std::string &else_body, in visit_current() argument
347 if(!else_body.empty()) in visit_current()
350 else_code.insert(else_body); in visit_current()
362 const std::string &else_body, in visit_upper() argument
376 if(!else_body.empty()) in visit_upper()
379 else_code.insert(else_body); in visit_upper()
389 const std::string &else_body, in visit_lower() argument
400 if(!else_body.empty()) in visit_lower()
403 else_code.insert(else_body); in visit_lower()
588 const std::string &else_body, in visit_vertex_elements() argument
[all …]
H A Dascent_jit_field.hpp84 const std::string &else_body,
90 const std::string &else_body,
96 const std::string &else_body,
102 const std::string &else_body,
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tint/src/src/writer/spirv/
H A Dbuilder_if_test.cc143 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
144 else_body->append(std::make_unique<ast::AssignmentStatement>( in TEST_F()
151 std::make_unique<ast::ElseStatement>(std::move(else_body))); in TEST_F()
211 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
212 else_body->append(std::make_unique<ast::AssignmentStatement>( in TEST_F()
222 std::move(else_cond), std::move(else_body))); in TEST_F()
300 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
301 else_body->append(std::make_unique<ast::AssignmentStatement>( in TEST_F()
442 auto else_body = std::make_unique<ast::BlockStatement>(); in TEST_F() local
443 else_body->append(std::make_unique<ast::BreakStatement>()); in TEST_F()
[all …]
/dports/devel/py-mypy/mypy-0.910/mypy/
H A Dsemanal_pass1.py97 if s.else_body:
98 s.else_body.accept(self)
119 if s.else_body is not None:
120 s.else_body.accept(self)
H A Dtraverser.py98 if o.else_body:
99 o.else_body.accept(self)
105 if o.else_body:
106 o.else_body.accept(self)
127 if o.else_body:
128 o.else_body.accept(self)
146 if o.else_body is not None:
147 o.else_body.accept(self)
H A Dstrconv.py221 if o.else_body:
222 a.append(('Else', o.else_body.body))
233 if o.else_body:
234 a.append(('Else', o.else_body.body))
246 if not o.else_body:
249 return self.dump([a, ('Else', o.else_body.body)], o)
284 if o.else_body:
285 a.append(('Else', o.else_body.body))
H A Dreachability.py59 if not s.else_body:
60 s.else_body = Block([])
61 mark_block_unreachable(s.else_body)
H A Dnodes.py1096 else_body = None # type: Optional[Block] variable in WhileStmt
1102 self.else_body = else_body
1122 else_body = None # type: Optional[Block] variable in ForStmt
1129 else_body: Optional[Block],
1137 self.else_body = else_body
1196 else_body = None # type: Optional[Block] variable in IfStmt
1199 else_body: Optional[Block]) -> None:
1203 self.else_body = else_body
1229 else_body = None # type: Optional[Block] variable in TryStmt
1234 handlers: List[Block], else_body: Optional[Block],
[all …]
/dports/misc/py-onnx/onnx-1.10.2/onnx/backend/test/case/node/
H A Dif.py49 else_body = onnx.helper.make_graph(
61 else_branch=else_body
113 else_body = onnx.helper.make_graph(
125 else_branch=else_body
/dports/math/barvinok/barvinok-0.41.5/pet/
H A Dtree.c380 if (!cond || !then_body || !else_body) in pet_tree_new_if_else()
389 tree->u.i.else_body = else_body; in pet_tree_new_if_else()
392 else_body->loc); in pet_tree_new_if_else()
400 pet_tree_free(else_body); in pet_tree_new_if_else()
464 pet_tree_copy(tree->u.i.else_body)); in pet_tree_dup()
551 pet_tree_free(tree->u.i.else_body); in pet_tree_free()
830 return pet_tree_copy(tree->u.i.else_body); in pet_tree_if_get_else()
1155 tree->u.i.else_body = in pet_tree_map_top_down()
1228 tree->u.i.else_body = in pet_tree_map_expr()
1490 return pet_tree_is_equal(tree1->u.i.else_body, in pet_tree_is_equal()
[all …]
H A Dtree.h83 pet_tree *else_body; member
130 __isl_take pet_tree *then_body, __isl_take pet_tree *else_body);
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/
H A Dmanual_map.rs49 … let (scrutinee, then_pat, then_body, else_pat, else_body) = match IfLetOrMatch::parse(cx, expr) { in check_expr()
76 (else_body, pattern, ref_count, true) in check_expr()
79 (else_body, pattern, ref_count, false) in check_expr()
81 …OptionPat::Some { pattern, ref_count }), Some(OptionPat::Wild)) if is_none_expr(cx, else_body) => { in check_expr()
84 …OptionPat::Some { pattern, ref_count }), Some(OptionPat::None)) if is_none_expr(cx, else_body) => { in check_expr()
/dports/devel/grcov/grcov-0.8.2/cargo-crates/tera-1.12.1/src/parser/
H A Dwhitespace.rs152 let mut else_body = in remove_whitespace() localVariable
156 trim_right_previous!(else_body); in remove_whitespace()
159 If { conditions: new_conditions, otherwise: Some((else_ws, else_body)) }, in remove_whitespace()
/dports/devel/tokei/tokei-12.1.2/cargo-crates/tera-1.6.1/src/parser/
H A Dwhitespace.rs151 let mut else_body = in remove_whitespace() localVariable
155 trim_right_previous!(else_body); in remove_whitespace()
158 If { conditions: new_conditions, otherwise: Some((else_ws, else_body)) }, in remove_whitespace()
/dports/www/zola/zola-0.15.2/cargo-crates/tera-1.15.0/src/parser/
H A Dwhitespace.rs152 let mut else_body = in main()
156 trim_right_previous!(else_body); in main()
159 If { conditions: new_conditions, otherwise: Some((else_ws, else_body)) }, in main()
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/tera-1.12.0/src/parser/
H A Dwhitespace.rs152 let mut else_body = in remove_whitespace() localVariable
156 trim_right_previous!(else_body); in remove_whitespace()
159 If { conditions: new_conditions, otherwise: Some((else_ws, else_body)) }, in remove_whitespace()
/dports/lang/rust/rustc-1.58.1-src/vendor/tera/src/parser/
H A Dwhitespace.rs152 let mut else_body = in remove_whitespace() localVariable
156 trim_right_previous!(else_body); in remove_whitespace()
159 If { conditions: new_conditions, otherwise: Some((else_ws, else_body)) }, in remove_whitespace()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tint/src/src/ast/
H A Dif_statement_test.cc206 auto else_body = std::make_unique<BlockStatement>(); in TEST_F() local
207 else_body->append(std::make_unique<DiscardStatement>()); in TEST_F()
208 else_body->append(std::make_unique<DiscardStatement>()); in TEST_F()
215 else_stmts[1]->set_body(std::move(else_body)); in TEST_F()
/dports/devel/py-vulture/vulture-2.3/vulture/
H A Dcore.py396 else_body = node.orelse
401 else_body,
405 elif else_body:
409 else_body[0],
410 last_node=else_body[-1],
/dports/math/onednn/oneDNN-2.5.1/src/gpu/jit/conv/
H A Dir_core.cpp421 auto else_body = mutate(obj.else_body); in _mutate() local
424 && else_body.is_same(obj.else_body)) in _mutate()
427 return if_t::make(cond, body, else_body); in _mutate()
/dports/lang/zig-devel/zig-0.9.0/src/stage1/
H A Dparser.cpp377 AstNode *else_body = nullptr; in ast_parse_if_expr_helper() local
443 AstNode *else_body = nullptr; in ast_parse_for_expr_helper() local
449 res->data.for_expr.else_node = else_body; in ast_parse_for_expr_helper()
461 AstNode *else_body = nullptr; in ast_parse_while_expr_helper() local
470 res->data.while_expr.else_node = else_body; in ast_parse_while_expr_helper()
1007 AstNode *else_body = nullptr; in ast_parse_if_statement() local
1013 if (requires_semi && else_body == nullptr) in ast_parse_if_statement()
1115 AstNode *else_body = nullptr; in ast_parse_for_statement() local
1120 if (requires_semi && else_body == nullptr) in ast_parse_for_statement()
1125 res->data.for_expr.else_node = else_body; in ast_parse_for_statement()
[all …]

12345678910>>...16