Searched refs:test_replace (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/v8/test/mjsunit/ |
D | string-replace-one-char.js | 32 function test_replace(result, expected, search, replace) { function 37 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz", 41 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz\u1234", 45 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz", 49 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz\u1234", 54 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz", 58 test_replace(prefix1024 + "abcdefghijklmnopq\u1234stuvwxyz", 64 test_replace(not_found_1, not_found_1, "+", "-"); 67 test_replace(not_found_2, not_found_2, "+", "---"); 70 test_replace(not_found_3, not_found_3, "\u1234", "ZZZ"); [all …]
|
D | regexp-global.js | 173 function test_replace(result_expectation, function 231 test_replace(test_1_expectation, subject, /a1/g, "x"); 235 test_replace(test_1_expectation, subject, /a1/g, f); 238 test_replace(test_2_expectation, subject, /a1/g, "");
|
/external/v8/test/mjsunit/ |
D | string-replace-one-char.js | 32 function test_replace(result, expected, search, replace) { function 37 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz", 41 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz\u1234", 45 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz", 49 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz\u1234", 54 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz", 58 test_replace(prefix1024 + "abcdefghijklmnopq\u1234stuvwxyz", 64 test_replace(not_found_1, not_found_1, "+", "-"); 67 test_replace(not_found_2, not_found_2, "+", "---"); 70 test_replace(not_found_3, not_found_3, "\u1234", "ZZZ"); [all …]
|