/external/webkit/WebCore/html/canvas/ |
CanvasStyle.cpp | 103 CanvasStyle::CanvasStyle(PassRefPtr<CanvasPattern> pattern) 104 : m_type(pattern ? ImagePattern : ColorString) 105 , m_pattern(pattern) 165 context->setStrokePattern(canvasPattern()->pattern()); 226 context->setFillPattern(canvasPattern()->pattern());
|
/external/chromium/third_party/icu/source/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) ); 206 UChar pattern[11]; local 209 log_verbose("Testing apply pattern and to pattern regressively\n"); 211 u_uastrcpy(pattern, "yyyy/MM/dd"); 212 log_verbose("%s\n", austrdup(pattern) ); 213 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 225 u_uastrcpy(pattern, "yyyyMMdd") 279 UChar dateString[30], pattern[20], tzID[4]; local 325 UChar pattern[21], dateString[11]; local 531 const UChar * pattern; member in struct:__anon3094 [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...] |
/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_IGNORE,UDAT_IGNORE,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 532 const UChar * pattern; member in struct:__anon4159 [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...] |
/libcore/luni/src/main/java/java/text/ |
SimpleDateFormat.java | 39 * <h4>Time Pattern Syntax</h4> 40 * <p>You can supply a pattern describing what strings are produced/accepted, but almost all 50 * The most useful non-localized pattern is {@code "yyyy-MM-dd HH:mm:ss.SSSZ"}, which corresponds 53 * <p>To specify the time format, use a <i>time pattern</i> string. In this 87 * <p>The number of consecutive copies (the "count") of a pattern character further influences 109 * <p>The two pattern characters {@code L} and {@code c} are ICU-compatible extensions, not 207 // The index of 'Z' in the PATTERN_CHARS string. This pattern character is supported by the RI, 218 private String pattern; field in class:SimpleDateFormat 233 this.pattern = defaultPattern(); 239 * non-localized pattern and the {@code DateFormatSymbols} and {@cod [all...] |
/external/bluetooth/bluez/test/ |
test-device | 34 print " discover <address> [pattern]" 78 pattern = "" variable 80 pattern = args[2] variable 81 services = device.DiscoverServices(pattern);
|
/external/chromium/third_party/icu/public/i18n/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", 185 * @param pattern for matchin [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/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...] |
/external/chromium/third_party/icu/source/i18n/ |
dtptngen_impl.h | 127 UnicodeString pattern; member in class:PtnElem 131 PtnElem(const UnicodeString &basePattern, const UnicodeString &pattern); 160 virtual TokenStatus setTokens(const UnicodeString& pattern, int32_t startPos, int32_t *len); 182 void set(const UnicodeString& pattern, FormatParser* fp); 183 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton); 250 void add(const UnicodeString &pattern, UErrorCode& status);
|
/external/icu4c/i18n/ |
dtptngen_impl.h | 127 UnicodeString pattern; member in class:PtnElem 131 PtnElem(const UnicodeString &basePattern, const UnicodeString &pattern); 160 virtual TokenStatus setTokens(const UnicodeString& pattern, int32_t startPos, int32_t *len); 182 void set(const UnicodeString& pattern, FormatParser* fp); 183 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton); 250 void add(const UnicodeString &pattern, UErrorCode& status);
|
/external/icu4c/test/intltest/ |
itutil.cpp | 349 UnicodeString pattern=UNICODE_STRING_SIMPLE("abc|xy+z"); local 351 uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, errorCode)); 415 UnicodeString pattern=UNICODE_STRING_SIMPLE("abc|xy+z"); local 418 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 1448 BoyerMooreSearch *pattern = NULL; local 2191 UnicodeString pattern, altPattern; local 2328 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/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/chromium/third_party/icu/source/test/perf/usetperf/ |
usetperf.cpp | 33 CmdPattern(const char * pattern):pat(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));
|
/libcore/luni/src/main/java/java/util/regex/ |
Splitter.java | 23 * Used to make {@code String.split} fast (and to help {@code Pattern.split} too). 78 public static String[] split(Pattern pattern, String re, String input, int limit) { 93 Matcher matcher = new Matcher(pattern, input);
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
EmailHtmlUtil.java | 29 import java.util.regex.Pattern; 35 private static final Pattern PLAIN_TEXT_TO_ESCAPE = Pattern.compile("[<>&]| {2,}|\r?\n"); 89 Pattern pattern = PLAIN_TEXT_TO_ESCAPE; local 90 Matcher match = pattern.matcher(text);
|
/external/chromium/third_party/icu/source/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...] |