/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
regress-28686.js | 34 reportCompare ('foo \\"bar\\" baz', str.replace(/([\'\"])/g, "\\$1"), 35 "str.replace failed.");
|
/external/doclava/src/com/google/doclava/ |
CodeTagInfo.java | 21 t = t.replace("&", "&"); 22 t = t.replace("<", "<"); 23 t = t.replace(">", ">");
|
LiteralTagInfo.java | 21 t = t.replace("&", "&"); 22 t = t.replace("<", "<"); 23 t = t.replace(">", ">");
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/String/ |
regress-189898.js | 29 * decision by deleting the provisions above and replace them with the notice 55 actual = 'XaXY'.replace('XY', '--') 60 actual = '$a$^'.replace('$^', '--') 65 actual = 'ababc'.replace('abc', '--') 70 actual = 'ababc'.replace('abc', '^$') 78 * to String.prototype.replace() instead of a string. 84 actual = 'XaXY'.replace(/XY/, '--') 89 actual = 'XaXY'.replace(/XY/g, '--') 94 actual = '$a$^'.replace(/\$\^/, '--') 99 actual = '$a$^'.replace(/\$\^/g, '--' [all...] |
regress-83293.js | 32 * str.replace(strA, strB) == str.replace(new RegExp(strA),strB). 33 * See ECMA-262 Final Draft, 15.5.4.11 String.prototype.replace 37 * String.prototype.replace (searchValue, replaceValue), if provided 38 * a searchValue that is not a RegExp, is NO LONGER to replace it with 44 * This puts the replace() method at variance with search() and match(), 51 var summ_OLD = 'Testing str.replace(strA, strB) == str.replace(new RegExp(strA),strB)'; 52 var summ_NEW = 'Testing String.prototype.replace(x,y) when x is a string'; 73 * When this bug was filed, str.replace(strA, strB) would return no valu [all...] |
regress-104375.js | 22 * SUMMARY: Regression test for string.replace bug 104375 28 var summary = 'Testing string.replace() with backreferences'; 38 * Use the regexp to replace 'uid=31' with 'uid=15' 40 * In the second parameter of string.replace() method, 48 actual = str.replace (re, "$1" + 15); 54 actual = str.replace (re, "$1" + '15'); 60 actual = str.replace (re, "$1" + 'A15');
|
/external/webkit/Source/WebCore/platform/qt/ |
LanguageQt.cpp | 38 return locale.name().replace(QLatin1Char('_'), QLatin1Char('-'));
|
/external/v8/benchmarks/ |
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/webkit/PerformanceTests/SunSpider/tests/v8-v4/ |
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/ |
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/ |
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/Source/WebCore/platform/chromium/ |
ClipboardUtilitiesChromium.cpp | 44 str.replace(Newline, WindowsNewline); 52 str.replace(NonBreakingSpaceCharacter, SpaceCharacter);
|
/external/markdown/markdown/ |
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, "&")
|
/development/scripts/ |
combine_sdks.sh | 3 function replace() function 67 # replace tools/emulator # at this time we do not want the exe from SDK1.x 68 replace tools/lib/images 69 replace tools/lib/res 70 replace tools/lib/fonts 71 replace tools/lib/layoutlib.jar 72 replace docs 73 replace android.jar 76 replace tools/lib/$i.txt 80 replace usb_drive [all...] |
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/ |
DebugReceiver.java | 59 return action.replace("android", "a") 60 .replace("bluetooth", "b") 61 .replace("extra", "e") 62 .replace("action", "a");
|
/external/guava/src/com/google/common/collect/ |
ForwardingConcurrentMap.java | 47 public V replace(K key, V value) { method in class:ForwardingConcurrentMap 48 return delegate().replace(key, value); 51 public boolean replace(K key, V oldValue, V newValue) { method in class:ForwardingConcurrentMap 52 return delegate().replace(key, oldValue, newValue);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentMap.java | 16 * <tt>putIfAbsent</tt>, <tt>remove</tt>, and <tt>replace</tt> methods. 106 boolean replace(K key, V oldValue, V newValue); method in interface:ConcurrentMap 133 V replace(K key, V value); method in interface:ConcurrentMap
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
string_replace.js | 24 Description: 'Tests the replace method on Strings using regular expressions' 33 var TITLE = 'String: replace'; 41 // 'adddb'.replace(/ddd/,"XX") 42 testcases[count++] = new TestCase ( SECTION, "'adddb'.replace(/ddd/,'XX')", 43 "aXXb", 'adddb'.replace(/ddd/,'XX')); 45 // 'adddb'.replace(/eee/,"XX") 46 testcases[count++] = new TestCase ( SECTION, "'adddb'.replace(/eee/,'XX')", 47 'adddb', 'adddb'.replace(/eee/,'XX')); 49 // '34 56 78b 12'.replace(new RegExp('[0-9]+b'),'**') 50 testcases[count++] = new TestCase ( SECTION, "'34 56 78b 12'.replace(new RegExp('[0-9]+b'),'**')" [all...] |
/external/webkit/Source/WebCore/editing/ |
DeleteSelectionCommand.h | 37 static PassRefPtr<DeleteSelectionCommand> create(Document* document, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false) 39 return adoptRef(new DeleteSelectionCommand(document, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements)); 41 static PassRefPtr<DeleteSelectionCommand> create(const VisibleSelection& selection, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false) 43 return adoptRef(new DeleteSelectionCommand(selection, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements)); 47 DeleteSelectionCommand(Document*, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements); 48 DeleteSelectionCommand(const VisibleSelection&, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements);
|
/external/webkit/Tools/QueueStatusServer/model/ |
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")
|
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorEditable.java | 35 replace(int start, int end, CharSequence tb, int tbstart, int tbend) { method in class:CalculatorEditable 37 return super.replace(start, end, tb, tbstart, tbend); 57 delta = delta.replace(ORIGINALS[i], REPLACEMENTS[i]); 71 return super.replace(start, end, ""); 79 return super.replace(start, end, ""); 93 return super.replace(start, end, ""); 96 return super.replace(start, end, delta);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
regress-179524.js | 29 * decision by deleting the provisions above and replace them with the notice 41 * Note that when testing str.replace(), we have to be careful if the first 42 * argument provided to str.replace() is not a regexp object. ECMA-262 says 47 * to str.replace(), if that argument is a string - 110 * Now try the same thing with str.replace() 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()); 267 * Now test str.replace() where the first argument is not a regexp object [all...] |
/external/chromium/testing/ |
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/chromium/build/ |
apply_locales.py | 15 parser.set_usage(usage.replace('%s', '%prog')) 37 locale = locale.replace('-', '_') 38 results.append(str_template.replace('ZZLOCALE', locale))
|
/external/webkit/Tools/TestResultServer/model/ |
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...] |