Searched defs:pattern (Results 51 - 75 of 399) sorted by relevance

1234567891011>>

/external/jetty/src/java/org/eclipse/jetty/webapp/
H A DJarScanner.java45 * pattern.
55 * Find jar names from the provided list matching a pattern.
57 * If the pattern is null and isNullInclusive is true, then
60 * A pattern is a set of acceptable jar names. Each acceptable
76 * @param pattern
78 * @param isNullInclusive if true, an empty pattern means all names match, if false, none match
81 public void scan (Pattern pattern, URI[] uris, boolean isNullInclusive) argument
84 super.match(pattern, uris, isNullInclusive);
88 * Find jar names from the classloader matching a pattern.
90 * If the pattern i
119 scan(Pattern pattern, ClassLoader loader, boolean isNullInclusive, boolean visitParent) argument
[all...]
H A DClasspathPattern.java29 * ClasspathPattern performs sequential pattern matching of a class name
30 * against an internal array of classpath pattern entries.
35 * When class is initialized from a classpath pattern string, entries
63 public ClasspathPattern(String pattern) argument
65 setPattern(pattern);
71 * Initialize the matcher by parsing each classpath pattern in an array
84 * Initialize the matcher by parsing each classpath pattern in an array
93 for (String pattern : patterns)
95 entry = createEntry(pattern);
97 _patterns.add(pattern);
112 createEntry(String pattern) argument
136 setPattern(String pattern) argument
150 addPattern(String pattern) argument
[all...]
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_string.h18 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowVibrator.java13 private long[] pattern; field in class:ShadowVibrator
23 public void vibrate(long[] pattern, int repeat) { argument
25 this.pattern = pattern;
48 return pattern;
/external/skia/src/gpu/
H A DGrResourceProvider.cpp22 const GrIndexBuffer* GrResourceProvider::createInstancedIndexBuffer(const uint16_t* pattern, argument
42 data[baseIdx+j] = baseVert + pattern[j];
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DTreePatternLexer.java40 /** The tree pattern to lex like "(A B C)" */
41 protected String pattern; field in class:TreePatternLexer
49 /** How long is the pattern in char? */
57 public TreePatternLexer(String pattern) { argument
58 this.pattern = pattern;
59 this.n = pattern.length();
132 c = pattern.charAt(p);
/external/apache-http/src/org/apache/http/impl/cookie/
H A DDateUtils.java60 * Date format pattern used to parse HTTP date headers in RFC 1123 format.
65 * Date format pattern used to parse HTTP date headers in RFC 1036 format.
70 * Date format pattern used to parse HTTP date headers in ANSI C
177 * Formats the given date according to the RFC 1123 pattern.
189 * Formats the given date according to the specified pattern. The pattern
194 * @param pattern The pattern to use for formatting the date.
197 * @throws IllegalArgumentException If the given date pattern is invalid.
201 public static String formatDate(Date date, String pattern) { argument
245 formatFor(String pattern) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/
H A DXPathVisitor.java153 * Visit a match pattern.
156 * @param pattern The match pattern object.
159 public boolean visitMatchPattern(ExpressionOwner owner, StepPattern pattern) argument
165 * Visit a union pattern.
168 * @param pattern The union pattern object.
171 public boolean visitUnionPattern(ExpressionOwner owner, UnionPattern pattern) argument
/external/deqp/framework/common/
H A DtcuTestHierarchyUtil.cpp52 static std::string makePackageFilename (const std::string& pattern, const std::string& packageName, const std::string& typeExtension) argument
57 return StringTemplate(pattern).specialize(args);
/external/emma/core/java12/com/vladium/util/
H A DWCMatcher.java21 public static WCMatcher compile (final String pattern) argument
23 if (pattern == null) throw new IllegalArgumentException ("null input: pattern");
25 final char [] chars = pattern.toCharArray (); // is this faster than using charAt()?
180 StartsWithMatcher (final char [] pattern, final int patternLength) argument
182 m_prefixChars = pattern;
183 m_prefix = new String (pattern, 0, patternLength - 1);
219 EndsWithMatcher (final char [] pattern, final int patternLength) argument
221 m_suffixChars = pattern;
222 m_suffix = new String (pattern,
351 PatternMatcher(final char [] pattern, final int patternLength) argument
[all...]
/external/icu/icu4c/source/common/
H A Duset_props.cpp31 uset_openPattern(const UChar* pattern, int32_t patternLength, argument
34 UnicodeString pat(patternLength==-1, pattern, patternLength);
50 uset_openPatternOptions(const UChar* pattern, int32_t patternLength, argument
54 UnicodeString pat(patternLength==-1, pattern, patternLength);
72 const UChar *pattern, int32_t patternLength,
83 // if pattern is NULL or null terminate
90 UnicodeString pat(pattern, patternLength);
118 uset_resemblesPattern(const UChar *pattern, int32_t patternLength, argument
121 UnicodeString pat(pattern, patternLength);
71 uset_applyPattern(USet *set, const UChar *pattern, int32_t patternLength, uint32_t options, UErrorCode *status) argument
H A Dutil_props.cpp68 * Parse a pattern string starting at offset pos. Keywords are
74 * @param pattern must only contain lowercase characters, which
82 * signs in 'pattern'.
87 const UnicodeString& pattern, int32_t* parsedInts) {
91 for (int32_t i=0; i<pattern.length(); ++i) {
92 UChar cpat = pattern.charAt(i);
86 parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit, const UnicodeString& pattern, int32_t* parsedInts) argument
/external/icu/icu4c/source/i18n/
H A Dstsearch.cpp24 StringSearch::StringSearch(const UnicodeString &pattern, argument
30 m_pattern_(pattern)
50 StringSearch::StringSearch(const UnicodeString &pattern, argument
56 m_pattern_(pattern)
82 StringSearch::StringSearch(const UnicodeString &pattern, argument
88 m_pattern_(pattern)
107 StringSearch::StringSearch(const UnicodeString &pattern, argument
113 m_pattern_(pattern)
261 void StringSearch::setPattern(const UnicodeString &pattern, argument
265 m_pattern_ = pattern;
[all...]
/external/icu/icu4c/source/samples/dtptngsample/
H A Ddtptngsample.cpp20 u_printf(" Use DateTimePatternGenerator to create customized date/time pattern:\n");
53 // use getBestPattern method to get the best pattern for the given skeleton
54 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); local
55 // Constructs a SimpleDateFormat with the best pattern generated above and the given locale
56 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status);
78 u_printf(" Use addPattern API to add new '. von' to existing pattern\n");
82 UnicodeString conflictingPattern,dateReturned, pattern; local
90 // Add '. von' to the existing pattern
92 // Apply the new pattern
95 pattern
123 UnicodeString pattern,dateReturned; local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dtsdcfmsy.cpp249 void IntlTestDecimalFormatSymbols::Verify(double value, const UnicodeString& pattern, argument
252 DecimalFormat df(pattern, sym, status);
/external/icu/icu4c/source/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
/external/icu/icu4c/source/test/perf/usetperf/
H A Dusetperf.cpp33 CmdPattern(const char * pattern):pat(pattern,""){ argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DSelectFormat.java20 * messages by selecting phrases based on keywords. The pattern specifies
90 * The sentence pattern for English, where the gender of the person has
100 * <p>The sentence pattern for French, where the gender of the person affects
108 * pattern can be used (with argument 0 the list of people's names,
119 * <p>The <code>SelectFormat</code> pattern string defines the phrase output
121 * The pattern is a sequence of (keyword, message) pairs.
122 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+</p>
124 * <p>Each message is a MessageFormat pattern string enclosed in {curly braces}.</p>
130 * If a pattern does not provide a phrase for <code>other</code>, the method
156 * The applied pattern strin
158 private String pattern = null; field in class:SelectFormat
170 SelectFormat(String pattern) argument
192 applyPattern(String pattern) argument
222 findSubMessage(MessagePattern pattern, int partIndex, String keyword) argument
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatSpecificationTest.java147 private static String formatFrWithPattern(double d, String pattern) { argument
149 DecimalFormat fmt = new DecimalFormat(pattern, sym);
153 private static NumberFormat nfWithPattern(String pattern) { argument
155 return new DecimalFormat(pattern, sym);
H A DTimeZoneFormatTest.java139 logln(" pattern: " + PATTERNS[patidx]);
181 + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx]
187 + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx]
196 + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx]
214 + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx]
219 + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx]
255 + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx]
267 + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx]
274 + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx]
323 // Regex pattern use
512 isSpecialTimeRoundTripCase(ULocale loc, String id, String pattern, long time) argument
[all...]
/external/jarjar/src/main/com/tonicsystems/jarjar/
H A DWildcard.java31 private final Pattern pattern; field in class:Wildcard
37 public Wildcard(String pattern, String result) { argument
38 if (pattern.equals("**"))
39 throw new IllegalArgumentException("'**' is not a valid pattern");
40 if (!checkIdentifierChars(pattern, "/*"))
41 throw new IllegalArgumentException("Not a valid package pattern: " + pattern);
42 if (pattern.indexOf("***") >= 0)
43 throw new IllegalArgumentException("The sequence '***' is invalid in a package pattern");
45 String regex = pattern;
137 replaceAllLiteral(Pattern pattern, String value, String replace) argument
[all...]
/external/mesa3d/src/glsl/
H A Ds_expression.cpp197 s_match(s_expression *top, unsigned n, s_pattern *pattern, bool partial) argument
206 return partial; /* More actual items than the pattern expected */
209 if (expr == NULL || !pattern[i].match(expr))
216 return false; /* Less actual items than the pattern expected */
/external/messageformat/java/com/ibm/icu/text/
H A DSelectFormat.java20 * messages by selecting phrases based on keywords. The pattern specifies
90 * The sentence pattern for English, where the gender of the person has
100 * <p>The sentence pattern for French, where the gender of the person affects
108 * pattern can be used (with argument 0 the list of people's names,
119 * <p>The <code>SelectFormat</code> pattern string defines the phrase output
121 * The pattern is a sequence of (keyword, message) pairs.
122 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+</p>
124 * <p>Each message is a MessageFormat pattern string enclosed in {curly braces}.</p>
130 * If a pattern does not provide a phrase for <code>other</code>, the method
156 * The applied pattern strin
158 private String pattern = null; field in class:SelectFormat
170 SelectFormat(String pattern) argument
192 applyPattern(String pattern) argument
222 findSubMessage(MessagePattern pattern, int partIndex, String keyword) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
H A DOkHostnameVerifier.java42 * Quick and dirty pattern to differentiate IP addresses from hostnames. This
47 * addresses as strings containing only decimal digits and dots. This pattern
159 * Returns {@code true} iff {@code hostName} matches the domain name {@code pattern}.
162 * @param pattern domain name pattern from certificate. May be a wildcard pattern such as
165 private boolean verifyHostName(String hostName, String pattern) { argument
173 if ((pattern == null) || (pattern.length() == 0) || (pattern
[all...]
/external/openssh/
H A Dsftp-glob.c137 remote_glob(struct sftp_conn *conn, const char *pattern, int flags, argument
149 return(glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob));

Completed in 3325 milliseconds

1234567891011>>