| /external/icu/icu4c/source/i18n/ |
| dcfmtsym.cpp | 71 NULL, /* Pattern digit character is deprecated from CLDR - use # by default always */ 301 UCurrencySpacing pattern; local 303 pattern = UNUM_CURRENCY_MATCH; 305 pattern = UNUM_CURRENCY_SURROUNDING_MATCH; 307 pattern = UNUM_CURRENCY_INSERT; 313 pattern, beforeCurrency, errorCode); 316 pattern, beforeCurrency, value.getUnicodeString(errorCode)); 328 for (int32_t pattern = 0; pattern < UNUM_CURRENCY_SPACING_COUNT; pattern++) [all...] |
| number_patternstring.cpp | 22 PatternParser::parseToProperties(const UnicodeString& pattern, IgnoreRounding ignoreRounding, 25 parseToExistingPropertiesImpl(pattern, properties, ignoreRounding, status); 29 void PatternParser::parseToExistingProperties(const UnicodeString& pattern, DecimalFormatProperties& properties, 31 parseToExistingPropertiesImpl(pattern, properties, ignoreRounding, status); 39 return pattern.charAt(endpoints.start + index); 56 return UnicodeString(pattern, endpoints.start, endpoints.end - endpoints.start); 95 return AffixUtils::containsType(UnicodeStringCharSequence(pattern), type, status); 103 if (offset == pattern.length()) { 106 return pattern.char32At(offset); 118 this->pattern = patternString [all...] |
| /frameworks/base/core/java/android/text/util/ |
| Linkify.java | 61 import java.util.regex.Pattern; 69 * Alone with the pattern that is to be matched, a URL scheme prefix is also 70 * required. Any pattern match that does not begin with the supplied scheme 73 * the scheme <code>http://</code>. If the pattern matches example.com, which 189 * support@example.com. So, when matching against a web URL pattern you 195 * Examines the character span matched by the pattern and determines 198 * @param s The body of text against which the pattern 201 * matched by the pattern - inclusive 350 * @param pattern Regex pattern to be used for finding link [all...] |
| /external/slf4j/log4j-over-slf4j/compatibility/lib/ |
| logback-core-0.9.8-SNAPSHOT.jar | |
| log4j-1.3alpha-8.jar | |
| /external/autotest/client/tests/disktest/src/ |
| disktest.c | 20 struct pattern { struct 26 #define PATTERN_PER_SECTOR (SECTOR_SIZE / sizeof(struct pattern)) 54 void write_block(int fd, unsigned int block, struct pattern *buffer) 58 struct pattern *sector_buffer; 85 int verify_block(int fd, unsigned int block, struct pattern *buffer, char *err) 90 struct pattern *sector_buffer; 315 signature = ((struct pattern *)init_buffer)->signature; 356 /* Fork off all linear access pattern tasks */ 360 /* Fork off all random access pattern tasks */
|
| /external/webp/src/enc/ |
| cost_enc.c | 19 // For each given level, the following table gives the pattern of contexts to 43 int pattern = VP8LevelCodes[level - 1][0]; local 47 for (i = 2; pattern; ++i) { 48 if (pattern & 1) { 52 pattern >>= 1; 327 int pattern = VP8LevelCodes[v - 1][0]; local 329 for (i = 0; (pattern >>= 1) != 0; ++i) { 331 if (pattern & 1) VP8RecordStats(!!(bits & mask), s + 3 + i);
|
| /frameworks/native/opengl/libs/EGL/ |
| Loader.cpp | 356 std::string pattern = std::string("lib") + kind; local 374 if (find(result, pattern, searchPaths[i], true)) { 384 pattern.append("_"); 386 if (find(result, pattern, searchPaths[i], false)) { 398 const std::string& pattern, const char* const search, bool exact) { 400 std::string absolutePath = std::string(search) + "/" + pattern + ".so"; 419 if (strstr(e->d_name, pattern.c_str()) == e->d_name) {
|
| /libcore/luni/src/test/java/libcore/java/lang/ |
| OldStringTest.java | 224 assertTrue("Returned incorrect string array for pattern: " + 239 String pattern = "[!.1]"; local 245 Arrays.equals(results[0], str.split(pattern, 4))); 247 Arrays.equals(results[1], str.split(pattern, 9))); 249 Arrays.equals(results[1], str.split(pattern, 0))); 251 Arrays.equals(results[1], str.split(pattern, -1))); 253 Arrays.equals(results[1], str.split(pattern, 10))); 255 Arrays.equals(results[1], str.split(pattern, Integer.MAX_VALUE)));
|
| /toolchain/binutils/binutils-2.27/gprof/ |
| sym_ids.c | 220 /* Return TRUE iff PATTERN matches SYM. */ 223 match (Sym *pattern, Sym *sym) 225 if (pattern->file && pattern->file != sym->file) 227 if (pattern->line_num && pattern->line_num != sym->line_num) 229 if (pattern->name) 234 if (strcmp (pattern->name, sym_name) != 0)
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
| DateFormatRegressionTest.java | 64 logln("pattern: " + pat); 238 logln("testIt: pattern=" + pat + " string=" + str); 573 String pattern = "'time' hh:mm"; local 574 sdf.applyPattern(pattern); 575 logln("pattern: \"" + pattern + "\""); 608 String pattern = "'time' hh:mm"; local 609 sdf.applyPattern(pattern); 610 logln("pattern: \"" + pattern + "\"") 723 String pattern = local 875 String pattern = "MMM d, yyyy"; local 929 private String pattern; field in class:DateFormatRegressionTest.PatternAndResult 1213 String pattern = "EEE-WW-MMMM-yyyy"; local 1268 public String pattern; field in class:DateFormatRegressionTest.TestDateFormatItem 1326 String pattern = new String("'--: 'EEE-WW-MMMM-yyyy"); local 1403 public String pattern; field in class:DateFormatRegressionTest.TestDateFormatLeniencyItem 1462 String pattern = new String("MM-dd-yyyy"); local [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
| DateFormatRegressionTest.java | 61 logln("pattern: " + pat); 235 logln("testIt: pattern=" + pat + " string=" + str); 570 String pattern = "'time' hh:mm"; local 571 sdf.applyPattern(pattern); 572 logln("pattern: \"" + pattern + "\""); 605 String pattern = "'time' hh:mm"; local 606 sdf.applyPattern(pattern); 607 logln("pattern: \"" + pattern + "\"") 720 String pattern = local 872 String pattern = "MMM d, yyyy"; local 926 private String pattern; field in class:DateFormatRegressionTest.PatternAndResult 1210 String pattern = "EEE-WW-MMMM-yyyy"; local 1265 public String pattern; field in class:DateFormatRegressionTest.TestDateFormatItem 1323 String pattern = new String("'--: 'EEE-WW-MMMM-yyyy"); local 1400 public String pattern; field in class:DateFormatRegressionTest.TestDateFormatLeniencyItem 1459 String pattern = new String("MM-dd-yyyy"); local [all...] |
| /external/pcre/dist2/src/ |
| pcre2_jit_test.c | 149 const char *pattern; member in struct:regression_test_case [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
| loader.py | 143 def discover(self, start_dir, pattern='test*.py', top_level_dir=None):
146 that match the pattern will be loaded. (Using shell style pattern
154 pattern then the package will be checked for a 'load_tests' function. If
155 this exists then it will be called with loader, tests, pattern.
160 The pattern is deliberately not stored as a loader attribute so that
204 tests = list(self._find_tests(start_dir, pattern))
233 def _match_path(self, path, full_path, pattern):
235 return fnmatch(path, pattern)
237 def _find_tests(self, start_dir, pattern): [all...] |
| /external/oj-libjdwp/src/share/back/ |
| SDE.c | 168 patternMatch(char *classname, const char *pattern) { 174 if (pattern == NULL || classname == NULL) { 177 pattLen = (int)strlen(pattern); 179 if ((pattern[0] != '*') && (pattern[pattLen-1] != '*')) { 180 return strcmp(pattern, classname) == 0; 188 if (pattern[0] == '*') { 189 pattern++; 194 return strncmp(pattern, start, compLen) == 0;
|
| /external/python/cpython2/Lib/unittest/ |
| loader.py | 145 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): 148 that match the pattern will be loaded. (Using shell style pattern 156 pattern then the package will be checked for a 'load_tests' function. If 157 this exists then it will be called with loader, tests, pattern. 162 The pattern is deliberately not stored as a loader attribute so that 206 tests = list(self._find_tests(start_dir, pattern)) 235 def _match_path(self, path, full_path, pattern): 237 return fnmatch(path, pattern) 239 def _find_tests(self, start_dir, pattern) [all...] |
| /packages/apps/Car/Settings/src/com/android/car/settings/security/ |
| ChooseLockPatternFragment.java | 42 * Fragment for choosing security lock pattern. 51 // How long we wait to clear a wrong pattern 66 * Keep track internally of where the user is in choosing a pattern. 70 * Initial stage when first launching choose a lock pattern. 71 * Pattern mEnabled, secondary button allow for Cancel, primary button disabled. 78 * Help screen to show how a valid pattern looks like. 79 * Pattern disabled, primary button shows Ok. No secondary button. 86 * Invalid pattern is entered, hint message show required number of dots. 94 * First drawing on the pattern is valid, primary button shows Continue, 102 * Need to draw pattern again to confirm [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/unittest/ |
| loader.py | 143 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): 146 that match the pattern will be loaded. (Using shell style pattern 154 pattern then the package will be checked for a 'load_tests' function. If 155 this exists then it will be called with loader, tests, pattern. 160 The pattern is deliberately not stored as a loader attribute so that 204 tests = list(self._find_tests(start_dir, pattern)) 233 def _match_path(self, path, full_path, pattern): 235 return fnmatch(path, pattern) 237 def _find_tests(self, start_dir, pattern) [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/unittest/ |
| loader.py | 143 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): 146 that match the pattern will be loaded. (Using shell style pattern 154 pattern then the package will be checked for a 'load_tests' function. If 155 this exists then it will be called with loader, tests, pattern. 160 The pattern is deliberately not stored as a loader attribute so that 204 tests = list(self._find_tests(start_dir, pattern)) 233 def _match_path(self, path, full_path, pattern): 235 return fnmatch(path, pattern) 237 def _find_tests(self, start_dir, pattern) [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
| loader.py | 143 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): 146 that match the pattern will be loaded. (Using shell style pattern 154 pattern then the package will be checked for a 'load_tests' function. If 155 this exists then it will be called with loader, tests, pattern. 160 The pattern is deliberately not stored as a loader attribute so that 204 tests = list(self._find_tests(start_dir, pattern)) 233 def _match_path(self, path, full_path, pattern): 235 return fnmatch(path, pattern) 237 def _find_tests(self, start_dir, pattern) [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
| loader.py | 143 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): 146 that match the pattern will be loaded. (Using shell style pattern 154 pattern then the package will be checked for a 'load_tests' function. If 155 this exists then it will be called with loader, tests, pattern. 160 The pattern is deliberately not stored as a loader attribute so that 204 tests = list(self._find_tests(start_dir, pattern)) 233 def _match_path(self, path, full_path, pattern): 235 return fnmatch(path, pattern) 237 def _find_tests(self, start_dir, pattern) [all...] |
| /external/autotest/server/site_tests/firmware_Mosys/ |
| firmware_Mosys.py | 136 pattern = re.compile(fieldname + '=(.*)$') 138 matched = pattern.match(line) 160 pattern = re.compile(fieldname + ':(\S+)\s+') 161 logging.info(pattern) 163 matched = pattern.search(line)
|
| /external/deqp/framework/common/ |
| tcuCommandLine.cpp | 154 << Option<ExportFilenamePattern>(DE_NULL, "deqp-caselist-export-file", "Set the target file name pattern for caselist export", "${packageName}-cases.${typeExtension}") 548 // Match a single path component against a pattern component that may contain *-wildcards. 555 string::const_iterator pattern = patternStart; local 558 while (pattern != patternEnd && path != pathEnd && *pattern == *path) 560 ++pattern; 564 if (pattern == patternEnd) 566 else if (*pattern == '*') 570 if (matchWildcards(pattern + 1, patternEnd, path, pathEnd, allowPrefix)) 574 if (matchWildcards(pattern + 1, patternEnd, pathEnd, pathEnd, allowPrefix) 593 vector<string>::const_iterator pattern = patternStart; local [all...] |
| /external/e2fsprogs/misc/ |
| badblocks.c | 317 static void pattern_fill(unsigned char *buffer, unsigned int pattern, 321 unsigned char bpattern[sizeof(pattern)], *ptr; 323 if (pattern == (unsigned int) ~0) { 328 fputs(_("Testing with random pattern: "), stderr); 332 if (pattern == 0) 334 bpattern[i] = pattern & 0xFF; 335 pattern = pattern >> 8; 346 fputs(_("Testing with pattern 0x"), stderr); 598 const unsigned int *pattern; local 740 const unsigned int *pattern; local 1054 unsigned int pattern; local [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| CurrencyPluralInfo.java | 36 * currency plural pattern of the locale. 105 * Given a plural count, gets currency plural pattern of this locale, 109 * @return a currency plural pattern based on plural count 153 * The decimal digits part of the pattern cannot be specified via this method. All plural 154 * forms will use the same decimal pattern as set in the constructor of DecimalFormat. For 157 * @param pluralCount the plural count for which the currency pattern will 159 * @param pattern the new currency plural pattern 161 public void setCurrencyPluralPattern(String pluralCount, String pattern) { 162 pluralCountToCurrencyUnitPattern.put(pluralCount, pattern); 279 String pattern = e.getValue(); local [all...] |