Home
last modified time | relevance | path

Searched refs:patterns (Results 1 – 25 of 1093) sorted by relevance

12345678910>>...44

/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/
H A Dm-regex.c53 struct patterns struct
59 } *patterns; member
133 cregex->patterns = NULL; in Gcompile()
159 … cregex->patterns = xrealloc (cregex->patterns, (cregex->pcount + 1) * sizeof (struct patterns)); in Gcompile()
160 memset (&cregex->patterns[cregex->pcount], '\0', sizeof (struct patterns)); in Gcompile()
163 &(cregex->patterns[cregex->pcount].regexbuf))) != NULL) in Gcompile()
219 cregex->patterns = NULL; in compile()
245 … cregex->patterns = xrealloc (cregex->patterns, (cregex->pcount + 1) * sizeof (struct patterns)); in compile()
246 memset (&cregex->patterns[cregex->pcount], '\0', sizeof (struct patterns)); in compile()
249 &(cregex->patterns[cregex->pcount].regexbuf))) != NULL) in compile()
[all …]
/netbsd-src/external/gpl2/grep/dist/src/
H A Dsearch.c54 static struct patterns struct
62 struct patterns *patterns; argument
209 patterns = realloc (patterns, (pcount + 1) * sizeof (*patterns)); in Gcompile()
210 if (patterns == NULL) in Gcompile()
213 patterns[pcount] = patterns0; in Gcompile()
216 &(patterns[pcount].regexbuf))) != 0) in Gcompile()
293 patterns = realloc (patterns, (pcount + 1) * sizeof (*patterns)); in Ecompile()
294 if (patterns == NULL) in Ecompile()
296 patterns[pcount] = patterns0; in Ecompile()
299 &(patterns[pcount].regexbuf))) != 0) in Ecompile()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVEInstrIntrinsicVL.td3 /// Intrinsic patterns written by hand.
8 // Pack patterns.
20 // The extract/insert patterns.
33 // VMRG patterns.
41 // VMV patterns.
51 // LSV patterns.
55 // LVS patterns.
63 /// Intrinsic patterns automatically generated.
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dmsggrep.c85 char *patterns; member
193 gt->patterns = NULL; in main()
221 gt->patterns = in main()
222 (char *) xrealloc (gt->patterns, gt->patterns_size + len + 1); in main()
223 memcpy (gt->patterns + gt->patterns_size, optarg, len); in main()
225 *(gt->patterns + gt->patterns_size) = '\n'; in main()
263 gt->patterns = in main()
264 (char *) xrealloc (gt->patterns, gt->patterns_size + count); in main()
265 memcpy (gt->patterns + gt->patterns_size, buf, count); in main()
271 && *(gt->patterns + gt->patterns_size - 1) != '\n') in main()
[all …]
/netbsd-src/tests/lib/libc/regex/
H A Dt_exhaust.c214 char *patterns[__arraycount(tests)]; in run() local
216 for (size_t i = 0; i < __arraycount(patterns); i++) { in run()
217 patterns[i] = (*tests[i].pattern)(REGEX_MAXSIZE); in run()
224 e = regcomp(&re, patterns[i], tests[i].type); in run()
230 ebuf, i, patterns[i]); in run()
236 for (size_t i = 0; i < __arraycount(patterns); i++) { in run()
237 free(patterns[i]); in run()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dmatch_list.c195 const char *patterns, int match_count,...) in match_list_init() argument
222 saved_patterns = mystrdup(patterns); in match_list_init()
223 list->patterns = match_list_parse(list, argv_alloc(1), saved_patterns, in match_list_init()
225 argv_terminate(list->patterns); in match_list_init()
250 for (cpp = list->patterns->argv; (pat = *cpp) != 0; cpp++) { in match_list_match()
273 argv_free(list->patterns); in match_list_free()
/netbsd-src/usr.bin/grep/
H A Dgrep.c84 unsigned int patterns, pattern_sz; variable
235 if (patterns == pattern_sz) { in add_pattern()
243 pattern[patterns] = grep_malloc(len + 1); in add_pattern()
244 memcpy(pattern[patterns], pat, len); in add_pattern()
245 pattern[patterns][len] = '\0'; in add_pattern()
246 ++patterns; in add_pattern()
668 fg_pattern = grep_calloc(patterns, sizeof(*fg_pattern)); in main()
669 r_pattern = grep_calloc(patterns, sizeof(*r_pattern)); in main()
676 for (i = 0; i < patterns; ++i) in main()
679 for (i = 0; i < patterns; ++i) { in main()
/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Dmatch_service.c101 ARGV *match_service_init(const char *patterns) in match_service_init() argument
105 char *saved_patterns = mystrdup(patterns); in match_service_init()
119 ARGV *match_service_init_argv(char **patterns) in match_service_init_argv() argument
124 for (cpp = patterns; *cpp; cpp++) in match_service_init_argv()
/netbsd-src/external/gpl2/groff/tmac/
H A Dhyphen.ru1 % Russian hyphenation patterns
2 % This code is based on the patterns originally written by Dimitri Vulis.
6 \patterns{
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgenopinit.cc39 static vec<optab_pattern> patterns; variable
46 patterns.safe_push (p); in gen_insn()
209 patterns.qsort (pattern_cmp); in main()
251 (unsigned) patterns.length ()); in main()
366 for (i = 0; patterns.iterate (i, &p); ++i) in main()
372 for (i = 0; patterns.iterate (i, &p); ++i) in main()
384 for (i = 0; patterns.iterate (i, &p); ++i) in main()
/netbsd-src/external/ibm-public/postfix/dist/proto/
H A Dregexp_table17 # list of patterns. When a match is found, the corresponding
25 # -\fR <\fIfile\fR" for header_checks(5) patterns, and
33 # patterns. Patterns are case insensitive by default.
47 # input string against the patterns between \fBif\fR and
50 # Note: do not prepend whitespace to patterns inside
57 # match that input string against the patterns between \fBif\fR
60 # Note: do not prepend whitespace to patterns inside
112 # Substitution of substrings (text that matches patterns
119 # Note: since negated patterns (those preceded by \fB!\fR) return a
121 # available for negated patterns.
[all …]
H A Dpcre_table21 # against a list of patterns. When a match is found, the
29 # -\fR <\fIfile\fR" for header_checks(5) patterns, and
41 # patterns. Patterns are case insensitive by default.
55 # input string against the patterns between \fBif\fR and
58 # Note: do not prepend whitespace to patterns inside
65 # match that input string against the patterns between \fBif\fR
68 # Note: do not prepend whitespace to patterns inside
109 # Note: do not use \fB#\fIcomment\fR after patterns.
154 # Substitution of substrings (text that matches patterns
162 # Note: since negated patterns (those preceded by \fB!\fR) return a
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgenopinit.c39 static vec<optab_pattern> patterns; variable
46 patterns.safe_push (p); in gen_insn()
209 patterns.qsort (pattern_cmp); in main()
251 (unsigned) patterns.length ()); in main()
366 for (i = 0; patterns.iterate (i, &p); ++i) in main()
372 for (i = 0; patterns.iterate (i, &p); ++i) in main()
/netbsd-src/external/gpl2/gettext/dist/gnulib-local/lib/
H A Dfnmatch_loop.c.diff146 /* None of the patterns lead to a match. */
167 /* None of the patterns lead to a match. */
186 /* None of the patterns lead to a match. */
222 /* None of the patterns lead to a match. */
233 /* None of the patterns together with the rest of the pattern
257 /* None of the patterns together with the rest of the pattern
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/GlobalISel/
H A DTarget.td10 // SelectionDAG instruction selection patterns (specified in
15 // support. It will eventually supersede SelectionDAG patterns.
30 // GIComplexPatternEquiv to enable the import of SelectionDAG patterns involving
53 // to enable the import of SelectionDAG patterns involving those SDNodeXForms.
/netbsd-src/external/bsd/nsd/dist/doc/
H A DUPGRADING21 * it is possible to define patterns in the nsd.conf file and
22 use the patterns to give config settings for the zones.
23 * patterns accept the same sort of settings which NSD3-zones did.
24 * you can make super-patterns with the include-pattern: setting
41 * other nsdc commands, reconfig (reread patterns, zones, keys),
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DIntrinsicsWebAssembly.td165 // TODO: Replace these intrinsics with normal ISel patterns
175 // TODO: Replace these intrinsic with normal ISel patterns once the
192 // tablegen patterns. TODO: Replace these intrinsic with normal ISel patterns
235 // TODO: Replace this intrinsic with normal ISel patterns once popcnt is merged
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dopc2c.c116 unsigned char * patterns; member
194 if (ob == v->patterns[i]) in valid_varybits()
510 v->patterns = (unsigned char *) malloc (1); in process_vary()
518 v->patterns = (unsigned char *) realloc (v->patterns, v->n_patterns); in process_vary()
519 v->patterns[v->n_patterns - 1] = str2mask (cp, ep); in process_vary()
721 lprintf (sim_log, " P %02x\n", v->patterns[j]); in main()
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dopc2c.c116 unsigned char * patterns; member
194 if (ob == v->patterns[i]) in valid_varybits()
510 v->patterns = (unsigned char *) malloc (1); in process_vary()
518 v->patterns = (unsigned char *) realloc (v->patterns, v->n_patterns); in process_vary()
519 v->patterns[v->n_patterns - 1] = str2mask (cp, ep); in process_vary()
721 lprintf (sim_log, " P %02x\n", v->patterns[j]); in main()
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/features/
H A Dpatspecific_vars24 # test matching multiple patterns
51 # TEST #3 -- make sure patterns are inherited properly
58 # TEST #4 -- test multiple patterns matching the same target
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/pru/
H A Dalu-zext.md27 ; An unfortunate side effect is that quite a few invalid RTL patterns are
30 ; These patterns are harmless since no pass should generate such RTL. This
31 ; shortcut allows us to keep small and concise machine description patterns.
92 ; Specialized IOR/AND patterns for matching setbit/clearbit instructions.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/arm/
H A Dvec-common.md86 ;; patterns separately for Neon, IWMMXT and MVE.
101 ;; patterns separately for Neon and MVE.
115 ;; patterns separately for Neon and IWMMXT.
128 ;; patterns separately for IWMMXT and Neon.
/netbsd-src/regress/sys/uvm/pdsim/
H A Dgenpat5.hs65 patterns = [acc0, acc1, acc2, acc3, acc4] function
77 mapM_ print $ take t $ (patterns !! pat) seed (start, n)
/netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build-py/libscanbuild/
H A Dclang.py94 return any(pattern.match(checker) for pattern in predicate.patterns)
96 predicate.patterns = [re.compile(r'^' + a + r'(\.|$)') for a in checkers]
/netbsd-src/external/gpl3/autoconf/dist/bin/
H A Dautom4te.in530 my @patterns = new Autom4te::XFile ("< " . open_quote ("$tmp/patterns"))->getlines;
531 chomp @patterns;
533 map { /^forbid:([^:]+):.+$/ => /^forbid:[^:]+:(.+)$/ } @patterns;
534 my $forbidden = join ('|', map { /^forbid:([^:]+)/ } @patterns) || "^\$";
535 my $allowed = join ('|', map { /^allow:([^:]+)/ } @patterns) || "^\$";

12345678910>>...44