Home
last modified time | relevance | path

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

/freebsd/contrib/libedit/
H A Dfilecomplete.c470 char **match_list = NULL, *retstr, *prevstr; in completion_matches() local
482 nmatch_list = el_realloc(match_list, in completion_matches()
485 el_free(match_list); in completion_matches()
488 match_list = nmatch_list; in completion_matches()
491 match_list[++matches] = retstr; in completion_matches()
494 if (!match_list) in completion_matches()
499 prevstr = match_list[1]; in completion_matches()
503 prevstr[i] == match_list[which][i]; i++) in completion_matches()
510 el_free(match_list); in completion_matches()
513 (void)strlcpy(retstr, match_list[1], max_equal + 1); in completion_matches()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_match.c53 struct match_list { struct
101 struct match_list exclusions;
102 struct match_list inclusions;
131 struct match_list inclusion_unames;
132 struct match_list inclusion_gnames;
136 struct match_list *, int, const void *, int);
141 static int add_owner_name(struct archive_match *, struct match_list *,
143 static int add_pattern_mbs(struct archive_match *, struct match_list *,
145 static int add_pattern_wcs(struct archive_match *, struct match_list *,
157 static void match_list_add(struct match_list *, struct match *);
[all …]
/freebsd/contrib/dialog/
H A Dfselect.c360 match(char *name, LIST * d_list, LIST * f_list, MATCH * match_list) in match() argument
389 match_list->data = matches; in match()
390 match_list->length = (int) data_len; in match()
394 free_match(MATCH * match_list) in free_match() argument
396 free(match_list->data); in free_match()
397 match_list->length = 0; in free_match()
403 MATCH match_list; in complete() local
409 match(name, d_list, f_list, &match_list); in complete()
410 if (match_list.length == 0) { in complete()
411 free(match_list.data); in complete()
[all …]
/freebsd/crypto/openssh/
H A Dmatch.h23 char *match_list(const char *, const char *, u_int *);
H A Dkex.c798 char *name = match_list(client, server, NULL); in choose_enc()
820 char *name = match_list(client, server, NULL); in choose_mac()
838 char *name = match_list(client, server, NULL); in choose_comp()
861 k->name = match_list(client, server, NULL); in choose_kex()
880 k->hostkey_alg = match_list(client, server, NULL); in choose_hostkeyalg()
H A Dmatch.c274 match_list(const char *client, const char *server, u_int *next) in match_list() function
H A Dkex-names.c192 if ((cp = match_list(proposal, algs, NULL)) == NULL) in kex_has_any_alg()
H A Dauth2-pubkeyfile.c155 if ((result = match_list(cert->principals[i], in match_principals_option()
H A Dsshconnect2.c1170 return match_list(sshkey_ssh_name(key), in key_sig_algorithm()
1192 tmp = match_list(sshkey_sigalg_by_name(cp), in key_sig_algorithm()
2327 if ((name = match_list(preferred, supported, &next)) == NULL) { in authmethod_get()
H A 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()
H A Dssh_namespace.h439 #define match_list Fssh_match_list macro
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_core.c1739 struct match_list { struct
1744 static void free_match_list(struct match_list *head, bool ft_locked) in free_match_list() argument
1746 struct match_list *iter, *match_tmp; in free_match_list()
1760 static int build_match_list(struct match_list *match_head, in build_match_list()
1772 struct match_list *curr_match; in build_match_list()
1799 struct match_list *iter; in matched_fgs_get_version()
1854 struct match_list *iter; in try_add_to_existing_fg()
1952 struct match_list match_head; in _mlx5_add_flow_rules()