/external/icu4c/test/cintltst/ |
cdtrgtst.c | 79 log_verbose("pattern: %s\n", austrdup(pat)); 95 log_verbose("After teh pattern is applied\n today: %s\n", austrdup(todayS) ); 207 UChar pattern[11]; local 210 log_verbose("Testing apply pattern and to pattern regressively\n"); 212 u_uastrcpy(pattern, "yyyy/MM/dd"); 213 log_verbose("%s\n", austrdup(pattern) ); 214 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 226 u_uastrcpy(pattern, "yyyyMMdd") 280 UChar dateString[30], pattern[20], tzID[4]; local 326 UChar pattern[21], dateString[11]; local 538 const UChar * pattern; member in struct:__anon8779 [all...] |
usettest.c | 484 /* use a pattern that generates both BMP and supplementary code points */ 485 U_STRING_DECL(pattern, "[:Cf:]", 6); 486 U_STRING_INIT(pattern, "[:Cf:]", 6); 489 set=uset_openPattern(pattern, -1, &errorCode); 521 /* The critical part of this test is that the following pattern 523 static const char *pattern = "[:ccc!=0:]"; local 525 int32_t len = u_unescape(pattern, buf, 256); 536 U_STRING_DECL(pattern, "[", 1); 537 U_STRING_INIT(pattern, "[", 1); 538 pat = uset_openPatternOptions(pattern, u_strlen(pattern), 0, &status) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | 49 * Is also capable of displaying a static pattern in "in progress", "wrong" or 65 * How many milliseconds we spend animating each circle of a lock pattern 67 * constant * the length of the pattern to complete. 81 * Lookup table for the circles of the pattern we are currently drawing. 82 * This will be the cells of the complete pattern unless we are animating, 132 * Represents a cell in the 3 X 3 matrix of the unlock pattern view. 190 * How to display the current pattern. 195 * The pattern drawn is correct (i.e draw it in a friendly color) 200 * Animate the pattern (for demo, and help). 205 * The pattern is wrong (i.e draw a foreboding color 521 final ArrayList<Cell> pattern = mPattern; local 801 final ArrayList<Cell> pattern = mPattern; local [all...] |
LockPatternUtils.java | 52 * Utilities for the lock pattern and its settings. 66 * method of verifying the user, and resetting their lock pattern. 72 * wrong pattern too many times. 89 * The minimum number of dots in a valid pattern. 94 * The minimum number of dots the user must include in a wrong pattern 278 * Check to see if a pattern matches the saved pattern. If no pattern exists, 280 * @param pattern The pattern to check [all...] |
/libcore/luni/src/main/java/java/text/ |
SimpleDateFormat.java | 39 * <h4>Time Pattern Syntax</h4> 41 * pattern describing what strings are produced/accepted, but almost all 44 * locale. In cases where the system does not provide a suitable pattern, see 46 * the elements you'd like in a pattern and get back a pattern suitable for any given locale. 53 * The most useful non-localized pattern is {@code "yyyy-MM-dd HH:mm:ss.SSSZ"}, which corresponds 56 * <p>To specify the time format, use a <i>time pattern</i> string. In this 62 * <p>The number of consecutive copies (the "count") of a pattern character further influences 96 * <p>The two pattern characters {@code L} and {@code c} are ICU-compatible extensions, not 204 // The index of 'Z' in the PATTERN_CHARS string. This pattern character is supported by the RI 215 private String pattern; field in class:SimpleDateFormat [all...] |
/external/icu4c/i18n/unicode/ |
usearch.h | 43 * A pattern string P matches a text string S at the offsets <start, end> 57 * a given pattern. This search iterator allows changing of direction by 78 * <li> If a following pattern match is to be found, any position within a 80 * preceding pattern match is to be found, a invalid starting point 86 * boundaries given by the breakiterator. For instance the pattern "e" will 91 * for the pattern "abab" in the text "ababab", where else mutually 113 * UChar pattern[16]; 116 * u_uastrcpy(pattern, patstr); 118 * UStringSearch *search = usearch_open(pattern, -1, target, -1, "en_US", 195 * elements in the pattern that have the base weight for the specifie [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
usearch.h | 42 * A pattern string P matches a text string S at the offsets <start, end> 56 * a given pattern. This search iterator allows changing of direction by 77 * <li> If a following pattern match is to be found, any position within a 79 * preceding pattern match is to be found, a invalid starting point 85 * boundaries given by the breakiterator. For instance the pattern "e" will 90 * for the pattern "abab" in the text "ababab", where else mutually 112 * UChar pattern[16]; 115 * u_uastrcpy(pattern, patstr); 117 * UStringSearch *search = usearch_open(pattern, -1, target, -1, "en_US", 182 * @param pattern for matchin [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_NativeDecimalFormat.cpp | 112 ScopedJavaUnicodeString pattern(env, pattern0); 113 if (!pattern.valid()) { 121 DecimalFormat* fmt = new DecimalFormat(pattern.unicodeString(), symbols, parseError, status); 191 ScopedJavaUnicodeString pattern(env, pattern0); 192 if (!pattern.valid()) { 200 fmt->applyLocalizedPattern(pattern.unicodeString(), status); 203 fmt->applyPattern(pattern.unicodeString(), status); 210 UnicodeString pattern; local 212 fmt->toLocalizedPattern(pattern); 214 fmt->toPattern(pattern); [all...] |
/external/icu4c/i18n/ |
dtptngen_impl.h | 128 UnicodeString pattern; member in class:PtnElem 132 PtnElem(const UnicodeString &basePattern, const UnicodeString &pattern); 161 virtual TokenStatus setTokens(const UnicodeString& pattern, int32_t startPos, int32_t *len); 183 void set(const UnicodeString& pattern, FormatParser* fp); 184 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton); 251 void add(const UnicodeString &pattern, UErrorCode& status);
|
/external/icu4c/test/intltest/ |
itutil.cpp | 379 UnicodeString pattern=UNICODE_STRING_SIMPLE("abc|xy+z"); local 381 uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, errorCode)); 445 UnicodeString pattern=UNICODE_STRING_SIMPLE("abc|xy+z"); local 448 uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, errorCode));
|
ssearch.cpp | 243 UnicodeString pattern; local 249 n = testCase->getChildElement("pattern"); 256 pattern.append(text); 296 LocalUStringSearchPointer uss(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), 334 uss.adoptInstead(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), 418 /* The first line of the file contains the pattern */ 431 UChar *pattern = NEW_ARRAY(UChar, plen); local 433 pattern[i] = target[start++] 581 UnicodeString pattern; local 1455 BoyerMooreSearch *pattern = NULL; local 2210 UnicodeString pattern, altPattern; local 2348 UnicodeString pattern, altPattern; local [all...] |
/external/v8/test/mjsunit/ |
regexp-UC16.js | 45 assertFalse(/\xc1/i.test('fooA'), "quickcheck-uc16-pattern-ascii-subject"); 46 assertFalse(/[\xe9]/.test('i'), "charclass-uc16-pattern-ascii-subject"); 47 assertFalse(/\u5e74|\u6708/.test('t'), "alternation-uc16-pattern-ascii-subject");
|
/external/webkit/Source/JavaScriptCore/yarr/ |
YarrParser.h | 50 friend const char* parse(FriendDelegate& delegate, const UString& pattern, unsigned backReferenceLimit); 230 Parser(Delegate& delegate, const UString& pattern, unsigned backReferenceLimit) 234 , m_data(pattern.characters()) 235 , m_size(pattern.length()) 558 * This method loops over the input pattern reporting tokens to the delegate. 559 * The method returns when a parse error is detected, or the end of the pattern 693 REGEXP_ERROR_PREFIX "\\ at end of pattern" 808 * The parse method is passed a pattern to be parsed and a delegate upon which 865 const char* parse(Delegate& delegate, const UString& pattern, unsigned backReferenceLimit = quantifyInfinite) 867 return Parser<Delegate>(delegate, pattern, backReferenceLimit).parse() [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardPatternView.java | 50 // how long before we clear the wrong pattern 74 * drawing the pattern. 80 * Useful for clearing out the wrong pattern after a delay 174 // as long as the user is entering a pattern (i.e sending a touch event that was handled 189 // reset lock pattern 251 public void onPatternCellAdded(List<LockPatternView.Cell> pattern) { 253 // the user actually trying to draw a pattern of some minimal length. 254 if (pattern.size() > MIN_PATTERN_BEFORE_POKE_WAKELOCK) { 262 public void onPatternDetected(List<LockPatternView.Cell> pattern) { 263 if (mLockPatternUtils.checkPattern(pattern)) { [all...] |
/external/chromium/chrome/common/extensions/ |
extension.cc | 709 // When strict error checks are enabled, make URL pattern parsing strict. 771 URLPattern pattern(UserScript::kValidUserScriptSchemes); 773 pattern.set_valid_schemes(URLPattern::SCHEME_ALL); 775 URLPattern::ParseResult parse_result = pattern.Parse(match_str, 786 if (pattern.MatchesScheme(chrome::kFileScheme) && 790 pattern.set_valid_schemes( 791 pattern.valid_schemes() & ~URLPattern::SCHEME_FILE); 794 result->add_url_pattern(pattern); 2249 URLPattern pattern = URLPattern(CanExecuteScriptEverywhere() ? local 2743 UserScript::PatternList::const_iterator pattern = local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
DashPathEffectTest.java | 38 private static final float[] PATTERN = new float[] { 15, 5, 10, 5 }; 44 PathEffect effect = new DashPathEffect(PATTERN, OFFSET); 61 PatternIterator iterator = new PatternIterator(PATTERN, OFFSET); 88 * Create an instance that iterates through the given pattern starting at the given offset. 90 PatternIterator(final float[] pattern, int offset) { 91 mPattern = pattern;
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
SimpleDateFormatTest.java | 46 public void test(String pattern, Calendar cal, String expected, 50 format.applyPattern(pattern); 55 assertTrue("Wrong format: \"" + pattern + "\" expected: " 58 assertTrue("Wrong begin position: " + pattern + " expected: " 61 assertTrue("Wrong end position: " + pattern + " expected: " 69 .println("Wrong format: \"" + pattern 81 public void parse(String pattern, String input, Date expected, 83 pFormat.applyPattern(pattern); 86 assertTrue("Wrong result: " + pattern + " input: " + input 89 assertTrue("Wrong end position: " + pattern + " input: " + input 196 String pattern = f2.toPattern(); local 834 String pattern = f2.toLocalizedPattern(); local [all...] |
/external/icu4c/test/perf/usetperf/ |
usetperf.cpp | 33 CmdPattern(const char * pattern):pat(pattern,""){
|
/external/libxml2/ |
Android.mk | 45 pattern.c \
|
/external/regex-re2/re2/ |
filtered_re2.cc | 24 RE2::ErrorCode FilteredRE2::Add(const StringPiece& pattern, 26 RE2* re = new RE2(pattern, options);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 288 * Initialize our pattern translation 398 * Search the provided pattern and get the C standard 402 * @param pattern The pattern to search 403 * @return The modified pattern 405 protected String convertDateFormat(String pattern) { 412 for (int i = 0; i < pattern.length(); i++) { 413 char c = pattern.charAt(i); 424 inside = translateCommand(buf, pattern, i, inside); 467 * @param pattern The date/time patter [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Exceptions/ |
regress-181914.js | 163 var pattern = err.name + '\\s*:?\\s*' + msg; 164 return err.toString().search(RegExp(pattern));
|
/libcore/luni/src/main/java/java/net/ |
ProxySelectorImpl.java | 116 * Returns true if the {@code nonProxyHosts} system property pattern exists 124 // construct pattern 140 String pattern = patternBuilder.toString(); local 141 return host.matches(pattern);
|
/libcore/luni/src/main/java/java/util/regex/ |
Splitter.java | 24 * Used to make {@code String.split} fast (and to help {@code Pattern.split} too). 104 public static String[] split(Pattern pattern, String re, String input, int limit) { 118 Matcher matcher = new Matcher(pattern, input);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
ConvertToDpFix.java | 36 import java.util.regex.Pattern; 62 Pattern pattern = Pattern.compile("(\\d+)px"); //$NON-NLS-1$ local 68 Matcher matcher = pattern.matcher(value);
|