HomeSort by relevance Sort by last modified time
    Searched refs:pattern (Results 426 - 450 of 3340) sorted by null

<<11121314151617181920>>

  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
SimplePatternFormatter.java 34 // it is most efficient to compile patterns to compiled-pattern strings
63 * Binary representation of the compiled pattern.
78 * Creates a formatter from the pattern string.
80 * @param pattern The pattern string.
83 public static SimplePatternFormatter compile(CharSequence pattern) {
84 return compileMinMaxPlaceholders(pattern, 0, Integer.MAX_VALUE);
88 * Creates a formatter from the pattern string.
90 * @param pattern The pattern string
    [all...]
  /prebuilts/go/darwin-x86/src/strings/
search_test.go 46 pattern string
74 bad, good := DumpTables(tc.pattern)
79 want = len(tc.pattern)
82 t.Errorf("boyerMoore(%q) bad['%c']: got %d want %d", tc.pattern, i, got, want)
87 t.Errorf("boyerMoore(%q) got %v want %v", tc.pattern, good, tc.suf)
  /prebuilts/go/linux-x86/src/strings/
search_test.go 46 pattern string
74 bad, good := DumpTables(tc.pattern)
79 want = len(tc.pattern)
82 t.Errorf("boyerMoore(%q) bad['%c']: got %d want %d", tc.pattern, i, got, want)
87 t.Errorf("boyerMoore(%q) got %v want %v", tc.pattern, good, tc.suf)
  /external/ant-glob/src/org/apache/tools/ant/types/selectors/
SelectorUtils.java 40 * The pattern that matches an arbitrary number of directories.
64 * pattern up to the first "**".
67 * can live with false positives. For example, <code>pattern=**\a</code>
70 * @param pattern The pattern to match against. Must not be
76 * pattern up to the first "**".
78 public static boolean matchPatternStart(String pattern, String str) {
79 return matchPatternStart(pattern, str, true);
84 * pattern up to the first "**".
87 * can live with false positives. For example, <code>pattern=**\a</code
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
MessagePattern.java 32 * nested MessageFormat pattern substrings.
33 * For "simple" arguments (with no nested MessageFormat pattern substrings),
38 * Once a pattern has been parsed successfully, iterate through the parsed data
90 * with the pattern strings that yield that output.
118 * either a single or a double apostrophe pattern character.
119 * Within a MessageFormat pattern, a single apostrophe only starts quoted literal text
129 * a double apostrophe pattern character.
154 * parses the MessageFormat pattern string.
155 * @param pattern a MessageFormat pattern strin
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
MessagePattern.java 31 * nested MessageFormat pattern substrings.
32 * For "simple" arguments (with no nested MessageFormat pattern substrings),
37 * Once a pattern has been parsed successfully, iterate through the parsed data
90 * with the pattern strings that yield that output.
119 * either a single or a double apostrophe pattern character.
120 * Within a MessageFormat pattern, a single apostrophe only starts quoted literal text
131 * a double apostrophe pattern character.
159 * parses the MessageFormat pattern string.
160 * @param pattern a MessageFormat pattern strin
    [all...]
  /external/messageformat/java/com/ibm/icu/text/
MessagePattern.java 31 * nested MessageFormat pattern substrings.
32 * For "simple" arguments (with no nested MessageFormat pattern substrings),
37 * Once a pattern has been parsed successfully, iterate through the parsed data
89 * with the pattern strings that yield that output.
118 * either a single or a double apostrophe pattern character.
119 * Within a MessageFormat pattern, a single apostrophe only starts quoted literal text
130 * a double apostrophe pattern character.
158 * parses the MessageFormat pattern string.
159 * @param pattern a MessageFormat pattern strin
    [all...]
  /external/icu/icu4c/source/i18n/
usearch.cpp 278 * Initializing the ce table for a pattern.
280 * Table size will be estimated by the size of the pattern text. Table
293 UPattern *pattern = &(strsrch->pattern); local
295 int32_t *cetable = pattern->cesBuffer;
296 uint32_t patternlength = pattern->textLength;
300 coleiter = ucol_openElements(strsrch->collator, pattern->text,
308 ucol_setText(coleiter, pattern->text, pattern->textLength, status);
314 if (pattern->ces != cetable && pattern->ces)
365 UPattern *pattern = &(strsrch->pattern); local
438 UPattern *pattern = &(strsrch->pattern); local
550 UPattern *pattern = &strsrch->pattern; local
735 UPattern *pattern = &(strsrch->pattern); local
    [all...]
selfmt.cpp 125 int32_t SelectFormat::findSubMessage(const MessagePattern& pattern, int32_t partIndex,
131 int32_t count = pattern.countParts();
133 // Iterate over (ARG_SELECTOR, message) pairs until ARG_LIMIT or end of select-only pattern.
135 const MessagePattern::Part& part=pattern.getPart(partIndex++);
141 if(pattern.partSubstringMatches(part, keyword)) {
144 } else if(msgStart==0 && pattern.partSubstringMatches(part, other)) {
147 partIndex=pattern.getLimitPartIndex(partIndex);
currpinf.cpp 137 std::cout << "same pattern\n";
200 const UnicodeString& pattern,
203 fPluralCountToCurrencyUnitPattern->put(pluralCount, new UnicodeString(pattern), status);
251 // Fall back to "latn" if num sys specific pattern isn't there.
268 // split the number style pattern into positive and negative
300 UnicodeString* pattern = new UnicodeString(patternChars, ptnLen); local
303 pattern->extract(0, pattern->length(), result_1, "UTF-8");
304 std::cout << "pluralCount: " << pluralCount << "; pattern: " << result_1 << "\n";
306 pattern->findAndReplace(UnicodeString(TRUE, gPart0, 3),
323 fPluralCountToCurrencyUnitPattern->put(UnicodeString(pluralCount, -1, US_INV), pattern, status); local
    [all...]
  /external/icu/icu4c/source/test/cintltst/
usrchtst.c 202 const UChar pattern[] = {0x61, 0x62, 0x63, 0x64, 0x65, 0x66}; local
220 result = usearch_open(pattern, 3, NULL, 0, NULL, NULL, &status);
225 result = usearch_openFromCollator(pattern, 3, NULL, 0, NULL, NULL,
232 result = usearch_open(pattern, 3, text, 6, NULL, NULL, &status);
237 result = usearch_openFromCollator(pattern, 3, text, 6, NULL, NULL,
244 result = usearch_open(pattern, 3, text, 6, "en_US", NULL, &status);
257 result = usearch_openFromCollator(pattern, 3, text, 6, EN_US_, NULL,
274 result = usearch_open(pattern, 3, text, 6, "en_US", breakiter, &status);
282 result = usearch_openFromCollator(pattern, 3, text, 6, EN_US_, breakiter,
302 UChar pattern[512] local
545 UChar pattern[32]; local
576 UChar pattern[32]; local
617 UChar pattern[32]; local
726 UChar pattern[32]; local
879 UChar pattern[32]; local
930 UChar pattern[32]; local
1013 UChar pattern[32]; local
1120 UChar pattern[32]; local
1216 UChar pattern[32]; local
1318 UChar pattern[32]; local
1406 UChar pattern[32]; local
1515 UChar pattern[32]; local
1588 UChar pattern[] = {0x73}; local
1653 UChar pattern[128]; local
1696 UChar pattern[128]; local
1739 UChar pattern[128]; local
1862 UChar pattern[32]; local
1980 UChar pattern[32]; local
2033 UChar pattern[32]; local
2103 UChar pattern[32]; local
2178 UChar pattern[32]; local
2265 UChar pattern[32]; local
2381 UChar pattern[128]; local
2429 UChar pattern[128]; local
2530 UChar pattern[PATTERN_LEN + 1], text[TEXT_LEN + 1]; local
2605 UChar pattern[] = {0x05E9, 0x0591, 0x05E9}; local
2662 const UChar * pattern; member in struct:__anon13571
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
MatcherTest.java 21 import java.util.regex.Pattern;
44 Pattern p = Pattern.compile("x*");
79 Pattern pat = Pattern.compile("XX");
91 Pattern p = Pattern.compile("xx (rur|\\$)");
104 String pattern = "a*b"; local
105 Pattern pat = Pattern.compile(pattern)
139 String pattern = "dog"; local
384 String pattern = "a*b"; local
565 Pattern pattern = Pattern.compile("\\\\w+"); local
612 Pattern pattern = Pattern.compile("(?s).*"); local
627 Pattern pattern = Pattern.compile("c"); local
638 Pattern pattern = Pattern.compile("(?:\\\\d+)(?:pt)"); local
657 Pattern pattern = Pattern.compile(regexp); local
699 Pattern pattern = Pattern.compile(regex); local
    [all...]
  /external/skia/src/ports/
SkFontConfigInterface_direct.cpp 112 // Returns the string from the pattern, or nullptr
113 static const char* get_name(FcPattern* pattern, const char field[],
116 if (FcPatternGetString(pattern, field, index,
363 bool SkFontConfigInterfaceDirect::isValidPattern(FcPattern* pattern) {
366 if (FcPatternGetBool(pattern, FC_SCALABLE, 0, &is_scalable) != FcResultMatch
373 const char* c_filename = get_name(pattern, FC_FILE);
432 FcPattern* pattern = FcPatternCreate(); local
435 FcPatternAddString(pattern, FC_FAMILY, (FcChar8*)familyName);
437 FcPatternAddInteger(pattern, FC_WEIGHT,
440 FcPatternAddInteger(pattern, FC_SLANT
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
TestMessageFormat.java 137 // {sfb} use double format in pattern, so result will match (not strictly necessary)
138 final String pattern = "There {0,choice,0.0#are no files|1.0#is one file|1.0<are {0, number} files} on disk {1}. "; local
139 logln("The input pattern : " + pattern);
141 MessageFormat fmt = new MessageFormat(pattern);
142 assertEquals("toPattern", pattern, fmt.toPattern());
144 errln("MessageFormat pattern creation failed.");
166 // ICU 4.8 returns the original pattern (testCases)
167 // rather than toPattern() reconstituting a new, equivalent pattern string (testResultPatterns).
203 // ICU 4.8 returns the original pattern (testCases
790 final String pattern = local
1346 String pattern = patterns[i]; local
1360 String pattern = null; local
1514 String pattern = patterns[i]; local
1772 String pattern = "ab{0,choice,0#1'2''3'''4''''.}yz"; local
1944 MessagePattern pattern = new MessagePattern( local
1952 MessagePattern pattern = new MessagePattern(); local
1973 MessagePattern pattern = new MessagePattern(); local
1989 MessagePattern pattern = new MessagePattern("ab{17}c"); local
2006 MessagePattern pattern = new MessagePattern(); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
TestMessageFormat.java 133 // {sfb} use double format in pattern, so result will match (not strictly necessary)
134 final String pattern = "There {0,choice,0.0#are no files|1.0#is one file|1.0<are {0, number} files} on disk {1}. "; local
135 logln("The input pattern : " + pattern);
137 MessageFormat fmt = new MessageFormat(pattern);
138 assertEquals("toPattern", pattern, fmt.toPattern());
140 errln("MessageFormat pattern creation failed.");
162 // ICU 4.8 returns the original pattern (testCases)
163 // rather than toPattern() reconstituting a new, equivalent pattern string (testResultPatterns).
199 // ICU 4.8 returns the original pattern (testCases
786 final String pattern = local
1342 String pattern = patterns[i]; local
1356 String pattern = null; local
1510 String pattern = patterns[i]; local
1768 String pattern = "ab{0,choice,0#1'2''3'''4''''.}yz"; local
1940 MessagePattern pattern = new MessagePattern( local
1948 MessagePattern pattern = new MessagePattern(); local
1969 MessagePattern pattern = new MessagePattern(); local
1985 MessagePattern pattern = new MessagePattern("ab{17}c"); local
2002 MessagePattern pattern = new MessagePattern(); local
    [all...]
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
FilterDefinition.java 40 * An internal representation of a filter definition against a particular URI pattern.
45 private final String pattern; field in class:FilterDefinition
55 public FilterDefinition(String pattern, Key<? extends Filter> filterKey,
57 this.pattern = pattern;
74 pattern,
80 pattern,
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
ServletDefinitionTest.java 74 String pattern = "/*"; local
75 final ServletDefinition servletDefinition = new ServletDefinition(pattern,
76 Key.get(HttpServlet.class), UriPatternType.get(UriPatternType.SERVLET, pattern), initParams, null);
104 String pattern = "/*"; local
111 final ServletDefinition servletDefinition = new ServletDefinition(pattern,
112 Key.get(HttpServlet.class), UriPatternType.get(UriPatternType.SERVLET, pattern),
  /external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/
BuildExecutor.java 24 import java.util.regex.Pattern;
111 Pattern pattern = Pattern.compile("(.*):([0-9])+:[0-9]+:");
112 Matcher matcher = pattern.matcher(line);
124 Pattern pattern = Pattern.compile(":[0-9]+:[0-9]+:(.+)");
125 Matcher matcher = pattern.matcher(line);
131 Pattern pattern = Pattern.compile(":([0-9]+):[0-9]+:");
    [all...]
  /external/markdown/markdown/
inlinepatterns.py 6 objects, one per pattern. Pattern objects must be instances of classes
7 that extend markdown.Pattern. Each pattern object uses a single regular
10 pattern.getCompiledRegExp() # returns a regular expression
12 pattern.handleMatch(m) # takes a match object and returns
15 All of python markdown's built-in patterns subclass from Pattern,
21 Pattern takes care of adding the "^(.*)" and "(.*)!".
112 The pattern classes
116 class Pattern
    [all...]
  /external/v8/test/message/
testcfg.py 112 pattern = re.escape(expected.rstrip() % env)
113 pattern = pattern.replace("\\*", ".*")
114 pattern = "^%s$" % pattern
115 if not re.match(pattern, actual):
  /frameworks/base/core/java/com/android/internal/widget/
ILockSettings.aidl 31 void setLockPattern(in String pattern, in String savedPattern, int userId);
33 VerifyCredentialResponse checkPattern(in String pattern, int userId,
35 VerifyCredentialResponse verifyPattern(in String pattern, long challenge, int userId);
  /frameworks/base/services/core/java/com/android/server/
VibratorService.java 110 Vibration(IBinder token, long[] pattern, int repeat, int usageHint, int uid,
112 this(token, 0, pattern, repeat, usageHint, uid, opPkg);
115 private Vibration(IBinder token, long millis, long[] pattern,
120 mPattern = pattern;
139 // This is a pattern, return false to play the simple
161 long[] pattern; field in class:VibratorService.VibrationInfo
167 public VibrationInfo(long timeout, long startTime, long[] pattern, int repeat,
171 this.pattern = pattern;
185 .append(", pattern: "
688 final long[] pattern = mVibration.mPattern; local
    [all...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
ViewNode.java 24 import java.util.regex.Pattern;
118 public void filter(Pattern pattern) {
119 if (pattern == null || pattern.pattern().length() == 0) {
122 filtered = pattern.matcher(shortName).find() || pattern.matcher(id).find();
  /external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
fake_filesystem_glob.py 55 """Return a list of paths matching a pathname pattern.
57 The pattern may contain shell-style wildcards a la fnmatch.
60 pathname: the pattern with which to find a list of paths
63 List of strings matching the glob pattern.
96 def glob1(self, dirname, pattern): # pylint: disable-msg=C6409
103 if pattern[0] != '.':
105 return fnmatch.filter(names, pattern)
  /external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
fake_filesystem_glob.py 55 """Return a list of paths matching a pathname pattern.
57 The pattern may contain shell-style wildcards a la fnmatch.
60 pathname: the pattern with which to find a list of paths
63 List of strings matching the glob pattern.
96 def glob1(self, dirname, pattern): # pylint: disable-msg=C6409
103 if pattern[0] != '.':
105 return fnmatch.filter(names, pattern)

Completed in 2356 milliseconds

<<11121314151617181920>>