/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
DescriptorsUtils.java | 64 import java.util.regex.Pattern; 580 Pattern p_link = Pattern.compile("\\{@link\\s+([^#\\}\\s]*)(?:#([^\\s\\}]*))?(?:\\s*([^\\}]*))?\\}(.*)"); //$NON-NLS-1$ 582 Pattern p_code = Pattern.compile("<code>(.+?)</code>(.*)"); //$NON-NLS-1$ 584 Pattern p_elem = Pattern.compile("@([\\w -]+)@(.*)"); //$NON-NLS-1$ 586 Pattern p_break = Pattern.compile("@@(.*)"); //$NON-NLS-1$ 588 Pattern p_open = Pattern.compile("([@<\\{])(.*)"); //$NON-NLS-1 [all...] |
/build/kati/ |
strutil.h | 96 class Pattern { 98 explicit Pattern(StringPiece pat);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_PlaylistsTest.java | 29 import java.util.regex.Pattern; 125 assertTrue(Pattern.matches("content://media/internal/audio/playlists/\\d+",
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
WordWidget.java | 37 import java.util.regex.Pattern; 103 Matcher matcher = Pattern.compile(WOTD_PATTERN).matcher(pageContent);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/ |
PlatformMemTest.h | 76 // This describes the pattern for testing all memory cells
81 VOID *Pattern; // Array of patterns
90 EFI_PHYSICAL_ADDRESS *Pattern; // Array of patterns
|
/external/autotest/client/deps/fakemodem/src/ |
fakemodem.c | 29 } Pattern; 118 Pattern *pat; 155 " as a command-response pattern\n", 229 "Path to pattern file", NULL}, 456 Pattern *pat = NULL; 486 pat = (Pattern *)g_ptr_array_index (fakemodem->patterns, i); 529 Pattern *pat; 535 pat = (Pattern *)g_ptr_array_index (fakemodem->patterns, i); 573 Pattern *pat; 577 pat = (Pattern *)g_ptr_array_index (fakemodem->patterns, i) [all...] |
/external/markdown/markdown/extensions/ |
wikilinks.py | 114 class WikiLinks(markdown.inlinepatterns.Pattern): 115 def __init__(self, pattern, config): 116 markdown.inlinepatterns.Pattern.__init__(self, pattern)
|
/external/markdown/markdown/ |
inlinepatterns.py | 6 objects, one per pattern. Pattern objects must be instances of classes 7 that extend markdown.Pattern. Each pattern object uses a single regular 10 pattern.getCompiledRegExp() # returns a regular expression 12 pattern.handleMatch(m) # takes a match object and returns 15 All of python markdown's built-in patterns subclass from Pattern, 21 Pattern takes care of adding the "^(.*)" and "(.*)!". 112 The pattern classes 116 class Pattern [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue150/ |
YamlLoadAsIssueTest.java | 28 import java.util.regex.Pattern; 74 yaml.addImplicitResolver(new Tag("!wheel"), Pattern.compile("w#\\d+"), "w");
|
/external/vogar/src/vogar/android/ |
AdbTarget.java | 26 import java.util.regex.Pattern; 144 Matcher m = Pattern.compile("^uid=\\d+\\((\\S+)\\) gid=\\d+\\(\\S+\\).*").matcher(line);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiSelector.java | 22 import java.util.regex.Pattern; 102 static UiSelector patternBuilder(UiSelector container, UiSelector pattern) { 104 new UiSelector().containerSelector(container).patternSelector(pattern)); 134 return buildSelector(SELECTOR_TEXT_REGEX, Pattern.compile(regex)); 186 return buildSelector(SELECTOR_CLASS_REGEX, Pattern.compile(regex)); 238 return buildSelector(SELECTOR_DESCRIPTION_REGEX, Pattern.compile(regex)); 303 return buildSelector(SELECTOR_RESOURCE_ID_REGEX, Pattern.compile(regex)); 581 return buildSelector(SELECTOR_PACKAGE_NAME_REGEX, Pattern.compile(regex)); 653 Pattern getPattern(int criterion) { 654 return (Pattern) mSelectorAttributes.get(criterion, null) [all...] |
/hardware/interfaces/drm/1.0/default/ |
CryptoPlugin.cpp | 61 const Pattern& pattern, const hidl_vec<SubSample>& subSamples, 94 android::CryptoPlugin::Pattern legacyPattern; 95 legacyPattern.mEncryptBlocks = pattern.encryptBlocks; 96 legacyPattern.mSkipBlocks = pattern.skipBlocks;
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
MotorolaHiddenMenuKeySequence.java | 26 import java.util.regex.Pattern; 46 * @return true if the input matches any pattern 92 + "key sequence: %d != %d, key pattern %d != %d", 109 if ((Pattern.compile(hiddenKeyPatternArray[i])).matcher(input).matches()) { 150 "MotorolaHiddenMenuKeySequence.sendIntent", "handleHiddenMenu Key Pattern Exception", e);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
SpannableStringUtils.java | 31 import java.util.regex.Pattern; 143 * @param regex the regex pattern to be used as the separator. 160 final Matcher matcher = Pattern.compile(regex).matcher(charSequence);
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewNode.java | 24 import java.util.regex.Pattern; 118 public void filter(Pattern pattern) { 119 if (pattern == null || pattern.pattern().length() == 0) { 122 filtered = pattern.matcher(shortName).find() || pattern.matcher(id).find();
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
ClassPathScanner.java | 29 import java.util.regex.Pattern; 224 return classPath.split(Pattern.quote(File.pathSeparator));
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
ActivityManagerReplaceWindowTests.java | 24 import java.util.regex.Pattern;
|
/development/apps/BuildWidget/src/com/android/buildwidget/ |
BuildWidget.java | 35 import java.util.regex.Pattern;
|
/development/tools/bugreport/src/com/android/bugreport/util/ |
Lines.java | 24 import java.util.regex.Pattern;
|
/external/desugar/java/com/google/devtools/common/options/ |
Converters.java | 23 import java.util.regex.Pattern; 312 * Checks whether a string is a valid regex pattern and compiles it. 314 public static class RegexPatternConverter implements Converter<Pattern> { 317 public Pattern convert(String input) throws OptionsParsingException { 319 return Pattern.compile(input);
|
/external/smali/util/src/main/java/org/jf/util/ |
ClassFileNameHandler.java | 41 import java.util.regex.Pattern; 236 private static Pattern reservedFileNameRegex = Pattern.compile("^(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])(\\..*)?$", 237 Pattern.CASE_INSENSITIVE);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
CryptoPlugin.cpp | 36 Mode mode, const Pattern &/* pattern */, const void* srcPtr,
|
/frameworks/av/media/libmedia/include/media/ |
CryptoHal.h | 57 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDrm.h | 100 CryptoPlugin::Pattern pattern; member in struct:android::NuPlayerDrm::CryptoInfo
|
/libcore/ojluni/src/main/java/java/util/regex/ |
Matcher.java | 33 * </code>character sequence<code>} by interpreting a {@link Pattern}. 35 * <p> A matcher is created from a pattern by invoking the pattern's {@link 36 * Pattern#matcher matcher} method. Once created, a matcher can be used to 42 * input sequence against the pattern. </p></li> 45 * input sequence, starting at the beginning, against the pattern. </p></li> 48 * the next subsequence that matches the pattern. </p></li> 60 * methods. The way that the region boundaries interact with some pattern 76 * href="Pattern.html#cg">capturing group</a> in the pattern as well as a tota 110 private Pattern pattern; field in class:Matcher 182 public Pattern pattern() { method in class:Matcher [all...] |