| /src/external/gpl2/lvm2/dist/include/ |
| filter-regex.h | 25 * patterns must be an array of strings of the form: 32 struct dev_filter *regex_filter_create(struct config_value *patterns);
|
| /src/external/gpl2/lvm2/dist/lib/filters/ |
| filter-regex.h | 25 * patterns must be an array of strings of the form: 32 struct dev_filter *regex_filter_create(struct config_value *patterns);
|
| filter-regex.c | 104 * count how many patterns we have. 108 log_error("filter patterns must be enclosed in quotes"); 189 struct dev_filter *regex_filter_create(struct config_value *patterns) 203 if (!_build_matcher(rf, patterns))
|
| /src/external/bsd/zstd/dist/build/meson/ |
| GetZstdLibraryVersion.py | 18 patterns = r"""#\s*define\s+ZSTD_VERSION_MAJOR\s+([0-9]+) 22 regex = re.compile(patterns, re.MULTILINE)
|
| /src/external/gpl2/gettext/dist/gettext-tools/libgrep/ |
| m-regex.c | 52 /* The Regex compiled patterns. */ 53 struct patterns struct in struct:compiled_regex 59 } *patterns; member in struct:compiled_regex 133 cregex->patterns = NULL; 139 /* For GNU regex compiler we have to pass the patterns separately to detect 140 errors like "[\nallo\n]\n". The patterns here are "[", "allo" and "]" 159 cregex->patterns = xrealloc (cregex->patterns, (cregex->pcount + 1) * sizeof (struct patterns)); 160 memset (&cregex->patterns[cregex->pcount], '\0', sizeof (struct patterns)) [all...] |
| /src/external/ibm-public/postfix/dist/src/global/ |
| match_service.c | 33 /* entry. Patterns are separated by whitespace and/or commas. 34 /* Matches are case insensitive. Patterns are matched in the 101 ARGV *match_service_init(const char *patterns) 105 char *saved_patterns = mystrdup(patterns); 119 ARGV *match_service_init_argv(char **patterns) 124 for (cpp = patterns; *cpp; cpp++) 155 * Iterate over all patterns in the list, stop at the first match.
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| match_list.h | 32 ARGV *patterns; /* one pattern each */ member in struct:MATCH_LIST
|
| match_list.c | 29 /* Patterns are separated by whitespace and/or commas. A pattern 68 /* A list of patterns. 135 * comparison. This works because string patterns are casefolded during 195 const char *patterns, int match_count,...) 222 saved_patterns = mystrdup(patterns); 223 list->patterns = match_list_parse(list, argv_alloc(1), saved_patterns, 225 argv_terminate(list->patterns); 242 * Iterate over all patterns in the list, stop at the first match. 250 for (cpp = list->patterns->argv; (pat = *cpp) != 0; cpp++) { 273 argv_free(list->patterns); [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/isctest/log/ |
| watchlog.py | 41 by the `NamedInstance` class (see below for recommended usage patterns). 75 def _setup_wait(self, patterns: OneOrMore[FlexPattern]) -> List[Pattern]: 78 return self._prepare_patterns(patterns) 82 Convert a mix of string(s) and/or pattern(s) into a list of patterns. 84 Any strings are converted into regular expression patterns that match 87 patterns = [] 91 patterns.append(compile_pattern(string)) 92 return patterns 111 def wait_for_line(self, patterns: OneOrMore[FlexPattern]) -> Match: 115 `patterns` accepts one value or a list of values, with each value bein [all...] |
| /src/external/gpl2/grep/dist/src/ |
| search.c | 53 /* The Regex compiled patterns. */ 54 static struct patterns struct 62 struct patterns *patterns; variable in typeref:struct:patterns 189 /* For GNU regex compiler we have to pass the patterns separately to detect 190 errors like "[\nallo\n]\n". The patterns here are "[", "allo" and "]" 209 patterns = realloc (patterns, (pcount + 1) * sizeof (*patterns)); 210 if (patterns == NULL [all...] |
| /src/external/gpl2/gettext/dist/gettext-tools/src/ |
| msggrep.c | 85 char *patterns; member in struct:grep_task 193 gt->patterns = NULL; 219 /* Append optarg and a newline to gt->patterns. */ 221 gt->patterns = 222 (char *) xrealloc (gt->patterns, gt->patterns_size + len + 1); 223 memcpy (gt->patterns + gt->patterns_size, optarg, len); 225 *(gt->patterns + gt->patterns_size) = '\n'; 242 /* Append the contents of the specified file to gt->patterns. */ 263 gt->patterns = 264 (char *) xrealloc (gt->patterns, gt->patterns_size + count) [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| genopinit.cc | 39 static vec<optab_pattern> patterns; variable 46 patterns.safe_push (p); 208 /* Sort the collected patterns. */ 209 patterns.qsort (pattern_cmp); 211 /* Now that we've handled the "extra" patterns, eliminate them from 222 purging of the X patterns above. */ 251 (unsigned) patterns.length ()); 313 " /* Patterns that are used by optabs that are enabled for this target. */\n" 366 for (i = 0; patterns.iterate (i, &p); ++i) 370 /* Some targets like riscv have a large number of patterns. In order t [all...] |
| /src/tests/lib/libc/regex/ |
| t_exhaust.c | 214 char *patterns[__arraycount(tests)]; local 216 for (size_t i = 0; i < __arraycount(patterns); i++) { 217 patterns[i] = (*tests[i].pattern)(REGEX_MAXSIZE); 224 e = regcomp(&re, patterns[i], tests[i].type); 230 ebuf, i, patterns[i]); 236 for (size_t i = 0; i < __arraycount(patterns); i++) { 237 free(patterns[i]); 248 atf_tc_set_md_var(tc, "descr", "Check that large patterns don't"
|
| /src/usr.bin/grep/ |
| grep.c | 83 /* Searching patterns */ 84 unsigned int patterns, pattern_sz; variable 89 /* Filename exclusion/inclusion patterns */ 232 /* TODO: Check for empty patterns and shortcut */ 235 if (patterns == pattern_sz) { 243 pattern[patterns] = grep_malloc(len + 1); 244 memcpy(pattern[patterns], pat, len); 245 pattern[patterns][len] = '\0'; 246 ++patterns; 286 * Reads searching patterns from a file and adds them with add_pattern() [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| genopinit.cc | 39 static vec<optab_pattern> patterns; variable 46 patterns.safe_push (p); 208 /* Sort the collected patterns. */ 209 patterns.qsort (pattern_cmp); 211 /* Now that we've handled the "extra" patterns, eliminate them from 222 purging of the X patterns above. */ 251 (unsigned) patterns.length ()); 313 " /* Patterns that are used by optabs that are enabled for this target. */\n" 366 for (i = 0; patterns.iterate (i, &p); ++i) 372 for (i = 0; patterns.iterate (i, &p); ++i [all...] |
| /src/external/bsd/ntp/dist/sntp/unity/auto/ |
| generate_module.rb | 33 #Built in patterns 34 PATTERNS = { 'src' => {'' => { :inc => [] } }, 135 @patterns = PATTERNS[@pattern.downcase] 136 raise "ERROR: The design pattern specified isn't one that I recognize!" if @patterns.nil? 141 @patterns.each_pair do |pattern_file, pattern_traits|
|
| /src/external/bsd/nsd/dist/simdzone/src/westmere/ |
| ip4.h | 34 static const uint8_t patterns[81][16] = { variable 156 const uint8_t* const pattern_ptr = &patterns[hash_id][0];
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/ |
| dw2-inline-stepping.exp | 133 set patterns [list "main call foo" \ 136 foreach p $patterns {
|
| dw2-inline-many-frames.exp | 297 set patterns [list "main call aaa" \ 309 foreach p $patterns { 343 set patterns [list \ 355 foreach p $patterns {
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dwarf2/ |
| dw2-inline-stepping.exp | 133 set patterns [list "main call foo" \ 136 foreach p $patterns {
|
| dw2-inline-many-frames.exp | 297 set patterns [list "main call aaa" \ 309 foreach p $patterns { 343 set patterns [list \ 355 foreach p $patterns {
|
| /src/external/apache2/llvm/dist/clang/tools/scan-build-py/libscanbuild/ |
| clang.py | 94 return any(pattern.match(checker) for pattern in predicate.patterns) 96 predicate.patterns = [re.compile(r'^' + a + r'(\.|$)') for a in checkers]
|
| /src/crypto/external/bsd/openssh/dist/ |
| kex-names.c | 240 char *cp, *tmp, *patterns; local 286 * the patterns are applied above. For the +list and explicit list 290 if ((patterns = opatterns = strdup(list)) == NULL) { 294 /* Apply positive (i.e. non-negated) patterns from the list */ 295 while ((cp = strsep(&patterns, ",")) != NULL) {
|
| match.c | 209 const char *patterns) 213 if ((mip = addr_match_list(ipaddr, patterns)) == -2) 219 if ((mhost = match_hostname(host, patterns)) == -1)
|
| /src/external/gpl3/gdb/dist/sim/m32c/ |
| opc2c.c | 71 unsigned char *patterns; member in struct:__anon19563 148 if (ob == v->patterns[i]) 446 v->patterns = (unsigned char *) malloc (1); 454 v->patterns = (unsigned char *) realloc (v->patterns, v->n_patterns); 455 v->patterns[v->n_patterns - 1] = str2mask (cp, ep); 646 lprintf (sim_log, " P %02x\n", v->patterns[j]);
|