Searched refs:match_pattern_list (Results 1 – 17 of 17) sorted by relevance
/external/openssh/regress/unittests/match/ |
D | tests.c | 51 ASSERT_INT_EQ(match_pattern_list("", "", 0), 0); /* no patterns */ in tests() 52 ASSERT_INT_EQ(match_pattern_list("", "*", 0), 1); in tests() 53 ASSERT_INT_EQ(match_pattern_list("", "!*", 0), -1); in tests() 54 ASSERT_INT_EQ(match_pattern_list("", "!a,*", 0), 1); in tests() 55 ASSERT_INT_EQ(match_pattern_list("", "*,!a", 0), 1); in tests() 56 ASSERT_INT_EQ(match_pattern_list("", "a,!*", 0), -1); in tests() 57 ASSERT_INT_EQ(match_pattern_list("", "!*,a", 0), -1); in tests() 58 ASSERT_INT_EQ(match_pattern_list("a", "", 0), 0); in tests() 59 ASSERT_INT_EQ(match_pattern_list("a", "*", 0), 1); in tests() 60 ASSERT_INT_EQ(match_pattern_list("a", "!*", 0), -1); in tests() [all …]
|
/external/openssh/ |
D | match.c | 121 match_pattern_list(const char *string, const char *pattern, int dolower) in match_pattern_list() function 186 r = match_pattern_list(hostcopy, pattern, 1); in match_hostname() 317 if (match_pattern_list(cp, filter, 0) != 1) { in match_filter_list()
|
D | match.h | 18 int match_pattern_list(const char *, const char *, int);
|
D | groupaccess.c | 107 switch (match_pattern_list(groups_byname[i], group_pattern, 0)) { in ga_match_pattern_list()
|
D | compat.c | 210 if (match_pattern_list(version, check[i].pat, 0) == 1) { in compat_datafellows()
|
D | auth2-hostbased.c | 111 if (match_pattern_list(sshkey_ssh_name(key), in userauth_hostbased()
|
D | clientloop.c | 2407 (match_pattern_list("rsa-sha2-256", hostkeyalgs, 0) == 1 || in key_accepted_by_hostkeyalgs() 2408 match_pattern_list("rsa-sha2-512", hostkeyalgs, 0) == 1)) in key_accepted_by_hostkeyalgs() 2410 return match_pattern_list(ktype, hostkeyalgs, 0) == 1; in key_accepted_by_hostkeyalgs()
|
D | monitor.c | 1156 match_pattern_list(sshkey_ssh_name(key), in mm_answer_keyallowed() 1168 match_pattern_list(sshkey_ssh_name(key), in mm_answer_keyallowed()
|
D | readconf.c | 622 r = match_pattern_list(ruser, arg, 0) == 1; in match_cfg_line() 627 r = match_pattern_list(pw->pw_name, arg, 0) == 1; in match_cfg_line() 730 match_pattern_list(cp, ignored_unknown, 1) == 1) in parse_token()
|
D | ssh.c | 352 if (match_pattern_list(*namep, rule->source_list, 1) != 1 || in check_follow_cname() 353 match_pattern_list(cname, rule->target_list, 1) != 1) in check_follow_cname()
|
D | sshconnect2.c | 1421 match_pattern_list(sshkey_ssh_name(id->key), in pubkey_prepare() 1761 if (match_pattern_list( in userauth_hostbased()
|
D | auth2-pubkey.c | 134 if (match_pattern_list(sshkey_ssh_name(key), in userauth_pubkey()
|
D | ssh-agent.c | 785 if (match_pattern_list(canonical_provider, pkcs11_whitelist, 0) != 1) { in process_add_smartcard_key()
|
D | sshd.c | 700 if (match_pattern_list(sshkey_ssh_name(key),
|
D | servconf.c | 816 if (match_pattern_list(ci->user, arg, 0) != 1) in match_cfg_line()
|
D | sshkey.c | 255 if (match_pattern_list(kt->name, in sshkey_names_valid2()
|
D | ChangeLog | 8550 Remove pattern length argument from match_pattern_list(), we 8639 Remove pattern length argument from match_pattern_list(), we
|