/external/deqp/framework/common/ |
H A D | tcuCommandLine.cpp | 531 // Match a single path component against a pattern component that may contain *-wildcards. 538 string::const_iterator pattern = patternStart; local 541 while (pattern != patternEnd && path != pathEnd && *pattern == *path) 543 ++pattern; 547 if (pattern == patternEnd) 549 else if (*pattern == '*') 553 if (matchWildcards(pattern + 1, patternEnd, path, pathEnd, allowPrefix)) 557 if (matchWildcards(pattern + 1, patternEnd, pathEnd, pathEnd, allowPrefix)) 567 // Match a list of pattern component 576 vector<string>::const_iterator pattern = patternStart; local [all...] |
/external/e2fsprogs/misc/ |
H A D | badblocks.c | 310 static void pattern_fill(unsigned char *buffer, unsigned int pattern, argument 314 unsigned char bpattern[sizeof(pattern)], *ptr; 316 if (pattern == (unsigned int) ~0) { 321 fputs(_("Testing with random pattern: "), stderr); 325 if (pattern == 0) 327 bpattern[i] = pattern & 0xFF; 328 pattern = pattern >> 8; 339 fputs(_("Testing with pattern 0x"), stderr); 591 const unsigned int *pattern; local 733 const unsigned int *pattern; local 1047 unsigned int pattern; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | selfmts.cpp | 103 // ======= Test SelectFormat pattern syntax. 104 logln("SelectFormat Unit Test : Testing SelectFormat pattern syntax."); 111 errln("\nERROR: Unexpected result - SelectFormat Unit Test failed to detect syntax error with pattern: "+checkSyntaxData[i]); 139 // ======= Test applying and formatting with various pattern 148 errln("ERROR: SelectFormat Unit Test failed to apply pattern- "+patternTestData[i] ); 217 errln("ERROR: SelectFormat API test constructor with pattern and status failed! with %s\n", u_errorName(status[0])); 281 UnicodeString pattern = UnicodeString("masculine{masculineVerbValue} other{otherVerbValue}"); local 283 selFmt1->applyPattern( pattern, status1); 285 errln("ERROR: SelectFormat API test failed in applyPattern() with pattern: "+ pattern); [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_stipple.c | 51 uint pattern; member in struct:stipple_stage 112 stipple_test(int counter, ushort pattern, int factor) argument 115 return (1 << b) & pattern; 150 (ushort) stipple->pattern, stipple->factor ); 206 stipple->pattern = draw->rasterizer->line_stipple_pattern;
|
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/ |
H A D | v3_utl.c | 568 typedef int (*equal_fn)(const unsigned char *pattern, size_t pattern_len, 572 /* Skip pattern prefix to match "wildcard" subject */ 577 const unsigned char *pattern = *p; local 582 * pattern is longer, compare just an equal-length suffix with the 589 while (pattern_len > subject_len && *pattern) 592 *pattern == '.') 594 ++pattern; 601 *p = pattern; 607 static int equal_nocase(const unsigned char *pattern, size_t pattern_len, argument 611 skip_prefix(&pattern, 638 equal_case(const unsigned char *pattern, size_t pattern_len, const unsigned char *subject, size_t subject_len, unsigned int flags) argument 826 equal_wildcard(const unsigned char *pattern, size_t pattern_len, const unsigned char *subject, size_t subject_len, unsigned int flags) argument [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | 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, "yyyyMMd 280 UChar dateString[30], pattern[20], tzID[4]; local 327 UChar pattern[21], dateString[11]; local 541 const UChar * pattern; member in struct:__anon12205 [all...] |
H A D | 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_strle [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | tmutfmt.cpp | 205 MessageFormat* pattern = patterns[style]; local 210 pattern->parseObject(source, parsed, pos); 218 if (pattern->getArgTypeCount() != 0) { 235 if (pattern->getArgTypeCount() != 0) { 250 * Result number could be null for the pattern without number pattern. 251 * such as unit pattern in Arabic. 421 // resource of count to pattern 422 UnicodeString pattern = local 431 MessageFormat* messageFormat = new MessageFormat(pattern, getLocal 561 const UChar* pattern; local 624 const UChar *pattern = NULL; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdtrgtst.c | 79 log_verbose("pattern: %s\n", austrdup(pat)); 95 log_verbose("After the 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, "yyyyMMd 280 UChar dateString[30], pattern[20], tzID[4]; local 327 UChar pattern[21], dateString[11]; local 541 const UChar * pattern; member in struct:__anon22005 [all...] |
H A D | 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_strle [all...] |
/external/chromium_org/base/files/ |
H A D | file_enumerator_posix.cc | 55 const FilePath::StringType& pattern) 60 pattern_(root_path.Append(pattern).value()) { 63 // The Windows version of this code appends the pattern to the root_path, 66 if (pattern.empty()) 52 FileEnumerator(const FilePath& root_path, bool recursive, int file_type, const FilePath::StringType& pattern) argument
|
/external/chromium_org/chrome/common/extensions/api/url_handlers/ |
H A D | url_handlers_parser.cc | 120 URLPattern pattern(URLPattern::SCHEME_HTTP | 122 if (pattern.Parse(str_pattern) != URLPattern::PARSE_SUCCESS) { 127 handler.patterns.AddPattern(pattern);
|
/external/chromium_org/components/url_matcher/ |
H A D | substring_set_matcher_unittest.cc | 18 const std::string& pattern, 21 "TestOnePattern(" + test_string + ", " + pattern + ", " + 24 StringPattern substring_pattern(pattern, 1); 117 // Test empty pattern and too long pattern 17 TestOnePattern(const std::string& test_string, const std::string& pattern, bool is_match) argument
|
/external/chromium_org/content/browser/service_worker/ |
H A D | service_worker_dispatcher_host.cc | 43 const GURL& pattern, 47 return document_url.GetOrigin() == pattern.GetOrigin() && 52 const GURL& pattern) { 55 return document_url.GetOrigin() == pattern.GetOrigin(); 216 const GURL& pattern, 245 provider_host->document_url(), pattern, script_url)) { 252 "Pattern", pattern.spec(), 255 pattern, 269 const GURL& pattern) { 296 if (!CanUnregisterServiceWorker(provider_host->document_url(), pattern)) { 42 CanRegisterServiceWorker(const GURL& document_url, const GURL& pattern, const GURL& script_url) argument 51 CanUnregisterServiceWorker(const GURL& document_url, const GURL& pattern) argument 212 OnRegisterServiceWorker( int thread_id, int request_id, int provider_id, const GURL& pattern, const GURL& script_url) argument 265 OnUnregisterServiceWorker( int thread_id, int request_id, int provider_id, const GURL& pattern) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FETile.cpp | 86 RefPtr<Pattern> pattern = Pattern::createBitmapPattern(tileImage->copyImage(CopyBackingStore)); local 90 pattern->setPatternSpaceTransform(patternTransform); 92 filterContext->setFillPattern(pattern);
|
/external/chromium_org/third_party/cython/src/Tools/ |
H A D | cython-mode.el | 175 (pattern (rx line-start (0+ space) (or "def" "cdef" "cpdef" "class") space))) 186 (while (and (re-search-forward pattern nil 'move) 197 (re-search-forward pattern nil 'move)
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | 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 tha [all...] |
H A D | tzfmt.h | 63 * This style is equivalent to the LDML date format pattern "O". 70 * This style is equivalent to the LDML date format pattern "X". 77 * This style is equivalent to the LDML date format pattern "x". 84 * This style is equivalent to the LDML date format pattern "XX". 91 * This style is equivalent to the LDML date format pattern "xx". 98 * This style is equivalent to the LDML date format pattern "XXXX". 105 * This style is equivalent to the LDML date format pattern "xxxx". 112 * This style is equivalent to the LDML date format pattern "XXX". 119 * This style is equivalent to the LDML date format pattern "xxx" and "ZZZZZ". 126 * This style is equivalent to the LDML date format pattern "XXXX [all...] |
/external/chromium_org/tools/gn/ |
H A D | ninja_toolchain_writer.cc | 118 const SubstitutionPattern& pattern, 120 if (pattern.empty()) 123 SubstitutionWriter::WriteWithNinjaVariables(pattern, options, out_); 117 WriteRulePattern(const char* name, const SubstitutionPattern& pattern, const EscapeOptions& options) argument
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
H A D | test_expectations.py | 15 def __init__(self, expectation, pattern, conditions=None, bug=None): 17 self.name_pattern = pattern 18 self.url_pattern = pattern
|
/external/icu/icu4c/source/i18n/unicode/ |
H A D | 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 100 * for the pattern "abab" in the text "ababab", where else mutually 122 * UChar pattern[16]; 125 * u_uastrcpy(pattern, patstr); 127 * UStringSearch *search = usearch_open(pattern, [all...] |
/external/pcre/dist/ |
H A D | pcredemo.c | 50 char *pattern; local 80 /* After the options, we require exactly two arguments, which are the pattern, 89 pattern = argv[i]; 95 * Now we are going to compile the regular expression pattern, and handle * 100 pattern, /* the pattern */ 117 * pattern match against the subject string. This does just ONE match. If * 122 re, /* the compiled pattern */ 123 NULL, /* no extra data - we didn't study the pattern */ 143 pcre_free(re); /* Release memory used for the compiled pattern */ [all...] |
/external/chromium_org/media/filters/ |
H A D | stream_parser_factory.cc | 56 const char* pattern; member in struct:media::CodecInfo 165 if (MatchPattern(codec_id, kMPEG2AACLCCodecInfo.pattern)) { 167 } else if (MatchPattern(codec_id, kMPEG4AACCodecInfo.pattern)) { 222 if (MatchPattern(codec_id, kMPEG4AACCodecInfo.pattern) && 320 if (codec_info && !codec_info->pattern && 340 if (MatchPattern(codec_id, type_info.codecs[k]->pattern) && 345 break; // Since only 1 pattern will match, no need to check others.
|
/external/chromium_org/third_party/WebKit/ |
H A D | PRESUBMIT.py | 18 pattern = input_api.re.compile('^(?:<<<<<<<|>>>>>>>) |^=======$') 21 if pattern.match(line): 285 pattern = input_api.re.compile('^FAIL') 288 if pattern.match(line): 312 pattern = input_api.re.compile('Invalid name for preference: (.+)') 319 error = pattern.search(line)
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | dtptngen_impl.h | 131 UnicodeString pattern; member in class:PtnElem 135 PtnElem(const UnicodeString &basePattern, const UnicodeString &pattern); 164 virtual TokenStatus setTokens(const UnicodeString& pattern, int32_t startPos, int32_t *len); 186 void set(const UnicodeString& pattern, FormatParser* fp); 187 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton); 254 void add(const UnicodeString &pattern, UErrorCode& status);
|