/netbsd/external/gpl3/gdb/dist/gdb/guile/lib/gdb/ |
H A D | printing.scm | 28 (define-public (prepend-pretty-printer! obj matcher) 31 (assert-type (pretty-printer? matcher) matcher SCM_ARG1 34 (set-pretty-printers! (cons matcher (pretty-printers)))) 37 obj (cons matcher (objfile-pretty-printers obj)))) 40 obj (cons matcher (progspace-pretty-printers obj)))) 45 (define-public (append-pretty-printer! obj matcher) 48 (assert-type (pretty-printer? matcher) matcher SCM_ARG1 51 (set-pretty-printers! (append! (pretty-printers) (list matcher)))) 54 obj (append! (objfile-pretty-printers obj) (list matcher)))) 57 obj (append! (progspace-pretty-printers obj) (list matcher))))
|
/netbsd/external/gpl3/gdb.old/dist/gdb/guile/lib/gdb/ |
H A D | printing.scm | 28 (define-public (prepend-pretty-printer! obj matcher) 31 (assert-type (pretty-printer? matcher) matcher SCM_ARG1 34 (set-pretty-printers! (cons matcher (pretty-printers)))) 37 obj (cons matcher (objfile-pretty-printers obj)))) 40 obj (cons matcher (progspace-pretty-printers obj)))) 45 (define-public (append-pretty-printer! obj matcher) 48 (assert-type (pretty-printer? matcher) matcher SCM_ARG1 51 (set-pretty-printers! (append! (pretty-printers) (list matcher)))) 54 obj (append! (objfile-pretty-printers obj) (list matcher)))) 57 obj (append! (progspace-pretty-printers obj) (list matcher))))
|
/netbsd/external/gpl3/gdb/dist/gdb/python/lib/gdb/ |
H A D | xmethod.py | 216 def _validate_xmethod_matcher(matcher): argument 217 if not hasattr(matcher, "match"): 219 if not hasattr(matcher, "name"): 221 if not hasattr(matcher, "enabled"): 223 if not isinstance(matcher.name, basestring): 226 if matcher.name.find(";") >= 0: 242 def register_xmethod_matcher(locus, matcher, replace=False): argument 257 err = _validate_xmethod_matcher(matcher) 266 index = _lookup_xmethod_matcher(locus, matcher.name) 272 "%s: %s" % (locus_name, matcher.name)) [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/ |
H A D | xmethod.py | 216 def _validate_xmethod_matcher(matcher): argument 217 if not hasattr(matcher, "match"): 219 if not hasattr(matcher, "name"): 221 if not hasattr(matcher, "enabled"): 223 if not isinstance(matcher.name, basestring): 226 if matcher.name.find(";") >= 0: 242 def register_xmethod_matcher(locus, matcher, replace=False): argument 257 err = _validate_xmethod_matcher(matcher) 266 index = _lookup_xmethod_matcher(locus, matcher.name) 272 "%s: %s" % (locus_name, matcher.name)) [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/python/lib/gdb/command/ |
H A D | xmethods.py | 132 for matcher in xm_dict[locus_str]: 133 print (" %s%s" % (matcher.name, get_status_string(matcher))) 134 if not matcher.methods: 136 for m in matcher.methods: 144 for matcher in matchers: 148 matcher.enabled = status 150 if not matcher.methods: 153 for m in matcher.methods:
|
/netbsd/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/command/ |
H A D | xmethods.py | 132 for matcher in xm_dict[locus_str]: 133 print (" %s%s" % (matcher.name, get_status_string(matcher))) 134 if not matcher.methods: 136 for m in matcher.methods: 144 for matcher in matchers: 148 matcher.enabled = status 150 if not matcher.methods: 153 for m in matcher.methods:
|
/netbsd/external/apache2/llvm/dist/clang/docs/ |
H A D | LibASTMatchers.rst | 29 For example, to create a matcher that matches all class or union declarations 33 insert a `hasName <LibASTMatchersReference.html#hasName0Anchor>`_ matcher: the 34 call ``recordDecl(hasName("Foo"))`` returns a matcher that matches classes or 41 How to create a matcher 69 #. Repeat until the matcher is finished. 92 There are multiple different ways to define a matcher, depending on its type 112 Most matcher definitions use the matcher creation macros. Those define both 113 the matcher of type ``Matcher<Type>`` itself, and a matcher-creation function 115 corresponding matcher. 128 ``VariadicDynCastAllOfMatcher`` or the matcher creation macros (see below). [all …]
|
H A D | LibASTMatchersTutorial.rst | 177 Intermezzo: Learn AST matcher basics 190 I'll give you one guess what this matcher does: 199 expand to 0. The matcher will also not match against calls to the 201 matcher to handle overloaded operators. 209 All matcher that are nouns describe entities in the AST and can be 220 Okay, on to using matchers for real. Let's start by defining a matcher 229 portion of the loop, so we can extend the matcher to 246 is more difficult. Note that this matcher will not match loops whose 250 The last step is giving the matcher a name and binding the ``ForStmt`` 322 Our simple matcher is capable of discovering for loops, but we would [all …]
|
/netbsd/external/bsd/tre/dist/lib/ |
H A D | README | 30 - Parallel TNFA matcher. 31 * The matcher basically takes a string and a TNFA and finds the 35 * The matcher cannot handle back references, but the worst case 40 - A traditional backtracking matcher. 41 * Like the parallel matcher, takes a string and a TNFA and finds 49 - Approximate parallel TNFA matcher. 56 bounds are the same as for the parallel exact matcher, but 57 in general this matcher is slower than the exact matcher. 65 * The appropriate matcher is dispatched according to the
|
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/ |
H A D | thompson.d | 522 matcher.re.ngroup = me - ms; in with() 857 re = matcher.re; in this() 860 merge = matcher.merge; in this() 861 freelist = matcher.freelist; in this() 866 front = matcher.front; in this() 867 index = matcher.index; in this() 873 re = matcher.re; in this() 876 merge = matcher.merge; in this() 877 freelist = matcher.freelist; in this() 882 front = matcher.front; in this() [all …]
|
H A D | backtracking.d | 185 auto fwdMatcher(ref BacktrackingMatcher matcher, void[] memBlock) in BacktrackingMatcher() 198 BackMatcher(matcher.re, s.loopBack(index), memBlock); in BacktrackingMatcher() 585 auto matcher = bwdMatcher(this, mem); in BacktrackingMatcher() local 589 auto matcher = fwdMatcher(this, mem); in BacktrackingMatcher() local 591 matcher.matches = matches[ms .. me]; in BacktrackingMatcher() 593 matcher.re.ir = re.ir[ in BacktrackingMatcher() 622 matcher.matches = matches[ms .. me]; in BacktrackingMatcher() 623 matcher.re.ir = re.ir[ in BacktrackingMatcher() 945 static if (typeof(matcher.s).isLoopback) 958 static if (typeof(matcher.s).isLoopback) [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 244 static Matcher<T> Cast(const Matcher<T>& matcher) { return matcher; } in Cast() argument 977 : matcher_(matcher) {} 1003 explicit NotMatcher(InnerMatcher matcher) : matcher_(matcher) {} 1266 explicit MatcherAsPredicate(M matcher) : matcher_(matcher) {} 1333 matcher.DescribeTo(&ss); 1599 explicit PointeeMatcher(const InnerMatcher& matcher) : matcher_(matcher) {} 1665 : matcher_(matcher) {} 1740 matcher_(matcher), 1803 matcher_(matcher), 1809 matcher_(matcher), [all …]
|
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/ |
H A D | thompson.d | 525 freelist = matcher.freelist; in with() 552 freelist = matcher.freelist; in with() 881 threadSize = matcher.threadSize; in this() 882 merge = matcher.merge; in this() 883 freelist = matcher.freelist; in this() 888 front = matcher.front; in this() 889 index = matcher.index; in this() 900 merge = matcher.merge; in this() 901 freelist = matcher.freelist; in this() 906 front = matcher.front; in this() [all …]
|
H A D | backtracking.d | 616 auto matcher = bwdMatcher(slicedRe, mem); in matchImpl() local 620 auto matcher = fwdMatcher(slicedRe, mem); in matchImpl() local 622 matcher.matches = matches[ms .. me]; in matchImpl() 623 matcher.backrefed = backrefed.empty ? matches : backrefed; in matchImpl() 646 auto matcher = new Matcher(slicedRe, s, mem, front, index); in matchImpl() local 653 matcher.matches = matches[ms .. me]; in matchImpl() 654 matcher.backrefed = backrefed.empty ? matches : backrefed; in matchImpl() 969 static if (typeof(matcher.s).isLoopback) in ctGenGroup() 973 static bool matcher_$$(Lookaround matcher) @trusted in ctGenGroup() 982 static if (typeof(matcher.s).isLoopback) in ctGenGroup() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/ |
H A D | gtest-death-test.cc | 383 statement, std::move(matcher), file, line, test); in Create() 401 matcher_(std::move(matcher)), in DeathTestImpl() 653 : DeathTestImpl(a_statement, std::move(matcher)), in WindowsDeathTest() 817 : DeathTestImpl(a_statement, std::move(matcher)), in FuchsiaDeathTest() 1090 Matcher<const std::string&> matcher) in ForkingDeathTest() argument 1091 : DeathTestImpl(a_statement, std::move(matcher)), child_pid_(-1) {} in ForkingDeathTest() 1113 : ForkingDeathTest(a_statement, std::move(matcher)) {} in NoExecDeathTest() 1169 : ForkingDeathTest(a_statement, std::move(matcher)), in ExecDeathTest() 1467 Matcher<const std::string&> matcher, in Create() argument 1509 *test = new ExecDeathTest(statement, std::move(matcher), file, line); in Create() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-death-test-internal.h | 83 static bool Create(const char* statement, Matcher<const std::string&> matcher, 150 Matcher<const std::string&> matcher, const char* file, in GTEST_DISABLE_MSC_WARNINGS_POP_() 157 bool Create(const char* statement, Matcher<const std::string&> matcher, 183 Matcher<const ::std::string&> matcher) { in MakeDeathTestMatcher() 184 return matcher; in MakeDeathTestMatcher()
|
/netbsd/external/gpl3/gdb/dist/gdb/python/ |
H A D | py-xmethods.c | 82 invoke_match_method (PyObject *matcher, PyObject *py_obj_type, in invoke_match_method() argument 87 gdbpy_ref<> enabled_field (PyObject_GetAttrString (matcher, in invoke_match_method() 101 gdbpy_ref<> match_method (PyObject_GetAttrString (matcher, in invoke_match_method() 110 return PyObject_CallMethodObjArgs (matcher, py_match_method_name, in invoke_match_method() 225 gdbpy_ref<> matcher (PyIter_Next (list_iter.get ())); in gdbpy_get_matching_xmethod_workers() 226 if (matcher == NULL) in gdbpy_get_matching_xmethod_workers() 236 gdbpy_ref<> match_result (invoke_match_method (matcher.get (), in gdbpy_get_matching_xmethod_workers()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/python/ |
H A D | py-xmethods.c | 82 invoke_match_method (PyObject *matcher, PyObject *py_obj_type, in invoke_match_method() argument 87 gdbpy_ref<> enabled_field (PyObject_GetAttrString (matcher, in invoke_match_method() 101 gdbpy_ref<> match_method (PyObject_GetAttrString (matcher, in invoke_match_method() 110 return PyObject_CallMethodObjArgs (matcher, py_match_method_name, in invoke_match_method() 225 gdbpy_ref<> matcher (PyIter_Next (list_iter.get ())); in gdbpy_get_matching_xmethod_workers() 226 if (matcher == NULL) in gdbpy_get_matching_xmethod_workers() 236 gdbpy_ref<> match_result (invoke_match_method (matcher.get (), in gdbpy_get_matching_xmethod_workers()
|
/netbsd/external/gpl2/grep/dist/src/ |
H A D | grep.h | 29 extern struct matcher struct 37 extern char const *matcher; argument
|
/netbsd/external/gpl2/grep/dist/ |
H A D | TODO | 5 Fix the DFA matcher to never use exponential space. (Fortunately, these 8 Improve the performance of the regex backtracking matcher. This matcher
|
/netbsd/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | msggrep.c | 83 matcher_t *matcher; member 191 gt->matcher = &matcher_grep; in main() 234 grep_task[grep_pass].matcher = &matcher_egrep; in main() 287 grep_task[grep_pass].matcher = &matcher_fgrep; in main() 447 gt->matcher->compile (gt->patterns, gt->patterns_size, in main() 670 gt->matcher->execute (gt->compiled_patterns, str, len, in is_string_selected()
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | inline-frame.c | 107 auto matcher = [target, &filter_ptid] (const inline_state &state) in clear_inline_frame_state() 115 matcher); in clear_inline_frame_state() 123 auto matcher = [target, &filter_ptid] (const inline_state &state) in clear_inline_frame_state() 131 matcher); in clear_inline_frame_state()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | inline-frame.c | 107 auto matcher = [target, &filter_ptid] (const inline_state &state) in clear_inline_frame_state() 115 matcher); in clear_inline_frame_state() 123 auto matcher = [target, &filter_ptid] (const inline_state &state) in clear_inline_frame_state() 131 matcher); in clear_inline_frame_state()
|
/netbsd/external/gpl2/diffutils/dist/lib/ |
H A D | exclude.c | 170 int (*matcher) PARAMS ((char const *, char const *, int)) = in excluded_filename() local 174 bool matched = ((*matcher) (pattern, f, options) == 0); in excluded_filename() 180 matched = ((*matcher) (pattern, p + 1, options) == 0); in excluded_filename()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/VE/ |
H A D | VE.td | 36 // Use both VE register name matcher to accept "S0~S63" register names 37 // and default register matcher to accept other registeres.
|