HomeSort by relevance Sort by last modified time
    Searched refs:pattern (Results 226 - 250 of 532) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/JavaScriptCore/yarr/
RegexParser.h 52 friend const char* parse(FriendDelegate& delegate, const UString& pattern, unsigned backReferenceLimit);
100 * pattern character token. This method differs from atomPatternCharacter(),
134 * Adds a pattern character, called by parseEscape(), as such will not
194 Parser(Delegate& delegate, const UString& pattern, unsigned backReferenceLimit)
198 , m_data(pattern.data())
199 , m_size(pattern.size())
522 * This method loops over the input pattern reporting tokens to the delegate.
523 * The method returns when a parse error is detected, or the end of the pattern
665 "\\ at end of pattern"
780 * The parse method is passed a pattern to be parsed and a delegate upon whic
    [all...]
  /frameworks/base/core/java/android/text/util/
Linkify.java 36 import java.util.regex.Pattern;
44 * Alone with the pattern that is to be matched, a url scheme prefix is also
45 * required. Any pattern match that does not begin with the supplied scheme
48 * the scheme <code>http://</code>. If the pattern matches example.com, which
149 * support@example.com. So, when matching against a web url pattern you
155 * Examines the character span matched by the pattern and determines
158 * @param s The body of text against which the pattern
161 * matched by the pattern - inclusive
297 * @param pattern Regex pattern to be used for finding link
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
DashPathEffectTest.java 43 private static final float[] PATTERN = new float[] { 15, 5, 10, 5 };
54 " determines the start offset within the pattern and not an initial gap")
56 PathEffect effect = new DashPathEffect(PATTERN, OFFSET);
73 PatternIterator iterator = new PatternIterator(PATTERN, OFFSET);
100 * Create an instance that iterates through the given pattern starting at the given offset.
102 PatternIterator(final float[] pattern, int offset) {
103 mPattern = pattern;
  /external/bluetooth/bluez/src/
manager.c 134 const char *pattern; local
138 if (!dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &pattern,
144 if (!strcmp(pattern, "any") || !strcmp(pattern, "00:00:00:00:00:00")) {
149 } else if (!strncmp(pattern, "hci", 3) && strlen(pattern) >= 4) {
150 dev_id = atoi(pattern + 3);
153 adapter = manager_find_adapter_by_address(pattern);
  /external/icu4c/test/perf/usetperf/
usetperf.cpp 33 CmdPattern(const char * pattern):pat(pattern,""){
  /external/libxml2/
Android.mk 45 pattern.c \
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Exceptions/
regress-181914.js 163 var pattern = err.name + '\\s*:?\\s*' + msg;
164 return err.toString().search(RegExp(pattern));
  /packages/apps/Email/src/com/android/email/mail/internet/
EmailHtmlUtil.java 30 import java.util.regex.Pattern;
36 private static final Pattern PLAIN_TEXT_TO_ESCAPE = Pattern.compile("[<>&]| {2,}|\r?\n");
90 Pattern pattern = PLAIN_TEXT_TO_ESCAPE; local
91 Matcher match = pattern.matcher(text);
  /external/icu4c/test/intltest/
ssearch.cpp 240 UnicodeString pattern; local
246 n = testCase->getChildElement("pattern");
253 pattern.append(text);
293 UStringSearch *uss = usearch_openFromCollator(pattern.getBuffer(), pattern.length(),
335 uss = usearch_openFromCollator(pattern.getBuffer(), pattern.length(),
425 /* The first line of the file contains the pattern */
438 UChar *pattern = NEW_ARRAY(UChar, plen); local
440 pattern[i] = target[start++]
588 UnicodeString pattern; local
1352 BoyerMooreSearch *pattern = NULL; local
2096 UnicodeString pattern, altPattern; local
2233 UnicodeString pattern, altPattern; local
    [all...]
dtfmttst.h 94 * Test the day of year pattern.
100 virtual void tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected);
msfmrgts.cpp 75 * Null exception when formatting pattern with MessageFormat
79 UnicodeString pattern [] = { local
95 //Apply pattern with param and print the result
96 messageFormatter->applyPattern(pattern[1], status);
110 //Apply pattern without param and print the result
111 messageFormatter->applyPattern(pattern[0], status);
135 //If we use pattern[1] for the message with param,
137 //If we use pattern[2] for the message with param,
140 //in applyPattern() when the pattern does not
185 logln("Apply with pattern : " + pattern1)
482 UnicodeString pattern = patterns[i]; local
    [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/util/
FormatterTest.java 1458 final int pattern = 1; local
1528 final int pattern = 1; local
1763 final int pattern = 1; local
1893 final int pattern = 1; local
1969 final int pattern = 1; local
2045 final int pattern = 1; local
2395 final int pattern = 1; local
2889 final int pattern = 1; local
3366 final int pattern = 1; local
3561 final int pattern = 1; local
3879 final int pattern = 1; local
4059 final int pattern = 1; local
4133 final int pattern = 1; local
4222 final int pattern = 1; local
4265 final int pattern = 1; local
    [all...]
  /external/icu4c/i18n/
dtptngen.cpp 394 DateTimePatternGenerator::getSkeleton(const UnicodeString& pattern, UErrorCode&
396 dtMatcher->set(pattern, fp);
401 DateTimePatternGenerator::getBaseSkeleton(const UnicodeString& pattern, UErrorCode& /*status*/) {
402 dtMatcher->set(pattern, fp);
557 break; // no more pattern
563 // set fDefaultHourFormatChar to the hour format character from this pattern
587 break; // no more pattern
636 // Add pattern with its associated skeleton. Override any duplicate derived from std patterns,
679 // Add pattern with its associated skeleton. Override any duplicate derived from std patterns,
790 DateTimePatternGenerator::replaceFieldTypes(const UnicodeString& pattern,
1193 const UnicodeString *pattern; local
    [all...]
rbt_rule.h 32 * <p>A rule consists of an input pattern and an output string. When
33 * the input pattern is matched, the output string is emitted. The
34 * input pattern consists of zero or more characters which are matched
45 * input pattern, indicated by an offset and limit. The segment may
49 * the input pattern) to be copied to the output string. The range of
59 // TODO Eliminate the pattern and keyLength data members. They
62 // methods and pattern/keyLength can be isolated into a separate
95 UnicodeString pattern; member in class:TransliterationRule
98 * An array of matcher objects corresponding to the input pattern
116 * Substring [0,anteContextLength) of pattern is the anteContext
    [all...]
strmatch.h 30 * such as UnicodeSets, the emitted text is not the match pattern, but
37 * itself to a pattern but does not otherwise affect its function.
47 * Construct a matcher that matches the given pattern string.
48 * @param string the pattern to be matched, possibly containing
124 * @param result Output param to receive the pattern.
180 * @param result the string to receive the pattern. Previous
223 UnicodeString pattern; member in class:StringMatcher
usrchimp.h 60 struct UPattern pattern; member in struct:UStringSearch
91 * If the end character is composite and the pattern ce does not match the text
93 * it has passed the character. This is so that we can match pattern "a" with
  /dalvik/libcore/regex/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
MatcherTest.java 21 import java.util.regex.Pattern;
62 Pattern pat = Pattern.compile("XX");
72 pat = Pattern.compile("cat");
100 Pattern p = Pattern.compile("xx (rur|\\$)");
119 String pattern = "a*b"; local
120 Pattern pat = Pattern.compile(pattern);
217 String pattern = "dog"; local
875 String pattern = "a*b"; local
1148 Pattern pattern = Pattern.compile("\\\\w+"); local
1210 Pattern pattern = Pattern.compile("(?s).*"); local
1234 Pattern pattern = Pattern.compile("c"); local
1463 Pattern pattern = Pattern.compile("(?:\\\\d+)(?:pt)"); local
    [all...]
  /cts/tools/utils/cts/
tools.py 123 def Exclude(self, pattern):
130 pattern: A regular expression selecting the package names to exclude.
134 exp = re.compile(pattern)
139 def Include(self, pattern):
143 pattern: A regular expression selecting the package names to include.
149 exp = re.compile(pattern)
  /development/samples/ApiDemos/src/com/example/android/apis/os/
MorseCodeConverter.java 74 /** Return the pattern data for a given character */
75 static long[] pattern(char c) { method in class:MorseCodeConverter
90 static long[] pattern(String str) { method in class:MorseCodeConverter
109 len += pattern(c).length;
113 // Generate the pattern array. Note that we put an extra element of 0
114 // in at the beginning, because the pattern always starts with the pause,
134 long[] letter = pattern(c);
  /external/icu4c/common/unicode/
uset.h 265 * Creates a set from the given pattern. See the UnicodeSet class
266 * description for the syntax of the pattern language.
267 * @param pattern a string specifying what characters are in the set
268 * @param patternLength the length of the pattern, or -1 if null
274 uset_openPattern(const UChar* pattern, int32_t patternLength,
278 * Creates a set from the given pattern. See the UnicodeSet class
279 * description for the syntax of the pattern language.
280 * @param pattern a string specifying what characters are in the set
281 * @param patternLength the length of the pattern, or -1 if null
283 * @param options bitmask for options to apply to the pattern
    [all...]
  /external/icu4c/i18n/unicode/
bms.h 109 * the pattern, the "bad character" and "good suffix" tables, the Collator-based data needed to compute them,
113 * Then you construct a <code>BMS</code> object from the <code>UCD</code> object, the pattern
117 * void boyerMooreExample(UCollator *collator, UChar *pattern, int32_t patternLen, UChar *target, int32_t targetLength)
130 * BMS *bms = bms_open(ucd, pattern, patternLength, target, targetlength, &status);
172 * 3) In some cases, searching for a pattern that needs to be normalized and ends
174 * the Tibetan script. For example searching for the pattern
189 * @param pattern - the string for which to search
205 const UChar *pattern, int32_t patternLength,
219 * Test the pattern to see if it generates any CEs.
222 * @return <code>TRUE</code> if the pattern string did not generate any CE
    [all...]
currpinf.h 42 * currency plural pattern of the locale.
121 * Given a plural count, gets currency plural pattern of this locale,
125 * @param result output param to receive the pattern
126 * @return a currency plural pattern based on plural count
155 * Set currency plural pattern.
156 * The currency plural pattern is set when CurrencyPluralInfo
158 * You can call this method to reset currency plural pattern only if
159 * you want to modify the default currency plural pattern of the locale.
161 * @param pluralCount the plural count for which the currency pattern will
163 * @param pattern the new currency plural patter
    [all...]
format.h 56 * a pattern. A pattern is a string representation of the rules which
58 * a DecimalFormat object may be associated with the pattern
61 * and "($987.65)" for 987.6543. The specific syntax of a pattern
64 * Even though many subclasses use patterns, the notion of a pattern
277 * @param pattern The pattern to copy into the parseError
278 * @param pos The position in pattern where the error occured
282 static void syntaxError(const UnicodeString& pattern,
ulocdata.h 116 * @param options Bitmask for options to apply to the exemplar pattern.
202 * Returns locale display pattern associated with a locale.
206 * @param pattern locale display pattern for locale.
208 * pattern with.
212 * than patternCapacity, the returned pattern will be truncated.
218 UChar *pattern,
  /external/libxml2/include/libxml/
pattern.h 2 * Summary: pattern expression handling
3 * Description: allows to compile and test pattern expressions for nodes
27 * A compiled (XPath based) pattern to select nodes
35 * This is the set of options affecting the behaviour of pattern
40 XML_PATTERN_DEFAULT = 0, /* simple pattern match */
41 XML_PATTERN_XPATH = 1<<0, /* standard XPath pattern */
53 xmlPatterncompile (const xmlChar *pattern,

Completed in 2014 milliseconds

1 2 3 4 5 6 7 8 91011>>