/frameworks/base/core/java/android/net/ |
WebAddress.java | 25 import java.util.regex.Pattern; 60 static Pattern sAddressPattern = Pattern.compile( 66 /* anchor */ ".*", Pattern.CASE_INSENSITIVE);
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
SNIHostName.java | 36 import java.util.regex.Pattern; 293 * the <a href="{@docRoot}/java/util/regex/Pattern.html#sum"> 294 * regular expression pattern</a> 327 private final Pattern pattern; field in class:SNIHostName.SNIHostNameMatcher 333 * the <a href="{@docRoot}/java/util/regex/Pattern.html#sum"> 334 * regular expression pattern</a> 343 pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE) [all...] |
/external/llvm/lib/IR/ |
DiagnosticInfo.cpp | 40 std::shared_ptr<Regex> Pattern; 45 Pattern = std::make_shared<Regex>(Val); 47 if (!Pattern->isValid(RegexError)) 62 PassRemarks("pass-remarks", cl::value_desc("pattern"), 71 "pass-remarks-missed", cl::value_desc("pattern"), 81 "pass-remarks-analysis", cl::value_desc("pattern"), 178 return PassRemarksOptLoc.Pattern && 179 PassRemarksOptLoc.Pattern->match(getPassName()); 183 return PassRemarksMissedOptLoc.Pattern && 184 PassRemarksMissedOptLoc.Pattern->match(getPassName()) [all...] |
/cts/libs/vogar-expect/src/vogar/ |
ExpectationStore.java | 36 import java.util.regex.Pattern; 44 * "java.util"), its expected result, and an optional pattern to match 46 * <li>Failure expectations include a pattern that may match the output of any 56 /** The pattern to use when no expected output is specified */ 57 private static final Pattern MATCH_ALL_PATTERN 58 = Pattern.compile(".*", Pattern.MULTILINE | Pattern.DOTALL); 64 private static final int PATTERN_FLAGS = Pattern.MULTILINE | Pattern.DOTALL 192 Pattern pattern = MATCH_ALL_PATTERN; local [all...] |
/external/ltp/testcases/kernel/fs/doio/ |
growfiles.c | 172 #define PATTERN_ASCII 1 /* repeating alphabet letter pattern */ 186 #define PATTERN_ALT 4 /* alternating bit pattern (i.e. 0x5555555...) */ 187 #define PATTERN_CHKER 5 /* checkerboard pattern (i.e. 0xff00ff00ff00...) */ 188 #define PATTERN_CNTING 6 /* counting pattern (i.e. 0 - 07, 0 - 07, ...) */ 218 int Pattern = PATTERN_OFFSET; /* This pattern is 64 bit word based */ 220 int Pattern = PATTERN_ASCII; 263 * generate pattern 265 * write with wrong pattern 268 * The second process truncated the file after the pattern wa [all...] |
/external/jsilver/src/org/clearsilver/jni/ |
JNI.java | 20 import java.util.regex.Pattern; 72 Pattern.quote(File.pathSeparator));
|
/external/llvm/utils/TableGen/ |
DAGISelMatcherGen.cpp | 49 const PatternToMatch &Pattern; 52 /// PatWithNoTypes - This is a clone of Pattern.getSrcPattern() that starts 85 /// physreg input to the pattern. The first elt is the Register node, the 86 /// second is the recorded slot number the input pattern match saved it in. 96 MatcherGen(const PatternToMatch &pattern, const CodeGenDAGPatterns &cgp); 129 /// GetInstPatternNode - Get the pattern for an instruction. 147 MatcherGen::MatcherGen(const PatternToMatch &pattern, 149 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0), 151 // We need to produce the matcher tree for the patterns source pattern. To d [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/examples/ |
SlashdotPolicyExample.java | 33 import java.util.regex.Pattern; 77 .allowAttributes("lang").matching(Pattern.compile("[a-zA-Z]{2,20}"))
|
/external/skia/src/core/ |
SkRecordOpts.cpp | 16 // Most of the optimizations in this file are pattern-based. These are all defined as structs with: 21 // Run a pattern-based optimization once across the SkRecord, returning true if it made any changes. 22 // It looks for spans which match Pass::Match, and when found calls onMatch() with that pattern, 40 typedef Pattern<Is<SetMatrix>, 45 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { 58 typedef Pattern<Is<SetMatrix>, 61 Pattern; 63 bool onMatch(SkRecord* record, Pattern* pattern, int begin, int end) { 77 typedef Pattern<Is<Save> [all...] |
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/ |
LineConverter.java | 30 import java.util.regex.Pattern; 53 Pattern pattern; local 59 pattern = conversionRule.getPattern(); 60 matcher = pattern.matcher(text);
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ |
lib.h | 58 IN CHAR16 *Pattern
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
KeyguardSecurityModel.java | 34 Pattern, // Unlock by drawing a pattern. 83 return SecurityMode.Pattern;
|
/frameworks/native/include/media/hardware/ |
CryptoAPI.h | 58 struct Pattern { 59 // Number of blocks to be encrypted in the pattern. If zero, pattern 63 // Number of blocks to be skipped (left clear) in the pattern. If zero, 64 // pattern encryption is inoperative. 107 const Pattern &pattern,
|
/hardware/interfaces/drm/1.0/ |
ICryptoPlugin.hal | 88 * @param pattern the crypto pattern to use 111 Pattern pattern, vec<SubSample> subSamples,
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
SSLUtilsTest.java | 24 import java.util.regex.Pattern; 34 assertTrue(Pattern.matches(SAFE_SCHEME_PATTERN, s));
|
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/ |
UiPerformanceTest.java | 45 import java.util.regex.Pattern; 66 private static final Pattern JANKINESS_PATTERN = 67 Pattern.compile("^number of jankiness: (\\d+)"); 68 private static final Pattern MEDIAN_FRAME_LATENCY_PATTERN = 69 Pattern.compile("^median of frame latency: (\\d+)"); 70 private static final Pattern FRAME_RATE_PATTERN = 71 Pattern.compile("^average frame rate: (\\d+\\.\\d+)"); 72 private static final Pattern[] mPatterns = {
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
AbiFormatter.java | 23 import java.util.regex.Pattern; 59 Matcher m = Pattern.compile(ABI_REGEX).matcher(str);
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
AsYouTypeFormatter.java | 26 import java.util.regex.Pattern; 44 // The pattern from numberFormat that is currently used to create formattingTemplate. 69 // A pattern that is used to match character classes in regular expressions. An example of a 71 private static final Pattern CHARACTER_CLASS_PATTERN = Pattern.compile("\\[([^\\[\\]])*\\]"); 77 private static final Pattern STANDALONE_DIGIT_PATTERN = Pattern.compile("\\d(?=[^,}][^,}])"); 79 // A pattern that is used to determine if a numberFormat under availableFormats is eligible to be 84 private static final Pattern ELIGIBLE_FORMAT_PATTERN = 85 Pattern.compile("[" + PhoneNumberUtil.VALID_PUNCTUATION + "]* 154 String pattern = numberFormat.getPattern(); local [all...] |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/ |
CollectorUtil.java | 36 import java.util.regex.Pattern; 60 Pattern p = Pattern.compile(ADB_LS_PATTERN); 148 Pattern p = Pattern.compile(TEST_METRICS_PATTERN);
|
/cts/hostsidetests/os/src/android/os/cts/ |
OsHostTests.java | 39 import java.util.regex.Pattern; 54 private static final Pattern HOST_PATTERN = Pattern.compile(".*hosts:\"(.*?)\""); 115 Pattern verifierPattern = Pattern.compile(FILTER_VERIFIER_REGEXP);
|
/cts/tests/backup/src/android/backup/cts/ |
BackupQuotaTest.java | 32 import java.util.regex.Pattern; 100 Pattern pattern = Pattern.compile("^Backup Manager currently (enabled|disabled)$"); local 101 Matcher matcher = pattern.matcher(output.trim()); 114 Pattern pattern = Pattern.compile("\\(formerly (.*)\\)$"); local 115 Matcher matcher = pattern.matcher(output);
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
RootProcessScanner.java | 24 import java.util.regex.Pattern; 30 private static final Pattern ROOT_PROCESS_WHITELIST_PATTERN = getRootProcessWhitelistPattern( 45 /** Combine the individual patterns into one super pattern. */ 46 private static Pattern getRootProcessWhitelistPattern(String... patterns) { 54 return Pattern.compile(rootProcessPattern.toString()); 100 return pathname.isDirectory() && Pattern.matches("\\d+", pathname.getName());
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/ |
RegularExpressionDxe.c | 41 regular expression string specified by Pattern.
43 @param Pattern A pointer to a NULL terminated string that represents the
51 the regular expression Pattern using the regular expression
79 IN CHAR16 *Pattern,
109 // Compile pattern
111 Start = (OnigUChar*)Pattern;
246 Checks if the input string matches to the regular expression pattern.
253 regular expression string specified by Pattern.
255 @param Pattern A pointer to a NULL terminated string that represents the
264 the regular expression Pattern using the regular expression [all...] |
/external/apache-http/android/src/android/net/http/ |
LegacyHttpDateTime.java | 23 import java.util.regex.Pattern; 68 private static final Pattern HTTP_DATE_RFC_PATTERN = 69 Pattern.compile(HTTP_DATE_RFC_REGEXP); 70 private static final Pattern HTTP_DATE_ANSIC_PATTERN = 71 Pattern.compile(HTTP_DATE_ANSIC_REGEXP);
|
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 23 import java.util.regex.Pattern; 68 private static final Pattern HTTP_DATE_RFC_PATTERN = 69 Pattern.compile(HTTP_DATE_RFC_REGEXP); 70 private static final Pattern HTTP_DATE_ANSIC_PATTERN = 71 Pattern.compile(HTTP_DATE_ANSIC_REGEXP);
|