| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_re.py | 115 pattern = re.compile('.') 116 self.assertRaises(ValueError, re.match, pattern, 'A', re.I) 117 self.assertRaises(ValueError, re.search, pattern, 'A', re.I) 118 self.assertRaises(ValueError, re.findall, pattern, 'A', re.I) 119 self.assertRaises(ValueError, re.compile, pattern, re.I) 489 def assertMatch(self, pattern, text, match=None, span=None, 492 # the pattern matches the whole text 498 m = matcher(pattern, text) 569 self.assertNotEqual(re.compile('^pattern$', flag), None) 605 # bug 545855 -- This pattern failed to cause a compile error as i [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_re.py | 115 pattern = re.compile('.') 116 self.assertRaises(ValueError, re.match, pattern, 'A', re.I) 117 self.assertRaises(ValueError, re.search, pattern, 'A', re.I) 118 self.assertRaises(ValueError, re.findall, pattern, 'A', re.I) 119 self.assertRaises(ValueError, re.compile, pattern, re.I) 489 def assertMatch(self, pattern, text, match=None, span=None, 492 # the pattern matches the whole text 498 m = matcher(pattern, text) 569 self.assertNotEqual(re.compile('^pattern$', flag), None) 605 # bug 545855 -- This pattern failed to cause a compile error as i [all...] |
| /external/autotest/server/site_tests/firmware_ECThermal/ |
| firmware_ECThermal.py | 84 pattern = re.compile('Threshold \d* [a-z ]* \d* is (\d*) K.') 86 matched = pattern.match(line) 206 pattern = re.compile('Reading temperature...(\d*)') 210 matched = pattern.match(line) 326 pattern = re.compile('Sensor type: (\d*)') 330 matched = pattern.match(line)
|
| /external/hyphenation-patterns/ |
| Android.mk | 72 define build-one-pattern-module 86 $(foreach l, $(pattern_locales), $(call build-one-pattern-module, $(dir $(l)), $(notdir $l))) 87 build-one-pattern-module :=
|
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| RelativeDateFormat.java | 163 // Need to quote the relativeDayString to make it a legal date pattern 338 String pattern; local 350 pattern = "{1} {0}"; 364 pattern = patternsRb.get(glueIndex).getString(0); 366 pattern = patternsRb.getString(glueIndex); 369 combinedFormatHasDateAtStart = pattern.startsWith("{1}"); 370 fCombinedFormat = new MessageFormat(pattern, locale);
|
| /external/icu/icu4c/source/i18n/ |
| dtptngen_impl.h | 180 UnicodeString pattern; member in class:PtnElem 184 PtnElem(const UnicodeString &basePattern, const UnicodeString &pattern); 212 virtual TokenStatus setTokens(const UnicodeString& pattern, int32_t startPos, int32_t *len); 234 void set(const UnicodeString& pattern, FormatParser* fp); 235 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton); 302 void add(const UnicodeString &pattern, UErrorCode& status);
|
| uspoof_conf.cpp | 229 UnicodeString pattern( 238 fParseLine = uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, &status); 242 pattern = UNICODE_STRING_SIMPLE("\\s*([0-9A-F]+)"); 243 fParseHexNum = uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, &status);
|
| /external/icu/icu4c/source/i18n/unicode/ |
| tzfmt.h | 64 * This style is equivalent to the LDML date format pattern "O". 71 * This style is equivalent to the LDML date format pattern "X". 78 * This style is equivalent to the LDML date format pattern "x". 85 * This style is equivalent to the LDML date format pattern "XX". 92 * This style is equivalent to the LDML date format pattern "xx". 99 * This style is equivalent to the LDML date format pattern "XXXX". 106 * This style is equivalent to the LDML date format pattern "xxxx". 113 * This style is equivalent to the LDML date format pattern "XXX". 120 * This style is equivalent to the LDML date format pattern "xxx" and "ZZZZZ". 127 * This style is equivalent to the LDML date format pattern "XXXXX" [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| RelativeDateFormat.java | 161 // Need to quote the relativeDayString to make it a legal date pattern 336 String pattern; local 348 pattern = "{1} {0}"; 362 pattern = patternsRb.get(glueIndex).getString(0); 364 pattern = patternsRb.getString(glueIndex); 367 combinedFormatHasDateAtStart = pattern.startsWith("{1}"); 368 fCombinedFormat = new MessageFormat(pattern, locale);
|
| /external/ltp/testcases/kernel/fs/doio/ |
| write_log.c | 47 * pattern, etc. In addition there is a bit which is cleared/set based 407 char *file, *host, *pattern; local 433 pattern = host + wrecd->w_hostlen; 442 memcpy(pattern, wrec->w_pattern, wrecd->w_patternlen); 454 char *file, *host, *pattern; local 481 pattern = buf + sizeof(struct wlog_rec_disk) + 483 memcpy(wrec->w_pattern, pattern, wrec->w_patternlen);
|
| /external/ltp/testcases/kernel/io/direct_io/ |
| dma_thread_diotest.c | 116 #define PATTERN (0xfa) 152 int pattern; member in struct:__anon28524 165 int pattern = worker->pattern; local 183 if (buffer[i] != pattern) { 187 pattern, PATTERN); 263 worker[j].pattern = n; 269 memset(buffer, PATTERN, READSIZE + align);
|
| /external/mesa3d/src/gallium/drivers/ilo/core/ |
| ilo_builder_blt.h | 108 const struct gen6_blt_bo *dst, uint32_t pattern, 136 dw[5] = pattern; 141 dw[4] = pattern; 150 const struct gen6_blt_xy_bo *dst, uint32_t pattern, 192 dw[6] = pattern; 197 dw[5] = pattern;
|
| /external/oj-libjdwp/src/share/back/ |
| EventRequestImpl.c | 163 char *pattern; local 164 pattern = inStream_readString(in); 169 pattern)); 174 char *pattern; local 175 pattern = inStream_readString(in); 179 eventFilter_setClassExcludeFilter(node, i, pattern));
|
| /external/testng/src/main/java/org/testng/internal/ |
| MethodGroupsHelper.java | 9 import java.util.regex.Pattern;
30 private static final Map<String, Pattern> PATTERN_CACHE = new ConcurrentHashMap<>();
274 final Pattern pattern = getPattern(groupRegexp);
local 278 Boolean match = isMatch(pattern, group);
288 private static Boolean isMatch(Pattern pattern, String group) {
289 Pair<String, String> cacheKey = Pair.create(pattern.pattern(), group);
292 match = pattern.matcher(group).matches(); [all...] |
| /frameworks/base/core/java/com/android/internal/widget/ |
| LockPatternUtils.java | 74 * Utilities for the lock pattern and its settings. 83 * The key to identify when the lock pattern enabled flag is being accessed for legacy reasons. 89 * method of verifying the user, and resetting their lock pattern. 106 * The minimum number of dots in a valid pattern. 116 * The minimum number of dots the user must include in a wrong pattern 390 * Check to see if a pattern matches the saved pattern. 391 * If pattern matches, return an opaque attestation that the challenge 394 * @param pattern The pattern to check [all...] |
| /prebuilts/go/darwin-x86/src/html/template/ |
| examplefiles_test.go | 59 // pattern is the glob pattern used to find all the template files. 60 pattern := filepath.Join(dir, "*.tmpl") 65 tmpl := template.Must(template.ParseGlob(pattern)) 131 // pattern is the glob pattern used to find all the template files. 132 pattern := filepath.Join(dir, "*.tmpl") 136 templates := template.Must(template.ParseGlob(pattern)) 179 // pattern is the glob pattern used to find all the template files [all...] |
| /prebuilts/go/linux-x86/src/html/template/ |
| examplefiles_test.go | 59 // pattern is the glob pattern used to find all the template files. 60 pattern := filepath.Join(dir, "*.tmpl") 65 tmpl := template.Must(template.ParseGlob(pattern)) 131 // pattern is the glob pattern used to find all the template files. 132 pattern := filepath.Join(dir, "*.tmpl") 136 templates := template.Must(template.ParseGlob(pattern)) 179 // pattern is the glob pattern used to find all the template files [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| UnicodeSet.java | 83 * string pattern. 85 * <p><b>Pattern syntax</b></p> 196 * <td style="white-space: nowrap; vertical-align: top;" align="right"><code>pattern := </code></td> 202 * <td style="vertical-align: top;"><code>char | (char '-' char) | pattern-expr<br> 206 * <td style="white-space: nowrap; vertical-align: top;" align="right"><code>pattern-expr := </code></td> 207 * <td style="vertical-align: top;"><code>pattern | pattern-expr pattern | 208 * pattern-expr op pattern<br [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| UnicodeSet.java | 82 * string pattern. 84 * <p><b>Pattern syntax</b></p> 195 * <td style="white-space: nowrap; vertical-align: top;" align="right"><code>pattern := </code></td> 201 * <td style="vertical-align: top;"><code>char | (char '-' char) | pattern-expr<br> 205 * <td style="white-space: nowrap; vertical-align: top;" align="right"><code>pattern-expr := </code></td> 206 * <td style="vertical-align: top;"><code>pattern | pattern-expr pattern | 207 * pattern-expr op pattern<br [all...] |
| /compatibility/cdd/8_performance-and-power/ |
| 8_4_power-consumption-accounting.md | 5 pattern of the application.
|
| /cts/common/device-side/util/src/com/android/compatibility/common/util/ |
| PropertyUtil.java | 29 import java.util.regex.Pattern; 97 Pattern pattern = Pattern.compile("name=([a-z_]*), value=(.*)$"); local 98 Matcher matcher = pattern.matcher(line); 129 // null or empty pattern implies property does not exist
|
| /cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
| StoragedDumpsysTest.java | 25 import java.util.regex.Pattern; 42 Pattern pattern = Pattern.compile("cgroup:([^\\s]+)", Pattern.MULTILINE); local 43 Matcher matcher = pattern.matcher(log);
|
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| DashPathEffectTest.java | 44 private static final float[] PATTERN = new float[] { 15, 5, 10, 5 }; 51 PathEffect effect = new DashPathEffect(PATTERN, OFFSET); 68 PatternIterator iterator = new PatternIterator(PATTERN, OFFSET); 95 * Create an instance that iterates through the given pattern starting at the given offset. 97 PatternIterator(final float[] pattern, int offset) { 98 mPattern = pattern;
|
| /cts/tests/tests/provider/src/android/provider/cts/ |
| ProviderTestUtils.java | 30 import java.util.regex.Pattern; 38 private static final Pattern BMGR_ENABLED_PATTERN = Pattern.compile( 69 Pattern pattern = Pattern.compile("\\(formerly (.*)\\)$"); local 70 Matcher matcher = pattern.matcher(output);
|
| /development/vndk/snapshot/ |
| utils.py | 118 def fetch_artifact(branch, build, pattern, destination='.'): 124 pattern: string, pattern of build artifact file name 130 build, pattern, destination
|