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

1 2 3 4 5 6

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/
match-004.js 11 * String.match( regexp )
13 * If regexp is not an object of type RegExp, it is replaced with result
14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
16 * return the result obtained by invoking RegExp.prototype.exec (see
17 * section 15.7.5.3) on regexp with string as parameter.
19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
20 * RegExp.prototype.exec repeatedly until there is no match. If there is
    [all...]
match-002.js 11 * String.match( regexp )
13 * If regexp is not an object of type RegExp, it is replaced with result
14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
16 * return the result obtained by invoking RegExp.prototype.exec (see
17 * section 15.7.5.3) on regexp with string as parameter.
19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
20 * RegExp.prototype.exec repeatedly until there is no match. If there is
    [all...]
match-001.js 11 * String.match( regexp )
13 * If regexp is not an object of type RegExp, it is replaced with result
14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
16 * return the result obtained by invoking RegExp.prototype.exec (see
17 * section 15.7.5.3) on regexp with string as parameter.
19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
20 * RegExp.prototype.exec repeatedly until there is no match. If there is
    [all...]
match-003.js 11 * String.match( regexp )
13 * If regexp is not an object of type RegExp, it is replaced with result
14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
16 * return the result obtained by invoking RegExp.prototype.exec (see
17 * section 15.7.5.3) on regexp with string as parameter.
19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
20 * RegExp.prototype.exec repeatedly until there is no match. If there is
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/
octal-001.js 2 * File Name: RegExp/octal-001.js
9 var SECTION = "RegExp/octal-001.js";
11 var TITLE = "RegExp patterns that contain OctalEscapeSequences";
29 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
33 if ( regexp.exec(pattern) == null || matches_array == null ) {
35 regexp + ".exec(" + str_pattern +")",
37 regexp.exec(pattern) );
44 regexp.exec(pattern).length );
49 regexp.exec(pattern).index );
54 regexp.exec(pattern).input )
    [all...]
octal-002.js 2 * File Name: RegExp/octal-002.js
9 var SECTION = "RegExp/octal-002.js";
11 var TITLE = "RegExp patterns that contain OctalEscapeSequences";
44 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
48 if ( regexp.exec(pattern) == null || matches_array == null ) {
50 regexp + ".exec(" + str_pattern +")",
52 regexp.exec(pattern) );
59 regexp.exec(pattern).length );
64 regexp.exec(pattern).index );
69 regexp.exec(pattern).input )
    [all...]
regress-001.js 2 * File Name: RegExp/regress-001.js
5 * JS regexp anchoring on empty match bug
11 var SECTION = "RegExp/hex-001.js";
13 var TITLE = "JS regexp anchoring on empty match bug";
25 function AddRegExpCases( regexp, str_regexp, length, matches_array ) {
29 regexp.length,
30 regexp.length );
37 regexp[matches] );
exec-002.js 2 * File Name: RegExp/exec-002.js
11 var SECTION = "RegExp/exec-002";
13 var TITLE = "RegExp.prototype.exec(string)";
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"
    [all...]
multiline-001.js 2 * File Name: RegExp/multiline-001.js
9 var SECTION = "RegExp/multiline-001";
11 var TITLE = "RegExp: multiline flag";
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"
    [all...]
octal-003.js 2 * File Name: RegExp/octal-003.js
12 * WHY: the original test expected the regexp /.\011/
17 * regexp should be parsed as a single token: it is the octal escape sequence
20 * So the regexp consists of 2 characters: <any-character>, <'\t'>.
21 * There is no match between the regexp and the string.
23 * See the testcase ecma_3/RegExp/octal-002.js for an elaboration.
26 var SECTION = "RegExp/octal-003.js";
28 var TITLE = "RegExp patterns that contain OctalEscapeSequences";
38 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
42 if ( regexp.exec(pattern) == null || matches_array == null )
    [all...]
unicode-001.js 2 * File Name: RegExp/unicode-001.js
5 * Positive test cases for constructing a RegExp object
9 var SECTION = "RegExp/unicode-001.js";
11 var TITLE = "new RegExp( pattern, flags )";
30 regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) {
35 regexp.exec(pattern).length );
40 regexp.exec(pattern).index );
45 regexp.exec(pattern).input );
51 regexp.exec(pattern)[matches] );
hex-001.js 2 * File Name: RegExp/hex-001.js
5 * Positive test cases for constructing a RegExp object
9 var SECTION = "RegExp/hex-001";
11 var TITLE = "RegExp patterns that contain HexicdecimalEscapeSequences";
17 AddRegExpCases( new RegExp("\x41"), "new RegExp('\\x41')", "A", "A", 1, 0, ["A"] );
18 AddRegExpCases( new RegExp("\x412"),"new RegExp('\\x412')", "A2", "A2", 1, 0, ["A2"] );
19 AddRegExpCases( new RegExp("\x1g"), "new RegExp('\\x1g')", "x1g","x1g", 1, 0, ["x1g"] )
    [all...]
  /external/icu4c/i18n/unicode/
