HomeSort by relevance Sort by last modified time
    Searched refs:pattern (Results 1 - 25 of 778) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium/chrome/common/extensions/
file_browser_handler.cc 16 void FileBrowserHandler::AddPattern(const URLPattern& pattern) {
17 patterns_.push_back(pattern);
25 for (PatternList::const_iterator pattern = patterns_.begin();
26 pattern != patterns_.end(); ++pattern) {
27 if (pattern->MatchesUrl(url))
url_pattern_unittest.cc 21 const char* pattern; member in struct:__anon3356
38 URLPattern pattern(URLPattern::SCHEME_ALL);
40 pattern.Parse(kInvalidPatterns[i].pattern,
42 << kInvalidPatterns[i].pattern;
48 const char* pattern; member in struct:__anon3357
67 URLPattern pattern(URLPattern::SCHEME_ALL);
71 pattern.Parse(kTestPatterns[i].pattern,
73 << "Got unexpected error for URL pattern:
273 const char* pattern; member in struct:MatchPatterns
305 const char* pattern; member in struct:GetAsStringPatterns
    [all...]
  /external/elfutils/libasm/
asm_fill.c 1 /* Determine fill pattern for a section.
32 struct FillPattern *pattern; local
40 /* Use the default pattern. */
41 pattern = (struct FillPattern *) __libasm_default_pattern;
45 pattern = (struct FillPattern *) malloc (sizeof (struct FillPattern)
47 if (pattern == NULL)
50 pattern->len = len;
51 memcpy (pattern->bytes, bytes, len);
54 old_pattern = asmscn->pattern;
55 asmscn->pattern = pattern
    [all...]
  /external/llvm/test/FrontendC/
2002-02-13-ReloadProblem.c 12 const char *rangematch(const char *pattern, int test, int c) {
17 return pattern;
  /packages/apps/Email/emailcommon/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.
61 public void register(final String pattern, final Object handler) {
62 if (pattern == null) {
63 throw new IllegalArgumentException("URI request pattern may not be null");
68 this.handlerMap.put(pattern, handler);
71 public void unregister(final String pattern) {
72 if (pattern == null) {
75 this.handlerMap.remove(pattern);
99 // pattern match?
102 String pattern = (String) it.next() local
    [all...]
HttpRequestHandlerRegistry.java 37 * Maintains a map of HTTP request handlers keyed by a request URI pattern.
59 public void register(final String pattern, final HttpRequestHandler handler) {
60 matcher.register(pattern, handler);
63 public void unregister(final String pattern) {
64 matcher.unregister(pattern);
79 protected boolean matchUriRequestPattern(final String pattern, final String requestUri) {
80 return matcher.matchUriRequestPattern(pattern, requestUri);
  /external/webkit/Source/WebCore/platform/graphics/cairo/
PatternCairo.cpp 27 #include "Pattern.h"
36 cairo_pattern_t* Pattern::createPlatformPattern(const AffineTransform&) const
42 cairo_pattern_t* pattern = cairo_pattern_create_for_surface(surface);
47 cairo_pattern_set_matrix(pattern, &matrix);
50 cairo_pattern_set_extend(pattern, CAIRO_EXTEND_REPEAT);
51 return pattern;
  /libcore/luni/src/main/java/java/util/logging/
Formatter.java 64 String pattern = r.getMessage(); local
69 pattern = rb.getString(pattern);
71 pattern = r.getMessage();
74 if (pattern != null) {
80 if (pattern.indexOf("{0") >= 0 && params != null && params.length > 0) {
82 pattern = MessageFormat.format(pattern, params);
84 pattern = r.getMessage();
88 return pattern;
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
perlstress-001.js 54 pattern = /^([^a-z])|(\^)$/;
56 actualmatch = string.match(pattern);
92 var pattern = ''; variable
105 pattern = /abc/;
107 actualmatch = string.match(pattern);
112 pattern = /abc/;
114 actualmatch = string.match(pattern);
119 pattern = /abc/;
121 actualmatch = string.match(pattern);
126 pattern = /ab*c/
    [all...]
perlstress-002.js 64 var pattern = ''; variable
77 pattern = /abc/;
79 actualmatch = string.match(pattern);
84 pattern = /abc/;
86 actualmatch = string.match(pattern);
91 pattern = /abc/;
93 actualmatch = string.match(pattern);
98 pattern = /ab+bc/;
100 actualmatch = string.match(pattern);
105 pattern = /ab+bc/
    [all...]
15.10.6.2-2.js 54 * regular expression pattern as follows:
82 * e = (index of last input character matched so far by the pattern) + 1
100 var pattern = ''; variable
115 pattern = /abc/gi;
119 actualmatch = pattern.exec(string);
124 actualmatch = pattern.exec(string);
129 actualmatch = pattern.exec(string);
137 actualmatch = pattern.exec(string);
145 pattern.lastIndex = -1;
146 actualmatch = pattern.exec(string)
    [all...]
regress-191479.js 49 var pattern = ''; variable
61 pattern = /(\d|\d\s){2,}/;
62 actualmatch = string.match(pattern);
68 pattern = /(\d|\d\s){4,}/;
69 actualmatch = string.match(pattern);
75 pattern = /(\d|\d\s)+/;
76 actualmatch = string.match(pattern);
82 pattern = /(\d\s?){4,}/;
83 actualmatch = string.match(pattern);
92 pattern = /(\d\s|\d){2,}/
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/
exec-002.js 139 regexp, pattern, index, matches_array ) {
143 if ( regexp.exec(pattern) == null || matches_array == null ) {
145 regexp + ".exec(" + pattern +")",
147 regexp.exec(pattern) );
152 regexp + ".exec(" + pattern +").length",
154 regexp.exec(pattern).length );
157 regexp + ".exec(" + pattern +").index",
159 regexp.exec(pattern).index );
162 regexp + ".exec(" + pattern +").input",
163 pattern,
    [all...]
multiline-001.js 27 ( regexp, pattern, index, matches_array ) {
31 if ( regexp.exec(pattern) == null || matches_array == null ) {
33 regexp + ".exec(" + pattern +")",
35 regexp.exec(pattern) );
41 regexp.toString() + ".exec(" + pattern +").length",
43 regexp.exec(pattern).length );
46 regexp.toString() + ".exec(" + pattern +").index",
48 regexp.exec(pattern).index );
51 regexp + ".exec(" + pattern +").input",
52 pattern,
    [all...]
octal-001.js 29 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
33 if ( regexp.exec(pattern) == null || matches_array == null ) {
37 regexp.exec(pattern) );
44 regexp.exec(pattern).length );
49 regexp.exec(pattern).index );
53 pattern,
54 regexp.exec(pattern).input );
59 regexp.exec(pattern).toString() );
61 var limit = matches_array.length > regexp.exec(pattern).length
63 : regexp.exec(pattern).length
    [all...]
octal-002.js 44 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
48 if ( regexp.exec(pattern) == null || matches_array == null ) {
52 regexp.exec(pattern) );
59 regexp.exec(pattern).length );
64 regexp.exec(pattern).index );
68 pattern,
69 regexp.exec(pattern).input );
74 regexp.exec(pattern).toString() );
76 var limit = matches_array.length > regexp.exec(pattern).length
78 : regexp.exec(pattern).length
    [all...]
octal-003.js 38 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
42 if ( regexp.exec(pattern) == null || matches_array == null ) {
46 regexp.exec(pattern) );
53 regexp.exec(pattern).length );
58 regexp.exec(pattern).index );
62 escape(pattern),
63 escape(regexp.exec(pattern).input) );
68 escape(regexp.exec(pattern).toString()) );
70 var limit = matches_array.length > regexp.exec(pattern).length
72 : regexp.exec(pattern).length
    [all...]
  /external/webkit/Source/JavaScriptCore/runtime/
