Lines Matching defs:match
261 /* Special case for 1 match (prefix is whole word) */
386 * - does expansion, checks for no match, etc.
423 /* this always results in at most one match */
774 * Apply pattern matching to a table: all table entries that match a pattern
835 /* Check that each match is executable... */
1924 int offset = -1; /* offset of match in xbuf, else -1 */
1982 /* already have partial match */
2065 /* return position of first match of pattern in string, else -1 */
2819 /* no match */
2850 * match iff entire original string is part of the
2861 * just a single match
2876 * append a space if this is a single non-directory match
5162 /* (start != 0 && fwd && match(holdbufp, pat) >= 0) */
5417 char *match;
5466 match = words[count] +
5468 /* If more than one possible match, use full path */
5472 NULL), match) == 0) {
5473 match = words[count];
5477 match = words[count];
5478 match_len = strlen(match);
5482 match = words[0];
5497 rval = x_escape(match, match_len, x_vi_putbuf);
5501 * If exact match, don't undo. Allows directory completions
5507 * append a space if this is a non-directory match
5510 if (match_len > 0 && !mksh_cdirsep(match[match_len - 1]) &&