/external/jacoco/org.jacoco.report/src/org/jacoco/report/ |
JavaNames.java | 25 return vmname.replace('/', '.'); 31 return name.replace('$', '.'); 74 return vmname.replace('/', '.').replace('$', '.'); 129 return shortName.replace('$', '.');
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
jquery.timeago.js | 68 return string.replace(/%d/i, value); 87 s = s.replace(/\.\d\d\d+/,""); // remove milliseconds 88 s = s.replace(/-/,"/").replace(/-/,"/"); 89 s = s.replace(/T/," ").replace(/Z/," UTC"); 90 s = s.replace(/([\+-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
|
/external/v8/test/mjsunit/ |
string-replace-with-empty.js | 31 assertEquals("0123", "aa0bb1cc2dd3".replace(/[a-z]/g, "")); 32 assertEquals("0123", "\u1234a0bb1cc2dd3".replace(/[\u1234a-z]/g, "")); 40 assertEquals(expected, cons.replace(/[a-z]/g, "")); 45 assertEquals(expected, cons.replace(/[\u1234a-z]/g, "")); 52 assertEquals(expected, cons.replace(/[a-z]/g, "")); 58 assertEquals(expected, cons.replace(/[\u1234a-z]/g, "")); 64 "foo".replace(/foo/g, "");
|
regexp-global.js | 31 str = str.replace(/(\w)?X/g, function(match, capture) { 40 str = str.replace(/\b/g, function(match, capture) { 47 str = str.replace(/(?=(\w+))\b/g, function(match, capture) { 54 str = str.replace(/(not?)|(do)|(try)/gi, 67 str = str.replace(/(FOUR|TWO) LEGS (GOOD|BAD)/g, 82 str = str.replace(/(\w)?\u1234/g, 92 str = str.replace(/\b/g, function(match, capture) { 99 str = str.replace(/(?=(\w+))\b/g, function(match, capture) { 106 str = str.replace(/(not?)|(d\u26aa)|(try)/gi, 119 str = str.replace(/(FOUR|TWO) \u817f (GOOD|BAD)/g [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestTokenRewriteStream.java | 100 tokens.replace(0, "x"); 116 tokens.replace(2, "x"); 132 tokens.replace(1, "x"); 153 tokens.replace(4, 8, "0"); // replace 3 * 0 with 0 193 tokens.replace(4, 8, "0"); // replace 3 * 0 with 0 235 tokens.replace(1, "x"); 236 tokens.replace(1, "y"); 253 tokens.replace(1, "x") [all...] |
/external/libxml2/win32/ |
configure.js | 297 of.WriteLine(s.replace(/\@VERSION\@/, 300 of.WriteLine(s.replace(/\@LIBXML_VERSION_NUMBER\@/, 303 of.WriteLine(s.replace(/\@LIBXML_VERSION_EXTRA\@/, verCvs)); 305 of.WriteLine(s.replace(/\@WITH_TRIO\@/, withTrio? "1" : "0")); 307 of.WriteLine(s.replace(/\@WITH_THREADS\@/, withThreads == "no"? "0" : "1")); 309 of.WriteLine(s.replace(/\@WITH_THREAD_ALLOC\@/, "0")); 311 of.WriteLine(s.replace(/\@WITH_FTP\@/, withFtp? "1" : "0")); 313 of.WriteLine(s.replace(/\@WITH_HTTP\@/, withHttp? "1" : "0")); 315 of.WriteLine(s.replace(/\@WITH_HTML\@/, withHtml? "1" : "0")); 317 of.WriteLine(s.replace(/\@WITH_C14N\@/, withC14n? "1" : "0")) [all...] |
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/ |
cssmin.py | 88 match.group().replace(":", "___PSEUDOCLASSCOLON___"), 106 css = css.replace('___PSEUDOCLASSCOLON___', ':') 134 css = css.replace(match.group(), hexcolor) 140 """Replace `0(px, em, %, etc)` with `0`.""" 146 """Replace `:0 0 0 0;`, `:0 0 0;` etc. with `:0;`.""" 148 css = css.replace(":0 0 0 0;", ":0;") 149 css = css.replace(":0 0 0;", ":0;") 150 css = css.replace(":0 0;", ":0;") 153 css = css.replace("background-position:0;", "background-position:0 0;") 159 """Replace `0.6` with `.6` where possible."" [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_strop.py | 58 replace = strop.replace 59 self.assertTrue(replace("one!two!three!", '!', '@', 1) 61 self.assertTrue(replace("one!two!three!", '!', '@', 2) 63 self.assertTrue(replace("one!two!three!", '!', '@', 3) 65 self.assertTrue(replace("one!two!three!", '!', '@', 4) 68 # CAUTION: a replace count of 0 means infinity only to strop, 69 # not to the string .replace() method or to the 70 # string.replace() function. 72 self.assertTrue(replace("one!two!three!", '!', '@', 0 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_strop.py | 58 replace = strop.replace 59 self.assertTrue(replace("one!two!three!", '!', '@', 1) 61 self.assertTrue(replace("one!two!three!", '!', '@', 2) 63 self.assertTrue(replace("one!two!three!", '!', '@', 3) 65 self.assertTrue(replace("one!two!three!", '!', '@', 4) 68 # CAUTION: a replace count of 0 means infinity only to strop, 69 # not to the string .replace() method or to the 70 # string.replace() function. 72 self.assertTrue(replace("one!two!three!", '!', '@', 0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strop.py | 58 replace = strop.replace 59 self.assertTrue(replace("one!two!three!", '!', '@', 1) 61 self.assertTrue(replace("one!two!three!", '!', '@', 2) 63 self.assertTrue(replace("one!two!three!", '!', '@', 3) 65 self.assertTrue(replace("one!two!three!", '!', '@', 4) 68 # CAUTION: a replace count of 0 means infinity only to strop, 69 # not to the string .replace() method or to the 70 # string.replace() function. 72 self.assertTrue(replace("one!two!three!", '!', '@', 0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strop.py | 58 replace = strop.replace 59 self.assertTrue(replace("one!two!three!", '!', '@', 1) 61 self.assertTrue(replace("one!two!three!", '!', '@', 2) 63 self.assertTrue(replace("one!two!three!", '!', '@', 3) 65 self.assertTrue(replace("one!two!three!", '!', '@', 4) 68 # CAUTION: a replace count of 0 means infinity only to strop, 69 # not to the string .replace() method or to the 70 # string.replace() function. 72 self.assertTrue(replace("one!two!three!", '!', '@', 0 [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
MapDefaultMethodTester.java | 147 assertFalse(m.replace(1, 1.0, 2.0)); 152 assertFalse(m.replace(1, 2.0, 2.0)); 157 assertTrue(m.replace(1, 1.0, 2.0)); 162 assertTrue(m.replace(null, 1.0, 2.0)); 166 m.replace(null, 1.0, 2.0); 173 assertTrue(m.replace(1, null, 1.0)); 178 m.replace(1, 1.0, null); 187 assertNull(m.replace(1, 1.0)); 192 assertEquals(1.0, m.replace(1, 2.0)); 197 assertEquals(1.0, m.replace(1, null)) [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
Wildcard.java | 88 strings[i] = ((String)v).replace('.', '/'); 102 public String replace(String value) { method in class:Wildcard 137 private static String replaceAllLiteral(Pattern pattern, String value, String replace) { 138 replace = replace.replaceAll("([$\\\\])", "\\\\$0"); 139 return pattern.matcher(value).replaceAll(replace);
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
SmaliClassTypeElementTest.java | 51 text.replace("<ref>", "")); 82 SmaliFile file = (SmaliFile)myFixture.addFileToProject("smali.smali", text.replace("<ref>", "")); 104 SmaliFile file = (SmaliFile)myFixture.addFileToProject("smali.smali", text.replace("<ref>", "")); 128 SmaliFile file = (SmaliFile)myFixture.addFileToProject("smali.smali", text.replace("<ref>", "")); 141 file = (SmaliFile)myFixture.addFileToProject("smali2.smali", text.replace("<ref>", "")); 162 SmaliFile file = (SmaliFile)myFixture.addFileToProject("smali.smali", text.replace("<ref>", ""));
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentMap.java | 193 boolean replace(K key, V oldValue, V newValue); method in interface:ConcurrentMap 225 V replace(K key, V value); method in interface:ConcurrentMap 239 * } while (!map.replace(k, v, function.apply(k, v))); 261 while (!replace(k, v, function.apply(k, v))) { 321 * : map.replace(key, oldValue, newValue)) 347 : replace(key, oldValue, newValue)) 366 * ? map.replace(key, oldValue, newValue) 397 if (replace(key, oldValue, newValue)) 424 * if (map.replace(key, oldValue, newValue)) 459 if (replace(key, oldValue, newValue) [all...] |
/external/autotest/client/site_tests/platform_CryptohomeNonDirs/ |
platform_CryptohomeNonDirs.py | 19 def replace(self, src, dest): member in class:platform_CryptohomeNonDirs 62 self.replace(parent_path + '.old', parent_path) 73 self.replace(parent_path + '.old', parent_path)
|
/external/autotest/contrib/ |
dhcp_failed_machines.py | 32 hostname = d['ddns-hostname'].replace('"', '').replace(';', '') 33 lookups[d['fixed-address'].replace(';', '')] = hostname
|
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/ |
test_lxml.py | 78 soup.encode("utf-8").replace(b"\n", b''), 79 markup.replace(b'\n', b'').replace(
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/cloudtrail/ |
test_cloudtrail.py | 59 policy = DEFAULT_S3_POLICY.replace('<BucketName>', bucket_name)\ 60 .replace('<CustomerAccountID>', account_id)\ 61 .replace('<Prefix>/', '')
|
/external/jsoncpp/devtools/ |
licenseupdater.py | 14 """.replace('\r\n','\n') 26 original_text = fin.read().replace('\r\n','\n') 37 fout.write( new_text.replace('\n', newline ) )
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
DebuggingClassWriter.java | 56 className = name.replace('/', '.'); 57 this.superName = superName.replace('/', '.'); 78 String dirs = className.replace('.', File.separatorChar);
|
/external/parameter-framework/upstream/test/functional-tests/include/ |
ConfigFiles.hpp | 80 replace(format, '{' + sub.first + '}', sub.second); 85 void replace(std::string &on, const std::string &from, const std::string &to) function in class:parameterFramework::ConfigFiles 89 on.replace(from_pos, from.length(), to);
|
/external/skia/tools/ |
generate_includes_cpp.py | 73 include_dirs.append(include_dir.replace("\\", "/")) 74 ignore_list = options.ignore.replace("\\", "/") 78 ignore_list = ignore_list.replace("../", "")
|
/cts/apps/CameraITS/tools/ |
convert_yuv_to_jpg.py | 33 its.image.write_image(img, fname.replace(".yuv",".jpg"), False)
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/ |
Android.mk | 36 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version 63 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundredRevisionTwelve --replace-version 89 LOCAL_AAPT_FLAGS := --version-code 101 --version-name OneHundredOne --replace-version 115 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version
|