/frameworks/ex/common/java/com/android/common/ |
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);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
MimeBodyPart.java | 26 import java.util.regex.Pattern; 36 private static final Pattern REMOVE_OPTIONAL_BRACKETS = Pattern.compile("^<?([^>]+)>?$"); 38 private static final Pattern END_OF_LINE = Pattern.compile("\r?\n");
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeBodyPart.java | 27 import java.util.regex.Pattern; 40 private static final Pattern REMOVE_OPTIONAL_BRACKETS = Pattern.compile("^<?([^>]+)>?$"); 42 private static final Pattern END_OF_LINE = Pattern.compile("\r?\n");
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
HtmlConversationTemplates.java | 31 import java.util.regex.Pattern; 47 * Pattern for HTML img tags with a "src" attribute where the value is an absolutely-specified 52 * Pattern documentation: 53 * There are 3 top-level parts of the pattern: 69 private static final Pattern sAbsoluteImgUrlPattern = Pattern.compile( 70 "(<\\s*img\\s+(?:[^>]*\\s+)?)src(\\s*=[\\s'\"]*http)", Pattern.CASE_INSENSITIVE 71 | Pattern.MULTILINE);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ |
VersionCheck.java | 37 import java.util.regex.Pattern; 57 * Pattern to get the minimum plugin version supported by the SDK. This is read from 60 private final static Pattern sPluginVersionPattern = Pattern.compile( 62 private final static Pattern sSourcePropPattern = Pattern.compile(
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
BatteryStatsDetailedInfoParser.java | 28 import java.util.regex.Pattern; 45 private static final Pattern TIME_ON_BATTERY_PATTERN = Pattern.compile( 51 private static final Pattern SCREEN_OFF_TIME_PATTERN = Pattern.compile("^\\s*Time on battery "
|
LogcatParser.java | 36 import java.util.regex.Pattern; 60 private static final Pattern THREADTIME_LINE = 62 Pattern.compile( 74 private static final Pattern TIME_LINE = Pattern.compile( 81 private static final Pattern SYSTEM_SERVER_CRASH = Pattern.compile( 86 private static final Pattern JAVA_CRASH_PROCESS_PID = Pattern.compile( 93 private static final Pattern JAVA_PROC_START = Pattern.compile("Calling main entry (.+)") [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
DAGISelMatcherGen.cpp | 51 const PatternToMatch &Pattern; 54 /// PatWithNoTypes - This is a clone of Pattern.getSrcPattern() that starts 86 /// physreg input to the pattern. The first elt is the Register node, the 87 /// second is the recorded slot number the input pattern match saved it in. 97 MatcherGen(const PatternToMatch &pattern, const CodeGenDAGPatterns &cgp); 125 /// GetInstPatternNode - Get the pattern for an instruction. 143 MatcherGen::MatcherGen(const PatternToMatch &pattern, 145 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0), 147 // We need to produce the matcher tree for the patterns source pattern. To d [all...] |
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
HermeticLaunchTest.java | 57 import java.util.regex.Pattern; 92 private static final Pattern LAUNCH_ENTRY=Pattern.compile("^\\d*-\\d*\\s*\\d*:\\d*:\\d*." 94 private static final Pattern TRACE_ENTRY1 = Pattern.compile( 97 private static final Pattern TRACE_ENTRY2 = Pattern.compile( 100 private static final Pattern ATRACE_BEGIN = Pattern 102 private static final Pattern ATRACE_END = Pattern.compile("tracing_mark_write: E") [all...] |
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
AtraceHostTest.java | 36 import java.util.regex.Pattern; 57 private static final Pattern sLineWithTgid = Pattern.compile( 64 private static final Pattern sLineWithIrqInfo = Pattern.compile( 71 private static final Pattern sLineLegacy = Pattern.compile(
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
ActivityManagerConfigChangeTests.java | 28 import java.util.regex.Pattern; 166 private static final Pattern sConfigurationPattern = Pattern.compile( 194 private static Pattern sDeviceDensityPattern = 195 Pattern.compile(".*?-(l|m|tv|h|xh|xxh|xxxh|\\d+)dpi-.*?"); 220 private static final Pattern sFontSizePattern = Pattern.compile("^(.+): fontPixelSize=(.+)$");
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
BugreportParser.java | 32 import java.util.regex.Pattern; 41 private static final Pattern SECTION_BEGIN = Pattern.compile( 43 private static final Pattern SECTION_BEGIN_NO_CMD = Pattern.compile( 45 private static final Pattern SECTION_END = Pattern.compile(
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/ |
CompactConstructor.java | 25 import java.util.regex.Pattern; 41 private static final Pattern GUESS_COMPACT = Pattern 43 private static final Pattern FIRST_PATTERN = Pattern.compile("(\\p{Alpha}.*)(\\s*)\\((.*?)\\)"); 44 private static final Pattern PROPERTY_NAME_PATTERN = Pattern
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pDevice.java | 23 import java.util.regex.Pattern; 123 /** Detailed device string pattern with WFD info 129 private static final Pattern detailedDevicePattern = Pattern.compile( 141 /** 2 token device address pattern 146 private static final Pattern twoTokenPattern = Pattern.compile( 150 /** 3 token device address pattern 155 private static final Pattern threeTokenPattern = Pattern.compile [all...] |
/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
DefaultCarrierConfigService.java | 23 import java.util.regex.Pattern; 228 Pattern imsiPattern = Pattern.compile(xmlImsi, Pattern.CASE_INSENSITIVE); 252 Pattern spPattern = Pattern.compile(xmlSP, Pattern.CASE_INSENSITIVE);
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
AccountWithDataSet.java | 38 import java.util.regex.Pattern; 47 private static final Pattern STRINGIFY_SEPARATOR_PAT = 48 Pattern.compile(Pattern.quote(STRINGIFY_SEPARATOR)); 49 private static final Pattern ARRAY_STRINGIFY_SEPARATOR_PAT = 50 Pattern.compile(Pattern.quote(ARRAY_STRINGIFY_SEPARATOR));
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
AccountWithDataSet.java | 32 import java.util.regex.Pattern; 50 private static final Pattern STRINGIFY_SEPARATOR_PAT = 51 Pattern.compile(Pattern.quote(STRINGIFY_SEPARATOR)); 52 private static final Pattern ARRAY_STRINGIFY_SEPARATOR_PAT = 53 Pattern.compile(Pattern.quote(ARRAY_STRINGIFY_SEPARATOR));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
AttributeInfo.java | 44 import java.util.regex.Pattern; 186 private final static Pattern INTEGER_PATTERN = Pattern.compile("-?[0-9]+"); //$NON-NLS-1$ 187 private final static Pattern FLOAT_PATTERN = 188 Pattern.compile("-?[0-9]?(\\.[0-9]+)?"); //$NON-NLS-1$ 189 private final static Pattern DIMENSION_PATTERN = 190 Pattern.compile("-?[0-9]+(\\.[0-9]+)?(dp|dip|sp|px|pt|in|mm)"); //$NON-NLS-1$
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
PackageManagerOTATestUtils.java | 29 import java.util.regex.Pattern; 196 Pattern perm = Pattern.compile(String.format("^.*%s.*granted=true.*$", permission), 197 Pattern.MULTILINE); 220 Pattern flags = Pattern.compile("^.*flags=\\[(.*?)\\]$", Pattern.MULTILINE);
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
Rm.c | 208 CHAR16 *Pattern;
231 Pattern = NULL;
234 Pattern = StrnCatGrow(&Pattern, &Size, TempLocation , 0);
235 Pattern = StrnCatGrow(&Pattern, &Size, L"\\" , 0);
243 if (Pattern == NULL || SearchString == NULL) {
247 if (gUnicodeCollation->MetaiMatch(gUnicodeCollation, Pattern, SearchString)) {
252 SHELL_FREE_NON_NULL(Pattern );
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIASession.cpp | 205 llvm::StringRef Pattern, 209 if (!Pattern.empty()) 210 Utf16Pattern = CComBSTR(Pattern.data()); 227 llvm::StringRef Pattern, 229 auto SourceFiles = findSourceFiles(Compiland, Pattern, Flags); 236 DIASession::findCompilandsForSourceFile(llvm::StringRef Pattern, 238 auto File = findOneSourceFile(nullptr, Pattern, Flags); 245 DIASession::findOneCompilandForSourceFile(llvm::StringRef Pattern, 247 auto Compilands = findCompilandsForSourceFile(Pattern, Flags);
|
/libcore/ojluni/src/main/java/java/util/regex/ |
Pattern.java | 46 * an instance of this class. The resulting pattern can then be used to create 50 * matcher, so many matchers can share the same pattern. 55 * Pattern p = Pattern.{@link #compile compile}("a*b"); 65 * boolean b = Pattern.matches("a*b", "aaaaab");</pre></blockquote> 68 * is less efficient since it does not allow the compiled pattern to be reused. 536 * <tt>"\\u2014"</tt>, while not equal, compile into the same pattern, which 560 * The script names supported by <code>Pattern</code> are the valid script names 569 * The block names supported by <code>Pattern</code> are the valid block names 921 private final String pattern; field in class:Pattern 980 public String pattern() { method in class:Pattern [all...] |
/cts/hostsidetests/security/src/android/security/cts/ |
AdbUtils.java | 35 import java.util.regex.Pattern; 136 * @param pattern pattern of info being disclosed 140 String pocName, ITestDevice device, int timeout, String pattern) throws Exception { 143 if (Pattern.matches(pattern, pocOutput)) 147 if (Pattern.matches(pattern, logcatOutput))
|
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
ActivityManagerTestBase.java | 36 import java.util.regex.Pattern; 516 final Pattern activityPattern = Pattern.compile("(.*) " + getWindowName(name) + " (.*)"); 680 Pattern pattern = Pattern.compile( local 683 Matcher matcher = pattern.matcher(displays); [all...] |
/cts/libs/vogar-expect/src/vogar/util/ |
Strings.java | 33 import java.util.regex.Pattern; 40 private static final Pattern XML_INVALID_CHARS 41 = Pattern.compile("[^\\u0009\\u000A\\u000D\\u0020-\\uD7FF\\uE000-\\uFFFD]+");
|