Searched refs:re (Results 1 - 25 of 1591) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/preparser/
H A Dstrict-octal-indirect-regexp.js32 var re = RegExp("Hello\\040World");
33 return re;
H A Dstrict-octal-regexp.js32 var re = /hello\040world/;
33 return re;
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-58740.js30 var re = /.+/g; variable
31 re.exec("");
32 re.exec("anystring");
33 re=/.+/g;
34 re.exec("");
35 assertEquals(0, re.lastIndex);
H A Dregress-52801.js39 var re = /a/g; variable
45 re.test(str);
46 assertEquals(5, re.lastIndex);
48 re.lastIndex = 0;
49 re.test(str);
50 assertEquals(5, re.lastIndex); // Fails if caching.
52 re.lastIndex = 0;
53 re.test(str);
54 assertEquals(5, re.lastIndex); // Fails if caching.
58 re
[all...]
H A Dregress-227.js28 var re = /\u23a1|x/; variable
29 var res = re.exec("!");
32 res = re.exec("!x");
H A Dregress-2438.js28 function testSideEffects(subject, re) {
31 re.lastIndex = side_effect_object;
32 re.exec(subject);
35 re.lastIndex = side_effect_object;
36 re.test(subject);
39 re.lastIndex = side_effect_object;
40 subject.match(re);
43 re.lastIndex = side_effect_object;
44 subject.replace(re, "");
H A Dregress-45469.js30 var re = /x/g; variable
33 assertEquals(i % 3, re.lastIndex, "preindex" + i);
34 var res = re.exec("xx");
38 re = /x/g;
41 assertEquals(i % 3, re.lastIndex, "testpreindex" + i);
42 var res = re.test("xx");
/external/chromium_org/v8/test/mjsunit/
H A Dregexp-compile.js30 var re = /x/; variable
31 assertEquals("a.yb", "axyb".replace(re, "."));
33 re.compile("y");
34 assertEquals("ax.b", "axyb".replace(re, "."));
36 re.compile("(x)");
38 assertEquals(["x", "x"], re.exec("axyb"));
40 re.compile("(y)");
42 assertEquals(["y", "y"], re.exec("axyb"));
H A Dregexp-lookahead.js35 function testRE(re, input, expected_result) {
36 var testName = re + ".test(" + stringEscape(input) +")";
38 assertTrue(re.test(input), testName);
40 assertFalse(re.test(input), testName);
44 function execRE(re, input, expected_result) {
45 var testName = re + ".exec('" + stringEscape(input) +"')";
46 assertEquals(expected_result, re.exec(input), testName);
51 var re = /^(?=a)/;
52 testRE(re, "a", true);
53 testRE(re, "
[all...]
H A Dregexp-not-sticky-yet.js40 var re = /foo.bar/; variable
41 assertEquals("/foo.bar/", "" + re);
45 re.compile("foo.bar");
46 assertEquals(void 0, re.sticky);
53 assertEquals(void 0, re.sticky);
54 re.sticky = true; // Has no effect on the regexp, just sets a property.
55 assertTrue(re.sticky);
57 assertTrue(re.test("..foo.bar"));
59 re.lastIndex = -1; // Ignored for non-global, non-sticky.
60 assertTrue(re
[all...]
/external/chromium_org/v8/test/webkit/
H A Dregexp-compile.js28 re = new RegExp("a", "i");
29 shouldBe("re.toString()", "'/a/i'");
31 re.compile("a");
32 shouldBe("re.multiline", "false");
33 shouldBe("re.ignoreCase", "false");
34 shouldBe("re.global", "false");
35 shouldBe("re.test('A')", "false");
36 shouldBe("re.toString()", "'/a/'");
38 re.compile("b", "g");
39 shouldBe("re
[all...]
/external/chromium_org/v8/test/mjsunit/bugs/
H A Dbug-617.js38 var re = /foo/; variable
40 re.exec = make_sure_we_dont_get_here;
42 re("foo");
/external/chromium_org/v8/test/webkit/fast/regex/
H A Dnon-capturing-backtracking.js28 var re = /(?:a*)a/; variable
29 shouldBe("re.exec('a')", "['a']");
/external/chromium_org/v8/test/webkit/fast/js/
H A Dregexp-lastindex.js28 var re = new RegExp("[^\\s$]+", "g");
31 shouldBe('while (match = re.exec(" abcdefg")) accumulate += match + "; "; accumulate', '"abcdefg; "');
33 var re = new RegExp(/\d/g);
35 shouldBe('while (match = re.exec("123456789")) accumulate += match + "; "; accumulate', '"1; 2; 3; 4; 5; 6; 7; 8; 9; "');
/external/libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/Android.mk
19 test_name := re/re.iter/re.tokiter/re.tokiter.cnstr/default
23 test_name := re/re
[all...]
/external/libcxx/test/re/re.alg/re.alg.replace/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.alg/re.alg.replace/Android.mk
19 test_name := re/re.alg/re.alg.replace/test2
23 test_name := re/re.alg/re.alg.replace/test3
27 test_name := re/r
[all...]
/external/libcxx/test/re/re.alg/re.alg.match/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.alg/re.alg.match/Android.mk
19 test_name := re/re.alg/re.alg.match/awk
23 test_name := re/re.alg/re.alg.match/grep
27 test_name := re/r
[all...]
/external/libcxx/test/re/re.results/re.results.acc/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.results/re.results.acc/Android.mk
19 test_name := re/re.results/re.results.acc/length
23 test_name := re/re.results/re.results.acc/cbegin_cend
27 test_name := re/r
[all...]
/external/libcxx/test/re/re.results/re.results.const/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.results/re.results.const/Android.mk
19 test_name := re/re.results/re.results.const/default
23 test_name := re/re.results/re.results.const/allocator
/external/libcxx/test/re/re.results/re.results.size/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.results/re.results.size/Android.mk
19 test_name := re/re.results/re.results.size/max_size
23 test_name := re/re.results/re.results.size/empty
/external/libcxx/test/re/re.results/re.results.swap/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.results/re.results.swap/Android.mk
19 test_name := re/re.results/re.results.swap/member_swap
23 test_name := re/re.results/re.results.swap/non_member_swap
/external/libcxx/test/re/re.submatch/re.submatch.op/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.submatch/re.submatch.op/Android.mk
19 test_name := re/re.submatch/re.submatch.op/compare
23 test_name := re/re.submatch/re.submatch.op/stream
/external/pcre/dist/
H A Dpcre_refcount.c82 REAL_PCRE *re = (REAL_PCRE *)argument_re; local
83 if (re == NULL) return PCRE_ERROR_NULL;
84 if (re->magic_number != MAGIC_NUMBER) return PCRE_ERROR_BADMAGIC;
85 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
86 re->ref_count = (-adjust > re->ref_count)? 0 :
87 (adjust + re->ref_count > 65535)? 65535 :
88 re->ref_count + adjust;
89 return re->ref_count;
/external/libcxx/test/re/re.iter/re.regiter/re.regiter.cnstr/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.iter/re.regiter/re.regiter.cnstr/Android.mk
19 test_name := re/re.iter/re.regiter/re.regiter.cnstr/default
23 test_name := re/re
[all...]
/external/libcxx/test/re/re.regex/re.regex.assign/
H A DAndroid.mk17 test_makefile := external/libcxx/test/re/re.regex/re.regex.assign/Android.mk
19 test_name := re/re.regex/re.regex.assign/string
23 test_name := re/re.regex/re.regex.assign/assign_ptr_size_flag
27 test_name := re/r
[all...]

Completed in 347 milliseconds

1234567891011>>