Searched refs:pattern (Results 1 - 25 of 1271) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-1236.js30 pattern = RegExp("",""); // RegExp is irrelevant, as long as it's not an atom.
32 pattern.exec(string); // Ensure that JSRegExp is compiled.
33 pattern["@"] = 42; // Change layout of JSRegExp object.
34 pattern.exec(string); // Call again to trigger bug in stub.
/external/libpng/tests/
H A Dpngstest5 # tests/pngstest pattern
7 # Runs pngstest on all the contrib/pngsuite/[^x]*${pattern}.png files
8 # NOTE: pattern is used to name the temporary files pngstest generates
10 pattern="$1"
12 exec ./pngstest --strict --tmpfile "${pattern}" --log ${1+"$@"}\
13 "${srcdir}/contrib/pngsuite/"[a-wyz]*${pattern}".png"
/external/ltrace/testsuite/ltrace.main/
H A Dparameters.exp39 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...]
H A Dbranch_func.exp48 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...]
/external/chromium_org/third_party/WebKit/Source/modules/vibration/
H A DNavigatorVibration.idl24 // FIXME: The contents of the pattern argument should be clamped.
26 boolean vibrate([Clamp] unsigned long pattern);
27 boolean vibrate(sequence<unsigned long> pattern);
/external/chromium_org/chrome/common/
H A Dcontent_settings_pattern_serializer.cc12 const ContentSettingsPattern& pattern,
14 IPC::WriteParam(m, pattern.is_valid_);
15 IPC::WriteParam(m, pattern.parts_);
22 ContentSettingsPattern* pattern) {
23 DCHECK(pattern);
24 return IPC::ReadParam(m, iter, &pattern->is_valid_) &&
25 IPC::ReadParam(m, iter, &pattern->parts_);
11 WriteToMessage( const ContentSettingsPattern& pattern, IPC::Message* m) argument
19 ReadFromMessage( const IPC::Message* m, PickleIterator* iter, ContentSettingsPattern* pattern) argument
/external/ltrace/testsuite/ltrace.minor/
H A Dcount-record.exp48 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...]
H A Dtrace-fork.exp32 set pattern {^[0-9]* fork}
33 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
35 set pattern {^[0-9]* printf}
36 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
38 set pattern {^[0-9]* puts}
39 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
41 set pattern {^[0-9]* wait}
42 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
44 set pattern {^[0-9]* sleep}
45 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern
[all...]
/external/elfutils/0.153/libasm/
H A Dasm_fill.c1 /* 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
[all...]
/external/jarjar/src/main/com/tonicsystems/jarjar/
H A DPatternElement.java23 private String pattern; field in class:PatternElement
25 public void setPattern(String pattern) { argument
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/chromium_org/tools/gn/
H A Dsubstitution_pattern_unittest.cc10 SubstitutionPattern pattern; local
12 EXPECT_TRUE(pattern.Parse("This is a literal", NULL, &err));
14 ASSERT_EQ(1u, pattern.ranges().size());
15 EXPECT_EQ(SUBSTITUTION_LITERAL, pattern.ranges()[0].type);
16 EXPECT_EQ("This is a literal", pattern.ranges()[0].literal);
20 SubstitutionPattern pattern; local
22 EXPECT_TRUE(pattern.Parse(
25 ASSERT_EQ(5u, pattern.ranges().size());
27 EXPECT_EQ(SUBSTITUTION_LITERAL, pattern.ranges()[0].type);
28 EXPECT_EQ("AA", pattern
37 SubstitutionPattern pattern; local
[all...]
H A Dpattern_unittest.cc6 #include "tools/gn/pattern.h"
11 const char* pattern; member in struct:__anon16480::Case
20 // Empty pattern matches only empty string.
56 Pattern pattern(c.pattern);
57 bool result = pattern.MatchesString(c.candidate);
58 EXPECT_EQ(c.expected_match, result) << i << ": \"" << c.pattern
/external/clang/test/CodeGen/
H A D2002-02-13-ReloadProblem.c12 const char *rangematch(const char *pattern, int test, int c) { argument
17 return pattern;
/external/apache-http/src/org/apache/http/protocol/
H A DUriPatternMatcher.java39 * Maintains a map of objects keyed by a request URI pattern.
66 public void register(final String pattern, final Object handler) { argument
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) { argument
77 if (pattern == null) {
80 this.handlerMap.remove(pattern);
104 // pattern match?
107 String pattern
122 matchUriRequestPattern(final String pattern, final String requestUri) argument
[all...]
H A DHttpRequestHandlerRegistry.java37 * Maintains a map of HTTP request handlers keyed by a request URI pattern.
64 public void register(final String pattern, final HttpRequestHandler handler) { argument
65 matcher.register(pattern, handler);
68 public void unregister(final String pattern) { argument
69 matcher.unregister(pattern);
84 protected boolean matchUriRequestPattern(final String pattern, final String requestUri) { argument
85 return matcher.matchUriRequestPattern(pattern, requestUri);
/external/chromium_org/tools/gyp/test/mac/postbuilds/script/
H A Dshared_library_postbuild.sh11 pattern="${1}"
13 if [ $pattern != "a|b" ]; then
H A Dstatic_library_postbuild.sh11 pattern="${1}"
13 if [ $pattern != "a|b" ]; then
/external/chromium_org/extensions/common/
H A Durl_pattern_unittest.cc25 const char* pattern; member in struct:__anon8255::__anon8256
43 URLPattern pattern(URLPattern::SCHEME_ALL);
45 pattern.Parse(kInvalidPatterns[i].pattern))
46 << kInvalidPatterns[i].pattern;
52 URLPattern pattern(URLPattern::SCHEME_ALL);
54 pattern.Parse(null_host))
61 const char* pattern; member in struct:__anon8255::__anon8257
86 URLPattern pattern(URLPattern::SCHEME_ALL);
88 pattern
299 const char* pattern; member in struct:__anon8255::MatchPatterns
436 const char* pattern; member in struct:__anon8255::GetAsStringPatterns
[all...]
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/
H A Dkarma.conf.js34 {pattern: 'bower_components/**/*.{js,html,css,map}', included: false},
38 {pattern: 'base/*.html', included: false},
39 {pattern: 'lib/*.html', included: false},
40 {pattern: 'model/*.html', included: false},
42 {pattern: 'ui/*.html', included: false},
/external/chromium_org/v8/test/mjsunit/
H A Dregexp-standalones.js35 var pattern = /^\d/gm; variable
36 var result = string.match(pattern);
41 pattern = /\d$/gm;
42 result = string.match(pattern);
48 pattern = /^\d/gm;
49 result = string.match(pattern);
53 pattern = /\d$/gm;
54 result = string.match(pattern);
59 pattern = /[\S]+/;
61 result = string.match(pattern);
[all...]
/external/chromium_org/third_party/skia/tools/
H A Dmisc_utils.py17 def search_within_stream(input_stream, pattern, default=None):
25 pattern = '^root(:[^:]*){4}:(?P<return>[^:]*)'
27 return search_within_file(stream, pattern)
32 pattern: (string) to be passed to re.compile
38 pattern_object = re.compile(pattern)
46 def search_within_string(input_string, pattern, default=None):
51 pattern: (string) to be passed to re.compile
57 match = re.search(pattern, input_string)
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowVibrator.java13 private long[] pattern; field in class:ShadowVibrator
23 public void vibrate(long[] pattern, int repeat) { argument
25 this.pattern = pattern;
48 return pattern;
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DFillLayer.cpp178 // We need to fill in the remaining values with the pattern specified.
179 for (FillLayer* pattern = this; curr; curr = curr->next()) {
180 curr->m_xPosition = pattern->m_xPosition;
181 if (pattern->isBackgroundXOriginSet())
182 curr->m_backgroundXOrigin = pattern->m_backgroundXOrigin;
183 if (pattern->isBackgroundYOriginSet())
184 curr->m_backgroundYOrigin = pattern->m_backgroundYOrigin;
185 pattern = pattern->next();
186 if (pattern
[all...]
/external/chromium_org/third_party/skia/tests/
H A DRecordPatternTest.cpp15 SaveClipRectRestore pattern; local
18 REPORTER_ASSERT(r, !pattern.match(&record, 0));
22 // Build up a save-clip-restore block. The pattern will match only it's complete.
24 REPORTER_ASSERT(r, !pattern.match(&record, 0));
27 REPORTER_ASSERT(r, !pattern.match(&record, 0));
30 REPORTER_ASSERT(r, pattern.match(&record, 0));
31 REPORTER_ASSERT(r, pattern.first<Save>() != NULL);
32 REPORTER_ASSERT(r, pattern.second<ClipRect>() != NULL);
33 REPORTER_ASSERT(r, pattern.third<Restore>() != NULL);
37 SaveClipRectRestore pattern; local
60 SaveClipRectRestore pattern; local
74 Pattern3<Is<Save>, Star<Is<ClipRect> >, Is<Restore> > pattern; local
96 Pattern3<Is<Save>, IsDraw, Is<Restore> > pattern; local
135 Is<Restore> > pattern; local
192 Pattern1<IsDraw> pattern; local
[all...]
/external/skia/tests/
H A DRecordPatternTest.cpp15 SaveClipRectRestore pattern; local
18 REPORTER_ASSERT(r, !pattern.match(&record, 0));
22 // Build up a save-clip-restore block. The pattern will match only it's complete.
24 REPORTER_ASSERT(r, !pattern.match(&record, 0));
27 REPORTER_ASSERT(r, !pattern.match(&record, 0));
30 REPORTER_ASSERT(r, pattern.match(&record, 0));
31 REPORTER_ASSERT(r, pattern.first<Save>() != NULL);
32 REPORTER_ASSERT(r, pattern.second<ClipRect>() != NULL);
33 REPORTER_ASSERT(r, pattern.third<Restore>() != NULL);
37 SaveClipRectRestore pattern; local
60 SaveClipRectRestore pattern; local
74 Pattern3<Is<Save>, Star<Is<ClipRect> >, Is<Restore> > pattern; local
96 Pattern3<Is<Save>, IsDraw, Is<Restore> > pattern; local
135 Is<Restore> > pattern; local
192 Pattern1<IsDraw> pattern; local
[all...]

Completed in 589 milliseconds

1234567891011>>