/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
UriPatternTypeTest.java | 25 UriPatternMatcher pattern = UriPatternType.get(UriPatternType.SERVLET, "/foo/*"); local 26 assertTrue(pattern.matches("/foo/asdf")); 27 assertTrue(pattern.matches("/foo/asdf?val=1")); 28 assertFalse(pattern.matches("/path/file.bar")); 29 assertFalse(pattern.matches("/path/file.bar?val=1")); 30 assertFalse(pattern.matches("/asdf")); 31 assertFalse(pattern.matches("/asdf?val=1")); 33 pattern = UriPatternType.get(UriPatternType.SERVLET, "*.bar"); 34 assertFalse(pattern.matches("/foo/asdf")); 35 assertFalse(pattern.matches("/foo/asdf?val=1")) 51 UriPatternMatcher pattern = UriPatternType.get(UriPatternType.REGEX, "\/.*\/foo"); local [all...] |
/external/ltrace/testsuite/ltrace.main/ |
parameters.exp | 39 set pattern "func_intptr(17)" 40 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 41 set pattern "func_intptr_ret(42)" 42 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 43 set pattern "func_strlen(\\\"Hello world\\\") *= *11" 44 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 45 set pattern "func_arg0(\\\"Hello another world!\\\") *= *20" 46 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 47 set pattern "func_strfixed(\\\"Hell\\\")" 48 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern [all...] |
branch_func.exp | 48 set pattern "func1(.*unfinished" 49 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 100 50 set pattern "func2(.*unfinished" 51 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 100 52 set pattern "func3(.*)" 53 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 100 54 set pattern "func2.resumed" 55 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 100 56 set pattern "func1.resumed" 57 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 10 [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/ltrace/testsuite/ltrace.minor/ |
count-record.exp | 48 set pattern " 1 rmdir" 49 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 50 set pattern " 1 fopen" 51 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 52 set pattern " 2 remove" 53 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 54 set pattern " 1 mkdir" 55 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 56 set pattern " 1 fseek" 57 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern [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();
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
arm_attr_merge.sh | 30 pattern=$2 31 found=`grep "$pattern" $file` 33 echo "pattern \"$pattern\" not found in file $file."
|
dyn_weak_ref.sh | 31 pattern=$2 32 found=`grep "$pattern" $file` 34 echo "pattern \"$pattern\" not found in file $file."
|
strong_ref_weak_def.sh | 31 pattern=$2 32 found=`grep "$pattern" $file` 34 echo "pattern \"$pattern\" not found in file $file."
|
/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 )
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
RegexFileFilter.java | 21 import java.util.regex.Pattern; 28 * See java.util.regex.Pattern for regex matching rules 48 /** The regular expression pattern that will be used to match filenames */ 49 private final Pattern pattern; field in class:RegexFileFilter 54 * @param pattern regular string expression to match 55 * @throws IllegalArgumentException if the pattern is null 57 public RegexFileFilter(String pattern) { 58 if (pattern == null) { 59 throw new IllegalArgumentException("Pattern is missing") [all...] |
/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/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/ImageMagick/MagickCore/ |
draw-private.h | 39 *pattern; local 41 pattern=draw_info->fill_pattern; 42 (void) GetOneVirtualPixelInfo(pattern,TileVirtualPixelMethod,x+ 43 pattern->tile_offset.x,y+pattern->tile_offset.y,fill,exception); 57 *pattern; local 59 pattern=draw_info->stroke_pattern; 60 (void) GetOneVirtualPixelInfo(pattern,TileVirtualPixelMethod,x+ 61 pattern->tile_offset.x,y+pattern->tile_offset.y,stroke,exception) [all...] |
token.c | 317 % GlobExpression() returns MagickTrue if the expression matches the pattern. 322 % const char *pattern,const MagickBooleanType case_insensitive) 328 % o pattern: Specifies a pointer to a text string containing a pattern. 335 const char *pattern,const MagickBooleanType case_insensitive) 345 Return on empty pattern or '*'. 347 if (pattern == (char *) NULL) 349 if (GetUTFCode(pattern) == 0) 351 if (LocaleCompare(pattern,"*") == 0) 353 p=pattern+strlen(pattern)-1 [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
PatternPathMotionTest.java | 24 Path pattern = new Path(); local 25 pattern.moveTo(100, 500); 26 pattern.lineTo(300, 1000); 28 PatternPathMotion pathMotion = new PatternPathMotion(pattern); 29 assertPathMatches(pattern, pathMotion.getPatternPath()); 39 Path pattern = new Path(); local 40 pattern.addArc(0, 0, 100, 100, 0, 180); 42 PatternPathMotion pathMotion = new PatternPathMotion(pattern); 43 assertPathMatches(pattern, pathMotion.getPatternPath());
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
UriPatternType.java | 19 import java.util.regex.Pattern; 22 * An enumeration of the available URI-pattern matching styles 29 static UriPatternMatcher get(UriPatternType type, String pattern) { 32 return new ServletStyleUriPatternMatcher(pattern); 34 return new RegexUriPatternMatcher(pattern); 50 * Matches URIs using the pattern grammar of the Servlet API and web.xml. 55 private final String pattern; field in class:UriPatternType.ServletStyleUriPatternMatcher 60 public ServletStyleUriPatternMatcher(String pattern) { 61 if (pattern.startsWith("*")) { 62 this.pattern = pattern.substring(1) 118 private final Pattern pattern; field in class:UriPatternType.RegexUriPatternMatcher [all...] |
/ndk/tests/ |
filters.py | 23 for pattern in patterns: 24 self.add_filter(pattern) 34 def add_filter(self, pattern): 35 """Adds a filter function based on the provided pattern. 64 # to appear in the full test name. The early pattern will never contain 65 # a '.', i.e. the early filter pattern for 'foo.bar.*' is 'foo'. 66 early_pattern = pattern.split('.')[0] 67 late_pattern = pattern 68 if '.' not in pattern: 69 late_pattern = pattern + '.* [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/autotest/client/cros/cellular/ |
run_all_unittests.sh | 6 python -m unittest discover -v --pattern=*test_noautorun.py > /dev/null
|