/freebsd/crypto/openssh/regress/unittests/match/ |
H A D | tests.c | 26 ASSERT_INT_EQ(match_pattern("", ""), 1); in tests() 27 ASSERT_INT_EQ(match_pattern("", "aaa"), 0); in tests() 28 ASSERT_INT_EQ(match_pattern("aaa", ""), 0); in tests() 29 ASSERT_INT_EQ(match_pattern("aaa", "aaaa"), 0); in tests() 30 ASSERT_INT_EQ(match_pattern("aaaa", "aaa"), 0); in tests() 34 ASSERT_INT_EQ(match_pattern("", "*"), 1); in tests() 35 ASSERT_INT_EQ(match_pattern("a", "?"), 1); in tests() 36 ASSERT_INT_EQ(match_pattern("aa", "a?"), 1); in tests() 37 ASSERT_INT_EQ(match_pattern("a", "*"), 1); in tests() 38 ASSERT_INT_EQ(match_pattern("aa", "a*"), 1); in tests() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | hostcheck.c | 205 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname) in Curl_cert_hostcheck() argument 207 if(!match_pattern || !*match_pattern || in Curl_cert_hostcheck() 211 if(Curl_raw_equal(hostname, match_pattern)) /* trivial case */ in Curl_cert_hostcheck() 214 if(hostmatch(hostname,match_pattern) == CURL_HOST_MATCH) in Curl_cert_hostcheck()
|
H A D | hostcheck.h | 27 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
|
/freebsd/contrib/libevent/sample/ |
H A D | hostcheck.c | 205 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname) in Curl_cert_hostcheck() argument 207 if(!match_pattern || !*match_pattern || in Curl_cert_hostcheck() 211 if(Curl_raw_equal(hostname, match_pattern)) /* trivial case */ in Curl_cert_hostcheck() 214 if(hostmatch(hostname,match_pattern) == CURL_HOST_MATCH) in Curl_cert_hostcheck()
|
H A D | hostcheck.h | 27 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
|
/freebsd/crypto/openssh/ |
H A D | match.c | 57 match_pattern(const char *s, const char *pattern) in match_pattern() function 82 match_pattern(s + 1, pattern + 1)) in match_pattern() 92 if (match_pattern(s, pattern)) in match_pattern() 159 if (match_pattern(string, sub)) { in match_pattern_list() 254 return match_pattern(user, pattern); in match_user() 260 if ((ret = match_pattern(user, pat)) == 1) in match_user()
|
H A D | match.h | 17 int match_pattern(const char *, const char *);
|
H A D | groupaccess.c | 91 if (match_pattern(groups_byname[i], groups[j])) in ga_match()
|
H A D | addrmatch.c | 90 if (addr != NULL && match_pattern(addr, cp) == 1) in addr_match_list()
|
H A D | sshsig.c | 860 if (match_pattern(cert->cert->principals[i], cp)) { in cert_filter_principals()
|
H A D | ssh_namespace.h | 441 #define match_pattern Fssh_match_pattern macro
|
H A D | readconf.c | 898 if (!match_pattern(options->send_env[i], arg + 1)) { in rm_env() 1802 if (match_pattern(host, arg)) { in process_config_line_depth()
|
H A D | session.c | 2100 if (match_pattern(name, options.accept_env[i])) { in session_env_req()
|
H A D | ssh-agent.c | 465 !match_pattern(user, d->to.user)) in permitted_by_dest_constraints()
|
H A D | mux.c | 258 if (match_pattern(name, options.send_env[i])) in env_permitted()
|
H A D | clientloop.c | 2735 if (match_pattern(name, options.send_env[j])) { in client_session2_setup()
|
H A D | channels.c | 351 if (match_pattern(type, sc->timeouts[i].type_pattern)) in lookup_timeout() 4188 ret = match_pattern(lhost, allowed_open->listen_host); in remote_open_match()
|
H A D | sshkey.c | 2452 if (match_pattern(k->cert->principals[i], in sshkey_cert_check_authority()
|
/freebsd/contrib/libarchive/unzip/ |
H A D | bsdunzip.c | 301 match_pattern(struct pattern_list *list, const char *str) in match_pattern() function 324 if (!STAILQ_EMPTY(&include) && !match_pattern(&include, pathname)) in accept_pathname() 326 if (!STAILQ_EMPTY(&exclude) && match_pattern(&exclude, pathname)) in accept_pathname()
|
/freebsd/contrib/less/ |
H A D | search.c | 1027 * {{ This technique, of calling match_pattern on subsequent in search_pos() 1068 } while (match_pattern(info_compiled(&search_info), search_info.text, in search_pos() 1209 int line_filter = match_pattern(info_compiled(filter), filter->text, in search_range() 1679 line_match = match_pattern(info_compiled(&search_info), search_info.text, in prep_hilite()
|
H A D | pattern.c | 21 * Compile a search pattern, for future use by match_pattern. 447 public int match_pattern(PATTERN_TYPE pattern, constant char *tpattern, constant char *line, size_t line_len, constant char **sp, constant char **ep, int nsp, int notbol, int search_type) in match_pattern() 445 public int match_pattern(PATTERN_TYPE pattern, char *tpattern, char *line, int line_len, char **sp, char **ep, int nsp, int notbol, int search_type) match_pattern() function
|
H A D | funcs.h | 359 public int match_pattern(PATTERN_TYPE pattern, constant char *tpattern, constant char *line, size_t line_len, constant char **sp, constant char **ep, int nsp, int notbol, int search_type);
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_enc_ses.c | 878 struct dev_match_pattern match_pattern; in ses_path_iter_devid_callback() local 886 match_pattern.type = DEV_MATCH_DEVICE; in ses_path_iter_devid_callback() 887 device_pattern = &match_pattern.pattern.device_pattern; in ses_path_iter_devid_callback() 908 cdm.patterns = &match_pattern; in ses_path_iter_devid_callback() 909 cdm.pattern_buf_len = sizeof(match_pattern); in ses_path_iter_devid_callback()
|
/freebsd/contrib/sendmail/src/ |
H A D | parseaddr.c | 1049 char **match_pattern; /* pointer to pattern */ member 1187 mlp->match_pattern = rvp; 1223 mlp->match_pattern = rvp; 1231 mlp->match_pattern = rvp; 1291 rvp = mlp->match_pattern;
|
/freebsd/sys/cam/ |
H A D | cam_ccb.h | 482 union match_pattern { 496 union match_pattern pattern; 481 union match_pattern { global() union
|