HomeSort by relevance Sort by last modified time
    Searched refs:replace (Results 1 - 25 of 633) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
regress-28686.js 34 reportCompare ('foo \\"bar\\" baz', str.replace(/([\'\"])/g, "\\$1"),
35 "str.replace failed.");
  /build/tools/droiddoc/src/
LiteralTagInfo.java 21 t = t.replace("&", "&");
22 t = t.replace("<", "&lt;");
23 t = t.replace(">", "&gt;");
  /external/webkit/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/v8/benchmarks/
regexp.js 70 'QBZPbageby_cynprubyqre'.replace(re2, '');
88 'vachggrkg'.replace(re5, '');
91 '528.9'.replace(re6, '');
102 '521'.replace(re6, '');
108 'qvi .so_zrah'.replace(re10, '');
109 'qvi .so_zrah'.replace(/\[/g, '');
110 'qvi.so_zrah'.replace(re11, '');
113 'uvqqra_ryrz'.replace(re2, '');
119 'uggc://ubzr.zlfcnpr.pbz/vaqrk.psz'.replace(re12, '');
123 str1.replace(/([a-zA-Z]|\s)+/, '')
    [all...]
  /external/webkit/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...]
  /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/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/WebCore/editing/
DeleteSelectionCommand.h 35 static PassRefPtr<DeleteSelectionCommand> create(Document* document, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false)
37 return adoptRef(new DeleteSelectionCommand(document, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements));
39 static PassRefPtr<DeleteSelectionCommand> create(const VisibleSelection& selection, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false)
41 return adoptRef(new DeleteSelectionCommand(selection, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements));
45 DeleteSelectionCommand(Document*, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements);
46 DeleteSelectionCommand(const VisibleSelection&, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements);
  /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/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/v8/test/mjsunit/
string-replace.js 29 * @fileoverview Test String.prototype.replace
34 "\"" + subject + "\".replace(" + pattern + ", " + replacement + ")";
35 assertEquals(result, subject.replace(pattern, replacement), name);
120 // Replace with functions.
125 assertEquals(3, arguments.length, "replace('x',func) func-args");
126 assertEquals("x", m, "replace('x',func(m,..))");
127 assertEquals(0, i, "replace('x',func(..,i,..))");
128 assertEquals(short, s, "replace('x',func(..,s))");
131 assertEquals(1, ctr, "replace('x',func) num-match");
135 assertEquals(3, arguments.length, "replace(/x/,func) func-args")
    [all...]
  /external/webkit/WebCore/platform/chromium/
ClipboardUtilitiesChromium.cpp 44 str.replace(Newline, WindowsNewline);
52 str.replace(NonBreakingSpaceCharacter, SpaceCharacter);
  /external/chromium/third_party/icu/public/i18n/unicode/
unirepl.h 28 * replace a range of characters in a Replaceable string with output
47 * Replace characters in 'text' from 'start' to 'limit' with the
64 virtual int32_t replace(Replaceable& text,
  /external/icu4c/i18n/unicode/
unirepl.h 28 * replace a range of characters in a Replaceable string with output
47 * Replace characters in 'text' from 'start' to 'limit' with the
64 virtual int32_t replace(Replaceable& text,
  /external/webkit/WebCore/loader/win/
DocumentLoaderWin.cpp 39 text.replace('//', m_frame->backslashAsCurrencySymbol());
  /external/webkit/WebCore/platform/android/
FileChooserAndroid.cpp 42 output = output.replace(0, 4, String("..."));
  /external/webkit/WebCore/platform/text/
RegularExpression.h 51 void replace(String&, const RegularExpression&, const String&);
  /libcore/support/src/test/java/tests/support/
Support_PlatformFile.java 31 + System.getProperty("java.vm.version").replace('.', '-');
  /external/qemu/
offset_layout.py 36 DX = int(value.replace("_", "-"))
38 DY = int(value.replace("_", "-"))
40 PX = int(value.replace("_", "-"))
42 PY = int(value.replace("_", "-"))
44 KX = int(value.replace("_", "-"))
46 KY = int(value.replace("_", "-"))
  /packages/apps/Settings/tests/src/com/android/settings/tests/
Utf8ByteLengthFilterTest.java 64 dest.replace(5, 8, source);
80 dest.replace(8, 10, source);
83 dest.replace(0, 1, source);
87 dest.replace(0, 4, source);
97 dest.replace(2, 3, source);
101 dest.replace(3, 4, source);

Completed in 763 milliseconds

1 2 3 4 5 6 7 8 91011>>