HomeSort by relevance Sort by last modified time
    Searched refs:Pattern (Results 301 - 325 of 940) sorted by null

<<11121314151617181920>>

  /external/clang/lib/Sema/
SemaTemplateInstantiate.cpp 48 /// \param Pattern If non-NULL, indicates the pattern from which we will be
56 const FunctionDecl *Pattern) {
158 // instead of its semantic parent, unless of course the pattern we're
162 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) {
    [all...]
  /external/smali/smali/src/main/java/org/jf/smali/
LiteralTools.java 32 import java.util.regex.Pattern;
310 private static Pattern specialFloatRegex = Pattern.compile("((-)?infinityf)|(nanf)", Pattern.CASE_INSENSITIVE);
328 private static Pattern specialDoubleRegex = Pattern.compile("((-)?infinityd?)|(nand?)", Pattern.CASE_INSENSITIVE);
  /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...]
  /external/vogar/src/vogar/
ExpectationStore.java 32 import java.util.regex.Pattern;
38 * "java.util"), its expected result, and an optional pattern to match
40 * <li>Failure expectations include a pattern that may match the output of any
49 private static final int PATTERN_FLAGS = Pattern.MULTILINE | Pattern.DOTALL;
150 Pattern pattern = Expectation.MATCH_ALL_PATTERN; local
170 } else if (name.equals("pattern")) {
171 pattern = Pattern.compile(reader.nextString(), PATTERN_FLAGS)
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/mail/
Address.java 27 import java.util.regex.Pattern;
57 private static final Pattern REMOVE_OPTIONAL_BRACKET = Pattern.compile("^<?([^>]+)>?$");
59 private static final Pattern REMOVE_OPTIONAL_DQUOTE = Pattern.compile("^\"?([^\"]*)\"?$");
61 private static final Pattern UNQUOTE = Pattern.compile("\\\\([\\\\\"])");
72 /** Pattern to check if an email address is valid. */
73 private static final Pattern EMAIL_ADDRESS =
74 Pattern.compile("\\A" + LOCAL_PART + "@" + DOMAIN_PART + "\\z")
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
Address.java 33 import java.util.regex.Pattern;
66 private static final Pattern REMOVE_OPTIONAL_BRACKET = Pattern.compile("^<?([^>]+)>?$");
68 private static final Pattern REMOVE_OPTIONAL_DQUOTE = Pattern.compile("^\"?([^\"]*)\"?$");
70 private static final Pattern UNQUOTE = Pattern.compile("\\\\([\\\\\"])");
82 /** Pattern to check if an email address is valid. */
83 private static final Pattern EMAIL_ADDRESS =
84 Pattern.compile("\\A" + LOCAL_PART + "@" + DOMAIN_PART + "\\z")
    [all...]
  /dalvik/dx/src/com/android/dx/command/findusages/
FindUsages.java 32 import java.util.regex.Pattern;
50 Pattern declaredByPattern = Pattern.compile(declaredBy);
51 Pattern memberNamePattern = Pattern.compile(memberName);
  /development/tools/idegen/src/
Configuration.java 28 import java.util.regex.Pattern;
89 List<Pattern> patterns = new ArrayList<Pattern>();
251 public static void parseFile(File file, Collection<Pattern> patterns)
259 patterns.add(Pattern.compile(trimmed));
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
TreeParser.java 33 import java.util.regex.Pattern;
46 static Pattern dotdotPattern = Pattern.compile(dotdot);
47 static Pattern doubleEtcPattern = Pattern.compile(doubleEtc);
  /external/caliper/caliper/src/main/java/com/google/caliper/config/
CaliperConfig.java 43 import java.util.regex.Pattern;
65 private static final Pattern CLASS_PROPERTY_PATTERN = Pattern.compile("(\\w+)\\.class");
135 private static final Pattern INSTRUMENT_CLASS_PATTERN = Pattern.compile("([^\\.]+)\\.class");
  /external/icu/android_icu4j/src/main/java/android/icu/util/
LocalePriorityList.java 23 import java.util.regex.Pattern;
75 private static final Pattern languageSplitter = Pattern.compile("\\s*,\\s*");
76 private static final Pattern weightSplitter = Pattern
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
RegexUtilitiesTest.java 15 import java.util.regex.Pattern;
72 String pattern = null;
75 pattern = UnicodeRegex.fix(rawPattern);
81 assertEquals("Doubled character works" + hex.transform(s), expected, pattern);
83 // verify that we can create a regex pattern and use as expected
85 checkCharPattern(Pattern.compile(pattern), pattern, cpString, shouldNotMatch);
87 // verify that the Pattern.compile works
88 checkCharPattern(UnicodeRegex.compile(rawPattern), pattern, cpString, shouldNotMatch)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
LocalePriorityList.java 22 import java.util.regex.Pattern;
74 private static final Pattern languageSplitter = Pattern.compile("\\s*,\\s*");
75 private static final Pattern weightSplitter = Pattern
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
RegexUtilitiesTest.java 14 import java.util.regex.Pattern;
71 String pattern = null;
74 pattern = UnicodeRegex.fix(rawPattern);
80 assertEquals("Doubled character works" + hex.transform(s), expected, pattern);
82 // verify that we can create a regex pattern and use as expected
84 checkCharPattern(Pattern.compile(pattern), pattern, cpString, shouldNotMatch);
86 // verify that the Pattern.compile works
87 checkCharPattern(UnicodeRegex.compile(rawPattern), pattern, cpString, shouldNotMatch)
    [all...]
  /frameworks/base/core/java/android/net/
Proxy.java 30 import java.util.regex.Pattern;
85 private static final Pattern HOSTNAME_PATTERN;
92 private static final Pattern EXCLLIST_PATTERN;
95 HOSTNAME_PATTERN = Pattern.compile(HOSTNAME_REGEXP);
96 EXCLLIST_PATTERN = Pattern.compile(EXCLLIST_REGEXP);
  /frameworks/base/core/java/android/util/
EventLog.java 32 import java.util.regex.Pattern;
338 Pattern comment = Pattern.compile(COMMENT_PATTERN);
339 Pattern tag = Pattern.compile(TAG_PATTERN);
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
SmsMmsContacts.java 20 import java.util.regex.Pattern;
160 Pattern p = Pattern.compile(Pattern.quote(searchString), Pattern.CASE_INSENSITIVE);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
FastScrollingIndexCache.java 34 import java.util.regex.Pattern;
62 private static final Pattern SEPARATOR_PATTERN = Pattern.compile(SEPARATOR);
68 private static final Pattern SAVE_SEPARATOR_PATTERN = Pattern.compile(SAVE_SEPARATOR);
  /tools/loganalysis/src/com/android/loganalysis/parser/
BatteryStatsSummaryInfoParser.java 29 import java.util.regex.Pattern;
39 private static final Pattern RESET_TIME_PATTERN = Pattern.compile("^\\s*"
45 private static final Pattern BATTERY_DISCHARGE_PATTERN = Pattern.compile(
  /tools/tradefederation/core/prod-tests/src/com/android/media/tests/
CameraSettingsTest.java 46 import java.util.regex.Pattern;
56 private static final Pattern EXPECTED_LOOP_COUNT_PATTERN =
57 Pattern.compile("(Total number of loops:)(\\s*)(\\d+)");
58 private static final Pattern ACTUAL_LOOP_COUNT_PATTERN =
59 Pattern.compile("(No of loop:)(.*,\\s)(\\d+)$");
CameraShotToShotLatencyTest.java 41 import java.util.regex.Pattern;
45 private static final Pattern MEAN_PATTERN =
46 Pattern.compile("(Shot to shot latency - mean:)(\\s*)(\\d+\\.\\d*)");
47 private static final Pattern STANDARD_DEVIATION_PATTERN =
48 Pattern.compile("(Shot to shot latency - standard deviation:)(\\s*)(\\d+\\.\\d*)");
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
FlashingResourcesParser.java 31 import java.util.regex.Pattern;
58 private static final Pattern REQUIRE_PATTERN = Pattern.compile("(?:require\\s)?(.*?)=(.*)");
62 * {@code xyz} for device {@code product1}. This pattern matches the require-for-product line
64 private static final Pattern PRODUCT_REQUIRE_PATTERN =
65 Pattern.compile("require-for-product:(\\S+) +(.*?)=(.*)");
  /tools/tradefederation/core/src/com/android/tradefed/util/
EmmaXmlReportParser.java 31 import java.util.regex.Pattern;
47 private static final Pattern COVERAGE_PATTERN = Pattern.compile("(.*?)%.*");
49 private static final Pattern COVERAGE_DATA_PATTERN = Pattern.compile(
147 CLog.w("%s doesn't match a results pattern", value);
  /external/llvm/utils/FileCheck/
FileCheck.cpp 60 cl::desc("Add an implicit negative check with this pattern to every\n"
62 "this pattern occur which are not matched by a positive pattern"),
63 cl::value_desc("pattern"));
79 // Pattern Handling Code.
92 /// MatchEOF - When set, this pattern only matches the end of file. This is
100 class Pattern {
105 /// FixedStr - If non-empty, this pattern is a fixed string match with the
109 /// RegEx - If non-empty, this is a regex pattern.
112 /// \brief Contains the number of line this pattern is in
    [all...]
  /cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
WebViewDeviceSideStartupTest.java 35 import java.util.regex.Pattern;
100 final Pattern pat = Pattern.compile("count=(\\d+)");

Completed in 480 milliseconds

<<11121314151617181920>>