Searched refs:match_pattern (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/crypto/openssh/regress/unittests/match/
H A Dtests.c26 TEST_START("match_pattern");
27 ASSERT_INT_EQ(match_pattern("", ""), 1);
28 ASSERT_INT_EQ(match_pattern("", "aaa"), 0);
29 ASSERT_INT_EQ(match_pattern("aaa", ""), 0);
30 ASSERT_INT_EQ(match_pattern("aaa", "aaaa"), 0);
31 ASSERT_INT_EQ(match_pattern("aaaa", "aaa"), 0);
34 TEST_START("match_pattern wildcard");
35 ASSERT_INT_EQ(match_pattern("", "*"), 1);
36 ASSERT_INT_EQ(match_pattern("a", "?"), 1);
37 ASSERT_INT_EQ(match_pattern("a
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dmatch.h17 int match_pattern(const char *, const char *);
H A Dmatch.c57 match_pattern(const char *s, const char *pattern) function
81 match_pattern(s + 1, pattern + 1))
91 if (match_pattern(s, pattern))
158 if (match_pattern(string, sub)) {
237 return match_pattern(user, pattern);
243 if ((ret = match_pattern(user, pat)) == 1)
H A Dgroupaccess.c78 * Return 0 otherwise. Use match_pattern() for string comparison.
87 if (match_pattern(groups_byname[i], groups[j]))
H A Daddrmatch.c418 if (addr != NULL && match_pattern(addr, cp) == 1)
H A Dssh_namespace.h465 #define match_pattern Fssh_match_pattern macro
H A Dsession.c2055 if (match_pattern(name, options.accept_env[i])) {
H A Dclientloop.c2645 if (match_pattern(name, options.send_env[j])) {
H A Dreadconf.c1330 if (match_pattern(host, arg)) {
H A Dmux.c261 if (match_pattern(name, options.send_env[i]))
/freebsd-11-stable/contrib/subversion/subversion/svn/
H A Dauth-cmd.c142 match_pattern(const char *pattern, const char *value, function
168 if (match_pattern(pattern, value, FALSE, scratch_pool))
172 if (match_pattern(pattern, value, FALSE, scratch_pool))
177 if (match_pattern(pattern, value, TRUE, scratch_pool))
186 if (match_pattern(pattern, hostname, TRUE, scratch_pool))
215 *match = match_pattern(pattern, cred_kind, FALSE, iterpool);
217 *match = match_pattern(pattern, realmstring, FALSE, iterpool);
237 *match = match_pattern(pattern, value->data, FALSE, iterpool);
/freebsd-11-stable/usr.bin/unzip/
H A Dunzip.c284 match_pattern(struct pattern_list *list, const char *str) function
303 if (!STAILQ_EMPTY(&include) && !match_pattern(&include, pathname))
305 if (!STAILQ_EMPTY(&exclude) && match_pattern(&exclude, pathname))
/freebsd-11-stable/contrib/less/
H A Dpattern.c20 * Compile a search pattern, for future use by match_pattern.
317 match_pattern(pattern, tpattern, line, line_len, sp, ep, notbol, search_type) function
H A Dsearch.c1009 * {{ This technique, of calling match_pattern on subsequent
1031 } while (match_pattern(info_compiled(&search_info), search_info.text,
1184 int line_filter = match_pattern(info_compiled(filter), filter->text,
1415 line_match = match_pattern(info_compiled(&search_info), search_info.text,
H A Dfuncs.h293 public int match_pattern LESSPARAMS ((PATTERN_TYPE pattern, char *tpattern, char *line, int line_len, char **sp, char **ep, int notbol, int search_type));
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_enc_ses.c879 struct dev_match_pattern match_pattern; local
887 match_pattern.type = DEV_MATCH_DEVICE;
888 device_pattern = &match_pattern.pattern.device_pattern;
905 cdm.patterns = &match_pattern;
906 cdm.pattern_buf_len = sizeof(match_pattern);
/freebsd-11-stable/contrib/sendmail/src/
H A Dparseaddr.c1016 char **match_pattern; /* pointer to pattern */ member in struct:match
1154 mlp->match_pattern = rvp;
1190 mlp->match_pattern = rvp;
1198 mlp->match_pattern = rvp;
1258 rvp = mlp->match_pattern;
/freebsd-11-stable/sys/cam/
H A Dcam_ccb.h465 union match_pattern { union
479 union match_pattern pattern;

Completed in 350 milliseconds