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

<<11121314151617181920>>

  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
WordWidget.java 37 import java.util.regex.Pattern;
93 Pattern pattern = Pattern.compile(SimpleWikiHelper.WORD_OF_DAY_REGEX); local
94 Matcher matcher = pattern.matcher(pageContent);
  /external/clearsilver/util/regex/
regex.h 70 regardless of where they are in the pattern.
133 /* If this bit is set, succeed as soon as we match the whole pattern,
139 stored in the pattern buffer, so changing this does not affect
259 REG_BADPAT, /* Invalid pattern. */
274 REG_ESIZE, /* Compiled pattern bigger than 2^16 bytes. */
279 /* This data structure represents a compiled pattern. Before calling
280 the pattern compiler, the fields `buffer', `allocated', `fastmap',
281 `translate', and `no_sub' can be set. After the pattern has been
292 /* Space that holds the compiled pattern. It is declared as
303 /* Syntax setting with which the pattern was compiled. *
    [all...]
  /external/icu4c/i18n/
bms.cpp 68 const UChar *pattern, int32_t patternLength,
80 UnicodeString patternString(pattern, patternLength);
ulocdata.c 246 const UChar *pattern = NULL; local
267 pattern = ures_getStringByKey(patternBundle, "pattern", &len, &localStatus);
282 u_strncpy(result, pattern, resultCapacity);
  /external/webkit/JavaScriptCore/runtime/
RegExpPrototype.cpp 89 UString pattern = args.isEmpty() ? UString("") : arg0.toString(exec); local
91 regExp = RegExp::create(&exec->globalData(), pattern, flags);
  /external/webkit/SunSpider/
sunspider-compare-results 126 my ($dir, $pattern) = @_;
132 if ($file =~ $pattern) {
sunspider 57 --tests Only run tests matching provided pattern
179 my ($dir, $pattern) = @_;
185 if ($file =~ $pattern) {
  /external/webkit/WebCore/platform/graphics/
GraphicsContext.cpp 217 void GraphicsContext::setStrokePattern(PassRefPtr<Pattern> pattern)
219 ASSERT(pattern);
220 if (!pattern) {
225 m_common->state.strokePattern = pattern;
229 void GraphicsContext::setFillPattern(PassRefPtr<Pattern> pattern)
231 ASSERT(pattern);
232 if (!pattern) {
237 m_common->state.fillPattern = pattern;
    [all...]
  /frameworks/base/core/java/com/google/android/mms/pdu/
EncodedStringValue.java 207 * Split this encoded string around matches of the given pattern.
209 * @param pattern the delimiting pattern
211 * string around matches of the given pattern
213 public EncodedStringValue[] split(String pattern) {
214 String[] temp = getString().split(pattern);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DeviceBridge.java 28 import java.util.regex.Pattern;
176 Pattern pattern = Pattern.compile(".*?\\([0-9]{8} ([0-9]{8}).*"); local
177 Matcher matcher = pattern.matcher(strings[0]);
  /external/icu4c/common/
util.h 128 * Parse a pattern string starting at offset pos. Keywords are
134 * @param pattern must only contain lowercase characters, which
142 * signs in 'pattern'.
147 const UnicodeString& pattern, int32_t* parsedInts);
150 * Parse a pattern string within the given Replaceable and a parsing
151 * pattern. Characters are matched literally and case-sensitively
156 * If end of pattern is reached with all matches along the way,
159 * @param pat pattern that controls parsing
244 * See UAX #31 Identifier and Pattern Syntax: http://www.unicode.org/reports/tr31/
254 * See UAX #31 Identifier and Pattern Syntax: http://www.unicode.org/reports/tr31
    [all...]
  /system/core/sh/
nodes.h 89 union node *pattern; member in struct:nclist
  /external/bluetooth/glib/glib/
gregex.h 129 GRegex *g_regex_new (const gchar *pattern,
144 gboolean g_regex_match_simple (const gchar *pattern,
172 gchar **g_regex_split_simple (const gchar *pattern,
  /external/emma/core/java12/com/vladium/util/exception/
ExceptionCommon.java 317 final String pattern = getMessage (namespace, code);
319 // assertion: pattern != null
323 return pattern;
329 return MessageFormat.format (pattern, arguments);
  /external/icu4c/samples/strsrch/
strsrch.cpp 12 "usage: strsrch [options*] -source source_string -pattern pattern_string\n"
24 "-pattern string Pattern string to look for in source\n"
27 "Example strsrch -rules \\u0026b\\u003ca -source a\\u0020b\\u0020bc -pattern b\n"
63 UChar pattern[100]; variable
78 {"-pattern", OptSpec::STRING, &opt_pattern},
232 u_unescape(opt_pattern, pattern, 100);
234 search = usearch_openFromCollator(pattern, -1, source, -1, collator, NULL,
258 fprintf(stdout, "Pattern not found in source\n");
261 fprintf(stdout, "Pattern found at offset %d size %d\n", offset
    [all...]
  /external/icu4c/samples/ugrep/
ugrep.cpp 36 const char *pattern = NULL; // The regular expression variable
97 // Create a RegexPattern object from the user supplied pattern string.
102 UParseError parseErr; // In the event of a syntax error in the regex pattern,
106 RegexPattern *rePat = RegexPattern::compile(pattern, parseErr, status);
108 // of the (char *) pattern to a temporary
111 fprintf(stderr, "ugrep: error in pattern: \"%s\" at position %d\n",
117 // Create a RegexMatcher from the newly created pattern.
134 // Loop through the lines of a file, trying to match the regex pattern on each.
221 int remainingArgs = argc-optInd; // pattern file ...
223 fprintf(stderr, "ugrep: files or pattern are missing.\n")
    [all...]
  /external/icu4c/test/intltest/
dadrfmt.cpp 78 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
93 UnicodeString kPATTERN("PATTERN="); // TODO: static
113 UnicodeString pattern; local
155 pattern = UnicodeString(spec,kPATTERN.length());
157 format = new SimpleDateFormat(pattern, loc, status);
159 errln("case %d: could not create SimpleDateFormat from pattern: %s", n, u_errorName(status));
  /external/gtest/test/
gtest-port_test.cc 125 EXPECT_STREQ("", empty.pattern());
128 EXPECT_STREQ("hello", simple.pattern());
131 EXPECT_STREQ(".*(\\w+)", normal.pattern());
581 EXPECT_STREQ("", empty.pattern());
584 EXPECT_STREQ("hello", simple.pattern());
  /packages/apps/Settings/src/com/android/settings/
ChooseLockPattern.java 40 * If the user has a lock pattern set already, makes them confirm the existing one.
42 * Then, prompts the user to choose a lock pattern:
43 * - prompts for initial pattern
49 * Used by the choose lock pattern wizard to indicate the wizard is
64 // how long we wait to clear a wrong pattern
77 * The patten used during the help screen to show how to draw a pattern.
103 * The pattern listener that responds according to a user choosing a new
104 * lock pattern.
117 public void onPatternDetected(List<LockPatternView.Cell> pattern) {
119 if (mChosenPattern == null) throw new IllegalStateException("null chosen pattern in stage 'need to confirm")
    [all...]
  /external/icu4c/test/cintltst/
cnmdptst.c 80 log_err_status(status, "FAIL: Number format constructor failed for pattern %s -> %s\n", pat[i], u_errorName(status));
91 log_err("FAIL: Number format extracting the pattern failed for %s\n", pat[i]);
95 log_err("FAIL: Pattern %s should be transmute to %s; %s seen instead\n", pat[i], newpat[i], austrdup(unewp) );
110 log_err("FAIL: Pattern %s should format zero as %s; %s Seen instead\n", pat[i], num[i], austrdup(str) );
133 log_err_status(status, "Error in number format costruction using pattern \"a'fo''o'b#\" -> %s\n", u_errorName(status));
146 log_verbose("Pattern \"%s\" \n", u_austrcpy(tempBuf, pat) );
162 log_err("Error in number format costruction using pattern \"a''b#\"\n");
174 log_verbose("Pattern \"%s\" \n", u_austrcpy(tempBuf, pat) );
185 /* Test exponential pattern*/
193 UChar pattern[20] local
341 UChar *pattern=NULL; local
    [all...]
  /external/bluetooth/bluez/common/
