/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/ |
D | v8-regexp.js | 66 'QBZPbageby_cynprubyqre'.replace(re2, ''); 84 'vachggrkg'.replace(re5, ''); 87 '528.9'.replace(re6, ''); 98 '521'.replace(re6, ''); 104 'qvi .so_zrah'.replace(re10, ''); 105 'qvi .so_zrah'.replace(/\[/g, ''); 106 'qvi.so_zrah'.replace(re11, ''); 109 'uvqqra_ryrz'.replace(re2, ''); 115 'uggc://ubzr.zlfcnpr.pbz/vaqrk.psz'.replace(re12, ''); 119 str1.replace(/([a-zA-Z]|\s)+/, ''); [all …]
|
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/ |
D | v8-regexp.js | 66 'QBZPbageby_cynprubyqre'.replace(re2, ''); 84 'vachggrkg'.replace(re5, ''); 87 '528.9'.replace(re6, ''); 98 '521'.replace(re6, ''); 104 'qvi .so_zrah'.replace(re10, ''); 105 'qvi .so_zrah'.replace(/\[/g, ''); 106 'qvi.so_zrah'.replace(re11, ''); 109 'uvqqra_ryrz'.replace(re2, ''); 115 'uggc://ubzr.zlfcnpr.pbz/vaqrk.psz'.replace(re12, ''); 119 str1.replace(/([a-zA-Z]|\s)+/, ''); [all …]
|
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/ |
D | v8-regexp.js | 66 'QBZPbageby_cynprubyqre'.replace(re2, ''); 84 'vachggrkg'.replace(re5, ''); 87 '528.9'.replace(re6, ''); 98 '521'.replace(re6, ''); 104 'qvi .so_zrah'.replace(re10, ''); 105 'qvi .so_zrah'.replace(/\[/g, ''); 106 'qvi.so_zrah'.replace(re11, ''); 109 'uvqqra_ryrz'.replace(re2, ''); 115 'uggc://ubzr.zlfcnpr.pbz/vaqrk.psz'.replace(re12, ''); 119 str1.replace(/([a-zA-Z]|\s)+/, ''); [all …]
|
/external/v8/benchmarks/ |
D | regexp.js | 128 s2[i].replace(re2, ''); 146 s8[i].replace(re5, ''); 149 s9[i].replace(re6, ''); 160 s14[i].replace(re6, ''); 166 s16[i].replace(re10, ''); 167 s16[i].replace(/\[/g, ''); 168 s17[i].replace(re11, ''); 171 s18[i].replace(re2, ''); 177 s20[i].replace(re12, ''); 181 s21[i].replace(/([a-zA-Z]|\s)+/, ''); [all …]
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t048rewrite.py | 54 tokens.replace(0, "x") 63 tokens.replace(2, "x") 72 tokens.replace(1, "x") 81 tokens.replace(1, "x") 82 tokens.replace(1, "y") 92 tokens.replace(1, "x") 93 tokens.replace(1, "y") 102 tokens.replace(1, "x") 112 tokens.replace(0, 2, "x") 127 tokens.replace(0, "x") # supercedes insert at 0 [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/String/ |
D | regress-189898.js | 55 actual = 'XaXY'.replace('XY', '--') 60 actual = '$a$^'.replace('$^', '--') 65 actual = 'ababc'.replace('abc', '--') 70 actual = 'ababc'.replace('abc', '^$') 84 actual = 'XaXY'.replace(/XY/, '--') 89 actual = 'XaXY'.replace(/XY/g, '--') 94 actual = '$a$^'.replace(/\$\^/, '--') 99 actual = '$a$^'.replace(/\$\^/g, '--') 104 actual = 'ababc'.replace(/abc/, '--') 109 actual = 'ababc'.replace(/abc/g, '--') [all …]
|
D | regress-83293.js | 148 actual = 'abc'.replace('a', 'Z'); 153 actual = 'abc'.replace('b', 'Z'); 158 actual = 'abc'.replace(undefined, 'Z'); 163 actual = 'abc'.replace(null, 'Z'); 168 actual = 'abc'.replace(true, 'Z'); 173 actual = 'abc'.replace(false, 'Z'); 178 actual = 'aa$aa'.replace('$', 'Z'); 183 actual = 'abc'.replace('.*', 'Z'); 188 actual = 'abc'.replace('', 'Z');
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
D | regress-179524.js | 113 actual = str.replace(re, 'Z'); 118 actual = str.replace(re, 'Z', 'i'); 123 actual = str.replace(re, 'Z', 'g', ''); 128 actual = str.replace(re, 'Z', 'z', new Object(), new Date()); 275 actual = str.replace('a', 'Z'); 276 expect = str.replace(/a/, 'Z'); 280 actual = str.replace('a', 'Z', 'i'); 281 expect = str.replace(/a/i, 'Z'); 285 actual = str.replace('a', 'Z', 'ig'); 286 expect = str.replace(/a/ig, 'Z'); [all …]
|
/external/chromium/testing/ |
D | generate_gmock_mutant.py | 326 s = s.replace("<>", "") 327 s = s.replace(", >", ">") 328 s = s.replace(", )", ")") 329 s = s.replace(">>", "> >") 338 return [pattern.replace("%", x) for x in it] 412 mutant2 = mutant.replace("CreateFunctor(T* obj,", "CreateFunctor(T** obj,") 413 mutant2 = mutant2.replace("new Mutant", "new MutantLateObjectBind") 414 mutant2 = mutant2.replace(" " * 17 + "Tuple", " " * 31 + "Tuple") 422 stdcall_method = stdcall_method.replace("U::", "__stdcall U::") 427 stdcall_function = stdcall_function.replace("R (*", "R (__stdcall *"); [all …]
|
/external/webkit/Tools/TestResultServer/model/ |
D | jsonresults_unittest.py | 97 counts.append(JSON_RESULTS_COUNTS_TEMPLATE.replace("[TESTDATA]", build)) 103 json = json.replace("[TESTDATA_COUNTS]", ",".join(counts)) 104 json = json.replace("[TESTDATA_COUNT]", ",".join(builds)) 105 json = json.replace("[TESTDATA_BUILDNUMBERS]", ",".join(build_numbers)) 106 json = json.replace("[TESTDATA_WEBKITREVISION]", ",".join(webkit_revision)) 107 json = json.replace("[TESTDATA_CHROMEREVISION]", ",".join(chrome_revision)) 108 json = json.replace("[TESTDATA_TIMES]", ",".join(times)) 112 t = JSON_RESULTS_TESTS_TEMPLATE.replace("[TESTDATA_TEST_NAME]", test[0]) 113 t = t.replace("[TESTDATA_TEST_RESULTS]", test[1]) 114 t = t.replace("[TESTDATA_TEST_TIMES]", test[2]) [all …]
|
/external/v8/test/mjsunit/ |
D | string-replace-with-empty.js | 31 assertEquals("0123", "aa0bb1cc2dd3".replace(/[a-z]/g, "")); 32 assertEquals("0123", "\u1234a0bb1cc2dd3".replace(/[\u1234a-z]/g, "")); 40 assertEquals(expected, cons.replace(/[a-z]/g, "")); 45 assertEquals(expected, cons.replace(/[\u1234a-z]/g, "")); 52 assertEquals(expected, cons.replace(/[a-z]/g, "")); 58 assertEquals(expected, cons.replace(/[\u1234a-z]/g, "")); 64 "foo".replace(/foo/g, "");
|
D | regexp-capture.js | 39 assertEquals("z", "y".replace(/(x)?\1y/, "z")); 40 assertEquals("", "y".replace(/(x)?y/, "$1")); 41 assertEquals("undefined", "y".replace(/(x)?\1y/, 45 assertEquals("undefined", "y".replace(/(x)?y/, 49 assertEquals("undefined", "y".replace(/(x)?y/,
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestTokenRewriteStream.java | 100 tokens.replace(0, "x"); in testReplaceIndex0() 116 tokens.replace(2, "x"); in testReplaceLastIndex() 132 tokens.replace(1, "x"); in testReplaceMiddleIndex() 153 tokens.replace(4, 8, "0"); // replace 3 * 0 with 0 in testToStringStartStop() 193 tokens.replace(4, 8, "0"); // replace 3 * 0 with 0 in testToStringStartStop2() 235 tokens.replace(1, "x"); in test2ReplaceMiddleIndex() 236 tokens.replace(1, "y"); in test2ReplaceMiddleIndex() 253 tokens.replace(1, "x"); in test2ReplaceMiddleIndex1InsertBefore() 254 tokens.replace(1, "y"); in test2ReplaceMiddleIndex1InsertBefore() 270 tokens.replace(1, "x"); in testReplaceThenDeleteMiddleIndex() [all …]
|
/external/markdown/markdown/ |
D | postprocessors.py | 55 text = text.replace("<p>%s</p>" % 58 text = text.replace(markdown.preprocessors.HTML_PLACEHOLDER % i, 64 html = html.replace('&', '&') 65 html = html.replace('<', '<') 66 html = html.replace('>', '>') 67 return html.replace('"', '"') 76 text = text.replace(markdown.AMP_SUBSTITUTE, "&")
|
D | html4.py | 87 text = text.replace("&", "&") 89 text = text.replace("<", "<") 91 text = text.replace(">", ">") 101 text = text.replace("&", "&") 103 text = text.replace("<", "<") 105 text = text.replace(">", ">") 107 text = text.replace("\"", """) 109 text = text.replace("\n", " ") 118 text = text.replace("&", "&") 120 text = text.replace(">", ">") [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
D | string_replace.js | 43 "aXXb", 'adddb'.replace(/ddd/,'XX')); 47 'adddb', 'adddb'.replace(/eee/,'XX')); 51 … "34 56 ** 12", '34 56 78b 12'.replace(new RegExp('[0-9]+b'),'**')); 55 … "34 56 78b 12", '34 56 78b 12'.replace(new RegExp('[0-9]+c'),'XX')); 59 "XXoriginal", 'original'.replace(new RegExp(),'XX')); 63 … "qwe ert ****", 'qwe ert x\t\n 345654AB'.replace(new RegExp('x\\s*\\d+(..)$'),'****'));
|
/external/webkit/Tools/QueueStatusServer/model/ |
D | queues.py | 85 short_name = self._name.replace("chromium-ews", "Cr-Linux-ews") 86 short_name = short_name.replace("-ews", "") 87 short_name = short_name.replace("-queue", "") 92 display_name = self._name.replace("chromium-ews", "cr-linux-ews") 94 display_name = display_name.replace("-", " ") 95 display_name = display_name.replace("cr", "chromium") 97 display_name = display_name.replace("Ews", "EWS")
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
D | string-unpack-code.js | 16 …f(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){… 30 …f(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){… 51 …f(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){… 66 …''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[(function(e){return d[e]})];e=(function()…
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
D | string-unpack-code.js | 16 …f(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){… 30 …f(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){… 51 …f(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){… 66 …''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[(function(e){return d[e]})];e=(function()…
|
/external/oprofile/libregex/ |
D | op_regex.cpp | 104 string const & replace) in add_pattern() argument 110 replace_t regex = { regexp, replace }; in add_pattern() 197 do_replace(str, regexp.replace, match); in do_execute() 216 (string & str, string const & replace, regmatch_t const * match) const in do_replace() argument 219 for (size_t i = 0 ; i < replace.length() ; ++i) { in do_replace() 220 if (replace[i] == '\\') { in do_replace() 221 if (i == replace.length() - 1) { in do_replace() 223 replace); in do_replace() 226 if (replace[i] == '\\') { in do_replace() 230 replace[i]); in do_replace() [all …]
|
/external/v8/src/ |
D | string.js | 219 function StringReplace(search, replace) { argument 229 if (IS_SPEC_FUNCTION(replace)) { 231 return StringReplaceGlobalRegExpWithFunction(subject, search, replace); 235 replace); 240 TO_STRING_INLINE(replace), 249 IS_STRING(replace) && 250 %StringIndexOf(replace, '$', 0) < 0) { 254 return %StringReplaceOneCharWithString(subject, search, replace); 265 if (IS_SPEC_FUNCTION(replace)) { 266 var receiver = %GetDefaultReceiver(replace); [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | ConcurrentMapInterfaceTest.java | 425 assertEquals(oldValue, map.replace(keyToReplace, newValue)); in testReplace2ExistingKey() 432 map.replace(keyToReplace, newValue); in testReplace2ExistingKey() 454 assertNull(map.replace(keyToReplace, newValue)); in testReplace2MissingKey() 461 map.replace(keyToReplace, newValue); in testReplace2MissingKey() 485 assertNull(map.replace(null, valueToReplace)); in testReplace2NullKey() 491 assertNull(map.replace(null, valueToReplace)); in testReplace2NullKey() 517 map.replace(keyToReplace, null); in testReplace2ExistingKeyNullValue() 524 map.replace(keyToReplace, null); in testReplace2ExistingKeyNullValue() 551 assertNull(map.replace(keyToReplace, null)); in testReplace2MissingKeyNullValue() 557 assertNull(map.replace(keyToReplace, null)); in testReplace2MissingKeyNullValue() [all …]
|
/external/markdown/markdown/extensions/ |
D | codehilite.py | 105 txt = txt.replace('&', '&') 106 txt = txt.replace('<', '<') 107 txt = txt.replace('>', '>') 108 txt = txt.replace('"', '"') 114 txt = txt.replace('\t', ' '*TAB_LENGTH) 115 txt = txt.replace(" "*4, " ") 116 txt = txt.replace(" "*3, " ") 117 txt = txt.replace(" "*2, " ")
|
/external/webkit/Source/WebCore/editing/ |
D | DeleteSelectionCommand.h | 37 …ment, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool exp… 39 …ew DeleteSelectionCommand(document, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecial… 41 …tion, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool exp… 43 …w DeleteSelectionCommand(selection, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecial… 47 …DeleteSelectionCommand(Document*, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, boo… 48 …t VisibleSelection&, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSp…
|
/external/webkit/Tools/wx/packaging/ |
D | build-win-installer.py | 93 installerTemplate = installerTemplate.replace("msw-unicode", "msw") 95 installerTemplate = installerTemplate.replace("<<VERSION>>", date) 96 installerTemplate = installerTemplate.replace("<<WXVERSION>>", wx_version) 97 installerTemplate = installerTemplate.replace("<<ROOTDIR>>", wxwebkit_dir ) 98 installerTemplate = installerTemplate.replace("<<PYTHONVER>>", sys.version[0:3] ) 99 installerTemplate = installerTemplate.replace("<<FILES>>", fileList )
|