/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/ |
H A D | m-regex.c | 52 /* The Regex compiled patterns. */ 53 struct patterns struct 59 } *patterns; member 133 cregex->patterns = NULL; in Gcompile() 139 /* For GNU regex compiler we have to pass the patterns separately to detect in Gcompile() 140 errors like "[\nallo\n]\n". The patterns here are "[", "allo" and "]" 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() [all …]
|
/netbsd-src/usr.bin/grep/ |
H A D | grep.1 | 61 selecting lines that match one or more patterns. 66 Each input line that matches at least one of the patterns is written 70 is used for simple patterns and 84 but can only handle fixed patterns 86 Patterns may consist of one or more lines, 181 an input line is selected if it matches any of the specified patterns. 184 options are used to specify multiple patterns, 192 patterns take priority over 194 patterns, and if no 198 Patterns are matched to the full path specified, [all …]
|
H A D | 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 */ in add_pattern() 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() 286 * Reads searching patterns from a file and adds them with add_pattern(). [all …]
|
/netbsd-src/external/ibm-public/postfix/dist/man/man5/ |
H A D | regexp_table.5 | 25 list of patterns. When a match is found, the corresponding 33 \-\fR <\fIfile\fR" for header_checks(5) patterns, and 43 patterns. Patterns are case insensitive by default. 59 input string against the patterns between \fBif\fR and 62 Note: do not prepend whitespace to patterns inside 69 match that input string against the patterns between \fBif\fR 72 Note: do not prepend whitespace to patterns inside 113 Patterns are applied in the order as specified in the table, until a 128 Substitution of substrings (text that matches patterns 135 Note: since negated patterns (those preceded by \fB!\fR) return a [all …]
|
H A D | pcre_table.5 | 29 against a list of patterns. When a match is found, the 37 \-\fR <\fIfile\fR" for header_checks(5) patterns, and 51 patterns. Patterns are case insensitive by default. 67 input string against the patterns between \fBif\fR and 70 Note: do not prepend whitespace to patterns inside 77 match that input string against the patterns between \fBif\fR 80 Note: do not prepend whitespace to patterns inside 121 Note: do not use \fB#\fIcomment\fR after patterns. 155 Patterns are applied in the order as specified in the table, until a 170 Substitution of substrings (text that matches patterns [all …]
|
/netbsd-src/external/gpl2/grep/dist/src/ |
H A D | search.c | 53 /* The Regex compiled patterns. */ 54 static struct patterns struct 62 struct patterns *patterns; argument 189 /* For GNU regex compiler we have to pass the patterns separately to detect in Gcompile() 190 errors like "[\nallo\n]\n". The patterns here are "[", "allo" and "]" in Gcompile() 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() 273 /* For GNU regex compiler we have to pass the patterns separately to detect in Ecompile() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
H A D | DAGISelEmitter.cpp | 76 // In particular, we want to match maximal patterns first and lowest cost within 94 // Otherwise, if the patterns might both match, sort based on complexity, in operator ()() 95 // which means that we prefer to match patterns that cover more nodes in the in operator ()() 102 // If the patterns have equal complexity, compare generated instruction cost in operator ()() 115 // pattern may have been resolved into multiple match patterns due to in operator ()() 142 LLVM_DEBUG(errs() << "\n\nALL PATTERNS TO MATCH:\n\n"; in run() 153 // Add all the patterns to a temporary list so we can sort them. in run() 154 Records.startTimer("Sort patterns"); in run() 155 std::vector<const PatternToMatch*> Patterns; in run() local 157 Patterns.push_back(&PTM); in run() [all …]
|
/netbsd-src/external/ibm-public/postfix/dist/proto/ |
H A D | regexp_table | 17 # 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 99 # Patterns are applied in the order as specified in the table, until a 112 # Substitution of substrings (text that matches patterns 119 # Note: since negated patterns (those preceded by \fB!\fR) return a [all …]
|
H A D | pcre_table | 21 # 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. 141 # Patterns are applied in the order as specified in the table, until a 154 # Substitution of substrings (text that matches patterns [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/ |
H A D | VEInstrIntrinsicVL.td | 3 /// 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 D | msggrep.c | 85 char *patterns; member 193 gt->patterns = NULL; in main() 219 /* Append optarg and a newline to gt->patterns. */ 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() 242 /* Append the contents of the specified file to gt->patterns. */ in main() 263 gt->patterns = in main() 264 (char *) xrealloc (gt->patterns, gt->patterns_size + count); in main() [all …]
|
/netbsd-src/external/ibm-public/postfix/dist/html/ |
H A D | pcre_table.5.html | 29 list of patterns. When a match is found, the corresponding result is 45 table that contains case sensitive patterns. Patterns are case insensi- 62 … string against the patterns between <b>if</b> and <b>endif</b>. The <b>if</b>..<b>endif</b> 65 Note: do not prepend whitespace to patterns inside <b>if</b>..<b>endif</b>. 72 input string against the patterns between <b>if</b> and <b>endif</b>. The 75 Note: do not prepend whitespace to patterns inside <b>if</b>..<b>endif</b>. 119 Note: do not use <b>#</b><i>comment</i> after patterns. 152 Patterns are applied in the order as specified in the table, until a 163 Substitution of substrings (text that matches patterns inside "()") 170 Note: since negated patterns (those preceded by <b>!</b>) return a result when [all …]
|
H A D | regexp_table.5.html | 38 table that contains case sensitive patterns. Patterns are case insensi- 55 … string against the patterns between <b>if</b> and <b>endif</b>. The <b>if</b>..<b>endif</b> 58 Note: do not prepend whitespace to patterns inside <b>if</b>..<b>endif</b>. 65 input string against the patterns between <b>if</b> and <b>endif</b>. The 68 Note: do not prepend whitespace to patterns inside <b>if</b>..<b>endif</b>. 110 Patterns are applied in the order as specified in the table, until a 121 Substitution of substrings (text that matches patterns inside "()") 127 Note: since negated patterns (those preceded by <b>!</b>) return a result when 129 negated patterns. 177 # Put your own body patterns here.
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/man/ |
H A D | msggrep.1 | 53 PATTERNs are basic regular expressions by default, or extended regular 63 start of patterns for the msgctxt 66 start of patterns for the msgid 69 start of patterns for the msgstr 72 start of patterns for the translator's comment 75 start of patterns for the extracted comment
|
/netbsd-src/external/ibm-public/postfix/dist/src/util/ |
H A D | 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 in match_list_parse() 195 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() 242 * Iterate over all patterns in the list, stop at the first match. in match_list_match() 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/external/ibm-public/postfix/dist/src/global/ |
H A D | 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) 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() 155 * Iterate over all patterns in the list, stop at the first match. in match_service_match()
|
H A D | domain_list.c | 28 /* Patterns are separated by whitespace and/or commas. A pattern 34 /* list of domain patterns, or when any of its parent domains appears 35 /* in the list of domain patterns. The matching process is case 52 /* The last argument is a list of domain patterns, or the name of 53 /* a file containing domain patterns. 100 msg_fatal("usage: %s [-v] patterns hostname", progname); in usage()
|
/netbsd-src/lib/libwrap/ |
H A D | hosts_access.5 | 9 name, host name/address) patterns. 67 of one or more host names, host addresses, patterns or wildcards (see 73 explained in the sections on server endpoint patterns and on client 81 .SH PATTERNS 82 The access control language implements the following patterns: 124 zero or more lines with zero or more host name or address patterns 195 .SH "SERVER ENDPOINT PATTERNS" 197 connect to, use patterns of the form: 202 Patterns like these can be used when the machine has different internet 223 name, and can be used to match patterns like: [all …]
|
/netbsd-src/tests/lib/libc/regex/ |
H A D | t_exhaust.c | 214 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() 248 atf_tc_set_md_var(tc, "descr", "Check that large patterns don't" in ATF_TC_HEAD()
|
/netbsd-src/external/bsd/libarchive/dist/libarchive/test/ |
H A D | test_archive_match_path.c | 177 /* Test1: read exclusion patterns from file */ in test_exclusion_from_file_mbs() 186 /* Test2: read exclusion patterns in a null separator from file */ in test_exclusion_from_file_mbs() 202 /* Test1: read exclusion patterns from file */ in test_exclusion_from_file_wcs() 211 /* Test2: read exclusion patterns in a null separator from file */ in test_exclusion_from_file_wcs() 325 /* Test1: read inclusion patterns from file */ in test_inclusion_from_file_mbs() 334 /* Test2: read inclusion patterns in a null separator from file */ in test_inclusion_from_file_mbs() 349 /* Test1: read inclusion patterns from file */ in test_inclusion_from_file_wcs() 359 /* Test2: read inclusion patterns in a null separator from file */ in test_inclusion_from_file_wcs() 413 /* Verify unmatched inclusion patterns. */ in test_exclusion_and_inclusion() 419 /* Verify unmatched inclusion patterns again in Wide-Char. */ in test_exclusion_and_inclusion() [all …]
|
/netbsd-src/external/bsd/elftosb/dist/common/ |
H A D | ExcludesListMatcher.h | 18 * \brief Matches strings using a series of include and exclude glob patterns. 20 * This string matcher class uses a sequential, ordered list of glob patterns to 22 * action. The patterns in the list effectively form a Boolean expression. Includes 62 glob_list_t m_patterns; //!< Ordered list of include and exclude patterns.
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/include/ |
H A D | link_service_types.h | 90 /* Test patterns*/ 96 /* phy test patterns*/ 107 /* Link Training Patterns */ 114 /* link test patterns*/ 121 /* audio test patterns*/
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/scripts/ |
H A D | make_exports.pl | 14 # The glob patterns that are to be applied to the demangled name 16 # The glob patterns that apply directly to the name in the .o files 18 # The patterns for local variables (usually just '*'). 49 # After 'extern "C++"', globs are C++ patterns 121 # Maybe it matches one of the patterns based on the symbol in the .o file. 127 # No? Well, maybe its demangled form matches one of those patterns.
|
/netbsd-src/external/bsd/nsd/dist/doc/ |
H A D | UPGRADING | 21 * 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/gpl3/gcc/dist/gcc/ |
H A D | vector-builder.h | 1 /* A class for building vector constant patterns. 24 It aims to encode each vector as npatterns interleaved patterns, 30 to derive the other elements. If all patterns have a STEP of zero, 32 If BASE1 is also equal to BASE0 for all patterns, we only need to 104 Return the number of patterns used to encode vector constant X. 189 encode it using NPATTERNS patterns with NELTS_PER_PATTERN each. */ 302 /* Conceptually we split the patterns in VEC1 and VEC2 until we have in new_binary_operation() 380 /* Change the encoding to NPATTERNS patterns of NELTS_PER_PATTERN each, 451 /* Try to change the number of encoded patterns to NPATTERNS, returning 528 1. If we have stepped patterns whose steps are all 0, reduce the in finalize() [all …]
|