/dports/lang/chaiscript/ChaiScript-6.1.0/unittests/3.x/ |
H A D | function_introspection.chai | 60 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 D | function_introspection.chai | 60 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 D | mod.rs | 645 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 D | simplify.rs | 134 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 D | preprocess.h | 42 int has_guard; member
|
H A D | preprocess.c | 950 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 D | usefulness.rs | 903 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 D | check_match.rs | 183 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 D | usefulness.rs | 1095 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 D | usefulness.rs | 1095 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 D | chaiscript_prelude_docs.hpp | 538 bool has_guard() const;
|
H A D | chaiscript_eval.hpp | 759 … 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 D | chaiscript_prelude_docs.hpp | 538 bool has_guard() const;
|
H A D | chaiscript_eval.hpp | 762 … 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 D | matches.rs | 349 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 D | gcmole.cc | 1414 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 D | bootstrap.hpp | 272 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 D | bootstrap.hpp | 274 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 D | validate.c | 243 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 D | validate.c | 243 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 D | optimize.c | 1945 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 D | clingo.cc | 411 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 D | expr.rs | 318 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 D | expr.rs | 305 has_guard: arm.guard.is_some(), in validate_match()
|
/dports/math/clingo/clingo-5.5.1/libclingo/ |
H A D | clingo.h | 869 …theory_atoms_atom_has_guard(clingo_theory_atoms_t const *atoms, clingo_id_t atom, bool *has_guard);
|