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

1 2 3 4 5 6 7 8 910

  /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/v8/test/mjsunit/
regexp-standalones.js 35 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...]
string-indexof-1.js 60 // Test single char pattern
68 // Test multi-char pattern
77 //single char pattern
88 // pattern of 15 chars, repeated every 16 chars in long
89 var pattern = "ABACABADABACABA"; variable
90 for(var i = 0; i < long.length - pattern.length; i+= 7) {
91 var index = long.indexOf(pattern, i);
97 pattern = "JABACABADABACABA";
98 assertEquals(511, long.indexOf(pattern), "Long JABACABA..., First J");
99 assertEquals(1535, long.indexOf(pattern, 512), "Long JABACABA..., Second J")
    [all...]
  /external/icu4c/i18n/
strmatch.h 30 * such as UnicodeSets, the emitted text is not the match pattern, but
37 * itself to a pattern but does not otherwise affect its function.
47 * Construct a matcher that matches the given pattern string.
48 * @param string the pattern to be matched, possibly containing
124 * @param result Output param to receive the pattern.
180 * @param result the string to receive the pattern. Previous
223 UnicodeString pattern; member in class:StringMatcher
  /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/icu4c/i18n/unicode/
bmsearch.h 36 * the pattern, the "bad character" and "good suffix" tables, the Collator-based data needed to compute them,
40 * Then you construct a <code>BoyerMooreSearch</code> object from the <code>CollData</code> object, the pattern
44 * void boyerMooreExample(UCollator *collator, UnicodeString *pattern, UnicodeString *target)
97 * 3) In some cases, searching for a pattern that needs to be normalized and ends
99 * the Tibetan script. For example searching for the pattern
135 * Test the pattern to see if it generates any CEs.
137 * @return <code>TRUE</code> if the pattern string did not generate any CEs
144 * Search for the pattern string in the target string.
177 * Return the CEs generated by the pattern string.
179 * @return a <code>CEList</code> object holding the CEs generated by the pattern string
217 UnicodeString pattern; member in class:BoyerMooreSearch
    [all...]
  /external/icu4c/io/
sscanf.c 69 UChar *pattern; local
75 pattern = (UChar *)uprv_malloc(size * sizeof(UChar));
76 if(pattern == 0) {
81 pattern = patBuffer;
83 u_charsToUChars(patternSpecification, pattern, size);
86 converted = u_vsscanf_u(buffer, pattern, ap);
89 if (pattern != patBuffer) {
90 uprv_free(pattern);
uscanf.c 70 UChar *pattern; local
76 pattern = (UChar *)uprv_malloc(size * sizeof(UChar));
77 if(pattern == 0) {
82 pattern = patBuffer;
84 u_charsToUChars(patternSpecification, pattern, size);
87 converted = u_vfscanf_u(f, pattern, ap);
90 if (pattern != patBuffer) {
91 uprv_free(pattern);
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
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...]
15.10.6.2-1.js 23 * NOT every substring fitting the given pattern will be matched.
34 * regular expression pattern as follows:
56 * e = (index of last input character matched so far by the pattern) + 1
68 var pattern = ''; variable
80 pattern = /\w\s\w/g;
81 actualmatch = string.match(pattern);
88 pattern = /\d\d\d/g;
89 actualmatch = string.match(pattern);
104 patterns[i] = pattern;
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...]
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...]
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...]
regress-100199.js 38 var pattern = ''; variable
48 pattern = /[]/;
51 actualmatch = string.match(pattern);
57 actualmatch = string.match(pattern);
63 actualmatch = string.match(pattern);
69 actualmatch = string.match(pattern);
75 actualmatch = string.match(pattern);
81 actualmatch = string.match(pattern);
87 actualmatch = string.match(pattern);
93 actualmatch = string.match(pattern);
    [all...]
regress-123437.js 50 var pattern = ''; variable
60 pattern = /(a)?a/;
63 actualmatch = string.match(pattern);
67 pattern = /a|(b)/;
70 actualmatch = string.match(pattern);
74 pattern = /(a)?(a)/;
77 actualmatch = string.match(pattern);
92 patterns[i] = pattern;
regress-165353.js 48 var pattern = ''; variable
58 pattern = /^([a-z]+)*[a-z]$/;
61 actualmatch = string.match(pattern);
67 actualmatch = string.match(pattern);
73 actualmatch = string.match(pattern);
80 pattern = /^(([a-z]+)*[a-z]\.)+[a-z]{2,}$/;
81 actualmatch = string.match(pattern);
87 pattern = /^(([a-z]+)*([a-z])\.)+[a-z]{2,}$/;
88 actualmatch = string.match(pattern);
102 patterns[i] = pattern;
    [all...]
regress-187133.js 43 * (?!pattern)
62 var pattern = ''; variable
72 pattern = /(\.(?!com|org)|\/)/;
75 actualmatch = string.match(pattern);
81 actualmatch = string.match(pattern);
87 actualmatch = string.match(pattern);
92 pattern = /(?!a|b)|c/;
95 actualmatch = string.match(pattern);
101 actualmatch = string.match(pattern);
107 actualmatch = string.match(pattern);
    [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...]
regress-202564.js 53 var pattern = ''; variable
65 pattern = /(?:(.+), )?(.+), (..) to (?:(.+), )?(.+), (..)/;
66 actualmatch = string.match(pattern);
81 patterns[i] = pattern;
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-216591.js 49 var pattern = ''; variable
61 pattern = /\{(([a-z0-9\-_]+?\.)+?)([a-z0-9\-_]+?)\}/i;
62 actualmatch = string.match(pattern);
80 pattern = /\{(([a-z0-9\-_]+?\.)+?)([a-z0-9\-_]+?)\}/gi;
81 actualmatch = string.match(pattern);
97 patterns[i] = pattern;
regress-220367-001.js 49 var pattern = ''; variable
61 pattern = /(a)|(b)/;
62 actualmatch = string.match(pattern);
68 pattern = /(a)|(b)/;
69 actualmatch = string.match(pattern);
84 patterns[i] = pattern;
regress-76683.js 33 var pattern = ''; variable
49 pattern = /(<!--([^-]|-[^-]|--[^>])*-->)|(<([\$\w:\.\-]+)((([ ][^\/>]*)?\/>)|(([ ][^>]*)?>)))/;
50 actualmatch = string.match(pattern);
55 pattern = /(<!--([^-]|-[^-]|--[^>])*-->)|(<(tagPattern)((([ ][^\/>]*)?\/>)|(([ ][^>]*)?>)))/;
56 actualmatch = string.match(pattern);
62 pattern = /(<!--([^-]|-[^-]|--[^>])*-->)|(<(tagPattern)((([ ][^\/>]*)?\/>)|(([ ][^>]*)?>)))|(<\/tagPattern[^>]*>)/;
63 actualmatch = string.match(pattern);
78 patterns[i] = pattern;
regress-78156.js 36 var pattern = ''; variable
52 pattern = /^\d/gm;
53 actualmatch = string.match(pattern);
58 pattern = /\d$/gm;
59 actualmatch = string.match(pattern);
65 pattern = /^\d/gm;
66 actualmatch = string.match(pattern);
71 pattern = /\d$/gm;
72 actualmatch = string.match(pattern);
87 patterns[i] = pattern;
    [all...]
  /external/webkit/WebCore/html/canvas/
CanvasPattern.h 29 #include "Pattern.h"
49 Pattern* pattern() const { return m_pattern.get(); } function in class:WebCore::CanvasPattern
56 RefPtr<Pattern> m_pattern;

Completed in 411 milliseconds

1 2 3 4 5 6 7 8 910