Home
last modified time | relevance | path

Searched refs:match_list (Results 1 – 10 of 10) sorted by relevance

/freebsd-12-stable/contrib/libedit/
Dfilecomplete.c467 char **match_list = NULL, *retstr, *prevstr; in completion_matches() local
479 nmatch_list = el_realloc(match_list, in completion_matches()
482 el_free(match_list); in completion_matches()
485 match_list = nmatch_list; in completion_matches()
488 match_list[++matches] = retstr; in completion_matches()
491 if (!match_list) in completion_matches()
496 prevstr = match_list[1]; in completion_matches()
500 prevstr[i] == match_list[which][i]; i++) in completion_matches()
507 el_free(match_list); in completion_matches()
510 (void)strlcpy(retstr, match_list[1], max_equal + 1); in completion_matches()
[all …]
/freebsd-12-stable/contrib/dialog/
Dfselect.c353 match(char *name, LIST * d_list, LIST * f_list, MATCH * match_list) in match() argument
371 match_list->data = matches; in match()
372 match_list->length = (int) data_len; in match()
376 free_match(MATCH * match_list) in free_match() argument
378 free(match_list->data); in free_match()
379 match_list->length = 0; in free_match()
385 MATCH match_list; in complete() local
392 match(name, d_list, f_list, &match_list); in complete()
393 if (match_list.length == 0) { in complete()
398 test = match_list.data[0]; in complete()
[all …]
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_match.c54 struct match_list { struct
102 struct match_list exclusions;
103 struct match_list inclusions;
132 struct match_list inclusion_unames;
133 struct match_list inclusion_gnames;
137 struct match_list *, int, const void *, int);
142 static int add_owner_name(struct archive_match *, struct match_list *,
144 static int add_pattern_mbs(struct archive_match *, struct match_list *,
146 static int add_pattern_wcs(struct archive_match *, struct match_list *,
158 static void match_list_add(struct match_list *, struct match *);
[all …]
/freebsd-12-stable/crypto/openssh/
Dmatch.h23 char *match_list(const char *, const char *, u_int *);
Dkex.c202 if ((m = match_list(ret, p, NULL)) != NULL) { in kex_names_cat()
778 char *name = match_list(client, server, NULL); in choose_enc()
800 char *name = match_list(client, server, NULL); in choose_mac()
818 char *name = match_list(client, server, NULL); in choose_comp()
845 k->name = match_list(client, server, NULL); in choose_kex()
864 k->hostkey_alg = match_list(client, server, NULL); in choose_hostkeyalg()
909 if ((cp = match_list(proposal, algs, NULL)) == NULL) in has_any_alg()
945 ext = match_list("ext-info-c", peer[PROPOSAL_KEX_ALGS], NULL); in kex_choose_conf()
Dmatch.c271 match_list(const char *client, const char *server, u_int *next) in match_list() function
Dauth2-pubkeyfile.c156 if ((result = match_list(cert->principals[i], in match_principals_option()
Dsshconnect2.c1204 return match_list(sshkey_ssh_name(key), in key_sig_algorithm()
1226 tmp = match_list(sshkey_sigalg_by_name(cp), in key_sig_algorithm()
2356 if ((name = match_list(preferred, supported, &next)) == NULL) { in authmethod_get()
Dsftp-server.c202 ((result = match_list(h->name, request_denylist, NULL))) != NULL) { in request_permitted()
208 ((result = match_list(h->name, request_allowlist, NULL))) != NULL) { in request_permitted()
Dssh_namespace.h425 #define match_list Fssh_match_list macro