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

1 2 3 4 5 6 7 8 91011>>

  /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("<", "&lt;");
23 t = t.replace(">", "&gt;");
LiteralTagInfo.java 21 t = t.replace("&", "&amp;");
22 t = t.replace("<", "&lt;");
23 t = t.replace(">", "&gt;");
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
basic.rb 45 example 'replace index 0' do
47 stream.replace( 0, 'x' )
51 example 'replace last index' do
53 stream.replace 2, 'x'
57 example 'replace last index' do
59 stream.replace( 2, 'x' )
63 example 'replace middle index' do
65 stream.replace 1, 'x'
69 example 'replace middle index' do
71 stream.replace 1, 'x
    [all...]
  /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...]
  /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('&', '&amp;')
65 html = html.replace('<', '&lt;')
66 html = html.replace('>', '&gt;')
67 return html.replace('"', '&quot;')
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/guava/src/com/google/common/collect/
ForwardingConcurrentMap.java 52 public V replace(K key, V value) { method in class:ForwardingConcurrentMap
53 return delegate().replace(key, value);
57 public boolean replace(K key, V oldValue, V newValue) { method in class:ForwardingConcurrentMap
58 return delegate().replace(key, oldValue, newValue);
  /ndk/sources/cxx-stl/llvm-libc++/test/strings/basic.string/string.modifiers/string_replace/
iter_iter_initializer_list.pass.cpp 12 // basic_string& replace(const_iterator i1, const_iterator i2, initializer_list<charT> il);
22 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'});
  /external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
ConcurrentMap.java 32 V replace(K key, V value); method in interface:ConcurrentMap
34 boolean replace(K key, V oldValue, V newValue); method in interface:ConcurrentMap
  /libcore/luni/src/main/java/java/util/concurrent/
ConcurrentMap.java 16 * <tt>putIfAbsent</tt>, <tt>remove</tt>, and <tt>replace</tt> methods.
113 boolean replace(K key, V oldValue, V newValue); method in interface:ConcurrentMap
142 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/antlr/antlr-3.4/runtime/Python/tests/
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
    [all...]
  /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...]

Completed in 1284 milliseconds

1 2 3 4 5 6 7 8 91011>>