Home
last modified time | relevance | path

Searched refs:match_func (Results 1 – 25 of 262) sorted by relevance

1234567891011

/dports/devel/py-traits/traits-6.3.2/traits/observation/tests/
H A Dtest_trait_added_observer.py30 match_func=mock.Mock(),
64 match_func = mock.Mock()
65 observer1 = TraitAddedObserver(match_func=match_func, optional=False)
66 observer2 = TraitAddedObserver(match_func=match_func, optional=True)
73 match_func=DummyMatchFunc(return_value=True),
77 match_func=DummyMatchFunc(return_value=True),
84 match_func = mock.Mock()
86 match_func=match_func,
90 imposter.match_func = match_func
212 def match_func(name, trait): function
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtkcustomfilter.c36 GtkCustomFilterFunc match_func; member
49 if (!self->match_func) in G_DEFINE_TYPE()
52 return self->match_func (item, self->user_data); in G_DEFINE_TYPE()
60 if (!self->match_func) in gtk_custom_filter_get_strictness()
111 gtk_custom_filter_new (GtkCustomFilterFunc match_func, in gtk_custom_filter_new() argument
119 gtk_custom_filter_set_filter_func (result, match_func, user_data, user_destroy); in gtk_custom_filter_new()
143 GtkCustomFilterFunc match_func, in gtk_custom_filter_set_filter_func() argument
148 g_return_if_fail (match_func || (user_data == NULL && !user_destroy)); in gtk_custom_filter_set_filter_func()
153 self->match_func = match_func; in gtk_custom_filter_set_filter_func()
H A Dgtkcustomfilter.h49 GtkCustomFilter * gtk_custom_filter_new (GtkCustomFilterFunc match_func,
55 GtkCustomFilterFunc match_func,
/dports/devel/py-traits/traits-6.3.2/traits/observation/
H A D_trait_added_observer.py43 def __init__(self, match_func, optional): argument
44 self.match_func = match_func
49 return hash((type(self).__name__, self.match_func, self.optional))
55 and self.match_func == other.match_func
149 return not self.match_func(name, trait)
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/utilities/
H A DfilterQueue.inline.hpp50 bool FilterQueue<E>::contains(MATCH_FUNC& match_func) { in contains() argument
56 if (match_func(cur->_data)) { in contains()
67 E FilterQueue<E>::pop(MATCH_FUNC& match_func) { in pop() argument
80 if (match_func(cur->_data)) { in pop()
118 E FilterQueue<E>::peek(MATCH_FUNC& match_func) { in peek() argument
127 if (match_func(cur->_data)) { in peek()
H A DfilterQueue.hpp68 bool contains(MATCH_FUNC& match_func);
83 E pop(MATCH_FUNC& match_func);
86 E peek(MATCH_FUNC& match_func);
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/utilities/
H A DfilterQueue.inline.hpp49 bool FilterQueue<E>::contains(MATCH_FUNC& match_func) { in contains() argument
55 if (match_func(cur->_data)) { in contains()
66 E FilterQueue<E>::pop(MATCH_FUNC& match_func) { in pop() argument
79 if (match_func(cur->_data)) { in pop()
H A DfilterQueue.hpp68 bool contains(MATCH_FUNC& match_func);
83 E pop(MATCH_FUNC& match_func);
/dports/finance/electrum/Electrum-4.1.5/packages/attr/
H A Dvalidators.py74 match_func = attrib() variable in _MatchesReValidator
80 if not self.match_func(value):
129 match_func = pattern.match
131 match_func = pattern.search
134 match_func = pattern.fullmatch
137 match_func = pattern.match
139 return _MatchesReValidator(pattern, flags, match_func)
/dports/www/firefox/firefox-99.0/third_party/python/attrs/attr/
H A Dvalidators.py74 match_func = attrib() variable in _MatchesReValidator
80 if not self.match_func(value):
129 match_func = pattern.match
131 match_func = pattern.search
134 match_func = pattern.fullmatch
137 match_func = pattern.match
139 return _MatchesReValidator(pattern, flags, match_func)
/dports/devel/py-poetry-core/poetry-core-1.0.7/poetry/core/_vendor/attr/
H A Dvalidators.py74 match_func = attrib() variable in _MatchesReValidator
80 if not self.match_func(value):
129 match_func = pattern.match
131 match_func = pattern.search
134 match_func = pattern.fullmatch
137 match_func = pattern.match
139 return _MatchesReValidator(pattern, flags, match_func)
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/vendor/attr/
H A Dvalidators.py74 match_func = attrib() variable in _MatchesReValidator
80 if not self.match_func(value):
129 match_func = pattern.match
131 match_func = pattern.search
134 match_func = pattern.fullmatch
137 match_func = pattern.match
139 return _MatchesReValidator(pattern, flags, match_func)
/dports/devel/py-attrs/attrs-21.2.0/src/attr/
H A Dvalidators.py74 match_func = attrib() variable in _MatchesReValidator
80 if not self.match_func(value):
129 match_func = pattern.match
131 match_func = pattern.search
134 match_func = pattern.fullmatch
137 match_func = pattern.match
139 return _MatchesReValidator(pattern, flags, match_func)
/dports/devel/py-pathtools/pathtools-0.1.2/pathtools/
H A Dpatterns.py85 match_func = fnmatchcase
88 match_func = fnmatch
93 if match_func(pathname, pattern):
/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/gni/src/
H A Dgnix_tags.c251 if (ts->match_func(current, &s_elem)) in __tag_list_peek_first_match()
293 ts->match_func, &s_elem); in __tag_list_find_element()
320 int (*match_func)(struct dlist_entry *entry, const void *arg)) in __tag_hlist_find_first_match()
340 if (match_func(current, &s_elem)) in __tag_hlist_find_first_match()
354 int (*match_func)(struct dlist_entry *entry, const void *arg)) in __gnix_tag_hlist_search_tag()
397 oldest_seq, oldest_gen, match_func); in __gnix_tag_hlist_search_tag()
454 int (*match_func)(struct dlist_entry *, const void *)) in _gnix_tag_storage_init()
506 ts->match_func = match_func; in _gnix_tag_storage_init()
784 flags, context, addr, ts->match_func); in __gnix_tag_hlist_peek_tag()
798 flags, context, addr, ts->match_func); in __gnix_tag_hlist_remove_tag()
[all …]
/dports/textproc/meld/meld-3.20.4/meld/
H A Dtreehelpers.py114 def get_previous_next_paths(self, path, match_func): argument
123 if match_func(it):
128 if match_func(it):
/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/gni/test/
H A Dtags.c407 match_func); in __gnix_tags_basic_list_test_setup()
419 match_func); in __gnix_tags_basic_hlist_test_setup()
431 match_func); in __gnix_tags_basic_kdtree_test_setup()
480 match_func); in __gnix_tags_basic_auto_test_setup()
1437 match_func); in Test()
1451 match_func); in Test()
1474 match_func); in Test()
1486 match_func); in Test()
1499 match_func); in Test()
1511 match_func); in Test()
[all …]
/dports/mail/postfix-current/postfix-3.7-20211107/src/util/
H A Dmatch_list.c212 list->match_func = in match_list_init()
218 list->match_func[i] = va_arg(ap, MATCH_LIST_FN); in match_list_init()
258 if (list->match_func[i] (list, STR(list->fold_buf), pat)) in match_list_match()
277 myfree((void *) list->match_func); in match_list_free()
/dports/sysutils/py-salt/salt-3004.1/salt/utils/
H A Devent.py327 match_func = self._get_match_func(match_type)
328 self.pending_tags.append([tag, match_func])
336 match_func = self._get_match_func(match_type)
466 def _check_pending(self, tag, match_func=None):
475 if match_func is None:
476 match_func = self._get_match_func()
481 if match_func(evt["tag"], tag):
548 if match_func is None:
549 match_func = self._get_match_func()
657 match_func = self._get_match_func(match_type)
[all …]
/dports/net-mgmt/nagios-check_bacula9/bacula-9.6.7/src/findlib/
H A Dfind.c267 int (*match_func)(const char *pattern, const char *string, int flags); in accept_file() local
272 match_func = fnmatch; in accept_file()
278 match_func = fnmatch; in accept_file()
295 if (match_func((char *)fo->wilddir.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
306 if (match_func((char *)fo->wildfile.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
317 if (match_func((char *)fo->wildbase.get(k), basename, fnmode|fnm_flags) == 0) { in accept_file()
328 if (match_func((char *)fo->wild.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
/dports/net-mgmt/nagios-check_bacula11/bacula-11.0.5/src/findlib/
H A Dfind.c274 int (*match_func)(const char *pattern, const char *string, int flags); in accept_file() local
279 match_func = fnmatch; in accept_file()
285 match_func = fnmatch; in accept_file()
306 if (match_func((char *)fo->wilddir.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
317 if (match_func((char *)fo->wildfile.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
328 if (match_func((char *)fo->wildbase.get(k), basename, fnmode|fnm_flags) == 0) { in accept_file()
339 if (match_func((char *)fo->wild.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
/dports/sysutils/bacula11-client/bacula-11.0.5/src/findlib/
H A Dfind.c274 int (*match_func)(const char *pattern, const char *string, int flags); in accept_file() local
279 match_func = fnmatch; in accept_file()
285 match_func = fnmatch; in accept_file()
306 if (match_func((char *)fo->wilddir.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
317 if (match_func((char *)fo->wildfile.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
328 if (match_func((char *)fo->wildbase.get(k), basename, fnmode|fnm_flags) == 0) { in accept_file()
339 if (match_func((char *)fo->wild.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
/dports/sysutils/bacula11-server/bacula-11.0.5/src/findlib/
H A Dfind.c274 int (*match_func)(const char *pattern, const char *string, int flags); in accept_file() local
279 match_func = fnmatch; in accept_file()
285 match_func = fnmatch; in accept_file()
306 if (match_func((char *)fo->wilddir.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
317 if (match_func((char *)fo->wildfile.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
328 if (match_func((char *)fo->wildbase.get(k), basename, fnmode|fnm_flags) == 0) { in accept_file()
339 if (match_func((char *)fo->wild.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
/dports/sysutils/bacula9-client-static/bacula-9.6.7/src/findlib/
H A Dfind.c267 int (*match_func)(const char *pattern, const char *string, int flags); in accept_file() local
272 match_func = fnmatch; in accept_file()
278 match_func = fnmatch; in accept_file()
295 if (match_func((char *)fo->wilddir.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
306 if (match_func((char *)fo->wildfile.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
317 if (match_func((char *)fo->wildbase.get(k), basename, fnmode|fnm_flags) == 0) { in accept_file()
328 if (match_func((char *)fo->wild.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
/dports/sysutils/bacula11-client-static/bacula-11.0.5/src/findlib/
H A Dfind.c274 int (*match_func)(const char *pattern, const char *string, int flags); in accept_file() local
279 match_func = fnmatch; in accept_file()
285 match_func = fnmatch; in accept_file()
306 if (match_func((char *)fo->wilddir.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
317 if (match_func((char *)fo->wildfile.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()
328 if (match_func((char *)fo->wildbase.get(k), basename, fnmode|fnm_flags) == 0) { in accept_file()
339 if (match_func((char *)fo->wild.get(k), ff->fname, fnmode|fnm_flags) == 0) { in accept_file()

1234567891011