HomeSort by: relevance | last modified time | path
    Searched refs:matches (Results 1 - 25 of 53) sorted by relevancy

1 2 3

  /src/lib/libedit/
filecomplete.c 472 size_t matches; local in function:completion_matches
474 matches = 0;
476 while ((retstr = (*genfunc) (text, (int)matches)) != NULL) {
478 if (matches + 3 >= match_list_len) {
480 while (matches + 3 >= match_list_len)
491 match_list[++matches] = retstr;
501 for (; which <= matches; which++) {
517 match_list[matches + 1] = NULL;
536 * 'matches' is list of strings, 'num' is number of strings in 'matches',
670 char **matches; local in function:fn_complete2
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/
drm_panel_orientation_quirks.c 118 .matches = {
124 .matches = {
130 .matches = {
138 .matches = {
149 .matches = {
157 .matches = {
165 .matches = {
173 .matches = {
181 .matches = {
193 .matches =
    [all...]
  /src/sys/external/bsd/drm2/linux/
linux_dmi.c 107 for (i = 0; i < __arraycount(dsi->matches); i++) {
108 if (dsi->matches[i].slot == DMI_NONE)
110 if (!dmi_match(dsi->matches[i].slot, dsi->matches[i].substr))
122 for (dsi = sysid; dsi->matches[0].slot != DMI_NONE; dsi++) {
  /src/tests/usr.bin/xlint/lint1/
check-expect.lua 148 local function matches(comment, pattern) function
168 assert_equals(matches("a", "a"), true)
169 assert_equals(matches("a", "b"), false)
170 assert_equals(matches("a", "aaa"), false)
172 assert_equals(matches("abc", "a..."), true)
173 assert_equals(matches("abc", "c..."), false)
175 assert_equals(matches("abc", "...c"), true)
176 assert_equals(matches("abc", "...a"), false)
178 assert_equals(matches("abc123xyz", "...a..."), true)
179 assert_equals(matches("abc123xyz", "...b..."), true
    [all...]
  /src/usr.bin/what/
what.c 58 static int matches; variable in typeref:typename:int
71 matches = sflag = 0;
97 return matches ? 0 : 1;
119 matches++;
  /src/usr.bin/make/unit-tests/
varmod-match.mk 26 # * matches 0 or more characters
27 # ? matches 1 character
28 # \x matches the character 'x'
32 # matches exactly the word 'e', twice.
37 # The pattern character '?' matches exactly 1 character, the pattern character
38 # '*' matches 0 or more characters. The whole pattern matches all words that
44 # A pattern without placeholders only matches itself.
83 # [...] matches 1 character from the listed characters
84 # [^...] matches 1 character from the unlisted character
    [all...]
varmod-subst-regex.mk 13 # The expression expands to 4 words. Of these words, none matches
27 # containing whitespace. This big word matches the regular expression,
50 # It matches once in the second word, and the \0\0 doubles that word.
51 # In the third word, the regular expression matches as early as possible,
52 # and since the matches must not overlap, the next possible match would
71 # A regular expression that matches the empty string applies before every
79 # A dot in the regular expression matches any character, even a newline.
80 # In most other contexts where regular expressions are used, a dot matches
88 # Like the ':S' modifier, the ':C' modifier matches on an expression
89 # that contains no words at all, but only if the regular expression matches a
    [all...]
var-recursive.mk 52 # expect-not-matches: ^: recursive%-line%-before
53 # expect-not-matches: ^: recursive%-line%-after
55 # expect-not-matches: ^: after%-recursive
varmod-no-match.mk 22 # matches a word, the only effect is that the string is split into words and
42 # patterns in a sequence. If one of the patterns matches, the final
56 # The modifier ':N' is seldom used in general since positive matches with ':M'
posix-execution.mk 39 # expect-not-matches: ^do%-prefix%-plus: a regular command
dotwait.mk 25 # lexical ordering of the target names matches the expected order
  /src/sys/external/bsd/drm2/include/linux/
dmi.h 68 struct dmi_strmatch matches[4]; member in struct:dmi_system_id
  /src/bin/sh/
histedit.c 916 *p = '\0'; /* so no more matches */
941 * use it instead of its standard function to find matches, which
949 char **matches = NULL; local in function:sh_matches
957 if ((matches = malloc(size * sizeof(matches[0]))) == NULL)
984 if (reallocarr(&matches, size,
985 sizeof(*matches)))
991 matches[i] = strdup(entry->d_name);
998 free(matches);
1002 matches[0] = strdup(matches[1])
    [all...]
  /src/tests/lib/libc/regex/
t_regex_att.c 362 checkmatches(const char *matches, size_t nm, const regmatch_t *pm,
369 size_t len = strlen(matches) + 1, off = 0;
371 ATF_REQUIRE((res = strdup(matches)) != NULL);
383 ATF_CHECK_STREQ_MSG(res, matches, " at line %zu", lineno);
405 char *name, *pattern, *input, *matches, *comment; local in function:att_test
457 ATF_REQUIRE_MSG((matches = strtok(NULL, sep)) != NULL,
458 "Missing matches at line %zu", lineno);
490 if (*matches != '(') {
491 geterror(matches, &comp, &exec);
496 nm = getmatches(matches);
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_lvds.c 515 .matches = {
523 .matches = {
531 .matches = {
539 .matches = {
547 .matches = {
555 .matches = {
563 .matches = {
571 .matches = {
579 .matches = {
587 .matches =
    [all...]
intel_quirks.c 86 .matches = {DMI_MATCH(DMI_SYS_VENDOR, "NCR Corporation"),
  /src/usr.sbin/sysinst/arch/playstation2/
msg.md.en 58 {This disk matches the following BIOS disk:
71 {This disk matches the following BIOS disks:
  /src/usr.bin/grep/
util.c 248 /* Count the matches if we have a match limit */
283 * matches. The matching lines are passed to printline() to display the
289 regmatch_t matches[MAX_LINE_MATCHES]; local in function:procline
343 matches[m++] = pmatch;
344 /* matches - skip further patterns */
353 /* One pass if we are not recording matches */
358 break; /* No matches */
373 printline(l, ':', matches, m);
375 printline(l, '-', matches, m);
444 printline(struct str *line, int sep, regmatch_t *matches, int m
    [all...]
grep.h 147 void printline(struct str *line, int sep, regmatch_t *matches, int m);
  /src/distrib/sets/
regpkg 935 matches="$(cd "${SYSPKG_DB_TOPDIR}" && echo ${pattern} \
937 echo >&2 "${NOTE}deleting old pkg (${matches})"
940 ( cd "${SYSPKG_DB_TOPDIR}" && rm -rf ${matches} )
945 matches="$(cd "${SYSPKG_DB_TOPDIR}" && echo ${pattern} || bomb)"
946 case "${matches}" in
1018 matches="$(cd "${binpkgdir}" && echo ${pattern} || bomb)"
1019 case "${matches}" in
1030 echo >&2 "${NOTE}deleting old binary pkg (${matches})"
1031 ( cd "${binpkgdir}" && rm -f ${matches} || bomb )
  /src/usr.sbin/sysinst/arch/i386/
msg.md.en 80 {This disk matches the following BIOS disk:
100 {This disk matches the following BIOS disks:
  /src/usr.bin/xlint/lint2/
check-msgs.lua 8 Check that the message text in the comments of the C source code matches the
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/afl/
afl_driver.cpp 231 int matches = fscanf(extra_stats_file, kExtraStatsFormatString, local in function:maybe_initialize_extra_stats
236 CHECK_ERROR(matches == kNumExtraStats, "Extra stats file is corrupt");
  /src/sbin/ifconfig/
parse.c 926 parse(int argc, char **argv, const struct parser *p0, struct match *matches,
930 struct match *lastm = NULL, *m = matches;
934 if ((size_t)(m - matches) >= *nmatch) {
945 for (; (size_t)(m - matches) < *nmatch && p != NULL; ) {
953 *nmatch = m - matches;
959 matches_exec(const struct match *matches, prop_dictionary_t oenv, size_t nmatch)
968 m = &matches[i];
  /src/sys/dev/pcmcia/
pcmcia.c 389 int matches; local in function:pcmcia_product_lookup
399 /* see if it matches vendor/product */
400 matches = 0;
405 matches = 1;
414 matches = 1;
418 matches = (*matchfn)(pa, pp, matches);
420 if (matches)

Completed in 30 milliseconds

1 2 3