/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/ |
ImgSrcReplacementTest.java | 29 private static void replace(final String input, final String expectedOutput) { method in class:ImgSrcReplacementTest 35 replace( 43 replace( 51 replace( 59 replace( 67 replace( 75 replace( 84 replace( 93 replace( 101 replace( [all...] |
/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/doclava/src/com/google/doclava/ |
CodeTagInfo.java | 27 t = t.replace("&", "&"); 28 t = t.replace("<", "<"); 29 t = t.replace(">", ">");
|
LiteralTagInfo.java | 27 t = t.replace("&", "&"); 28 t = t.replace("<", "<"); 29 t = t.replace(">", ">");
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
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/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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
Replaceable.java | 19 * during a replace operation, new characters take on the metadata of 34 * <code>replace()</code> is the following: 112 * limit is equal to the replacement text, that replace has no 122 * @param text the text to replace characters <code>start</code> 126 void replace(int start, int limit, String text); method in interface:Replaceable 132 * limit is equal to the replacement text, that replace has no 142 * @param chars the text to replace characters <code>start</code> 149 void replace(int start, int limit, char[] chars, method in interface:Replaceable 163 * replace(dest, dest, text, 0, limit - start);</pre>
|
UnicodeReplacer.java | 15 * replace a range of characters in a Replaceable string with output 23 * Replace characters in 'text' from 'start' to 'limit' with the 39 public abstract int replace(Replaceable text, method in interface:UnicodeReplacer
|
/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...] |
/frameworks/support/v17/leanback/ |
generatev4.py | 35 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) 36 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') 37 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
|
/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);
|
/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
|
/external/libcxx/test/std/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); 24 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'}); 31 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'});
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentMap.java | 17 * {@code putIfAbsent}, {@code remove}, and {@code replace} 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
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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); 24 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'}); 31 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'});
|
/packages/apps/Launcher3/ |
update_system_wallpaper_cropper.py | 54 dir = dir.replace("launcher3", "wallpapercropper") 55 dir = dir.replace(src_dir, "src/")
|
/external/v8/test/mjsunit/ |
string-oom-replace-regexp-global-with-function.js | 10 function replace() { function 11 a.replace(/a/g, function() { return b }); 14 assertThrows(replace, RangeError);
|
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/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/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
FileUtilities.java | 40 line = replace(line, replacementList[i], replacementList[i+1]); 51 public static String replace(String source, String piece, String replacement) { method in class:FileUtilities 62 public static String replace(String source, String[][] replacements) { method in class:FileUtilities 63 return replace(source, replacements, replacements.length); 66 public static String replace(String source, String[][] replacements, int count) { method in class:FileUtilities 68 source = replace(source, replacements[i][0], replacements[i][1]); 73 public static String replace(String source, String[][] replacements, boolean reverse) { method in class:FileUtilities 74 if (!reverse) return replace(source, replacements); 76 source = replace(source, replacements[i][1], replacements[i][0]);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
ClassNameReader.java | 47 array.add( name.replace('/', '.') ); 49 array.add( superName.replace('/', '.') ); 52 array.add( interfaces[i].replace('/', '.') );
|
/external/javassist/src/main/javassist/ |
ClassClassPath.java | 73 String jarname = "/" + classname.replace('.', '/') + ".class"; 83 String jarname = "/" + classname.replace('.', '/') + ".class";
|
/external/lldb/test/ |
bench.py | 61 command = item.replace('%E', 63 command = command.replace('%X',
|