| /prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/ |
| FileDialog.py | 28 fname = d.go(dir_or_file, pattern, default, key) 36 and pattern arguments, overriding the values passed in (it does 109 def go(self, dir_or_file=os.curdir, pattern="*", default="", key=None): 111 self.directory, pattern = dialogstates[key] 118 self.set_filter(self.directory, pattern) 127 directory, pattern = self.get_filter() 130 dialogstates[key] = directory, pattern
|
| /prebuilts/gdb/linux-x86/lib/python2.7/ |
| _strptime.py | 5 TimeRE -- Creates regexes for pattern matching a string of text containing 217 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time)) 218 base.__setitem__('x', self.pattern(self.locale_time.LC_date)) 219 base.__setitem__('X', self.pattern(self.locale_time.LC_time)) 240 def pattern(self, format): member in class:TimeRE 241 """Return regex pattern for the format string. 265 return re_compile(self.pattern(format), IGNORECASE)
|
| /prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/ |
| FileDialog.py | 28 fname = d.go(dir_or_file, pattern, default, key) 36 and pattern arguments, overriding the values passed in (it does 109 def go(self, dir_or_file=os.curdir, pattern="*", default="", key=None): 111 self.directory, pattern = dialogstates[key] 118 self.set_filter(self.directory, pattern) 127 directory, pattern = self.get_filter() 130 dialogstates[key] = directory, pattern
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| _strptime.py | 5 TimeRE -- Creates regexes for pattern matching a string of text containing 217 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time)) 218 base.__setitem__('x', self.pattern(self.locale_time.LC_date)) 219 base.__setitem__('X', self.pattern(self.locale_time.LC_time)) 240 def pattern(self, format): member in class:TimeRE 241 """Return regex pattern for the format string. 265 return re_compile(self.pattern(format), IGNORECASE)
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
| FileDialog.py | 28 fname = d.go(dir_or_file, pattern, default, key) 36 and pattern arguments, overriding the values passed in (it does 109 def go(self, dir_or_file=os.curdir, pattern="*", default="", key=None): 111 self.directory, pattern = dialogstates[key] 118 self.set_filter(self.directory, pattern) 127 directory, pattern = self.get_filter() 130 dialogstates[key] = directory, pattern
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| _strptime.py | 5 TimeRE -- Creates regexes for pattern matching a string of text containing 217 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time)) 218 base.__setitem__('x', self.pattern(self.locale_time.LC_date)) 219 base.__setitem__('X', self.pattern(self.locale_time.LC_time)) 240 def pattern(self, format): member in class:TimeRE 241 """Return regex pattern for the format string. 265 return re_compile(self.pattern(format), IGNORECASE)
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
| FileDialog.py | 28 fname = d.go(dir_or_file, pattern, default, key) 36 and pattern arguments, overriding the values passed in (it does 109 def go(self, dir_or_file=os.curdir, pattern="*", default="", key=None): 111 self.directory, pattern = dialogstates[key] 118 self.set_filter(self.directory, pattern) 127 directory, pattern = self.get_filter() 130 dialogstates[key] = directory, pattern
|
| /tools/tradefederation/contrib/src/com/android/media/tests/ |
| CameraStressTest.java | 105 * Set up the pattern map for parsing output files 287 String pattern = test.mPatternMap.retrieve(capture, line); local 288 if (pattern != null) { 289 if ("loopCount".equals(pattern)) { 292 } else if ("iters".equals(pattern)) { 301 // Assume that the pattern is the name of a key 309 key = pattern;
|
| /external/icu/icu4c/source/common/ |
| locdispnames.cpp | 291 static const char _kPattern[] = "pattern"; 458 * things if they futz with the pattern data. But since we don't give them a way to 459 * specify a pattern for arbitrary combinations of components, there's not much use in 485 const UChar *pattern; local 518 pattern=ures_getStringByKeyWithFallback(dspbundle, _kPattern, &patLen, &status); 528 /* #10244: Even though separator is now a pattern, it is awkward to handle it as such 530 * and to handle it as a pattern would entail having separate storage for the 534 * that is before {0} or after {1} (no existing separator pattern has any such thing). 535 * This is similar to how pattern is handled below. 548 if(patLen==0 || (patLen==defaultPatLen && !u_strncmp(pattern, defaultPattern, patLen))) [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| cnmdptst.c | 83 log_err_status(status, "FAIL: Number format constructor failed for pattern %s -> %s\n", pat[i], u_errorName(status)); 94 log_err("FAIL: Number format extracting the pattern failed for %s\n", pat[i]); 98 log_err("FAIL: Pattern %s should be transmute to %s; %s seen instead\n", pat[i], newpat[i], austrdup(unewp) ); 113 log_err("FAIL: Pattern %s should format zero as %s; %s Seen instead\n", pat[i], num[i], austrdup(str) ); 136 log_err_status(status, "Error in number format costruction using pattern \"a'fo''o'b#\" -> %s\n", u_errorName(status)); 149 log_verbose("Pattern \"%s\" \n", u_austrcpy(tempBuf, pat) ); 165 log_err("Error in number format costruction using pattern \"a''b#\"\n"); 177 log_verbose("Pattern \"%s\" \n", u_austrcpy(tempBuf, pat) ); 188 /* Test exponential pattern*/ 196 UChar pattern[20] local 344 UChar *pattern=NULL; local [all...] |
| cdattst.c | 260 log_verbose("\nTesting the udat_openPattern with a specified pattern\n"); 275 log_verbose("Extracting the pattern\n"); 288 log_err("FAIL: error in extracting the pattern from UNumberFormat\n %s\n", 292 log_err("FAIL: Error in extracting the pattern\n"); 478 log_err("udat_toPatternRelativeDate timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) date pattern incorrect\n", *stylePtr ); 485 log_err("udat_toPatternRelativeTime timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) time pattern incorrect\n", *stylePtr ); 492 log_err("udat_toPattern timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) dateTime pattern incorrect\n", *stylePtr ); 504 log_err("udat_applyPatternRelative timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) didn't update time pattern\n", *stylePtr ); 579 UChar *pattern; local 631 pattern=(UChar*)malloc(sizeof(UChar) * 10) 1057 UChar *pattern=NULL; local 1617 UChar pattern[50]; local [all...] |
| /external/pcre/pcrecpp/ |
| pcrecpp_unittest.cc | 70 // Same pattern lots of times 71 RE pattern("ruby:\\d+"); 74 CHECK(pattern.FullMatch(p)); 79 // Same pattern lots of times 80 RE pattern("ruby:(\\d+)"); 83 CHECK(pattern.FullMatch("ruby:1234", &i)); 487 // A meta-quoted string, interpreted as a pattern, should always match 1223 const char* pattern = "\\\\w+X"; local 1233 const char* pattern = "(?U)\\\\w+X"; local [all...] |
| /external/toybox/toys/posix/ |
| sed.c | 140 [0-9] A number, substitute only that occurrence of pattern 141 g Global, substitute all occurrences of pattern 175 // processed pattern list 176 struct double_list *pattern; 249 // Apply pattern to line from input file 279 command = TT.restart ? ((struct sedcmd *)TT.restart)-1 : (void *)TT.pattern; 355 for (command = (void *)TT.pattern; command; command = command->next) 384 command = (void *)TT.pattern; 639 for (command = (void *)TT.pattern; command; command = command->next) 717 // Translate pattern strings into command structures. Each command structur [all...] |
| /external/v8/src/ |
| i18n.cc | 128 icu::UnicodeString pattern; local 130 pattern = generator->getBestPattern(skeleton, status); 132 date_format = new icu::SimpleDateFormat(pattern, icu_locale, status); 154 icu::UnicodeString pattern; local 155 date_format->toPattern(pattern); 160 reinterpret_cast<const uint16_t*>(pattern.getBuffer()), 161 pattern.length())).ToHandleChecked(), 367 icu::UnicodeString pattern; local 368 number_format->toPattern(pattern); 373 reinterpret_cast<const uint16_t*>(pattern.getBuffer()) [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
| locale_facets_nonio.h | 834 * pattern for formatting a money amount. Each field may contain one entry 844 struct pattern { char field[4]; }; struct in class:money_base 846 static const pattern _S_default_pattern; 859 // Construct and return valid pattern consisting of some combination of: 861 _GLIBCXX_CONST static pattern 880 money_base::pattern _M_pos_format; 881 money_base::pattern _M_neg_format; 897 _M_pos_format(money_base::pattern()), 898 _M_neg_format(money_base::pattern()), _M_allocated(false) [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
| locale_facets_nonio.h | 834 * pattern for formatting a money amount. Each field may contain one entry 844 struct pattern { char field[4]; }; struct in class:money_base 846 static const pattern _S_default_pattern; 859 // Construct and return valid pattern consisting of some combination of: 861 _GLIBCXX_CONST static pattern 880 money_base::pattern _M_pos_format; 881 money_base::pattern _M_neg_format; 897 _M_pos_format(money_base::pattern()), 898 _M_neg_format(money_base::pattern()), _M_allocated(false) [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| TransliteratorIDParser.java | 81 * 'filter' is the parsed filter pattern, or null if there was no 249 * @param id the pattern the parse 258 * @param canonID OUTPUT parameter. The pattern for the filter 260 * at the start, if dir is REVERSE. The pattern will be enclosed 294 String pattern = id.substring(pos[0], ppos.getIndex()); local 302 // In the forward direction, append the pattern to the 308 pattern = String.valueOf(OPEN_REV) + pattern + CLOSE_REV; 310 canonID.append(pattern + ID_DELIM); 313 pattern = String.valueOf(OPEN_REV) + pattern + CLOSE_REV [all...] |
| /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
| TransliteratorIDParser.java | 80 * 'filter' is the parsed filter pattern, or null if there was no 248 * @param id the pattern the parse 257 * @param canonID OUTPUT parameter. The pattern for the filter 259 * at the start, if dir is REVERSE. The pattern will be enclosed 293 String pattern = id.substring(pos[0], ppos.getIndex()); local 301 // In the forward direction, append the pattern to the 307 pattern = String.valueOf(OPEN_REV) + pattern + CLOSE_REV; 309 canonID.append(pattern + ID_DELIM); 312 pattern = String.valueOf(OPEN_REV) + pattern + CLOSE_REV [all...] |
| /external/libxml2/ |
| runtest.c | 55 #include <libxml/pattern.h> 123 static int glob(const char *pattern, ATTRIBUTE_UNUSED int flags, 133 if ((pattern == NULL) || (pglob == NULL)) return(-1); 135 strncpy(directory, pattern, 499); 150 hFind = FindFirstFileA(pattern, &FindFileData); 2491 char pattern[500]; local 2539 char pattern[500]; local 3072 char pattern[500]; local 3249 char pattern[500]; local 3336 char pattern[500]; local [all...] |
| /prebuilts/go/darwin-x86/src/html/template/ |
| template.go | 444 // files identified by the pattern, which must match at least one file. The 446 // first file matched by the pattern. ParseGlob is equivalent to calling 447 // ParseFiles with the list of files matched by the pattern. 451 func ParseGlob(pattern string) (*Template, error) { 452 return parseGlob(nil, pattern) 456 // pattern and associates the resulting templates with t. The pattern is 459 // pattern. 465 func (t *Template) ParseGlob(pattern string) (*Template, error) { 466 return parseGlob(t, pattern) [all...] |
| /prebuilts/go/linux-x86/src/html/template/ |
| template.go | 444 // files identified by the pattern, which must match at least one file. The 446 // first file matched by the pattern. ParseGlob is equivalent to calling 447 // ParseFiles with the list of files matched by the pattern. 451 func ParseGlob(pattern string) (*Template, error) { 452 return parseGlob(nil, pattern) 456 // pattern and associates the resulting templates with t. The pattern is 459 // pattern. 465 func (t *Template) ParseGlob(pattern string) (*Template, error) { 466 return parseGlob(t, pattern) [all...] |
| /development/vndk/tools/definition-tool/assets/insight/ |
| insight.js | 420 function escapeRegExp(pattern) { 421 return pattern.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, '\\$1'); 426 let pattern = ''; 428 pattern += escapeRegExp(part) + '(?:/[^\/]*)*'; 430 pattern = RegExp(pattern); 433 return pattern.test(mod.path);
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
| DateFormatTest.java | 162 errln("FAILURE! Expected pattern: " + expectedPattern + 178 errln("FAILURE! Expected local pattern: " + expectedLocalPattern 183 errln("FAILURE! Expected local pattern: " + expectedLocalPattern 309 * SimpleDateFormat(pattern, locale) Construct a SimpleDateDateFormat using 310 * the given pattern, the locale and using the TimeZone.getDefault(); 359 if(DateFormat.FIELD_COUNT != PATTERN_CHARS.length() + 1){ // +1 for missing TIME_SEPARATOR pattern char 368 // Make the pattern "G y M d..." 372 // Make the pattern "GGGG yyyy MMMM dddd..." 470 logln(" Pattern = " + ((SimpleDateFormat) df).toPattern()); 487 assertEquals("pattern#" + j + " field #" + i + " " + DATEFORMAT_FIELD_NAMES[i] 3144 String pattern = data[i++]; local 3211 String pattern = data[i++]; local 3304 String pattern = data[i++]; local 3690 final String pattern = "GyMMMMdEEEEHHmmssVVVV"; local 4018 String pattern = "y\\u5e74M\\u6708d\\u65e5"; local 4107 String pattern; \/\/ format pattern field in class:DateFormatTest.ParseTestData 4350 public String pattern; \/\/ ignored unless style == DateFormat.NONE field in class:DateFormatTest.TestNonGregoItem 4481 public String pattern; field in class:DateFormatTest.TestContextItem 4701 public String pattern; field in class:DateFormatTest.TestDateFormatLeniencyItem 4807 public String pattern; field in class:DateFormatTest.TestMultiPatternMatchItem [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
| DateFormatTest.java | 159 errln("FAILURE! Expected pattern: " + expectedPattern + 175 errln("FAILURE! Expected local pattern: " + expectedLocalPattern 180 errln("FAILURE! Expected local pattern: " + expectedLocalPattern 306 * SimpleDateFormat(pattern, locale) Construct a SimpleDateDateFormat using 307 * the given pattern, the locale and using the TimeZone.getDefault(); 356 if(DateFormat.FIELD_COUNT != PATTERN_CHARS.length() + 1){ // +1 for missing TIME_SEPARATOR pattern char 365 // Make the pattern "G y M d..." 369 // Make the pattern "GGGG yyyy MMMM dddd..." 467 logln(" Pattern = " + ((SimpleDateFormat) df).toPattern()); 484 assertEquals("pattern#" + j + " field #" + i + " " + DATEFORMAT_FIELD_NAMES[i] 3141 String pattern = data[i++]; local 3208 String pattern = data[i++]; local 3301 String pattern = data[i++]; local 3687 final String pattern = "GyMMMMdEEEEHHmmssVVVV"; local 4015 String pattern = "y\\u5e74M\\u6708d\\u65e5"; local 4104 String pattern; \/\/ format pattern field in class:DateFormatTest.ParseTestData 4347 public String pattern; \/\/ ignored unless style == DateFormat.NONE field in class:DateFormatTest.TestNonGregoItem 4478 public String pattern; field in class:DateFormatTest.TestContextItem 4698 public String pattern; field in class:DateFormatTest.TestDateFormatLeniencyItem 4804 public String pattern; field in class:DateFormatTest.TestMultiPatternMatchItem [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
| ScannerTest.java | 61 import java.util.regex.Pattern; 531 Pattern pattern = s.delimiter(); local 532 assertEquals("\\p{javaWhitespace}+", pattern.toString()); 536 * @tests java.util.Scanner#useDelimiter(Pattern) 540 s.useDelimiter(Pattern.compile("\\w+")); 544 s.useDelimiter((Pattern) null); 729 s.next((Pattern)null); 843 s = new Scanner("test\ntest").useDelimiter(Pattern.compile("^", 844 Pattern.MULTILINE)) 901 Pattern pattern; local 2509 Pattern pattern; local 4835 Pattern pattern = Pattern.compile("\\\\d+"); local [all...] |