uregex.h 206 * @param regexp The regular expression to be closed.
210 uregex_close(URegularExpression *regexp);
244 * @param regexp The compiled regular expression to be cloned.
250 uregex_clone(const URegularExpression *regexp, UErrorCode *status);
256 * @param regexp The compiled regular expression.
270 uregex_pattern(const URegularExpression *regexp,
278 * @param regexp The compiled regular expression.
286 uregex_patternUText(const URegularExpression *regexp,
293 * @param regexp The compiled regular expression.
299 uregex_flags(const URegularExpression *regexp,
    [all...]
  /external/icu4c/i18n/
uregex.cpp 323 RegularExpression *regexp = (RegularExpression*)regexp2; local
325 if (validateRE(regexp, FALSE, status) == FALSE) {
329 *patLength = regexp->fPatStringLen;
331 return regexp->fPatString;
343 RegularExpression *regexp = (RegularExpression*)regexp2; local
344 return regexp->fPat->patternText(*status);
355 RegularExpression *regexp = (RegularExpression*)regexp2; local
356 if (validateRE(regexp, FALSE, status) == FALSE) {
359 int32_t flags = regexp->fPat->flags();
374 RegularExpression *regexp = (RegularExpression*)regexp2 local
407 RegularExpression *regexp = (RegularExpression*)regexp2; local
437 RegularExpression *regexp = (RegularExpression*)regexp2; local
477 RegularExpression *regexp = (RegularExpression*)regexp2; local
494 RegularExpression *regexp = (RegularExpression*)regexp2; local
518 RegularExpression *regexp = (RegularExpression*)regexp2; local
548 RegularExpression *regexp = (RegularExpression*)regexp2; local
579 RegularExpression *regexp = (RegularExpression*)regexp2; local
602 RegularExpression *regexp = (RegularExpression*)regexp2; local
618 RegularExpression *regexp = (RegularExpression*)regexp2; local
638 RegularExpression *regexp = (RegularExpression*)regexp2; local
701 RegularExpression *regexp = (RegularExpression*)regexp2; local
720 RegularExpression *regexp = (RegularExpression*)regexp2; local
769 RegularExpression *regexp = (RegularExpression*)regexp2; local
793 RegularExpression *regexp = (RegularExpression*)regexp2; local
817 RegularExpression *regexp = (RegularExpression*)regexp2; local
843 RegularExpression *regexp = (RegularExpression*)regexp2; local
862 RegularExpression *regexp = (RegularExpression*)regexp2; local
883 RegularExpression *regexp = (RegularExpression*)regexp2; local
905 RegularExpression *regexp = (RegularExpression*)regexp2; local
921 RegularExpression *regexp = (RegularExpression*)regexp2; local
938 RegularExpression *regexp = (RegularExpression*)regexp2; local
954 RegularExpression *regexp = (RegularExpression*)regexp2; local
971 RegularExpression *regexp = (RegularExpression*)regexp2; local
987 RegularExpression *regexp = (RegularExpression*)regexp2; local
1003 RegularExpression *regexp = (RegularExpression*)regexp2; local
1020 RegularExpression *regexp = (RegularExpression*)regexp2; local
1037 RegularExpression *regexp = (RegularExpression*)regexp2; local
1055 RegularExpression *regexp = (RegularExpression*)regexp2; local
1072 RegularExpression *regexp = (RegularExpression*)regexp2; local
1090 RegularExpression *regexp = (RegularExpression*)regexp2; local
1107 RegularExpression *regexp = (RegularExpression*)regexp2; local
1124 RegularExpression *regexp = (RegularExpression*)regexp2; local
1141 RegularExpression *regexp = (RegularExpression*)regexp2; local
1160 RegularExpression *regexp = (RegularExpression*)regexp2; local
1208 RegularExpression *regexp = (RegularExpression*)regexp2; local
1234 RegularExpression *regexp = (RegularExpression*)regexp2; local
1269 RegularExpression *regexp = (RegularExpression*)regexp2; local
1559 RegularExpression *regexp = (RegularExpression*)regexp2; local
1572 RegularExpression *regexp = (RegularExpression*)regexp2; local
1709 RegularExpression *regexp = (RegularExpression*)regexp2; local
1721 RegularExpression *regexp = (RegularExpression*)regexp2; local
1912 RegularExpression *regexp = (RegularExpression*)regexp2; local
1936 RegularExpression *regexp = (RegularExpression*)regexp2; local
    [all...]
  /external/libvpx/examples/
gen_example_doxy.php 45 $regexp = '/\[\[(.*?)\]\]/'; // Double square bracket delimiters variable
46 $page_body = preg_replace_callback($regexp, 'ASCIIMathPHPCallback', $page_body);
60 $regexp = '|<pre><code>(.*?)<\/code><\/pre>|si'; variable
61 while (preg_match($regexp, $page_body, $matches) > 0)
64 $page_body = preg_replace($regexp, $tmp_token, $page_body, 1);
73 $regexp = '|<div class="codeblock">(.*?)<\/div>|si'; variable
76 while (preg_match($regexp, $page_body, $matches))
85 $page_body = preg_replace($regexp, $block_new, $page_body, 1);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-apache-regexp.jar 
  /external/libvpx/examples/includes/
vp8_doc_tools.php 145 $regexp = '|' . $open . '(.*?)' . $close . '|si'; variable
146 echo $regexp . "\n\n";
148 while (preg_match($regexp, $blob, $matches))
157 $blob = preg_replace($regexp, $blob_new, $blob, 1);
182 $regexp = '/~{3,}/'; variable
184 while (preg_match($regexp, $page_body))
188 $regexp = '/:\s*~{3,}\s*\n/'; variable
189 $page_body = preg_replace($regexp, ': <pre><code>', $page_body, 1);
194 $regexp = '/\n\s*~{3,}/'; variable
195 $page_body = preg_replace($regexp, '</code></pre>', $page_body, 1)
201 $regexp = '\/\\n\\s*~{3,}\/'; variable
    [all...]
  /external/oprofile/libregex/
op_regex.cpp 26 string op_regerror(int err, regex_t const & regexp)
28 size_t needed_size = regerror(err, &regexp, 0, 0);
30 regerror(err, &regexp, buffer, needed_size);
36 void op_regcomp(regex_t & regexp, string const & pattern)
38 int err = regcomp(&regexp, pattern.c_str(), REG_EXTENDED);
40 throw bad_regex("regcomp error: " + op_regerror(err, regexp)
53 void op_regfree(regex_t & regexp)
55 regfree(&regexp);
92 op_regfree(regex_replace[i].regexp);
108 regex_t regexp; local
    [all...]
  /external/strace/linux/
ioctlent.sh 53 regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\+0x'"$type"'..\>'
54 (cd "$dir" && grep "$regexp" "$@" /dev/null 2>/dev/null) |
95 regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\+_S\?\(IO\|IOW\|IOR\|IOWR\)\>'
96 (cd $dir && grep $regexp $files 2>/dev/null) | \
118 regexp="^[[:space:]]*#[[:space:]]*define[[:space:]]\+$base"
119 line=$( (cd $dir && grep -h $regexp 2>/dev/null $files) | grep -v '\<_IO')
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/share/gdb/python/gdb/
printing.py 160 def __init__(self, name, regexp, gen_printer):
162 self.regexp = regexp
164 self.compiled_re = re.compile(regexp)
169 def add_printer(self, name, regexp, gen_printer):
176 regexp: The regular expression, as a string.
184 # NOTE: A previous version made the name of each printer the regexp.
186 # cumbersome to make a regexp of a regexp). So now the name is a
189 self.subprinters.append(self.RegexpSubprinter(name, regexp,
    [all...]
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/
printing.py 160 def __init__(self, name, regexp, gen_printer):
162 self.regexp = regexp
164 self.compiled_re = re.compile(regexp)
169 def add_printer(self, name, regexp, gen_printer):
176 regexp: The regular expression, as a string.
184 # NOTE: A previous version made the name of each printer the regexp.
186 # cumbersome to make a regexp of a regexp). So now the name is a
189 self.subprinters.append(self.RegexpSubprinter(name, regexp,
    [all...]
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/share/gdb/python/gdb/
printing.py 160 def __init__(self, name, regexp, gen_printer):
162 self.regexp = regexp
164 self.compiled_re = re.compile(regexp)
169 def add_printer(self, name, regexp, gen_printer):
176 regexp: The regular expression, as a string.
184 # NOTE: A previous version made the name of each printer the regexp.
186 # cumbersome to make a regexp of a regexp). So now the name is a
189 self.subprinters.append(self.RegexpSubprinter(name, regexp,
    [all...]
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/
printing.py 160 def __init__(self, name, regexp, gen_printer):
162 self.regexp = regexp
164 self.compiled_re = re.compile(regexp)
169 def add_printer(self, name, regexp, gen_printer):
176 regexp: The regular expression, as a string.
184 # NOTE: A previous version made the name of each printer the regexp.
186 # cumbersome to make a regexp of a regexp). So now the name is a
189 self.subprinters.append(self.RegexpSubprinter(name, regexp,
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/sed/
Makefile.am 6 sed_SOURCES = sed.c compile.c execute.c regexp.c fmt.c mbcs.c utils.c
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/
15.9.5.7.js 53 var regexp = ''; variable
57 var cnERR ='OOPS! FATAL ERROR: no regexp match in extractLocaleTimeString()';
147 * So first, use a regexp of the form /date.toDateString()(.*)$/
154 regexp = new RegExp(date.toDateString() + '(.*)' + '$');
157 TimeString = date.toString().match(regexp)[1];
169 regexp= /([^G]*)GMT.*/;
172 hopeThisIsLocaleTimeString = TimeString.match(regexp)[1];

Completed in 1038 milliseconds

1 2 3 4 5 6