/tools/tradefederation/core/prod-tests/src/com/android/media/tests/ |
CameraPerformanceTest.java | 44 import java.util.regex.Pattern; 209 public static final Pattern SOURCE_REGEX = 210 Pattern.compile("^(?<package>[a-zA-Z\\d\\._$]+)#(?<method>[a-zA-Z\\d_$]+)(:\\d+)?"); 212 public static final Pattern MESSAGE_REGEX = 213 Pattern.compile("^Camera\\s+(?<cameraId>\\d+):\\s+(?<kpiName>.*)"); 332 private final Pattern mSummaryRegex = 333 Pattern.compile( 335 private final Pattern mDetailRegex = 336 Pattern.compile( 637 Pattern p = Pattern.compile(TEST_METRICS_PATTERN) [all...] |
/cts/hostsidetests/net/src/com/android/cts/net/ |
HostsideNetworkTestCase.java | 37 import java.util.regex.Pattern; 165 private static final Pattern UID_PATTERN = 166 Pattern.compile(".*userId=([0-9]+)$", Pattern.MULTILINE);
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
ShortcutManagerBackupTest.java | 23 import java.util.regex.Pattern; 135 final Pattern re = Pattern.compile("^\\s+Active (ordered)? broadcasts \\[", 136 Pattern.MULTILINE);
|
/cts/tools/vm-tests-tf/src/util/build/ |
BuildDalvikSuite.java | 49 import java.util.regex.Pattern; 654 for (String pattern : patterns) { 655 token = scanner.findWithinHorizon(pattern, methodSource.length()); 672 Pattern p = Pattern.compile("@uses\\s+(.*)\\s+", Pattern.MULTILINE); 680 Pattern loadPattern = Pattern.compile("load\\(\"([^\"]*)\"", Pattern.MULTILINE); 688 Pattern loadAndRunPattern = Pattern.compile("loadAndRun\\(\"([^\"]*)\"", Pattern.MULTILINE) [all...] |
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/ |
AppListFragment.java | 36 import java.util.regex.Pattern; 96 // Compile Regex Pattern which will match if the app name contains the query 97 final Pattern p = Pattern.compile(".*" + query + ".*", Pattern.CASE_INSENSITIVE);
|
/development/tools/bugreport/src/com/android/bugreport/stacks/ |
VmTracesParser.java | 31 import java.util.regex.Pattern;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/UnicodeCollation/ |
UnicodeCollation.h | 72 IN CHAR16 *Pattern
78 pattern string and a Null-terminated Unicode string.
83 Pattern - A pointer to a Null-terminated Unicode pattern string.
86 TRUE - Pattern was found in String.
87 FALSE - Pattern was not found in String.
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/UnicodeCollation2/ |
UnicodeCollation2.h | 72 IN CHAR16 *Pattern
78 pattern string and a Null-terminated Unicode string.
83 Pattern - A pointer to a Null-terminated Unicode pattern string.
86 TRUE - Pattern was found in String.
87 FALSE - Pattern was not found in String.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/ |
UnicodeCollationEng.h | 74 pattern string and a Null-terminated string.
78 @param Pattern A pointer to a Null-terminated pattern string.
80 @retval TRUE Pattern was found in String.
81 @retval FALSE Pattern was not found in String.
89 IN CHAR16 *Pattern
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
RegularExpressionProtocol.h | 95 Checks if the input string matches to the regular expression pattern.
102 regular expression string specified by Pattern.
104 Pattern A pointer to a NULL terminated string that represents the
113 the regular expression Pattern using the regular expression
139 @retval EFI_INVALID_PARAMETER String, Pattern, Result, or CapturesCountis
148 IN CHAR16 *Pattern,
|
UnicodeCollation.h | 73 pattern string and a Null-terminated string.
77 @param Pattern A pointer to a Null-terminated pattern string.
79 @retval TRUE Pattern was found in String.
80 @retval FALSE Pattern was not found in String.
88 IN CHAR16 *Pattern
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/ |
hte.c | 138 If MemInitFlag is 0, this routine will send an 5AA55AA5 pattern to all memory
140 pattern to all memory locations on the RankMask and reads it back.
194 TestNum = 4; // Write/read then write/read with inverted pattern.
262 pattern (different for READ_RAIN and WRITE_TRAIN modes.
271 Mode: READ_TRAIN or WRITE_TRAIN (the difference is in the pattern)
278 UINT32 Pattern;
294 Pattern = 0xC33C0000;
298 Pattern = 0xAA5555AA;
303 isbW32m(HTE, Offset, Pattern);
341 LfsrSeedXxx: victim aggressor data pattern seed [all...] |
/external/conscrypt/testing/src/main/java/org/conscrypt/testing/ |
TestUtil.java | 29 import java.util.regex.Pattern; 46 private static final Pattern KEY_PATTERN = 47 Pattern.compile("-+BEGIN\\s+.*PRIVATE\\s+KEY[^-]*-+(?:\\s|\\r|\\n)+" + // Header 50 Pattern.CASE_INSENSITIVE);
|
/external/doclava/src/com/google/doclava/ |
SampleTagInfo.java | 25 import java.util.regex.Pattern; 56 static final Pattern TEXT = 57 Pattern.compile("[\r\n \t]*([^\r\n \t]*)[\r\n \t]*([0-9A-Za-z_]*)[\r\n \t]*", Pattern.DOTALL);
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
TextFormat.java | 47 import java.util.regex.Pattern; 637 private static final Pattern WHITESPACE = 638 Pattern.compile("(\\s|(#.*$))++", Pattern.MULTILINE); 639 private static final Pattern TOKEN = Pattern.compile( 644 Pattern.MULTILINE); 646 private static final Pattern DOUBLE_INFINITY = Pattern.compile( 648 Pattern.CASE_INSENSITIVE) [all...] |
/external/skia/tests/ |
RecordPatternTest.cpp | 16 typedef Pattern<Is<Save>, 22 SaveClipRectRestore pattern; local 25 REPORTER_ASSERT(r, !pattern.match(&record, 0)); 29 // Build up a save-clip-restore block. The pattern will match only it's complete. 31 REPORTER_ASSERT(r, !pattern.match(&record, 0)); 34 REPORTER_ASSERT(r, !pattern.match(&record, 0)); 37 REPORTER_ASSERT(r, pattern.match(&record, 0)); 38 REPORTER_ASSERT(r, pattern.first<Save>() != nullptr); 39 REPORTER_ASSERT(r, pattern.second<ClipRect>() != nullptr); 40 REPORTER_ASSERT(r, pattern.third<Restore>() != nullptr) 44 SaveClipRectRestore pattern; local 67 SaveClipRectRestore pattern; local 81 Pattern<Is<Save>, Greedy<Is<ClipRect>>, Is<Restore>> pattern; local 105 Is<Restore>> pattern; local 145 Pattern<IsDraw> pattern; local [all...] |
/external/snakeyaml/src/test/java/examples/ |
DiceExampleTest.java | 20 import java.util.regex.Pattern; 97 yaml.addImplicitResolver(new Tag("!dice"), Pattern.compile("\\d+d\\d+"), "123456789"); 114 yaml.addImplicitResolver(new Tag("!dice"), Pattern.compile("\\d+d\\d+"), null); 151 yaml.addImplicitResolver(new Tag("!dice"), Pattern.compile("\\d+d\\d+"), "123456789");
|
/frameworks/av/media/libmedia/include/media/ |
Crypto.h | 53 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
|
ICrypto.h | 68 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
|
/frameworks/base/core/java/android/companion/ |
BluetoothLeDeviceFilter.java | 44 import java.util.regex.Pattern; 58 private final Pattern mNamePattern; 70 private BluetoothLeDeviceFilter(Pattern namePattern, ScanFilter scanFilter, 89 public Pattern getNamePattern() { 293 private Pattern mNamePattern; 309 public Builder setNamePattern(@Nullable Pattern regex) {
|
/frameworks/base/core/java/android/webkit/ |
URLUtil.java | 22 import java.util.regex.Pattern; 387 private static final Pattern CONTENT_DISPOSITION_PATTERN = 388 Pattern.compile("attachment;\\s*filename\\s*=\\s*(\"?)([^\"]*)\\1\\s*$", 389 Pattern.CASE_INSENSITIVE);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixFileSystem.java | 33 import java.util.regex.Pattern; 305 final Pattern pattern = compilePathMatchPattern(expr); 310 return pattern.matcher(path.toString()).matches(); 344 Pattern compilePathMatchPattern(String expr) { 345 return Pattern.compile(expr);
|
/external/clang/include/clang/Sema/ |
CodeCompleteConsumer.h | 51 /// \brief Priority for a code pattern. 88 /// \brief Adjustment for KVC code pattern priorities when it doesn't look 631 RK_Pattern ///< Refers to a precomputed pattern. 645 CodeCompletionString *Pattern; 724 /// \brief Build a result that refers to a pattern. 725 CodeCompletionResult(CodeCompletionString *Pattern, 730 : Declaration(D), Pattern(Pattern), Priority(Priority), StartParameter(0), 738 /// \brief Build a result that refers to a pattern with an associated 740 CodeCompletionResult(CodeCompletionString *Pattern, NamedDecl *D [all...] |
/external/clang/lib/ASTMatchers/ |
ASTMatchersInternal.cpp | 369 /// Consumes the name suffix from each pattern in the set and removes the ones 385 /// A match will be a pattern that was fully consumed, that also matches the 395 struct Pattern { 399 llvm::SmallVector<Pattern, 8> Patterns; 482 for (const StringRef Pattern : Names) { 483 if (Pattern.startswith("::")) { 484 if (FullName == Pattern) 486 } else if (FullName.endswith(Pattern) && 487 FullName.drop_back(Pattern.size()).endswith("::")) {
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
WifiHelper.java | 37 import java.util.regex.Pattern; 53 static final Pattern PACKAGE_VERSION_PAT = Pattern.compile("versionCode=(\\d*)"); 553 private static final Pattern RESULT_PAT = 554 Pattern.compile("INSTRUMENTATION_RESULT: result=(.*)"); 555 private static final Pattern ERROR_PAT = 556 Pattern.compile("INSTRUMENTATION_RESULT: error=(.*)");
|