Searched refs:pattern (Results 151 - 175 of 1035) sorted by relevance

1234567891011>>

/macosx-10.10.1/ruby-106/ruby/test/rake/
H A Dtest_rake_test_task.rb12 assert_equal 'test/test*.rb', tt.pattern
20 t.pattern = 'test/tc_*.rb'
26 assert_equal 'test/tc_*.rb', tt.pattern
34 t.pattern = '*'
62 t.pattern = '*.rb'
70 t.pattern = '*.rb'
/macosx-10.10.1/vim-55/runtime/indent/
H A Dxinetd.vim23 let pattern = '[{}]'
24 let i = match(line, pattern)
37 let i = match(line, pattern, i + 1)
/macosx-10.10.1/tcl-105/tcl/tcl/generic/
H A DtclUtil.c1308 * See if a particular string matches a particular pattern.
1311 * The return value is 1 if string matches pattern, and 0 otherwise. The
1313 * pattern: *?\[] (see the manual entry for details on what these mean).
1324 CONST char *pattern) /* Pattern, which may contain special
1327 return Tcl_StringCaseMatch(str, pattern, 0);
1336 * See if a particular string matches a particular pattern. Allows case
1340 * The return value is 1 if string matches pattern, and 0 otherwise. The
1342 * pattern: *?\[] (see the manual entry for details on what these mean).
1353 CONST char *pattern, /* Pattern, which may contain special
1358 CONST char *pstart = pattern;
1309 Tcl_StringMatch( CONST char *str, CONST char *pattern) argument
1337 Tcl_StringCaseMatch( CONST char *str, CONST char *pattern, int nocase) argument
1570 TclByteArrayMatch( const unsigned char *string, int strLen, const unsigned char *pattern, int ptnLen, int flags) argument
[all...]
H A DtclUtf.c1628 * See if a particular Unicode string matches a particular pattern.
1636 * The return value is 1 if string matches pattern, and 0 otherwise. The
1638 * pattern: *?\[] (see the manual entry for details on what these mean).
1660 * See if we're at the end of both the pattern and the string. If so,
1661 * we succeeded. If we're at the end of the pattern but not at the end
1673 * Check for a "*" as the next pattern character. It matches any
1675 * next matching one in the pattern, and then calling ourselves
1682 * Skip all successive *'s in the pattern
1698 * quickly if the next char in the pattern isn't a special
1725 * Check for a "?" as the next pattern characte
1798 TclUniCharMatch( CONST Tcl_UniChar *string, int strLen, CONST Tcl_UniChar *pattern, int ptnLen, int nocase) argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dglob.c44 * Set in gl_flags if pattern contained a globbing character.
46 * Same as GLOB_NOCHECK, but it will only append pattern if it did
168 glob(const char *pattern, argument
177 patnext = (const u_char *) pattern;
215 * Expand recursively a glob {} pattern. When there is no more expansion
219 static int globexp1(const Char *pattern, glob_t *pglob) argument
221 const Char* ptr = pattern;
225 if (pattern[0] == CHAR_LBRACE && pattern[1] == CHAR_RBRACE && pattern[
241 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, int *rv) argument
345 globtilde(const Char *pattern, Char *patbuf, glob_t *pglob) argument
404 glob0(const Char *pattern, glob_t *pglob) argument
494 glob1(Char *pattern, glob_t *pglob, size_t *limit) argument
519 glob2(Char *pathbuf, Char *pathend, Char *pattern, glob_t *pglob, size_t *limit) argument
570 glob3(Char *pathbuf, Char *pathend, Char *pattern, Char *restpattern, glob_t *pglob, size_t *limit) argument
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/rexml/
H A Dsource.rb60 # Scans the source for a given pattern. Note, that this is not your
61 # usual scan() method. For one thing, the pattern argument has some
68 # @param pattern must be a Regexp, and must be in the form of
69 # /^\s*(#{your pattern, with no groups})(.*)/. The first group
72 # @param consume if true, the pattern returned will be consumed, leaving
74 # @return the pattern, if found, or nil if the Source is empty or the
75 # pattern is not found.
76 def scan(pattern, cons=false)
78 rv = @buffer.scan(pattern)
86 def consume( pattern )
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/io/
H A Duprintf.c162 UChar *pattern; local
168 pattern = (UChar *)uprv_malloc(size * sizeof(UChar));
169 if(pattern == 0) {
174 pattern = buffer;
176 u_charsToUChars(patternSpecification, pattern, size);
179 count = u_vfprintf_u(f, pattern, ap);
182 if (pattern != buffer) {
183 uprv_free(pattern);
/macosx-10.10.1/ICU-531.30/icuSources/test/intltest/
H A Dtmsgfmt.h81 UnicodeString pattern ,Locale locale , UErrorCode& err, char* errMsg);
123 UnicodeString GetPatternAndSkipSyntax(const MessagePattern& pattern);
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblunicode/utbm/
H A Dutbm.h58 * An opaque type used for the search pattern.
80 LDAP_LUNICODE_F (void) utbm_free_pattern LDAP_P((utbm_pattern_t pattern));
84 unsigned long flags, utbm_pattern_t pattern));
H A DREADME36 o Search pattern and text already normalized in some fasion.
50 o UTBM_IGNORE_NONSPACING - ignore non-spacing characters in the pattern and
77 ucs2_t *pattern, *text;
82 * Allocate the dynamic storage needed for a search pattern.
92 * Compile the search pattern.
94 utbm_compile(pattern, patternlen, flags, pat);
97 * Find the first occurance of the search pattern in the text.
103 * Free the dynamic storage used for the search pattern.
/macosx-10.10.1/apr-32/apr/apr/test/
H A Dtestfnmatch.c37 const char *pattern; member in struct:pattern_s
49 /* Remember C '\\' is a single backslash in pattern */
151 for (test = patterns; test->pattern; ++test)
155 res = apr_fnmatch(test->pattern, test->string, i);
172 test->pattern, test->string, i, res);
180 const char *pattern; member in struct:test
193 for (t = ft_tests; t->pattern != NULL; t++) {
194 int res = apr_fnmatch_test(t->pattern);
200 t->pattern, res, t->result);
/macosx-10.10.1/curl-83.1.2/curl/tests/libtest/
H A Dlib574.c26 static int new_fnmatch(const char *pattern, const char *string) argument
28 (void)pattern;
/macosx-10.10.1/rsync-45/rsync/
H A Dwildtest.c55 const char *text, const char *pattern)
60 int flags = strstr(pattern, "**")? 0 : FNM_PATHNAME;
84 matched = wildmatch_array(pattern, (const char**)texts, 0);
86 matched = wildmatch(pattern, text);
88 fn_matched = !fnmatch(pattern, text, flags);
92 line, text, pattern, matches? "a" : "NO");
98 line, text, pattern, matches ^ !same_as_fnmatch? "a" : "NO");
103 printf("%d: \"%s\" iterations = %d\n", line, pattern,
54 run_test(int line, bool matches, bool same_as_fnmatch, const char *text, const char *pattern) argument
/macosx-10.10.1/tcl-105/tcl_ext/incrtcl/iwidgets/generic/
H A Dfinddialog.itk71 common _matchLen ;# Matching pattern string length
92 # Add the find pattern entryfield.
94 itk_component add pattern {
95 iwidgets::Entryfield $itk_interior.pattern -labeltext "Find:"
97 bind [$itk_component(pattern) component entry] \
148 grid $itk_component(pattern) -row 0 -column 0 \
193 # pattern. It may have any of the forms accepted by Tk_GetColor.
200 # Specifies the foreground color of the pattern matching a search
209 # pattern from a search operation. It may have any of the forms
218 # pattern fro
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dchoicfmt.cpp73 // Creates a ChoiceFormat instance based on the pattern.
121 // pattern and populates UParseError
223 ChoiceFormat::applyPattern(const UnicodeString& pattern, argument
226 msgPattern.parseChoiceStyle(pattern, NULL, status);
231 // Applies the pattern to this ChoiceFormat instance.
234 ChoiceFormat::applyPattern(const UnicodeString& pattern, argument
238 msgPattern.parseChoiceStyle(pattern, &parseError, status);
242 // Returns the input pattern string.
286 // Reconstruct the original input pattern.
337 // Apply the reconstructed pattern
423 findSubMessage(const MessagePattern &pattern, int32_t partIndex, double number) argument
504 parseArgument( const MessagePattern &pattern, int32_t partIndex, const UnicodeString &source, ParsePosition &pos) argument
539 matchStringUntilLimitPart( const MessagePattern &pattern, int32_t partIndex, int32_t limitPartIndex, const UnicodeString &source, int32_t sourceOffset) argument
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/test/perf/strsrchperf/
H A Dstrsrchperf.h34 StringSearchPerfFunction(StrSrchFn func, UStringSearch* search, const UChar* source,int32_t sourceLen, const UChar* pattern, int32_t patternLen) { argument
38 pttrn = pattern;
61 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { argument
70 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { argument
/macosx-10.10.1/ICU-531.30/icuSources/test/perf/unisetperf/draft/
H A Dcontperf.bat6 rem --pattern [:White_Space:]
17 %PERF% Contains --type %%t -f \temp\udhr\%%f --pattern [:White_Space:] -v -e UTF-8 --passes 3 --iterations 10000
H A Dspan16perf.bat6 rem --pattern [:White_Space:]
17 %PERF% SpanUTF16 --type %%t -f \temp\udhr\%%f --pattern [:White_Space:] -v -e UTF-8 --passes 3 --iterations 10000
H A Dspan8perf.bat6 rem --pattern [:White_Space:]
17 %PERF% SpanUTF8 --type %%t -f \temp\udhr\%%f --pattern [:White_Space:] -v -e UTF-8 --passes 3 --iterations 10000
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dwildcard.h46 char *pattern; /* wildcard pattern */ member in struct:WildcardData
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dregex.c31 # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags)
42 # define re_compile_pattern(pattern, length, bufp) \
43 __re_compile_pattern (pattern, length, bufp)
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Duniset_props.cpp280 // helper functions for matching of pattern syntax pieces ------------------ ***
288 isPerlOpen(const UnicodeString &pattern, int32_t pos) { argument
290 return pattern.charAt(pos)==BACKSLASH && ((c=pattern.charAt(pos+1))==LOWER_P || c==UPPER_P);
294 isPerlClose(const UnicodeString &pattern, int32_t pos) {
295 return pattern.charAt(pos)==CLOSE_BRACE;
299 isNameOpen(const UnicodeString &pattern, int32_t pos) { argument
300 return pattern.charAt(pos)==BACKSLASH && pattern.charAt(pos+1)==UPPER_N;
304 isPOSIXOpen(const UnicodeString &pattern, int32_ argument
328 UnicodeSet(const UnicodeString& pattern, UErrorCode& status) argument
351 applyPattern(const UnicodeString& pattern, UErrorCode& status) argument
370 applyPatternIgnoreSpace(const UnicodeString& pattern, ParsePosition& pos, const SymbolTable* symbols, UErrorCode& status) argument
399 resemblesPattern(const UnicodeString& pattern, int32_t pos) argument
1139 resemblesPropertyPattern(const UnicodeString& pattern, int32_t pos) argument
1180 applyPropertyPattern(const UnicodeString& pattern, ParsePosition& ppos, UErrorCode &ec) argument
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/i18n/unicode/
H A Dselfmt.h36 * messages by selecting phrases based on keywords. The pattern specifies
106 * The sentence pattern for English, where the gender of the person has
116 * <p>The sentence pattern for French, where the gender of the person affects
124 * pattern can be used (with argument 0 the list of people's names,
137 * <p>The <code>SelectFormat</code> pattern string defines the phrase output
139 * The pattern is a sequence of (keyword, message) pairs.
140 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+</p>
142 * <p>Each message is a MessageFormat pattern string enclosed in {curly braces}.</p>
148 * If a pattern does not provide a phrase for <code>other</code>, the method
187 * Creates a new <code>SelectFormat</code> for a given pattern strin
[all...]
H A Dsmpdtfmt.h59 * is guaranteed to get an appropriate formatting pattern for whatever locale the
62 * and give it an appropriate pattern (or use one of the factory methods on DateFormat
63 * and modify the pattern after the fact with toPattern() and applyPattern().
67 * <p>Date and time formats are specified by <em>date and time pattern</em> strings.
68 * Within date and time pattern strings, all unquoted ASCII letters [A-Za-z] are reserved
69 * as pattern letters representing calendar fields. <code>SimpleDateFormat</code> supports
70 * the date and time formatting algorithm and pattern letters defined by
74 * User Guide</a>. The following pattern letters are currently available:</p>
389 * <td>Hour [1-12]. When used in skeleton data or in a skeleton passed in an API for flexible data pattern
397 * <td>Hour [0-23]. When used in skeleton data or in a skeleton passed in an API for flexible data pattern
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/
H A DRegExpCache.cpp68 String pattern = regExp->pattern(); local
69 if (pattern.length() > maxStrongCacheablePatternLength)

Completed in 325 milliseconds

1234567891011>>