/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
PatternScanner.java | 21 import java.util.regex.Pattern; 29 private Pattern mIgnorePattern; 38 public PatternScanner(String input, Pattern ignorePattern) { 44 public String tryEat(Pattern pattern) { 45 // Skip ignore pattern 51 Matcher matcher = pattern.matcher(mInput); 62 // Skip ignore pattern 70 public String eat(Pattern pattern, String tokenName) [all...] |
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
LogcatParser.java | 23 import java.util.regex.Pattern; 31 public static final Pattern BUFFER_BEGIN_RE = Pattern.compile( 33 private static final Pattern LOG_LINE_RE = Pattern.compile(
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
FontVariationAxis.java | 24 import java.util.regex.Pattern; 44 throw new IllegalArgumentException("Illegal tag pattern: " + tagString); 85 private static final Pattern TAG_PATTERN = Pattern.compile("[\u0020-\u007E]{4}"); 98 private static final Pattern STYLE_VALUE_PATTERN = 99 Pattern.compile("-?(([0-9]+(\\.[0-9]+)?)|(\\.[0-9]+))");
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
Relation.java | 21 import java.util.regex.Pattern; 37 private static final Pattern KIND_PATTERN = Pattern.compile("^[a-z0-9_.]+$"); 38 private static final Pattern DETAIL_PATTERN = Pattern.compile("^([a-z0-9_.]+)$");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
NgramContextUtils.java | 25 import java.util.regex.Pattern; 34 private static final Pattern NEWLINE_REGEX = Pattern.compile("[\\r\\n]+"); 35 private static final Pattern SPACE_REGEX = Pattern.compile("\\s+");
|
/platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/ |
UserHelper.java | 25 import java.util.regex.Pattern; 63 final Pattern pattern = Pattern.compile("Success: created user id (\\d+)"); local 64 Matcher matcher = pattern.matcher(cmdOut); 80 final Pattern USERS_REGEX = Pattern.compile("UserInfo\\{([1-9]\\d*):[\\w\\s]+:(\\d+)\\}");
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
SimplePerfStatResultParser.java | 23 import java.util.regex.Pattern; 37 private static final Pattern TOTAL_TIME_SENTENCE_PATTERN = Pattern 39 private static final Pattern TOTAL_METRIC_SENTENCE_PATTERN = Pattern
|
/cts/hostsidetests/os/src/android/os/cts/ |
ProcfsHostTests.java | 28 import java.util.regex.Pattern; 40 private static final Pattern TEST_APP_LOG_PATTERN = Pattern.compile(TEST_APP_LOG_REGEXP); 47 private static final Pattern PROC_STAT_PATTERN = Pattern.compile(PROC_STAT_REGEXP); 54 private static final Pattern PID_TID_STAT_PATTERN = Pattern.compile(PID_TID_STAT_REGEXP); 125 * given read command, the file is in the expected format pattern, and the file is being updated. 129 private void testFile(String absolutePath, String readCommand, Pattern pattern) throws Exception [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
ActivityManagerAmStartOptionsTests.java | 21 import java.util.regex.Pattern; 103 private static final Pattern sNotStartedWarningPattern = Pattern.compile( 105 private static final Pattern sStatusPattern = Pattern.compile( 107 private static final Pattern sActivityPattern = Pattern.compile( 150 private static final Pattern sDisplayTimePattern = 151 Pattern.compile("(.+): Displayed (.*): (\\+{0,1})([0-9]+)ms(.*)");
|
/development/tools/bugreport/src/com/android/bugreport/anr/ |
AnrParser.java | 31 import java.util.regex.Pattern; 40 private static final Pattern PROC_NAME_RE 41 = Pattern.compile("ANR in (\\S+) \\((\\S+)/(\\S+)\\)"); 42 private static final Pattern PID_RE 43 = Pattern.compile("PID: (\\d+)"); 44 private static final Pattern REASON_RE 45 = Pattern.compile("Reason: (.*)"); 46 private static final Pattern BLANK_RE 47 = Pattern.compile("\\s+");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
Matcher2Test.java | 20 import java.util.regex.Pattern; 31 Pattern p = Pattern.compile("foo"); 38 Pattern p = Pattern.compile("foo"); 89 Pattern p = Pattern.compile("(foo[0-9])(bar[a-z])"); 226 Pattern pat = Pattern.compile(replacedString);
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ |
str.c | 275 IN CHAR16 *Pattern 281 p = *Pattern; 282 Pattern += 1; 286 // End of pattern. If end of string, TRUE match 292 if (MetaMatch (String, Pattern)) { 297 return MetaMatch (String, Pattern); 315 while ((p = *Pattern++)) { 321 p = *Pattern; // get high range 339 p = *Pattern; 340 Pattern += 1 [all...] |
/external/mockito/src/main/java/org/mockito/internal/util/ |
Platform.java | 9 import java.util.regex.Pattern; 15 private static final Pattern JAVA_8_RELEASE_VERSION_SCHEME = Pattern.compile("1\\.8\\.0_(\\d+)(?:-ea)?(?:-b\\d+)?"); 16 private static final Pattern JAVA_8_DEV_VERSION_SCHEME = Pattern.compile("1\\.8\\.0b\\d+_u(\\d+)"); 85 matcher = Pattern.compile("1\\.8\\.0-b\\d+").matcher(jvmVersion);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
AlgorithmDecomposer.java | 30 import java.util.regex.Pattern; 37 private static final Pattern transPattern = Pattern.compile("/"); 38 private static final Pattern pattern = field in class:AlgorithmDecomposer 39 Pattern.compile("with|and", Pattern.CASE_INSENSITIVE); 57 String[] tokens = pattern.split(transTocken); 77 * Please override the method if need to support more name pattern.
|
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/ |
AccountHelper.java | 30 import java.util.regex.Pattern; 67 Pattern pattern = Pattern.compile("Backup account", Pattern.CASE_INSENSITIVE); local 69 pattern = Pattern.compile("Device backup", Pattern.CASE_INSENSITIVE); 71 UiObject2 deviceBackup = mDevice.wait(Until.findObject(By.text(pattern)),
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
StructuralWhitespaceStripper.java | 44 import java.util.regex.Pattern; 104 /** Pattern to match strings that consist only of inline whitespace. */ 105 private static final Pattern INLINE_WHITESPACE = Pattern.compile(IWS); 108 * Pattern to match strings that start with arbitrary (inline) whitespace, followed by a newline. 110 private static final Pattern STARTS_WITH_NEWLINE = Pattern.compile("^" + IWS + "\\n"); 113 * Pattern to match strings that end with a newline, followed by trailing (inline) whitespace. 115 private static final Pattern ENDS_WITH_NEWLINE = Pattern.compile("\\n" + IWS + "$") [all...] |
/development/tools/idegen/src/ |
Eclipse.java | 25 import java.util.regex.Pattern; 47 List<Pattern> patterns = new ArrayList<Pattern>(); 54 patterns.add(Pattern.compile("^(?!out/)")); 58 patterns.add(Pattern.compile(".*")); 62 for (Pattern pattern : patterns) { 63 buckets.add(new Bucket(pattern)); 177 private final Pattern pattern; field in class:Eclipse.Bucket [all...] |
/external/jsr305/ri/src/main/java/javax/annotation/ |
RegEx.java | 6 import java.util.regex.Pattern; 32 Pattern.compile((String) value);
|
/external/stressapptest/src/ |
queue.h | 30 #include "pattern.h" // NOLINT 38 // This describes a block of memory, and the expected fill pattern. 43 class Pattern *pattern; member in struct:page_entry 47 class Pattern *lastpattern; // Expected Pattern at last read. 53 pe->pattern = NULL;
|
disk_blocks.h | 31 class Pattern; 60 void set_pattern(Pattern *p) { pattern_ = p; } 61 Pattern *pattern() { return pattern_; } function in class:BlockData 67 Pattern *pattern_;
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
Matcher2Test.java | 29 Pattern p = Pattern.compile("foo"); 36 Pattern p = Pattern.compile("foo"); 87 Pattern p = Pattern.compile("(foo[0-9])(bar[a-z])"); 224 Pattern pat = Pattern.compile(replacedString);
|
/external/doclava/src/com/google/doclava/ |
ThrowsTagInfo.java | 21 import java.util.regex.Pattern; 31 static final Pattern PATTERN = Pattern.compile("(\\S+)\\s+(.*)", Pattern.DOTALL); 39 Matcher m = PATTERN.matcher(text);
|
/external/llvm/include/llvm/DebugInfo/PDB/DIA/ |
DIASession.h | 47 findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, 51 llvm::StringRef Pattern, 54 findCompilandsForSourceFile(llvm::StringRef Pattern, 57 findOneCompilandForSourceFile(llvm::StringRef Pattern,
|
/external/llvm/include/llvm/DebugInfo/PDB/ |
IPDBSession.h | 57 findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, 61 llvm::StringRef Pattern, 64 findCompilandsForSourceFile(llvm::StringRef Pattern, 67 findOneCompilandForSourceFile(llvm::StringRef Pattern,
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
RawSession.h | 46 findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, 50 llvm::StringRef Pattern, 53 findCompilandsForSourceFile(llvm::StringRef Pattern, 56 findOneCompilandForSourceFile(llvm::StringRef Pattern,
|