Home
last modified time | relevance | path

Searched refs:has_guard (Results 1 – 25 of 30) sorted by relevance

12

/dports/lang/chaiscript/ChaiScript-6.1.0/unittests/3.x/
H A Dfunction_introspection.chai60 assert_equal(true, with_guard.has_guard());
61 assert_equal(false, without_guard.has_guard());
66 assert_equal(true, group[0].has_guard())
67 assert_equal(false, group[1].has_guard())
74 assert_equal(false, guard.has_guard());
/dports/lang/chaiscript/ChaiScript-6.1.0/unittests/
H A Dfunction_introspection.chai60 assert_equal(true, with_guard.has_guard());
61 assert_equal(false, without_guard.has_guard());
66 assert_equal(true, group[0].has_guard())
67 assert_equal(false, group[1].has_guard())
74 assert_equal(false, guard.has_guard());
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_mir_build/src/build/matches/
H A Dmod.rs645 has_guard: ArmHasGuard, in declare_bindings()
668 has_guard, in declare_bindings()
826 has_guard: bool, field
850 fn new(place: PlaceBuilder<'tcx>, pattern: &'pat Pat<'tcx>, has_guard: bool) -> Self { in new()
853 has_guard, in new()
1213 .position(|c| !c.has_guard) in select_matched_candidates()
1225 if candidate.has_guard { in select_matched_candidates()
1374 .map(|pat| Candidate::new(place.clone(), pat, candidate.has_guard)) in test_or_pattern()
1401 if candidate.subcandidates.is_empty() || candidate.has_guard { in merge_trivial_subcandidates()
2181 has_guard: ArmHasGuard, in declare_binding()
[all …]
H A Dsimplify.rs134 let mut candidate = Candidate::new(place.clone(), pat, candidate.has_guard); in create_or_subcandidates()
/dports/lang/nwcc/nwcc_0.8.3/cpp/
H A Dpreprocess.h42 int has_guard; member
H A Dpreprocess.c950 if (cached_file->has_guard) {
1234 && !current_include->has_guard) {
1242 current_include->has_guard = 1;
1456 && current_include->has_guard
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_mir_build/src/thir/pattern/
H A Dusefulness.rs903 crate has_guard: bool,
943 is_useful(cx, &matrix, &v, RealArm, arm.hir_id, arm.has_guard, true); in compute_match_usefulness()
944 if !arm.has_guard { in compute_match_usefulness()
H A Dcheck_match.rs183 has_guard: guard.is_some(), in check_match()
226 let arms = vec![MatchArm { pat: pattern, hir_id: pat.hir_id, has_guard: false }]; in check_irrefutable()
452 let arms = [MatchArm { pat, hir_id: pat_id, has_guard: false }]; in check_let_reachability()
487 if !arm.has_guard && catchall.is_none() && pat_is_catchall(arm.pat) { in report_arm_reachability()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_ty/src/diagnostics/match_check/
H A Dusefulness.rs1095 pub(crate) has_guard: bool, field
1133 let usefulness = is_useful(cx, &matrix, &v, LeaveOutWitness, arm.has_guard, true); in compute_match_usefulness()
1134 if !arm.has_guard { in compute_match_usefulness()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_ty/src/diagnostics/match_check/
H A Dusefulness.rs1095 pub(crate) has_guard: bool, field
1133 let usefulness = is_useful(cx, &matrix, &v, LeaveOutWitness, arm.has_guard, true); in compute_match_usefulness()
1134 if !arm.has_guard { in compute_match_usefulness()
/dports/devel/rttr/rttr-0.9.6-16-gb3a131c/3rd_party/chaiscript-develop/chaiscript/language/
H A Dchaiscript_prelude_docs.hpp538 bool has_guard() const;
H A Dchaiscript_eval.hpp759 … std::make_move_iterator(std::prev(t_children.end(), has_guard(t_children, 1)?2:1))) in Def_AST_Node()
768 …hared_ptr<AST_Node_Impl<T>> get_guard_node(std::vector<AST_Node_Impl_Ptr<T>> &&vec, bool has_guard) in get_guard_node()
770 if (has_guard) { in get_guard_node()
782 …static bool has_guard(const std::vector<AST_Node_Impl_Ptr<T>> &t_children, const std::size_t offse… in has_guard() function
1413 …std::make_move_iterator(std::prev(t_children.end(), Def_AST_Node<T>::has_guard(t_children, 1)?2:1)… in Method_AST_Node()
/dports/lang/chaiscript/ChaiScript-6.1.0/include/chaiscript/language/
H A Dchaiscript_prelude_docs.hpp538 bool has_guard() const;
H A Dchaiscript_eval.hpp762 … std::make_move_iterator(std::prev(t_children.end(), has_guard(t_children, 1)?2:1))) in Def_AST_Node()
771 …hared_ptr<AST_Node_Impl<T>> get_guard_node(std::vector<AST_Node_Impl_Ptr<T>> &&vec, bool has_guard) in get_guard_node()
773 if (has_guard) { in get_guard_node()
785 …static bool has_guard(const std::vector<AST_Node_Impl_Ptr<T>> &t_children, const std::size_t offse… in has_guard() function
1425 …std::make_move_iterator(std::prev(t_children.end(), Def_AST_Node<T>::has_guard(t_children, 1)?2:1)… in Method_AST_Node()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rustfmt/src/
H A Dmatches.rs349 has_guard: bool, in rewrite_match_body()
383 (has_guard && pats_str.contains('\n') && !is_empty_block) || !body.attrs.is_empty(); in rewrite_match_body()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/tools/gcmole/
H A Dgcmole.cc1414 scopes_.back().has_guard = true; in VisitDecl()
1469 if (s.has_guard) return true; in HasActiveGuard()
1497 bool has_guard = false; member
1500 : stmt(stmt_), has_guard(has_guard_) {} in GCGuard()
/dports/devel/rttr/rttr-0.9.6-16-gb3a131c/3rd_party/chaiscript-develop/chaiscript/dispatchkit/
H A Dbootstrap.hpp272 static bool has_guard(const Const_Proxy_Function &t_pf) in has_guard() function in chaiscript::bootstrap::Bootstrap
421 m.add(fun(&has_guard), "has_guard"); in bootstrap()
/dports/lang/chaiscript/ChaiScript-6.1.0/include/chaiscript/dispatchkit/
H A Dbootstrap.hpp274 static bool has_guard(const Const_Proxy_Function &t_pf) in has_guard() function in chaiscript::bootstrap::Bootstrap
423 m.add(fun(&has_guard), "has_guard"); in bootstrap()
/dports/lang/racket-minimal/racket-8.3/src/bc/src/
H A Dvalidate.c243 int i, size, flags, result, is_struct, is_struct_prop, has_guard; in define_values_validate() local
360 has_guard = 0; in define_values_validate()
362 &has_guard, in define_values_validate()
403 scheme_get_struct_property_proc_shape(i-1, has_guard), in define_values_validate()
/dports/lang/racket/racket-8.3/src/bc/src/
H A Dvalidate.c243 int i, size, flags, result, is_struct, is_struct_prop, has_guard; in define_values_validate() local
360 has_guard = 0; in define_values_validate()
362 &has_guard, in define_values_validate()
403 scheme_get_struct_property_proc_shape(i-1, has_guard), in define_values_validate()
H A Doptimize.c1945 intptr_t scheme_get_struct_property_proc_shape(int k, int has_guard) in scheme_get_struct_property_proc_shape() argument
1949 if (has_guard) in scheme_get_struct_property_proc_shape()
9187 int n, cnst = 0, sproc = 0, sprop = 0, has_guard = 0; in scheme_optimize_linklet() local
9233 &has_guard, in scheme_optimize_linklet()
9267 … e2 = scheme_make_struct_property_proc_shape(scheme_get_struct_property_proc_shape(i, has_guard)); in scheme_optimize_linklet()
10423 int checked_st = 0, is_st_prop = 0, has_guard = 0; in linklet_setup_constants() local
10466 &has_guard, in linklet_setup_constants()
10482 shape = scheme_get_struct_property_proc_shape(k, has_guard); in linklet_setup_constants()
/dports/math/clingo/clingo-5.5.1/libclingo/tests/
H A Dclingo.cc411 REQUIRE(!atom.has_guard());
448 REQUIRE(atom.has_guard());
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_ty/src/diagnostics/
H A Dexpr.rs318 has_guard: arm.guard.is_some(), in validate_match()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_ty/src/diagnostics/
H A Dexpr.rs305 has_guard: arm.guard.is_some(), in validate_match()
/dports/math/clingo/clingo-5.5.1/libclingo/
H A Dclingo.h869 …theory_atoms_atom_has_guard(clingo_theory_atoms_t const *atoms, clingo_id_t atom, bool *has_guard);

12