/external/libchrome/third_party/jinja2/ |
_identifier.py | 2 pattern = '·?-???-??-????????-??-???-??-????-???-??-??-??-??-??-??-??-??-??-??-??-??-????-???-????-?????-???-????-??????-???-??-??-????-???-????-???????-??-??-???-??-??-??-??????-???-??-??-??????-??-??-??-????????-???-?????-??-???-????-?????????-????-??-???-??-??-??-??-??-??-???-??-??-??-??????-???-?????-??-??-??-??-???-??-??-??-??-??-??-??-??-??-???-????-??-?????-???-????-???-??-?????-?????????-????-??-??-??-??-??-???-?????-???-???????-????-?????-??-????-?????-??-????-??-?????-??-??-??-??-??-???-??-??-??-???-??-???-????-?????-??-??-??-??-??-????-??-??-??-??-??-??-??-??-??-??-????-??-??-??-??-??-??-??-????-??-??-??-??-????-??-??-??-?' variable
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
UriPatternTypeTest.java | 26 UriPatternMatcher pattern = UriPatternType.get(UriPatternType.SERVLET, "/foo/*"); local 27 assertTrue(pattern.matches("/foo/asdf")); 28 assertTrue(pattern.matches("/foo/asdf?val=1")); 29 assertFalse(pattern.matches("/path/file.bar")); 30 assertFalse(pattern.matches("/path/file.bar?val=1")); 31 assertFalse(pattern.matches("/asdf")); 32 assertFalse(pattern.matches("/asdf?val=1")); 34 pattern = UriPatternType.get(UriPatternType.SERVLET, "*.bar"); 35 assertFalse(pattern.matches("/foo/asdf")); 36 assertFalse(pattern.matches("/foo/asdf?val=1")) 52 UriPatternMatcher pattern = UriPatternType.get(UriPatternType.REGEX, "\/.*\/foo"); local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
fnmatch.c | 51 * Filename pattern matches defined in section 2.13, "Pattern Matching Notation" 59 * number of consecutive slashes within pattern and string will NOT match; 71 * Supports BSD extensions FNM_LEADING_DIR to match pattern to the end of one 81 * state of pattern and string (rewinding pattern and string repeatedly). 99 classmatch(const char *pattern, char test, int foldcase, const char **ep) 105 const char * const mismatch = pattern; 107 if (*pattern != '[' || pattern[1] != ':') [all...] |
/external/elfutils/libasm/ |
asm_fill.c | 1 /* Determine fill pattern for a section. 44 struct FillPattern *pattern; local 52 /* Use the default pattern. */ 53 pattern = (struct FillPattern *) __libasm_default_pattern; 57 pattern = (struct FillPattern *) malloc (sizeof (struct FillPattern) 59 if (pattern == NULL) 62 pattern->len = len; 63 memcpy (pattern->bytes, bytes, len); 66 old_pattern = asmscn->pattern; 67 asmscn->pattern = pattern [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
PatternElement.java | 23 private String pattern; field in class:PatternElement 25 public void setPattern(String pattern) { 26 this.pattern = pattern; 30 return pattern; 35 for (PatternElement pattern : patterns) { 36 String result = (pattern instanceof Rule) ? ((Rule)pattern).getResult() : ""; 37 String expr = pattern.getPattern();
|
/external/clang/test/CodeGen/ |
2002-02-13-ReloadProblem.c | 12 const char *rangematch(const char *pattern, int test, int c) { 17 return pattern;
|
/external/jsoncpp/test/ |
cleantests.py | 6 for pattern in [ '*.actual', '*.actual-rewrite', '*.rewrite', '*.process-output' ]: 7 paths += glob.glob( 'data/' + pattern )
|
/external/apache-http/src/org/apache/http/protocol/ |
UriPatternMatcher.java | 39 * Maintains a map of objects keyed by a request URI pattern. 66 public void register(final String pattern, final Object handler) { 67 if (pattern == null) { 68 throw new IllegalArgumentException("URI request pattern may not be null"); 73 this.handlerMap.put(pattern, handler); 76 public void unregister(final String pattern) { 77 if (pattern == null) { 80 this.handlerMap.remove(pattern); 104 // pattern match? 107 String pattern = (String) it.next() local [all...] |
HttpRequestHandlerRegistry.java | 37 * Maintains a map of HTTP request handlers keyed by a request URI pattern. 64 public void register(final String pattern, final HttpRequestHandler handler) { 65 matcher.register(pattern, handler); 68 public void unregister(final String pattern) { 69 matcher.unregister(pattern); 84 protected boolean matchUriRequestPattern(final String pattern, final String requestUri) { 85 return matcher.matchUriRequestPattern(pattern, requestUri);
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
XMessageFormat.java | 4 public void applyPattern(String pattern) {
|
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
Matches.java | 9 import java.util.regex.Pattern; 14 private final Pattern pattern; field in class:Matches 17 this(Pattern.compile(regex)); 20 public Matches(Pattern pattern) { 21 this.pattern = pattern; 25 return (actual instanceof String) && pattern.matcher((String) actual).matches(); 29 return "matches(\"" + pattern.pattern().replaceAll("\\\\", "\\\\\\\\") + "\")" [all...] |
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/ |
SingleConversionRule.java | 28 import java.util.regex.Pattern; 31 * This class represents a conversion rule It uses a Pattern and defines for 32 * each capturing group of this Pattern a replacement text 39 final private Pattern pattern; field in class:SingleConversionRule 43 public SingleConversionRule(Pattern pattern, String replacementText) { 44 this(pattern, replacementText, null); 47 public SingleConversionRule(Pattern pattern, String replacementText, String additionalLine) [all...] |
/external/python/cpython3/Lib/unittest/test/ |
__main__.py | 5 def load_tests(loader, standard_tests, pattern): 8 pattern = pattern or "test_*.py" 11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
|
/external/libchrome/base/strings/ |
pattern.cc | 5 #include "base/strings/pattern.h" 17 // Searches for the next subpattern of |pattern| in |string|, up to the given 18 // |maximum_distance|. The subpattern extends from the start of |pattern| up to 22 constexpr bool SearchForChars(const CHAR** pattern, 28 const CHAR* pattern_start = *pattern; 32 if (*pattern == pattern_end) { 33 // If this is the end of the pattern, only accept the end of the string; 39 if (!escape && IsWildcard(**pattern)) 44 if (!escape && **pattern == '\\') { 46 next(pattern, pattern_end) [all...] |
/external/python/setuptools/docs/ |
conf.py | 94 pattern=r'(Issue )?#(?P<issue>\d+)', variable 98 pattern=r'BB Pull Request ?#(?P<bb_pull_request>\d+)', variable 102 pattern=r'Distribute #(?P<distribute>\d+)', variable 106 pattern=r'Buildout #(?P<buildout>\d+)', variable 110 pattern=r'Old Setuptools #(?P<old_setuptools>\d+)', variable 114 pattern=r'Jython #(?P<jython>\d+)', variable 118 pattern=r'Python #(?P<python>\d+)', variable 122 pattern=r'Interop #(?P<interop>\d+)', variable 126 pattern=r'Pip #(?P<pip>\d+)', variable 130 pattern=r'Packaging #(?P<packaging>\d+)' variable 134 pattern=r'[Pp]ackaging (?P<packaging_ver>\\d+(\\.\\d+)+)', variable 138 pattern=r'PEP[- ](?P<pep_number>\\d+)', variable 142 pattern=r'setuptools_svn #(?P<setuptools_svn>\\d+)', variable 146 pattern=r'^(?m)((?P<scm_version>v?\\d+(\\.\\d+){1,2}))\\n[-=]+\\n', variable [all...] |
/external/strace/tests/ |
syntax.sh | 55 local pattern="$1"; shift 57 $STRACE_EXE: $pattern 64 local pattern="$1"; shift 66 $STRACE_EXE: $pattern 73 local pattern="$1"; shift 75 $STRACE_EXE: $pattern
|
/external/strace/tests-m32/ |
syntax.sh | 55 local pattern="$1"; shift 57 $STRACE_EXE: $pattern 64 local pattern="$1"; shift 66 $STRACE_EXE: $pattern 73 local pattern="$1"; shift 75 $STRACE_EXE: $pattern
|
/external/strace/tests-mx32/ |
syntax.sh | 55 local pattern="$1"; shift 57 $STRACE_EXE: $pattern 64 local pattern="$1"; shift 66 $STRACE_EXE: $pattern 73 local pattern="$1"; shift 75 $STRACE_EXE: $pattern
|
/cts/tests/tests/transition/src/android/transition/cts/ |
PatternPathMotionTest.java | 34 Path pattern = new Path(); local 35 pattern.moveTo(100, 500); 36 pattern.lineTo(300, 1000); 38 PatternPathMotion pathMotion = new PatternPathMotion(pattern); 39 assertPathMatches(pattern, pathMotion.getPatternPath()); 50 Path pattern = new Path(); local 51 pattern.addArc(0, 0, 100, 100, 0, 180); 53 PatternPathMotion pathMotion = new PatternPathMotion(pattern); 54 assertPathMatches(pattern, pathMotion.getPatternPath()); 64 Path pattern = new Path() local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ |
MathRuntimeException.java | 46 * Pattern used to build the message. 48 private final Localizable pattern; field in class:MathRuntimeException 59 * @param pattern format specifier 64 public MathRuntimeException(final String pattern, final Object ... arguments) { 65 this(new DummyLocalizable(pattern), arguments); 72 * @param pattern format specifier 76 public MathRuntimeException(final Localizable pattern, final Object ... arguments) { 77 this.pattern = pattern; 90 this.pattern = LocalizedFormats.SIMPLE_MESSAGE [all...] |
ConvergenceException.java | 44 * @param pattern format specifier 50 public ConvergenceException(String pattern, Object ... arguments) { 51 this(new DummyLocalizable(pattern), arguments); 57 * @param pattern format specifier 61 public ConvergenceException(Localizable pattern, Object ... arguments) { 62 super(pattern, arguments); 77 * @param pattern format specifier 83 public ConvergenceException(Throwable cause, String pattern, Object ... arguments) { 84 this(cause, new DummyLocalizable(pattern), arguments); 91 * @param pattern format specifie [all...] |
MathConfigurationException.java | 43 * @param pattern format specifier 47 public MathConfigurationException(String pattern, Object ... arguments) { 48 this(new DummyLocalizable(pattern), arguments); 54 * @param pattern format specifier 58 public MathConfigurationException(Localizable pattern, Object ... arguments) { 59 super(pattern, arguments); 74 * @param pattern format specifier 78 public MathConfigurationException(Throwable cause, String pattern, Object ... arguments) { 79 this(cause, new DummyLocalizable(pattern), arguments); 86 * @param pattern format specifie [all...] |
/external/ImageMagick/MagickCore/ |
token.c | 336 % GlobExpression() returns MagickTrue if the expression matches the pattern. 341 % const char *pattern,const MagickBooleanType case_insensitive) 347 % o pattern: Specifies a pointer to a text string containing a pattern. 354 const char *pattern,const MagickBooleanType case_insensitive) 364 Return on empty pattern or '*'. 366 if (pattern == (char *) NULL) 368 if (GetUTFCode(pattern) == 0) 370 if (LocaleCompare(pattern,"*") == 0) 372 p=pattern+strlen(pattern)-1 [all...] |
/external/autotest/client/cros/cellular/ |
run_all_unittests.sh | 6 python -m unittest discover -v --pattern=*test_noautorun.py > /dev/null
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/ |
MatchesPattern.java | 7 import java.util.regex.Pattern; 10 private final Pattern pattern; field in class:MatchesPattern 12 public MatchesPattern(Pattern pattern) { 13 this.pattern = pattern; 18 return pattern.matcher(item).matches(); 23 description.appendText("a string matching the pattern '" + pattern + "'") [all...] |