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

1 2 3 4 5 6 7 8 91011>>

  /external/opencore/protocols/systems/3g-324m_pvterminal/h223/include/
golay.h 31 inline int get_syndrome(int pattern);
  /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...]
  /packages/apps/Email/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);
78 protected boolean matchUriRequestPattern(final String pattern, final String requestUri) {
79 return matcher.matchUriRequestPattern(pattern, requestUri);
  /external/webkit/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;
  /dalvik/libcore/logging/src/main/java/java/util/logging/
Formatter.java 65 String pattern = r.getMessage(); local
70 pattern = rb.getString(pattern);
72 pattern = r.getMessage();
75 if (null != pattern) {
81 if (pattern.indexOf("{0") >= 0 && null != params //$NON-NLS-1$
84 pattern = MessageFormat.format(pattern, params);
86 pattern = r.getMessage();
90 return pattern;
    [all...]
  /external/webkit/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...]
15.10.2-1.js 50 var pattern = ''; variable
61 pattern = /a|ab/;
63 actualmatch = string.match(pattern);
68 pattern = /((a)|(ab))((c)|(bc))/;
70 actualmatch = string.match(pattern);
75 pattern = /a[a-z]{2,4}/;
77 actualmatch = string.match(pattern);
82 pattern = /a[a-z]{2,4}?/;
84 actualmatch = string.match(pattern);
89 pattern = /(aa|aabaac|ba|b|c)*/
    [all...]
octal-001.js 48 var pattern = ''; variable
59 pattern = /\240/;
61 actualmatch = string.match(pattern);
71 pattern = /ab\052c/;
73 actualmatch = string.match(pattern);
78 pattern = /ab\052*c/;
80 actualmatch = string.match(pattern);
85 pattern = /ab(\052)+c/;
87 actualmatch = string.match(pattern);
92 pattern = /ab((\052)+)c/
    [all...]
regress-209919.js 49 var pattern = ''; variable
72 pattern = /(a|b*)*/;
73 actualmatch = string.match(pattern);
85 pattern = /(a|b*){5,}/;
86 actualmatch = string.match(pattern);
100 pattern = /(b*)*/;
101 actualmatch = string.match(pattern);
113 pattern = /(b*)+/;
114 actualmatch = string.match(pattern);
122 pattern = /^\-?(\d{1,}|\.{0,})*(\,\d{1,})?$/
    [all...]
regress-67773.js 35 var pattern = ''; variable
45 pattern = /^(\S+)?( ?)(B+)$/; //single space before second ? character
48 actualmatch = string.match(pattern);
54 actualmatch = string.match(pattern);
60 actualmatch = string.match(pattern);
65 pattern = /^(A+B)+$/;
68 actualmatch = string.match(pattern);
74 actualmatch = string.match(pattern);
80 actualmatch = string.match(pattern);
86 actualmatch = string.match(pattern);
    [all...]
octal-002.js 66 var pattern = ''; variable
89 pattern = /.\011/;
91 actualmatch = string.match(pattern);
103 pattern = /.\0xx/;
105 actualmatch = string.match(pattern);
116 pattern = /.\0xx/;
118 actualmatch = string.match(pattern);
125 * 'a' + '\011' is duplicated in the pattern and test string:
128 pattern = /.\011/;
130 actualmatch = string.match(pattern);
    [all...]
  /external/webkit/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_image = pattern->m_image;
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/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...]
  /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...]
  /dalvik/libcore/regex/src/main/java/java/util/regex/
PatternSyntaxException.java 24 * {@link Pattern}. Might include a detailed description, the original regular
27 * @see Pattern#compile(String)
28 * @see Pattern#compile(java.lang.String,int)
44 private String pattern; field in class:PatternSyntaxException
53 * Creates a new PatternSyntaxException for a given message, pattern, and
59 * @param pattern
66 public PatternSyntaxException(String description, String pattern, int index) {
68 this.pattern = pattern;
79 return pattern;
    [all...]

Completed in 2111 milliseconds

1 2 3 4 5 6 7 8 91011>>