/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
js_utils.py | 7 return js.replace('</script>', '<\/script>')
|
/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...] |
/development/samples/SupportLeanbackDemos/ |
generatev4.py | 25 return line.replace('<?xml version="1.0" encoding="utf-8"?>', '<?xml version="1.0" encoding="utf-8"?>\n<!-- This file is auto-generated from {}.xml. DO NOT MODIFY. -->\n'.format(name)) 31 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') 32 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') 33 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment') 34 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity') 35 line = line.replace('extends Activity', 'extends FragmentActivity') 44 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') 45 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') 46 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment') 47 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity' [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...] |
/frameworks/support/v17/tests/ |
generatev4.py | 37 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) 38 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') 39 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') 56 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) 58 line = line.replace('{}FragmentTest'.format(w), '{}SupportFragmentTest'.format(w)) 59 line = line.replace('{}FragmentTestActivity'.format(w), '{}SupportFragmentTestActivity'.format(w)) 60 line = line.replace('{}TestFragment'.format(w), '{}TestSupportFragment'.format(w)) 71 line = line.replace('BrowseTestFragment', 'BrowseTestSupportFragment') 72 line = line.replace('BrowseFragmentTestActivity', 'BrowseSupportFragmentTestActivity') 73 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment' [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(">", ">");
|
/frameworks/support/v17/leanback/ |
generatev4.py | 34 line = line.replace('IS_FRAMEWORK_FRAGMENT = true', 'IS_FRAMEWORK_FRAGMENT = false'); 36 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) 37 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') 38 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') 39 line = line.replace('activity.getFragmentManager()', 'activity.getSupportFragmentManager()') 40 line = line.replace('Activity activity', 'FragmentActivity activity') 41 line = line.replace('(Activity', '(FragmentActivity') 50 line = line.replace('PlaybackControlGlue', 'PlaybackControlSupportGlue'); 51 line = line.replace('PlaybackOverlayFragment', 'PlaybackOverlaySupportFragment');
|
/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/android_icu4j/src/main/java/android/icu/text/ |
Replaceable.java | 20 * during a replace operation, new characters take on the metadata of 35 * <code>replace()</code> is the following: 108 * limit is equal to the replacement text, that replace has no 118 * @param text the text to replace characters <code>start</code> 121 void replace(int start, int limit, String text); method in interface:Replaceable 127 * limit is equal to the replacement text, that replace has no 137 * @param chars the text to replace characters <code>start</code> 143 void replace(int start, int limit, char[] chars, method in interface:Replaceable 157 * replace(dest, dest, text, 0, limit - start);</pre>
|
UnicodeReplacer.java | 16 * replace a range of characters in a Replaceable string with output 24 * Replace characters in 'text' from 'start' to 'limit' with the 40 public abstract int replace(Replaceable text, method in interface:UnicodeReplacer
|
/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
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
StringUtils.java | 69 return escaped.replace(QUOT_ENTITY, "\"") 70 .replace(LT_ENTITY, "<") 71 .replace(GT_ENTITY, ">") 72 .replace(APOS_ENTITY, "'") 73 .replace(AMP_ENTITY, "&") 74 .replace(TAB_ENTITY, "\t") 75 .replace(CR_ENTITY, "\r") 76 .replace(LFEED_ENTITY, "\n");
|
/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/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'});
|
/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);
|
/libcore/benchmarks/src/benchmarks/regression/ |
StringReplaceBenchmark.java | 56 s.value.replace('z', '0'); 62 s.value.replace('a', '0'); 68 s.value.replace('q', '0'); 74 s.value.replace("fish", "0"); 80 s.value.replace("jklm", "0"); 86 s.value.replace("qrst", "0");
|
/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...] |