RegExpKey.h 47 RefPtr<StringImpl> pattern; member in struct:JSC::RegExpKey
59 RegExpKey(RegExpFlags flags, const UString& pattern)
61 , pattern(pattern.impl())
65 RegExpKey(RegExpFlags flags, const PassRefPtr<StringImpl> pattern)
67 , pattern(pattern)
71 RegExpKey(RegExpFlags flags, const RefPtr<StringImpl>& pattern)
73 , pattern(pattern)
    [all...]
  /external/webkit/Source/JavaScriptCore/yarr/
YarrSyntaxChecker.h 33 const char* checkSyntax(const UString& pattern);
  /external/webkit/Source/WebCore/rendering/style/
FillLayer.cpp 134 // We need to fill in the remaining values with the pattern specified.
135 for (FillLayer* pattern = this; curr; curr = curr->next()) {
136 curr->m_xPosition = pattern->m_xPosition;
137 pattern = pattern->next();
138 if (pattern == curr || !pattern)
139 pattern = this;
145 // We need to fill in the remaining values with the pattern specified.
146 for (FillLayer* pattern = this; curr; curr = curr->next())
    [all...]
  /external/webkit/Source/WebCore/html/
BaseTextInputType.cpp 42 const AtomicString& pattern = element()->fastGetAttribute(patternAttr); local
44 if (pattern.isEmpty() || value.isEmpty())
48 int matchOffset = RegularExpression(pattern, TextCaseSensitive).match(value, 0, &matchLength);
  /bionic/libc/unistd/
fnmatch.c 37 * Compares a filename or pathname to a pattern.
54 fnmatch(const char *pattern, const char *string, int flags)
61 switch (c = *pattern++) {
78 c = *pattern;
81 c = *++pattern;
88 /* Optimize for pattern with * at end or before /. */
104 if (!fnmatch(pattern, string, flags & ~FNM_PERIOD))
121 switch (rangematch(pattern, *string, flags, &newp)) {
126 pattern = newp;
135 if ((c = *pattern++) == EOS)
    [all...]
  /external/guava/src/com/google/common/io/
PatternFilenameFilter.java 23 import java.util.regex.Pattern;
34 private final Pattern pattern; field in class:PatternFilenameFilter
37 * Constructs a pattern file name filter object.
38 * @param patternStr the pattern string on which to filter file names
40 * @throws PatternSyntaxException if pattern compilation fails (runtime)
43 this(Pattern.compile(patternStr));
47 * Constructs a pattern file name filter object.
48 * @param pattern the pattern on which to filter file name
    [all...]
  /external/webkit/Source/WebKit2/Shared/
WebUserContentURLPattern.h 41 static PassRefPtr<WebUserContentURLPattern> create(const String& pattern)
43 return adoptRef(new WebUserContentURLPattern(pattern));
51 explicit WebUserContentURLPattern(const String& pattern)
52 : m_pattern(WebCore::UserContentURLPattern(pattern))
53 , m_patternString(pattern)

Completed in 937 milliseconds

1 2 3 4 5 6 7 8 91011>>