/external/webkit/Source/WebCore/platform/wince/ |
FileSystemWinCE.cpp | 296 Vector<UChar, 256> pattern; local 297 pattern.append(path.characters(), path.length()); 298 if (pattern.last() != L'/' && pattern.last() != L'\\') 299 pattern.append(L'\\'); 301 String root(pattern.data(), pattern.size()); 302 pattern.append(filter.characters(), filter.length()); 303 pattern.append(0); 306 HANDLE hFind = FindFirstFile(pattern.data(), &findData) [all...] |
/libcore/luni/src/main/java/java/util/regex/ |
Matcher.java | 20 * The result of applying a {@code Pattern} to a given input. See {@link Pattern} for 26 * Holds the pattern, that is, the compiled regular expression. 28 private Pattern pattern; field in class:Matcher 31 * Holds the handle for the native version of the pattern. 84 * Creates a matcher for a given combination of pattern and input. Both 87 * @param pattern 88 * the pattern to use. 92 Matcher(Pattern pattern, CharSequence input) 332 public Pattern pattern() { method in class:Matcher [all...] |
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
MatcherTest.java | 21 import java.util.regex.Pattern; 45 Pattern p = Pattern.compile("x*"); 80 Pattern pat = Pattern.compile("XX"); 92 Pattern p = Pattern.compile("xx (rur|\\$)"); 105 String pattern = "a*b"; local 106 Pattern pat = Pattern.compile(pattern) 143 String pattern = "dog"; local 421 String pattern = "a*b"; local 604 Pattern pattern = Pattern.compile("\\\\w+"); local 650 Pattern pattern = Pattern.compile("(?s).*"); local 668 Pattern pattern = Pattern.compile("c"); local 681 Pattern pattern = Pattern.compile("(?:\\\\d+)(?:pt)"); local 705 Pattern pattern = Pattern.compile(regexp); local 750 Pattern pattern = Pattern.compile(regex); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldSimpleDateFormatTest.java | 40 public void test(String pattern, Calendar cal, String expected, int field) { 43 format.applyPattern(pattern); 47 System.out.println("Wrong format: \"" + pattern 54 public void parse(String pattern, String input, Date expected, int start, int end) { 55 pFormat.applyPattern(pattern); 58 assertTrue("Wrong result: " + pattern + " input: " + input 61 assertTrue("Wrong end position: " + pattern + " input: " + input, 89 assertEquals("Wrong pattern", "y'y'yy", f2.toPattern()); 115 assertEquals("Wrong pattern", "'yyyy' MM yy", f2.toPattern()); 141 // that doesn't support localized pattern characters anymore. So thi 499 String pattern = f2.toLocalizedPattern(); local 517 String pattern = "yyyy mm dd"; local [all...] |
/external/icu4c/i18n/ |
usearch.cpp | 284 * Initializing the ce table for a pattern. 286 * Table size will be estimated by the size of the pattern text. Table 299 UPattern *pattern = &(strsrch->pattern); local 301 int32_t *cetable = pattern->CEBuffer; 302 uint32_t patternlength = pattern->textLength; 306 coleiter = ucol_openElements(strsrch->collator, pattern->text, 314 uprv_init_collIterate(strsrch->collator, pattern->text, 315 pattern->textLength, 323 if (pattern->CE != cetable && pattern->CE) 374 UPattern *pattern = &(strsrch->pattern); local 449 UPattern *pattern = &(strsrch->pattern); local 561 UPattern *pattern = &strsrch->pattern; local 746 UPattern *pattern = &(strsrch->pattern); local [all...] |
currpinf.cpp | 136 std::cout << "same pattern\n"; 199 const UnicodeString& pattern, 202 fPluralCountToCurrencyUnitPattern->put(pluralCount, new UnicodeString(pattern), status); 259 // split the number style pattern into positive and negative 288 UnicodeString* pattern = new UnicodeString(patternChars, ptnLen); local 291 pattern->extract(0, pattern->length(), result_1, "UTF-8"); 292 std::cout << "pluralCount: " << pluralCount << "; pattern: " << result_1 << "\n"; 294 pattern->findAndReplace(gPart0, 296 pattern->findAndReplace(gPart1, gTripleCurrencySign) 311 fPluralCountToCurrencyUnitPattern->put(UnicodeString(pluralCount), pattern, status); local [all...] |
/external/chromium/chrome/browser/autofill/ |
name_field.cc | 124 string16 pattern = GetEcmlPattern(kEcmlShipToFirstName, local 126 if (!ParseText(&q, pattern, &field->first_name_)) 129 pattern = GetEcmlPattern(kEcmlShipToMiddleName, kEcmlBillToMiddleName, '|'); 130 ParseText(&q, pattern, &field->middle_name_); 132 pattern = GetEcmlPattern(kEcmlShipToLastName, kEcmlBillToLastName, '|'); 133 if (ParseText(&q, pattern, &field->last_name_)) {
|
/external/chromium/webkit/glue/ |
regular_expression_unittest.cc | 57 WebUChar pattern[] = {L'\x6240', L'\x6709', L'\x7f51', L'\x9875'}; local 58 WebRegularExpression regex(WebString(pattern, arraysize(pattern)), 77 WebUChar pattern[] = {L':', L'[', L' ', L'\x2000', L']', L'+', L':'}; local 78 WebRegularExpression regex(WebString(pattern, arraysize(pattern)),
|
/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 | 60 pattern = re.escape(line.rstrip() % env) 61 pattern = pattern.replace('\\*', '.*') 62 pattern = '^%s$' % pattern 63 patterns.append(pattern)
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
ImageCairo.cpp | 128 // a pattern transformation on the image and draw the transformed pattern. 130 cairo_pattern_t* pattern = cairo_pattern_create_for_surface(image); local 132 cairo_pattern_set_extend(pattern, CAIRO_EXTEND_PAD); 137 cairo_pattern_set_matrix(pattern, &matrix); 145 cairo_set_source(shadowContext, pattern); 154 cairo_set_source(cr, pattern); 155 cairo_pattern_destroy(pattern);
|
/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/chrome/browser/content_settings/ |
host_content_settings_map_unittest.cc | 86 ContentSettingsPattern pattern("[*.]example.com"); 90 host_content_settings_map->SetContentSetting(pattern, 95 host_content_settings_map->SetContentSetting(pattern, 108 host_content_settings_map->SetContentSetting(pattern, 112 host_content_settings_map->SetContentSetting(pattern, 116 host_content_settings_map->SetContentSetting(pattern, 157 host_content_settings_map->SetContentSetting(pattern, 213 ContentSettingsPattern pattern("[*.]example.com"); 214 host_content_settings_map->SetContentSetting(pattern, 217 EXPECT_EQ(pattern, observer.last_pattern) [all...] |
stub_settings_observer.cc | 26 last_pattern = settings_details.ptr()->pattern();
|
/cts/tests/tests/os/src/android/os/cts/ |
VibratorTest.java | 74 long[] pattern = {100, 200, 400, 800, 1600}; local 76 mVibrator.vibrate(pattern, 3); 81 mVibrator.vibrate(pattern, 10);
|
/external/icu4c/tools/toolutil/ |
package.h | 79 * indexes for items whose names match the pattern. 81 void findItems(const char *pattern); 100 void removeItems(const char *pattern); 105 void extractItems(const char *filesPath, const char *pattern, char outType); 158 // match mode for findItems(pattern) and findNextItem() 161 // state for findItems(pattern) and findNextItem()
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FETile.cpp | 29 #include "Pattern.h" 82 RefPtr<Pattern> pattern = Pattern::create(tileImage->copyImage(), true, true); local 86 pattern->setPatternSpaceTransform(patternTransform); 88 filterContext->setFillPattern(pattern);
|
/dalvik/dx/src/com/android/dx/command/grep/ |
Grep.java | 29 import java.util.regex.Pattern; 42 public Grep(final DexBuffer dex, Pattern pattern, final PrintWriter out) { 46 stringIds = getStringIds(dex, pattern); 114 private Set<Integer> getStringIds(DexBuffer dex, Pattern pattern) { 118 if (pattern.matcher(s).find()) {
|
/external/chromium/chrome/browser/resources/options/ |
content_settings.css | 7 .exception-pattern { 39 #exception-pattern-column {
|
/external/icu4c/i18n/unicode/ |
choicfmt.h | 53 * are equivalent. The first is by using a string pattern. This is the 61 * <code>ChoiceFormat</code> is with a pattern. Here is an example of a 62 * <code>ChoiceFormat</code> pattern:</p> 70 * <p>The pattern consists of a number or <em>range specifiers</em> 159 * example, in the pattern \htmlonly"<code>1.0#a|2.0#b</code>"\endhtmlonly, the 219 * constructed from a pattern together with a 263 * based on the pattern. 265 * @param pattern Pattern used to construct object. 267 * pattern cannot be parsed, set to failure code [all...] |
decimfmt.h | 82 * UnicodeString pattern; 101 * pattern = ((DecimalFormat*)form)->toPattern(pattern); 102 * cout << locales[i].getDisplayName(displayName) << ": " << pattern; 134 * <p>A DecimalFormat consists of a <em>pattern</em> and a set of 135 * <em>symbols</em>. The pattern may be set directly using 137 * manipulate aspects of the pattern, such as the minimum number of integer 140 * pattern and symbols are read from ICU's locale data. 142 * <p><strong>Special Pattern Characters</strong> 144 * <p>Many characters in a pattern are taken literally; they are matched durin [all...] |
/external/icu4c/test/intltest/ |
dcfmtest.h | 45 const UnicodeString &pattern,
|
/external/webkit/Source/WebCore/html/canvas/ |
CanvasPattern.h | 29 #include "Pattern.h" 49 Pattern* pattern() const { return m_pattern.get(); } function in class:WebCore::CanvasPattern 56 RefPtr<Pattern> m_pattern;
|
/external/webkit/Source/JavaScriptCore/yarr/ |
YarrInterpreter.h | 327 BytecodePattern(PassOwnPtr<ByteDisjunction> body, Vector<ByteDisjunction*> allParenthesesInfo, YarrPattern& pattern, BumpPointerAllocator* allocator) 329 , m_ignoreCase(pattern.m_ignoreCase) 330 , m_multiline(pattern.m_multiline) 331 , m_containsBeginChars(pattern.m_containsBeginChars) 334 newlineCharacterClass = pattern.newlineCharacterClass(); 335 wordcharCharacterClass = pattern.wordcharCharacterClass(); 338 m_userCharacterClasses.append(pattern.m_userCharacterClasses); 342 pattern.m_userCharacterClasses.clear(); 344 m_beginChars.append(pattern.m_beginChars);
|
/external/webkit/Source/WebCore/platform/graphics/freetype/ |
FontPlatformDataFreeType.cpp | 73 void setCairoFontOptionsFromFontConfigPattern(cairo_font_options_t* options, FcPattern* pattern) 78 if (FcPatternGetInteger(pattern, FC_RGBA, 0, &integerResult) == FcResultMatch) { 87 if (FcPatternGetBool(pattern, FC_ANTIALIAS, 0, &booleanResult) == FcResultMatch) { 97 if (FcPatternGetInteger(pattern, FC_HINT_STYLE, 0, &integerResult) == FcResultMatch) 99 if (FcPatternGetBool(pattern, FC_HINTING, 0, &booleanResult) == FcResultMatch && !booleanResult) 115 FontPlatformData::FontPlatformData(FcPattern* pattern, const FontDescription& fontDescription) 116 : m_pattern(pattern) 128 if (FcPatternGetInteger(pattern, FC_SPACING, 0, &spacing) == FcResultMatch && spacing == FC_MONO) 134 if (FcPatternGetBool(pattern, FC_EMBOLDEN, 0, &fontConfigEmbolden) == FcResultMatch) 255 // FontConfig may return a list of transformation matrices with the pattern, for instance [all...] |