| /external/webkit/WebKitTools/CodeCoverage/ |
| regenerate-coverage-display | 132 site = "%s.html" % name.replace(os.path.sep,'__') 169 def replace(text, *pairs): function 184 return replace(text, 212 escaped_dir = dir_name.replace(os.path.sep,'__') 229 escaped_name = file_name.replace(os.path.sep,'__')
|
| /external/v8/test/mjsunit/ |
| regexp.js | 221 assertEquals("*a\n*b\r*c\n*\r*d\r*\n*e", "a\nb\rc\n\rd\r\ne".replace(re, "*$1")); 225 assertEquals("xAx", "A".replace(re, "x")); 226 assertEquals(3, String.fromCharCode(161).replace(re, "x").length); 244 if (doit) return "".replace(/foo(/gi, ""); 253 assertEquals("t", "123456789t".replace(re, "$10"), "$10"); 254 assertEquals("15", "123456789t".replace(re, "$15"), "$10"); 255 assertEquals("1", "123456789t".replace(re, "$01"), "$01"); 256 assertEquals("$001", "123456789t".replace(re, "$001"), "$001"); 258 assertEquals("bar$0", "foox".replace(re, "bar$0"), "$0"); 259 assertEquals("bar$00", "foox".replace(re, "bar$00"), "$00") [all...] |
| /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
| regress-209067.js | 29 * decision by deleting the provisions above and replace them with the notice 38 * SUMMARY: Testing complicated str.replace() 46 var summary = 'Testing complicated str.replace()'; 57 // a replace function used in the succeeding lines - 60 return s.replace(/</g,'<').replace(/>/g,'>'); 64 h=h.replace(/&([^\s]+;)/g,'<&$1>'); 65 h=h.replace(new RegExp('<!-'+'-[\\s\\S]*-'+'->','g'), S); 66 h=h.replace(/"[^"]*"/g,S); 67 h=h.replace(/'[^']*'/g,S) [all...] |
| /cts/tools/signature-tools/src/signature/converter/dex/ |
| DexUtil.java | 89 return ModelUtil.getPackageName(name.replace("/", ".")); 101 return ModelUtil.getClassName(name.replace("/", ".")).replace('$', '.'); 106 return name.replace('/', '.'); 120 return "L" + packageName.replace('.', '/') + "/" 121 + className.replace('.', '$') + ";";
|
| /external/webkit/SunSpider/resources/ |
| sunspider-compare-results.js | 89 var category = test.replace(/-.*/, ""); 124 var category = test.replace(/-.*/, ""); 149 var category = test.replace(/-.*/, ""); 165 var category = test.replace(/-.*/, ""); 261 var shortName = tests[i].replace(/^[^-]*-/, ""); 354 var shortName = test.replace(/^[^-]*-/, "");
|
| /frameworks/base/core/tests/hosttests/src/android/content/pm/ |
| PackageManagerHostTestUtils.java | 201 public void installFile(final String localFilePath, final boolean replace) throws IOException { 202 String result = mDevice.installPackage(localFilePath, replace); 213 public String installFileFail(final String localFilePath, final boolean replace) 215 String result = mDevice.installPackage(localFilePath, replace); 226 public String installFileForwardLocked(final String localFilePath, final boolean replace) 230 String cmd = String.format(replace ? "pm install -r -l \"%1$s\"" :
|
| /build/tools/droiddoc/src/ |
| PackageInfo.java | 46 s = s.replace('.', '/'); 54 s = s.replace('.', '/');
|
| /external/chromium/net/data/proxy_resolver_v8_unittest/ |
| passthrough.js | 13 // Form a string that kind-of resembles a host. We will replace any 21 c = '.'; // Replace unsupported characters with a dot.
|
| /external/chromium/net/ftp/ |
| ftp_util.cc | 98 std::replace(result.begin(), result.end(), '.', '/'); 99 std::replace(result.begin(), result.end(), ']', '/');
|
| /external/emma/core/java12/com/vladium/emma/report/ |
| SourcePathCache.java | 109 final File relativeFile = new File (packageVMName.replace ('/', File.separatorChar), name); 198 final File packageFile = new File (dir, packageVMName.replace ('/', File.separatorChar));
|
| /external/emma/core/java12/com/vladium/util/ |
| Descriptors.java | 63 return javaName.replace ('.', '/'); 81 return vmName.replace ('/', '.');
|
| /external/libxml2/include/libxml/ |
| catalog.h | 81 const xmlChar *replace); 135 const xmlChar *replace);
|
| /external/protobuf/gtest/test/ |
| gtest_output_test.py | 86 return s.replace('\r\n', '\n').replace('\r', '\n')
|
| /external/webkit/WebCore/css/ |
| CSSPrimitiveValue.cpp | 183 s.replace('\\', "\\\\"); 184 s.replace('\'', "\\'");
|
| /external/webkit/WebCore/editing/ |
| CompositeEditCommand.h | 55 void deleteSelection(bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = true); 56 void deleteSelection(const VisibleSelection&, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = true);
|
| /external/webkit/WebCore/platform/qt/ |
| PasteboardQt.cpp | 65 text.replace(QChar(0xa0), QLatin1Char(' ')); 127 qtext.replace(QChar(0xa0), QLatin1Char(' '));
|
| /external/webkit/WebCore/xml/ |
| XSLTProcessor.cpp | 52 text.replace('&', "&"); 53 text.replace('<', "<");
|
| /external/webkit/WebKit/chromium/public/ |
| WebFrame.h | 257 // replace is false, then this data will be loaded as a normal 264 bool replace = false) = 0; 271 bool replace = false) = 0;
|
| /external/webkit/WebKit/mac/Misc/ |
| WebNSDataExtras.m | 55 Boolean replace = FALSE; 58 replace = TRUE; 62 replace = TRUE; 64 if (replace) {
|
| /external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/ |
| apache_http_server.py | 141 return path.replace('\\', '/') 161 httpd_conf = httpd_conf.replace('ServerRoot "/usr"',
|
| /external/webkit/WebKitTools/pywebsocket/mod_pywebsocket/ |
| dispatch.py | 64 path = path.replace('\\', os.path.sep) 66 path = path.replace('\\', '/')
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
| StringBuffer2Test.java | 811 * @tests java.lang.StringBuffer#replace(int, int, java.lang.String) 816 method = "replace", 821 // java.lang.StringBuffer.replace(int, int, java.lang.String) 822 testBuffer.replace(5, 9, "is a replaced"); 823 assertTrue("Replace failed, wanted: " + "\'" 827 assertEquals("insert1", "text", new StringBuffer().replace(0, 0, "text") 829 assertEquals("insert2", "123text", new StringBuffer("123").replace(3, 3, "text") 831 assertEquals("insert2", "1text23", new StringBuffer("123").replace(1, 1, "text") 835 testBuffer.replace(-1, 0, "text"); 842 testBuffer.replace(0, -1, "text") [all...] |
| /packages/apps/Calculator/src/com/android/calculator2/ |
| Logic.java | 181 return result.replace('-', MINUS).replace(INFINITY, INFINITY_UNICODE);
|
| /cts/tools/dex-tools/src/dex/reader/ |
| TypeFormatter.java | 69 return typeName.substring(1, typeName.length() - 1).replace( 70 "/", "."); // remove 'L' and ';', replace '/' with '.'
|
| /dalvik/dx/src/junit/runner/ |
| ClassPathTestCollector.java | 75 String s2= s.replace(File.separatorChar, '.');
|