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

1234567891011>>

/macosx-10.9.5/dtrace-118.1/libdtrace/
H A Dmkerrtags.sh41 pattern='^ \(D_[A-Z0-9_]*\),*'
44 sed -n "s/$pattern/$replace/p" || exit 1
/macosx-10.9.5/dcerpc-58/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.9.5/sudo-72/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.9.5/rsync-42/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.9.5/CPANInternal-140/DateTime-Format-Strptime/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.9.5/CPANInternal-140/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.9.5/apache-786.1/httpd/srclib/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.9.5/apr-30/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.9.5/CPANInternal-140/DateTime-Format-Strptime-1.04/t/
H A D004_locale.t12 pattern => '%c',
38 my ($locale, $pattern, $data) = @$_;
41 $object->pattern($pattern);
44 if ($pattern eq '%x' or $pattern eq '%c') {
45 is($datetime->year, 1998, $locale. ' : ' . $pattern . ' : year' );
46 is($datetime->month, 12, $locale. ' : ' . $pattern . ' : month' );
47 is($datetime->day, 31, $locale. ' : ' . $pattern . ' : day' );
49 if ($pattern e
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/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] );
/macosx-10.9.5/JavaScriptCore-7537.78.1/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.9.5/WebCore-7537.78.1/platform/graphics/cairo/
H A DPatternCairo.cpp41 cairo_pattern_t* pattern = cairo_pattern_create_for_surface(surface.get());
46 cairo_pattern_set_matrix(pattern, &matrix);
49 cairo_pattern_set_extend(pattern, CAIRO_EXTEND_REPEAT);
50 return pattern;
/macosx-10.9.5/Heimdal-323.92.1/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.9.5/apache-786.1/httpd/srclib/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.9.5/apr-30/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.9.5/postfix-252/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.9.5/ruby-104/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...]

Completed in 497 milliseconds

1234567891011>>