| /external/autotest/server/site_tests/factory_InstallVM/ |
| factory_InstallVM.py | 75 pattern = "^kvm.*%s" % _HDA_FILENAME, 76 if (self.client.run("pgrep -f '%s'" % pattern, ignore_status=True) 79 self.client.run("pkill -f '%s'" % (pattern))
|
| /external/autotest/site_utils/ |
| test_runner_utils.py | 343 pattern = '^%s$' % name_pattern_match.group(1) 344 return (suite.test_name_matches_pattern_predicate(pattern), 345 'suite to match name pattern %s' % pattern) 347 pattern = '^%s$' % file_pattern_match.group(1) 348 return (suite.test_file_matches_pattern_predicate(pattern), 349 'suite to match file name pattern %s' % pattern) 373 pattern = '^%s$' % name_pattern_match.group(1) 374 return (suite.test_name_similarity_predicate(pattern), [all...] |
| /external/chromium-trace/catapult/common/py_utils/py_utils/ |
| discover_unittest.py | 68 pattern='another*', 83 pattern='another*', 98 pattern='another*')
|
| /external/icu/icu4c/source/i18n/ |
| dtptngen.cpp | 602 DateTimePatternGenerator::getSkeleton(const UnicodeString& pattern, UErrorCode& 607 matcher.set(pattern, &fp, localSkeleton); 613 const UnicodeString& pattern, UErrorCode& /*status*/) { 617 matcher.set(pattern, &fp, localSkeleton); 622 DateTimePatternGenerator::getBaseSkeleton(const UnicodeString& pattern, UErrorCode& /*status*/) { 626 matcher.set(pattern, &fp, localSkeleton); 632 const UnicodeString& pattern, UErrorCode& /*status*/) { 636 matcher.set(pattern, &fp, localSkeleton); 764 // set fDefaultHourFormatChar to the hour format character from this pattern 1584 const UnicodeString *pattern; local [all...] |
| /external/icu/icu4c/source/i18n/unicode/ |
| usearch.h | 45 * A pattern string P matches a text string S at the offsets <start, end> 59 * a given pattern. This search iterator allows changing of direction by 80 * <li> If a following pattern match is to be found, any position within a 82 * preceding pattern match is to be found, a invalid starting point 88 * boundaries given by the breakiterator. For instance the pattern "e" will 93 * for the pattern "abab" in the text "ababab", where else mutually 120 * UChar pattern[16]; 123 * u_uastrcpy(pattern, patstr); 125 * UStringSearch *search = usearch_open(pattern, -1, target, -1, "en_US", 232 * elements in the pattern that have the base weight for the specifie [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| usettest.c | 485 /* use a pattern that generates both BMP and supplementary code points */ 486 U_STRING_DECL(pattern, "[:Cf:]", 6); 487 U_STRING_INIT(pattern, "[:Cf:]", 6); 490 set=uset_openPattern(pattern, -1, &errorCode); 522 /* The critical part of this test is that the following pattern 524 static const char *pattern = "[:ccc!=0:]"; local 526 int32_t len = u_unescape(pattern, buf, 256); 537 U_STRING_DECL(pattern, "[", 1); 538 U_STRING_INIT(pattern, "[", 1); 539 pat = uset_openPatternOptions(pattern, u_strlen(pattern), 0, &status) [all...] |
| /external/libchrome/base/files/ |
| file_enumerator_posix.cc | 57 const FilePath::StringType& pattern) 62 pattern_(root_path.Append(pattern).value()) { 65 // The Windows version of this code appends the pattern to the root_path, 68 if (pattern.empty())
|
| /external/ltp/testcases/commands/cron/ |
| cron_tests.sh | 37 local pattern="$1" 49 tail -n $lines $LOGS | grep "$pattern" > $out 2> $err 51 journalctl -n $lines | grep "$pattern" > $out 2> $err
|
| /external/pcre/dist2/src/ |
| pcre2demo.c | 13 process each code unit as a separate character, but if the pattern begins with 72 PCRE2_SPTR pattern; /* PCRE2_SPTR is a pointer to unsigned code units of */ local 115 /* After the options, we require exactly two arguments, which are the pattern, 124 /* As pattern and subject are char arguments, they can be straightforwardly 127 pattern = (PCRE2_SPTR)argv[i]; 133 * Now we are going to compile the regular expression pattern, and handle * 138 pattern, /* the pattern */ 139 PCRE2_ZERO_TERMINATED, /* indicates pattern is zero-terminated */ 159 * pattern match against the subject string. This does just ONE match. If [all...] |
| /external/pdfium/xfa/fxfa/parser/ |
| cxfa_fill.cpp | 21 {XFA_Element::Pattern, 1, XFA_PROPERTYFLAG_OneOf}, 100 case XFA_Element::Pattern: 152 CXFA_Pattern* pattern = local 153 JSObject()->GetOrCreateProperty<CXFA_Pattern>(0, XFA_Element::Pattern); 154 if (pattern) 155 pattern->Draw(pGS, fillPath, GetColor(false), rtWidget, matrix);
|
| /external/python/cpython2/Lib/lib2to3/ |
| fixer_base.py | 25 PATTERN = None # Most subclasses should override with a string literal 26 pattern = None # Compiled pattern, set by compile_pattern() variable in class:BaseFix 27 pattern_tree = None # Tree representation of the pattern 38 # which node type to accept when there's not a pattern. 62 """Compiles self.PATTERN into self.pattern. 65 self.{pattern,PATTERN} in .match(). 67 if self.PATTERN is not None [all...] |
| /external/python/cpython3/Lib/lib2to3/ |
| fixer_base.py | 24 PATTERN = None # Most subclasses should override with a string literal 25 pattern = None # Compiled pattern, set by compile_pattern() variable in class:BaseFix 26 pattern_tree = None # Tree representation of the pattern 36 # which node type to accept when there's not a pattern. 60 """Compiles self.PATTERN into self.pattern. 63 self.{pattern,PATTERN} in .match(). 65 if self.PATTERN is not None [all...] |
| /external/skia/src/gpu/ |
| GrResourceProvider.h | 129 * Either finds and refs, or creates an index buffer with a repeating pattern for drawing 133 * @param pattern the pattern of indices to repeat 134 * @param patternSize size in bytes of the pattern 135 * @param reps number of times to repeat the pattern 136 * @param vertCount number of vertices the pattern references 141 sk_sp<const GrBuffer> findOrCreatePatternedIndexBuffer(const uint16_t* pattern, 149 return this->createPatternedIndexBuffer(pattern, patternSize, reps, vertCount, key); 294 sk_sp<const GrBuffer> createPatternedIndexBuffer(const uint16_t* pattern,
|
| /external/skqp/src/gpu/ |
| GrResourceProvider.h | 126 * Either finds and refs, or creates an index buffer with a repeating pattern for drawing 130 * @param pattern the pattern of indices to repeat 131 * @param patternSize size in bytes of the pattern 132 * @param reps number of times to repeat the pattern 133 * @param vertCount number of vertices the pattern references 138 sk_sp<const GrBuffer> findOrCreatePatternedIndexBuffer(const uint16_t* pattern, 146 return this->createPatternedIndexBuffer(pattern, patternSize, reps, vertCount, key); 287 sk_sp<const GrBuffer> createPatternedIndexBuffer(const uint16_t* pattern,
|
| /external/skqp/tests/ |
| GpuSampleLocationsTest.cpp | 93 void assert_equal(skiatest::Reporter* reporter, const SamplePattern& pattern, 96 if ((int)pattern.size() != specs.fEffectiveSampleCnt) { 97 REPORT_FAILURE(reporter, "", SkString("Sample pattern has wrong number of samples.")); 105 if (pattern[i] != expectedLocation) { 106 REPORT_FAILURE(reporter, "", SkString("Sample pattern has wrong sample location."));
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
| DateView.java | 121 public void setDatePattern(String pattern) { 122 if (TextUtils.equals(pattern, mDatePattern)) { 125 mDatePattern = pattern;
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/ |
| fixer_base.py | 25 PATTERN = None # Most subclasses should override with a string literal 26 pattern = None # Compiled pattern, set by compile_pattern() variable in class:BaseFix 27 pattern_tree = None # Tree representation of the pattern 38 # which node type to accept when there's not a pattern. 62 """Compiles self.PATTERN into self.pattern. 65 self.{pattern,PATTERN} in .match(). 67 if self.PATTERN is not None [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/ |
| fixer_base.py | 25 PATTERN = None # Most subclasses should override with a string literal 26 pattern = None # Compiled pattern, set by compile_pattern() variable in class:BaseFix 27 pattern_tree = None # Tree representation of the pattern 38 # which node type to accept when there's not a pattern. 62 """Compiles self.PATTERN into self.pattern. 65 self.{pattern,PATTERN} in .match(). 67 if self.PATTERN is not None [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/ |
| fixer_base.py | 25 PATTERN = None # Most subclasses should override with a string literal 26 pattern = None # Compiled pattern, set by compile_pattern() variable in class:BaseFix 27 pattern_tree = None # Tree representation of the pattern 38 # which node type to accept when there's not a pattern. 62 """Compiles self.PATTERN into self.pattern. 65 self.{pattern,PATTERN} in .match(). 67 if self.PATTERN is not None [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/ |
| fixer_base.py | 25 PATTERN = None # Most subclasses should override with a string literal 26 pattern = None # Compiled pattern, set by compile_pattern() variable in class:BaseFix 27 pattern_tree = None # Tree representation of the pattern 38 # which node type to accept when there's not a pattern. 62 """Compiles self.PATTERN into self.pattern. 65 self.{pattern,PATTERN} in .match(). 67 if self.PATTERN is not None [all...] |
| /tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
| FilePullerDeviceMetricCollector.java | 33 import java.util.regex.Pattern; 42 name = "pull-pattern-keys", 43 description = "The pattern key name to be pull from the device as a file. Can be repeated." 112 String pattern, final Map<String, String> currentRunMetrics) { 113 Pattern p = Pattern.compile(pattern); 136 CLog.e("Could not find a device file associated to pattern '%s'.", pattern);
|
| /external/webp/src/dec/ |
| vp8l_dec.c | 838 // Helper functions for fast pattern copy (8b and 32b) 840 // cyclic rotation of pattern word 849 // copy 1, 2 or 4-bytes pattern 851 int length, uint32_t pattern) { 853 // align 'dst' to 4-bytes boundary. Adjust the pattern along the way. 856 pattern = Rotate8b(pattern); 859 // Copy the pattern 4 bytes at a time. 861 ((uint32_t*)dst)[i] = pattern; 863 // Finish with left-overs. 'pattern' is still correctly positioned 873 uint32_t pattern = 0; local 938 uint64_t pattern; local [all...] |
| /libcore/ojluni/src/main/java/java/text/ |
| SimpleDateFormat.java | 84 * with a default format pattern. You may modify the format pattern 91 * Date and time formats are specified by <em>date and time pattern</em> 93 * Within date and time pattern strings, unquoted letters from 95 * <code>'z'</code> are interpreted as pattern letters representing the 104 * The following pattern letters are defined (all other characters from 108 * <table border=0 cellspacing=3 cellpadding=0 summary="Chart shows pattern letters, date/time component, presentation, and examples."> 249 * Pattern letters are usually repeated, as their number determines the 253 * For formatting, if the number of pattern letters is 4 or more, 257 * of pattern letters.</li 474 private String pattern; field in class:SimpleDateFormat [all...] |
| /prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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...] |