Searched refs:pattern (Results 1 - 25 of 1035) sorted by relevance

1234567891011>>

/macosx-10.10.1/dtrace-147/libdtrace/
H A Dmkerrtags.sh41 pattern='^ \(D_[A-Z0-9_]*\),*'
44 sed -n "s/$pattern/$replace/p" || exit 1
/macosx-10.10.1/dcerpc-61/dcerpc/libdcethread/
H A Ddcethread_exc_matches.c85 dcethread_exc_matches(dcethread_exc* exc, dcethread_exc* pattern) argument
87 return dcethread__exc_matches(exc, pattern);
/macosx-10.10.1/sudo-73/src/
H A Dfnmatch.c35 * Filename pattern matches defined in section 2.13, "Pattern Matching Notation"
43 * number of consecutive slashes within pattern and string will NOT match;
55 * Supports BSD extensions FNM_LEADING_DIR to match pattern to the end of one
65 * state of pattern and string (rewinding pattern and string repeatedly).
96 classmatch(const char *pattern, int test, int foldcase, const char **ep) argument
98 classmatch(pattern, test, foldcase, ep)
99 const char *pattern;
105 const char * const mismatch = pattern;
111 if (pattern[
151 fnmatch_ch(const char **pattern, const char **string, int flags) argument
287 fnmatch(const char *pattern, const char *string, int flags) argument
[all...]
/macosx-10.10.1/rsync-45/rsync/lib/
H A Dwildmatch.h3 int wildmatch(const char *pattern, const char *text);
4 int iwildmatch(const char *pattern, const char *text);
5 int wildmatch_array(const char *pattern, const char*const *texts, int where);
/macosx-10.10.1/CPANInternal-159.1/DateTime-Format-Strptime-1.52/t/
H A D004_locale_defaults.t12 pattern => '%c',
46 my ( $locale, $pattern, $data ) = @$_;
48 $object->pattern($pattern);
52 fail("Could not parse $data with $pattern for $locale") for 1..3;
56 if ( $pattern eq '%x' or $pattern eq '%c' ) {
57 is( $datetime->year, 1998, $locale . ' : ' . $pattern . ' : year' );
58 is( $datetime->month, 12, $locale . ' : ' . $pattern . ' : month' );
59 is( $datetime->day, 31, $locale . ' : ' . $pattern
[all...]
/macosx-10.10.1/CPANInternal-159.1/DateTime-Format-Strptime-1.54/t/
H A D004_locale_defaults.t12 pattern => '%c',
46 my ( $locale, $pattern, $data ) = @$_;
48 $object->pattern($pattern);
52 fail("Could not parse $data with $pattern for $locale") for 1..3;
56 if ( $pattern eq '%x' or $pattern eq '%c' ) {
57 is( $datetime->year, 1998, $locale . ' : ' . $pattern . ' : year' );
58 is( $datetime->month, 12, $locale . ' : ' . $pattern . ' : month' );
59 is( $datetime->day, 31, $locale . ' : ' . $pattern
[all...]
/macosx-10.10.1/apr-32/apr/apr/strings/
H A Dapr_fnmatch.c22 * Filename pattern matches defined in section 2.13, "Pattern Matching Notation"
30 * number of consecutive slashes within pattern and string will NOT match;
49 * state of pattern and string (rewinding pattern and string repeatedly).
71 * Both pattern and string are **char to support pointer increment of arbitrary
74 static APR_INLINE int fnmatch_ch(const char **pattern, const char **string, int flags) argument
76 const char * const mismatch = *pattern;
84 if (**pattern == '[')
86 ++*pattern;
89 negate = ((**pattern
194 apr_fnmatch(const char *pattern, const char *string, int flags) argument
405 apr_fnmatch_test(const char *pattern) argument
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/RegExp/
H A Dmultiline-001.js27 ( regexp, pattern, index, matches_array ) {
31 if ( regexp.exec(pattern) == null || matches_array == null ) {
33 regexp + ".exec(" + pattern +")",
35 regexp.exec(pattern) );
41 regexp.toString() + ".exec(" + pattern +").length",
43 regexp.exec(pattern).length );
46 regexp.toString() + ".exec(" + pattern +").index",
48 regexp.exec(pattern).index );
51 regexp + ".exec(" + pattern +").input",
52 pattern,
[all...]
H A Dhex-001.js30 regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) {
34 if ( regexp.exec(pattern) == null || matches_array == null ) {
36 str_regexp + ".exec(" + pattern +")",
38 regexp.exec(pattern) );
46 regexp.exec(pattern).length );
51 regexp.exec(pattern).index );
55 pattern,
56 regexp.exec(pattern).input );
62 regexp.exec(pattern)[matches] );
H A Dexec-002.js139 regexp, pattern, index, matches_array ) {
143 if ( regexp.exec(pattern) == null || matches_array == null ) {
145 regexp + ".exec(" + pattern +")",
147 regexp.exec(pattern) );
152 regexp + ".exec(" + pattern +").length",
154 regexp.exec(pattern).length );
157 regexp + ".exec(" + pattern +").index",
159 regexp.exec(pattern).index );
162 regexp + ".exec(" + pattern +").input",
163 pattern,
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/RegExp/
H A Dperlstress-002.js64 var pattern = ''; variable
77 pattern = /abc/;
79 actualmatch = string.match(pattern);
84 pattern = /abc/;
86 actualmatch = string.match(pattern);
91 pattern = /abc/;
93 actualmatch = string.match(pattern);
98 pattern = /ab+bc/;
100 actualmatch = string.match(pattern);
105 pattern
[all...]
H A D15.10.2-1.js50 var pattern = ''; variable
61 pattern = /a|ab/;
63 actualmatch = string.match(pattern);
68 pattern = /((a)|(ab))((c)|(bc))/;
70 actualmatch = string.match(pattern);
75 pattern = /a[a-z]{2,4}/;
77 actualmatch = string.match(pattern);
82 pattern = /a[a-z]{2,4}?/;
84 actualmatch = string.match(pattern);
89 pattern
[all...]
H A Dperlstress-001.js54 pattern = /^([^a-z])|(\^)$/;
56 actualmatch = string.match(pattern);
92 var pattern = ''; variable
105 pattern = /abc/;
107 actualmatch = string.match(pattern);
112 pattern = /abc/;
114 actualmatch = string.match(pattern);
119 pattern = /abc/;
121 actualmatch = string.match(pattern);
126 pattern
[all...]
H A D15.10.6.2-2.js54 * regular expression pattern as follows:
82 * e = (index of last input character matched so far by the pattern) + 1
100 var pattern = ''; variable
115 pattern = /abc/gi;
119 actualmatch = pattern.exec(string);
124 actualmatch = pattern.exec(string);
129 actualmatch = pattern.exec(string);
137 actualmatch = pattern.exec(string);
145 pattern.lastIndex = -1;
146 actualmatch = pattern
[all...]
H A Doctal-001.js48 var pattern = ''; variable
59 pattern = /\240/;
61 actualmatch = string.match(pattern);
71 pattern = /ab\052c/;
73 actualmatch = string.match(pattern);
78 pattern = /ab\052*c/;
80 actualmatch = string.match(pattern);
85 pattern = /ab(\052)+c/;
87 actualmatch = string.match(pattern);
92 pattern
[all...]
H A Dregress-209919.js49 var pattern = ''; variable
72 pattern = /(a|b*)*/;
73 actualmatch = string.match(pattern);
85 pattern = /(a|b*){5,}/;
86 actualmatch = string.match(pattern);
100 pattern = /(b*)*/;
101 actualmatch = string.match(pattern);
113 pattern = /(b*)+/;
114 actualmatch = string.match(pattern);
122 pattern
[all...]
H A Doctal-002.js66 var pattern = ''; variable
89 pattern = /.\011/;
91 actualmatch = string.match(pattern);
103 pattern = /.\0xx/;
105 actualmatch = string.match(pattern);
116 pattern = /.\0xx/;
118 actualmatch = string.match(pattern);
125 * 'a' + '\011' is duplicated in the pattern and test string:
128 pattern = /.\011/;
130 actualmatch = string.match(pattern);
[all...]
H A Dregress-57572.js35 var pattern = ''; variable
46 pattern = /(\S+)?(.*)/;
48 actualmatch = string.match(pattern);
53 pattern = /(\S+)? ?(.*)/; //single space between the ? characters
55 actualmatch = string.match(pattern);
60 pattern = /(\S+)?(.*)/;
62 actualmatch = string.match(pattern);
67 pattern = /(\S+)? ?(.*)/; //single space between the ? characters
69 actualmatch = string.match(pattern);
76 pattern
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dfnmatch.c45 * Compares a filename or pathname to a pattern.
62 rk_fnmatch(const char *pattern, const char *string, int flags) argument
68 switch (c = *pattern++) {
83 c = *pattern;
86 c = *++pattern;
93 /* Optimize for pattern with * at end or before /. */
108 if (!rk_fnmatch(pattern, string, flags & ~FNM_PERIOD))
120 if ((pattern =
121 rangematch(pattern, *string, flags)) == NULL)
127 if ((c = *pattern
142 rangematch(const char *pattern, int test, int flags) argument
[all...]
/macosx-10.10.1/apr-32/apr-util/apr-util/include/
H A Dapr_strmatch.h41 * Precompiled search pattern
47 const char *pattern; /**< Current pattern */ member in struct:apr_strmatch_pattern
54 * Search for a precompiled pattern within a string
55 * @param pattern The pattern
56 * @param s The string in which to search for the pattern
58 * @return A pointer to the first instance of the pattern in s, or
61 APU_DECLARE(const char *) apr_strmatch(const apr_strmatch_pattern *pattern,
64 #define apr_strmatch(pattern,
[all...]
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dmatch_ops.c5 /* simple string or host pattern matching
9 /* int match_string(list, string, pattern)
12 /* const char *pattern;
14 /* int match_hostname(list, name, pattern)
17 /* const char *pattern;
19 /* int match_hostaddr(list, addr, pattern)
22 /* const char *pattern;
25 /* matching. The matching process is case insensitive. If a pattern
29 /* match_string() matches the string against the pattern, requiring
33 /* the pattern exactl
112 match_string(MATCH_LIST *list, const char *string, const char *pattern) argument
149 match_hostname(MATCH_LIST *list, const char *name, const char *pattern) argument
217 match_hostaddr(MATCH_LIST *list, const char *addr, const char *pattern) argument
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/
H A Dabbrev.rb61 # The optional +pattern+ parameter is a pattern or a string. Only
62 # input strings that match the pattern or start with the string
67 def abbrev(words, pattern = nil)
71 if pattern.is_a?(String)
72 pattern = /\A#{Regexp.quote(pattern)}/ # regard as a prefix
80 next if pattern && pattern !~ abbrev
94 next if pattern
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/
H A Dexp_glob.c22 CONST Tcl_UniChar *pattern, /* Pattern, which may contain
24 CONST Tcl_UniChar *pstop, /* First char _after_ pattern */
32 Exp_StringCaseMatch(string, strlen, pattern, plen, nocase, offset) /* INTL */
34 Tcl_UniChar *pattern;
38 int *offset; /* offset in chars from beginning of string where pattern matches */
42 CONST Tcl_UniChar *pstop = pattern + plen;
48 expDiagLog("\nESCM pattern(%d)=\"",plen);
49 expDiagLogU(expPrintifyUni(pattern,plen));
59 if (pattern[0] == '^') {
61 pattern
[all...]
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dfnmatch.c43 * Compares a filename or pathname to a pattern.
79 fnmatch(pattern, string, flags)
80 const char *pattern, *string;
85 return (fnmatch1(pattern, string, string, flags, initial, initial, __current_locale(), RECURSION_MAX));
87 return (fnmatch1(pattern, string, string, flags, initial, initial, __current_locale(), RECURSION_MAX) != 0 ? FNM_NOMATCH : 0);
92 fnmatch1(pattern, string, stringstart, flags, patmbs, strmbs, loc, recursion)
93 const char *pattern, *string, *stringstart;
107 pclen = mbrtowc_l(&pc, pattern, MB_LEN_MAX, &patmbs, loc);
114 pattern += pclen;
138 c = *pattern;
[all...]
/macosx-10.10.1/CPANInternal-159.1/DateTime-Format-Builder-0.80/t/
H A Dstrptime.t35 my ($pattern, $data) = @$test;
36 my $parser = DateTime::Format::Builder->create_parser( strptime => $pattern );
39 is( $parsed->strftime($pattern) => $data, $pattern);

Completed in 286 milliseconds

1234567891011>>