glib-helper.c 475 uint16_t bt_name2class(const char *pattern)
480 if (strcasecmp(bt_services[i].name, pattern) == 0)
496 char *bt_name2string(const char *pattern)
503 if (is_uuid128(pattern))
504 return g_strdup(pattern);
507 uuid16 = bt_name2class(pattern);
512 uuid16 = strtol(pattern, NULL, 16);
  /external/webkit/WebKitTools/Scripts/webkitpy/style/processors/
cpp.py 127 def match(pattern, s):
128 """Matches the string with the pattern, caching the compiled regexp."""
129 if not pattern in _regexp_compile_cache:
130 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
131 return _regexp_compile_cache[pattern].match(s)
134 def search(pattern, s):
135 """Searches the string for the pattern, caching the compiled regexp."""
136 if not pattern in _regexp_compile_cache:
137 _regexp_compile_cache[pattern] = sre_compile.compile(pattern
    [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/util/
ScannerTest.java 52 import java.util.regex.Pattern;
462 Pattern pattern = s.delimiter(); local
463 assertEquals("\\p{javaWhitespace}+", pattern.toString());
467 * @tests java.util.Scanner#useDelimiter(Pattern)
473 args = {java.util.regex.Pattern.class}
477 s.useDelimiter(Pattern.compile("\\w+"));
481 s.useDelimiter((Pattern) null);
723 s.next((Pattern)null);
850 s = new Scanner("test\ntest").useDelimiter(Pattern.compile("^"
924 Pattern pattern; local
2915 Pattern pattern; local
5622 Pattern pattern = Pattern.compile("\\\\d+"); local
    [all...]
  /dalvik/libcore/icu/src/main/native/
NativeDecimalFormat.cpp 92 ScopedJavaUnicodeString pattern(env, pattern0);
98 DecimalFormat* fmt = new DecimalFormat(pattern.unicodeString(), symbols, parseError, status);
200 ScopedJavaUnicodeString pattern(env, pattern0);
204 fmt->applyLocalizedPattern(pattern.unicodeString(), status);
206 fmt->applyPattern(pattern.unicodeString(), status);
213 UnicodeString pattern; local
215 fmt->toLocalizedPattern(pattern);
217 fmt->toPattern(pattern);
219 return env->NewString(pattern.getBuffer(), pattern.length())
    [all...]
  /dalvik/libcore/text/src/main/java/java/text/
MessageFormat.java 39 * inserts the formatted strings into the pattern at the appropriate places.
46 * behavior. Any locale specific behavior is defined by the pattern that you
132 * table are illegal. A <i>SubformatPattern</i> must be a valid pattern string
283 * example, or by using a pattern (see {@link ChoiceFormat} for more
354 * Constructs a new {@code MessageFormat} using the specified pattern and
358 * the pattern.
362 * if the pattern cannot be parsed.
370 * Constructs a new {@code MessageFormat} using the specified pattern and
374 * the pattern.
376 * if the pattern cannot be parsed
1207 String pattern = null; local
1284 StringBuilder pattern = new StringBuilder(); local
1306 String pattern = (String) fields.get("pattern", null); \/\/$NON-NLS-1\$ local
    [all...]

Completed in 2429 milliseconds

<<11121314151617181920>>