/external/testng/src/test/java/test/failures/ |
BaseFailuresTest.java | 12 import java.util.regex.Pattern; 39 Pattern[] matchers = new Pattern[strRegexps.length]; 42 matchers[i] = Pattern.compile(".*" + strRegexps[i] + ".*");
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
WebAddress.java | 23 import java.util.regex.Pattern; 56 static Pattern sAddressPattern = Pattern.compile( 62 /* anchor */ ".*", Pattern.CASE_INSENSITIVE);
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
PropertyDeviceInfo.java | 26 import java.util.regex.Pattern; 46 Pattern pattern = Pattern.compile("\\[(ro.+)\\]: \\[(.+)\\]"); local 53 Matcher matcher = pattern.matcher(line);
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
ActivityAndWindowManagerOverrideConfigTests.java | 25 import java.util.regex.Pattern; 37 private final Pattern mConfigurationChangedPattern = 38 Pattern.compile("(.+)Configuration changed: (\\d+),(\\d+)");
|
KeyguardTestBase.java | 22 import java.util.regex.Pattern; 54 final Pattern pattern = Pattern.compile("(.+)" + entry); local 62 Matcher matcher = pattern.matcher(line);
|
/cts/libs/vogar-expect/src/vogar/ |
Expectation.java | 21 import java.util.regex.Pattern; 29 * pattern .*should get token \[, but get -1.* 34 * pattern .*cannot find symbol.* 45 /** The pattern the expected output will match. */ 46 private final Pattern pattern; field in class:Expectation 57 public Expectation(Result result, Pattern pattern, Set<String> tags, String description, long bug) { 58 if (result == null || description == null || pattern == null) { 60 "result=" + result + " description=" + description + " pattern=" + pattern) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/ |
UnicodeCollationEng.c | 251 pattern string and a Null-terminated string.
255 @param Pattern A pointer to a Null-terminated pattern string.
257 @retval TRUE Pattern was found in String.
258 @retval FALSE Pattern was not found in String.
266 IN CHAR16 *Pattern
274 CharP = *Pattern;
275 Pattern += 1;
280 // End of pattern. If end of string, TRUE match
293 if (EngMetaiMatch (This, String, Pattern)) {
[all...] |
/external/conscrypt/testing/src/main/java/libcore/java/security/ |
CpuFeatures.java | 27 import java.util.regex.Pattern; 62 Pattern p = Pattern.compile(field + "\\s*:\\s*(.*)");
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
DescribedAs.java | 7 import java.util.regex.Pattern; 19 private final static Pattern ARG_PATTERN = Pattern.compile("%([0-9]+)");
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/ |
SignatureRemover.java | 21 import java.util.regex.Pattern; 28 private static final Pattern SIGNATURE_FILES = Pattern
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
SysUtils.java | 15 import java.util.regex.Pattern; 48 Pattern pattern = Pattern.compile("^MemTotal:\\s+([0-9]+) kB$"); local 63 Matcher m = pattern.matcher(line);
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
StringUtil.java | 6 import java.util.regex.Pattern; 10 private static final Pattern CAPS = Pattern.compile("([A-Z\\d][^A-Z\\d]*)");
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/ |
PropertiesHelper.java | 6 import java.util.regex.Pattern; 15 Pattern variablePattern = Pattern.compile("([^$]*)\\$\\{(.*?)\\}(.*)");
|
/external/smali/util/src/main/java/org/jf/util/ |
ConsoleUtil.java | 33 import java.util.regex.Pattern; 75 Pattern pattern = Pattern.compile("Columns:[ \t]*(\\d+)"); local 76 Matcher m = pattern.matcher(output);
|
/external/testng/src/main/java/org/testng/internal/ |
RegexpExpectedExceptionsHolder.java | 9 import java.util.regex.Pattern; 40 return message != null && Pattern.compile(messageRegExp, Pattern.DOTALL).matcher(message).matches();
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDatabaseConfiguration.java | 21 import java.util.regex.Pattern; 38 // The pattern we use to strip email addresses from database paths 40 private static final Pattern EMAIL_IN_DB_PATTERN = 41 Pattern.compile("[\\w\\.\\-]+@[\\w\\.\\-]+");
|
/frameworks/base/core/tests/benchmarks/src/android/text/util/ |
LinkifyBenchmark.java | 28 import java.util.regex.Pattern; 37 // this pattern does not recognize strings without http scheme therefore is expected to be 39 private static final Pattern BASIC_PATTERN = Pattern.compile(
|
/libcore/benchmarks/src/benchmarks/regression/ |
SchemePrefixBenchmark.java | 22 import java.util.regex.Pattern; 57 private final Pattern pattern = Pattern.compile("^([a-zA-Z][a-zA-Z0-9+\\-.]*):"); local 60 Matcher matcher = pattern.matcher(spec);
|
/libcore/luni/src/test/java/libcore/io/ |
BlockGuardOsTest.java | 29 import java.util.regex.Pattern; 36 final static Pattern pattern = Pattern.compile("[\\w\\$]+\\([^)]*\\)"); field in class:BlockGuardOsTest 160 Matcher methodPatternMatcher = pattern.matcher(methodSignature);
|
/libcore/support/src/test/java/libcore/java/security/ |
CpuFeatures.java | 27 import java.util.regex.Pattern; 63 Pattern p = Pattern.compile(field + "\\s*:\\s*(.*)");
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
VeiledAddressMatcher.java | 27 import java.util.regex.Pattern; 37 * Resource for the regex pattern that specifies a veiled addresses. 68 private Pattern mMatcher = null; 76 * The hash code of the last profile pattern retrieved . This allows us to avoid recompiling the 97 * method repeatedly with the same pattern. If the pattern has not changed, little extra work 99 * @param pattern 101 private final void loadPattern(String pattern) { 102 if (!TextUtils.isEmpty(pattern)) { 103 final int hashCode = pattern.hashCode() [all...] |
/tools/loganalysis/src/com/android/loganalysis/parser/ |
DmesgParser.java | 31 import java.util.regex.Pattern; 60 private static final Pattern START_SERVICE = Pattern.compile( 62 private static final Pattern EXIT_SERVICE = Pattern.compile( 71 private static final Pattern START_STAGE = Pattern.compile( 79 private static final Pattern START_PROCESSING_ACTION = Pattern.compile( 85 private static final Pattern UEVENTD_STAGE_INFO = Pattern.compile [all...] |
InterruptParser.java | 23 import java.util.regex.Pattern; 34 private static final Pattern Interrupt = Pattern.compile(
|
TopParser.java | 23 import java.util.regex.Pattern; 38 private static final Pattern TICKS_PAT = Pattern.compile(
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
NativeStressTestParser.java | 23 import java.util.regex.Pattern; 44 private final static Pattern ITERATION_COMPLETE_PATTERN = Pattern.compile(
|