/external/skia/src/core/ |
H A D | SkRecordOpts.cpp | 28 // Most of the optimizations in this file are pattern-based. These are all defined as structs with: 33 // Run a pattern-based optimization once across the SkRecord, returning true if it made any changes. 34 // It looks for spans which match Pass::Pattern, and when found calls onMatch() with the pattern, 38 typename Pass::Pattern pattern; local 42 while (pattern.search(record, &begin, &end)) { 43 changed |= pass->onMatch(record, &pattern, begin, end); 51 bool onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) { argument 70 bool onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) { argument 86 bool onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) { argument 88 if (pattern 112 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 179 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 223 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
H A D | wizard.rb | 84 # test whether a tree matches a pattern 88 # extract nodes matching a pattern 94 # iterate through the tree and extract nodes with pattern labels 144 attr_reader :text, :error, :pattern 145 def initialize( pattern ) 146 @pattern = pattern.to_s 147 @scanner = StringScanner.new( pattern ) 156 type, = PATTERNS.find do |type, pattern| 157 @scanner.scan( pattern ) 200 def pattern method in class:ANTLR3.AST.Wizard.PatternParser [all...] |
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
H A D | treewizard.py | 56 ## token types for pattern parser 67 def __init__(self, pattern): 68 ## The tree pattern to lex like "(A B C)" 69 self.pattern = pattern 77 ## How long is the pattern in char? 78 self.n = len(pattern) 160 self.c = self.pattern[self.p] 171 def pattern(self): member in class:TreePatternParser 318 patterns like "(A B C)". You can create a tree from that pattern o [all...] |
/external/chromium_org/content/browser/service_worker/ |
H A D | service_worker_context_wrapper.cc | 91 const GURL& pattern, 100 pattern, 107 pattern, 124 const GURL& pattern, 132 pattern, 138 pattern, 168 GURL origin = registration_info.pattern.GetOrigin(); 173 usage_info.scopes.push_back(registration_info.pattern); 211 if (origin == registration_info.pattern.GetOrigin()) { 212 UnregisterServiceWorker(registration_info.pattern, 90 RegisterServiceWorker( const GURL& pattern, const GURL& script_url, const ResultCallback& continuation) argument 123 UnregisterServiceWorker( const GURL& pattern, const ResultCallback& continuation) argument [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | uniset_closure.cpp | 47 UnicodeSet::UnicodeSet(const UnicodeString& pattern, argument 62 applyPattern(pattern, options, symbols, status); 68 UnicodeSet::UnicodeSet(const UnicodeString& pattern, ParsePosition& pos, argument 83 applyPattern(pattern, pos, options, symbols, status); 93 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, argument 98 applyPattern(pattern, pos, options, symbols, status); 105 ICU_Utility::skipWhitespace(pattern, i, TRUE); 108 if (i != pattern.length()) { 114 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, argument 126 // Need to build the pattern i [all...] |
/external/icu/icu4c/source/common/ |
H A D | uniset_closure.cpp | 47 UnicodeSet::UnicodeSet(const UnicodeString& pattern, argument 62 applyPattern(pattern, options, symbols, status); 68 UnicodeSet::UnicodeSet(const UnicodeString& pattern, ParsePosition& pos, argument 83 applyPattern(pattern, pos, options, symbols, status); 93 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, argument 98 applyPattern(pattern, pos, options, symbols, status); 105 ICU_Utility::skipWhitespace(pattern, i, TRUE); 108 if (i != pattern.length()) { 114 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, argument 126 // Need to build the pattern i [all...] |
/external/ant-glob/src/org/apache/tools/ant/types/selectors/ |
H A D | 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) { argument 79 return matchPatternStart(pattern, str, true); 84 * pattern up to the first "**". 87 * can live with false positives. For example, <code>pattern 100 matchPatternStart(String pattern, String str, boolean isCaseSensitive) argument 187 matchPath(String pattern, String str) argument 210 matchPath(String pattern, String str, boolean isCaseSensitive) argument 339 match(String pattern, String str) argument 360 match(String pattern, String str, boolean caseSensitive) argument [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | usearch.cpp | 276 * Initializing the ce table for a pattern. 278 * Table size will be estimated by the size of the pattern text. Table 291 UPattern *pattern = &(strsrch->pattern); local 293 int32_t *cetable = pattern->CEBuffer; 294 uint32_t patternlength = pattern->textLength; 298 coleiter = ucol_openElements(strsrch->collator, pattern->text, 306 ucol_setText(coleiter, pattern->text, pattern->textLength, status); 312 if (pattern 363 UPattern *pattern = &(strsrch->pattern); local 436 UPattern *pattern = &(strsrch->pattern); local 548 UPattern *pattern = &strsrch->pattern; local 733 UPattern *pattern = &(strsrch->pattern); local 2589 usearch_open(const UChar *pattern, int32_t patternlength, const UChar *text, int32_t textlength, const char *locale, UBreakIterator *breakiter, UErrorCode *status) argument 2629 usearch_openFromCollator( const UChar *pattern, int32_t patternlength, const UChar *text, int32_t textlength, const UCollator *collator, UBreakIterator *breakiter, UErrorCode *status) argument 3071 usearch_setPattern( UStringSearch *strsrch, const UChar *pattern, int32_t patternlength, UErrorCode *status) argument [all...] |
H A D | selfmt.cpp | 125 int32_t SelectFormat::findSubMessage(const MessagePattern& pattern, int32_t partIndex, argument 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);
|
H A D | 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 199 setCurrencyPluralPattern(const UnicodeString& pluralCount, const UnicodeString& pattern, UErrorCode& status) argument 323 fPluralCountToCurrencyUnitPattern->put(UnicodeString(pluralCount, -1, US_INV), pattern, status); local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | 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[51 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:__anon12281 [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | 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[51 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:__anon22082 [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | 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 374 UPattern *pattern = &(strsrch->pattern); local 449 UPattern *pattern = &(strsrch->pattern); local 561 UPattern *pattern = &strsrch->pattern; local 746 UPattern *pattern = &(strsrch->pattern); local 2602 usearch_open(const UChar *pattern, int32_t patternlength, const UChar *text, int32_t textlength, const char *locale, UBreakIterator *breakiter, UErrorCode *status) argument 2642 usearch_openFromCollator( const UChar *pattern, int32_t patternlength, const UChar *text, int32_t textlength, const UCollator *collator, UBreakIterator *breakiter, UErrorCode *status) argument 3063 usearch_setPattern( UStringSearch *strsrch, const UChar *pattern, int32_t patternlength, UErrorCode *status) argument [all...] |
H A D | selfmt.cpp | 125 int32_t SelectFormat::findSubMessage(const MessagePattern& pattern, int32_t partIndex, argument 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);
|
H A D | 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 199 setCurrencyPluralPattern(const UnicodeString& pluralCount, const UnicodeString& pattern, UErrorCode& status) argument 323 fPluralCountToCurrencyUnitPattern->put(UnicodeString(pluralCount, -1, US_INV), pattern, status); local [all...] |
/external/chromium_org/v8/test/message/ |
H A D | testcfg.py | 102 pattern = re.escape(expected.rstrip() % env) 103 pattern = pattern.replace("\\*", ".*") 104 pattern = "^%s$" % pattern 105 if not re.match(pattern, actual):
|
/external/skia/tools/ |
H A D | misc_utils.py | 160 def search_within_stream(input_stream, pattern, default=None): 168 pattern = '^root(:[^:]*){4}:(?P<return>[^:]*)' 170 return search_within_file(stream, pattern) 175 pattern: (string) to be passed to re.compile 181 pattern_object = re.compile(pattern) 189 def search_within_string(input_string, pattern, default=None): 194 pattern: (string) to be passed to re.compile 200 match = re.search(pattern, input_string) 204 def search_within_output(verbose, pattern, default, *args, **kwargs): 211 pattern [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | smpdtfmt.h | 57 * is guaranteed to get an appropriate formatting pattern for whatever locale the 60 * and give it an appropriate pattern (or use one of the factory methods on DateFormat 61 * and modify the pattern after the fact with toPattern() and applyPattern(). 65 * <p>Date and time formats are specified by <em>date and time pattern</em> strings. 66 * Within date and time pattern strings, all unquoted ASCII letters [A-Za-z] are reserved 67 * as pattern letters representing calendar fields. <code>SimpleDateFormat</code> supports 68 * the date and time formatting algorithm and pattern letters defined by 72 * User Guide</a>. The following pattern letters are currently available:</p> 387 * <td>Hour [1-12]. When used in skeleton data or in a skeleton passed in an API for flexible data pattern 395 * <td>Hour [0-23]. When used in skeleton data or in a skeleton passed in an API for flexible data pattern [all...] |
/external/chromium_org/third_party/libxml/src/ |
H A D | testRegexp.c | 60 char *pattern = &expression[2]; local 66 printf("Regexp: %s\n", pattern) ; 67 comp = xmlRegexpCompile((const xmlChar *) pattern); 260 fprintf(stderr, "Testing tool for libxml2 string and pattern regexps\n"); 277 const char *pattern = NULL; local 337 if (pattern == NULL) { 338 pattern = argv[i]; 339 printf("Testing expr %s:\n", pattern); 340 expr = xmlExpParse(ctxt, pattern); 365 if (pattern [all...] |
/external/chromium_org/tools/json_schema_compiler/ |
H A D | cpp_util.py | 146 def GetCppNamespace(pattern, namespace): 147 '''Returns the C++ namespace given |pattern| which includes a %(namespace)s 148 substitution, and the |namespace| to substitute. It is expected that |pattern| 152 # This means that %% can never appear legitimately within a pattern, but 154 cpp_namespace = pattern.replace('%%', '%') % { 'namespace': namespace } 156 ('Did not manage to fully substitute namespace "%s" into pattern "%s"' 157 % (namespace, pattern))
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
H A D | ANTLRTreePatternParser.h | 53 - (id<ANTLRTree>) pattern;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
H A D | ANTLRTreePatternParser.h | 53 - (id<ANTLRTree>) pattern;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
H A D | ANTLRTreePatternParser.h | 53 - (id<ANTLRTree>) pattern;
|
/external/chromium_org/build/android/gyp/ |
H A D | find.py | 18 parser.add_option('--pattern', default='*', help='File pattern to match.') 23 for f in fnmatch.filter(filenames, options.pattern):
|
/external/chromium_org/chrome/browser/notifications/ |
H A D | desktop_notification_profile_util.h | 20 // Clears the notifications setting for the given pattern. 22 Profile* profile, const ContentSettingsPattern& pattern);
|