/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, status, FALSE) == 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, status, FALSE) == 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 495 RegularExpression *regexp = (RegularExpression*)regexp2; local 519 RegularExpression *regexp = (RegularExpression*)regexp2; local 549 RegularExpression *regexp = (RegularExpression*)regexp2; local 580 RegularExpression *regexp = (RegularExpression*)regexp2; local 603 RegularExpression *regexp = (RegularExpression*)regexp2; local 619 RegularExpression *regexp = (RegularExpression*)regexp2; local 639 RegularExpression *regexp = (RegularExpression*)regexp2; local 702 RegularExpression *regexp = (RegularExpression*)regexp2; local 721 RegularExpression *regexp = (RegularExpression*)regexp2; local 770 RegularExpression *regexp = (RegularExpression*)regexp2; local 794 RegularExpression *regexp = (RegularExpression*)regexp2; local 818 RegularExpression *regexp = (RegularExpression*)regexp2; local 844 RegularExpression *regexp = (RegularExpression*)regexp2; local 863 RegularExpression *regexp = (RegularExpression*)regexp2; local 884 RegularExpression *regexp = (RegularExpression*)regexp2; local 906 RegularExpression *regexp = (RegularExpression*)regexp2; local 922 RegularExpression *regexp = (RegularExpression*)regexp2; local 939 RegularExpression *regexp = (RegularExpression*)regexp2; local 955 RegularExpression *regexp = (RegularExpression*)regexp2; local 972 RegularExpression *regexp = (RegularExpression*)regexp2; local 988 RegularExpression *regexp = (RegularExpression*)regexp2; local 1004 RegularExpression *regexp = (RegularExpression*)regexp2; local 1021 RegularExpression *regexp = (RegularExpression*)regexp2; local 1038 RegularExpression *regexp = (RegularExpression*)regexp2; local 1056 RegularExpression *regexp = (RegularExpression*)regexp2; local 1073 RegularExpression *regexp = (RegularExpression*)regexp2; local 1091 RegularExpression *regexp = (RegularExpression*)regexp2; local 1108 RegularExpression *regexp = (RegularExpression*)regexp2; local 1125 RegularExpression *regexp = (RegularExpression*)regexp2; local 1142 RegularExpression *regexp = (RegularExpression*)regexp2; local 1161 RegularExpression *regexp = (RegularExpression*)regexp2; local 1209 RegularExpression *regexp = (RegularExpression*)regexp2; local 1235 RegularExpression *regexp = (RegularExpression*)regexp2; local 1270 RegularExpression *regexp = (RegularExpression*)regexp2; local 1560 RegularExpression *regexp = (RegularExpression*)regexp2; local 1573 RegularExpression *regexp = (RegularExpression*)regexp2; local 1710 RegularExpression *regexp = (RegularExpression*)regexp2; local 1722 RegularExpression *regexp = (RegularExpression*)regexp2; local 1898 RegularExpression *regexp = (RegularExpression*)regexp2; local 1922 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/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 ) | 74 regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\+_S\?\(IO\|IOW\|IOR\|IOWR\)\>' 75 (cd $dir ; grep $regexp $files 2>/dev/null ) | \ 86 regexp="^[[:space:]]*#[[:space:]]*define[[:space:]]\+$base" 87 (cd $dir ; grep -h $regexp 2>/dev/null $files ) | \
|
/external/strace/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 ) | 74 regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\+_S\?\(IO\|IOW\|IOR\|IOWR\)\>' 75 (cd $dir ; grep $regexp $files 2>/dev/null ) | \ 86 regexp="^[[:space:]]*#[[:space:]]*define[[:space:]]\+$base" 87 (cd $dir ; grep -h $regexp 2>/dev/null $files ) | \
|
/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, ®exp, 0, 0); 30 regerror(err, ®exp, buffer, needed_size); 36 void op_regcomp(regex_t & regexp, string const & pattern) 38 int err = regcomp(®exp, pattern.c_str(), REG_EXTENDED); 40 throw bad_regex("regcomp error: " + op_regerror(err, regexp) 53 void op_regfree(regex_t & regexp) 55 regfree(®exp); 92 op_regfree(regex_replace[i].regexp); 108 regex_t regexp; local [all...] |
op_regex.h | 86 // when this regexp is matched 87 regex_t regexp; member in struct:regular_expression_replace::replace_t 93 bool do_execute(std::string & str, replace_t const & regexp) const;
|
/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];
|
/external/llvm/utils/ |
DSAextract.py | 64 for regexp in regexp_list: 67 if regexp.search(buffer):
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
15.10.3.1-1.js | 23 * SUMMARY: Passing (RegExp object, flag) to RegExp() function. 26 * 15.10.3 The RegExp Constructor Called as a Function 28 * 15.10.3.1 RegExp(pattern, flags) 30 * If pattern is an object R whose [[Class]] property is "RegExp" 32 * call the RegExp constructor (section 15.10.4.1), passing it the 39 * "pattern" is itself a RegExp object R 43 * provided. We check that RegExp(R) returns R - 47 var summary = 'Passing (RegExp object,flag) to RegExp() function' [all...] |
15.10.3.1-2.js | 23 * SUMMARY: Passing (RegExp object, flag) to RegExp() function. 26 * 15.10.3 The RegExp Constructor Called as a Function 28 * 15.10.3.1 RegExp(pattern, flags) 30 * If pattern is an object R whose [[Class]] property is "RegExp" 32 * call the RegExp constructor (section 15.10.4.1), passing it the 39 * "pattern" is itself a RegExp object R 44 * RegExp(R, undefined); 48 * RegExp(R); 51 * We check that RegExp(R, undefined) returns R [all...] |