HomeSort by relevance Sort by last modified time
    Searched refs:replace (Results 101 - 125 of 2505) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
AttachmentLoaderTests.java 37 assertEquals(TEST_LOCATION.replace("|", "%7C"),
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_methodattrs.py 24 attr.replace(Name(new, prefix=attr.prefix))
fix_renames.py 23 for module, replace in MAPPING.items():
24 for old_attr, new_attr in replace.items():
60 # self.replace = {}
70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_methodattrs.py 24 attr.replace(Name(new, prefix=attr.prefix))
fix_renames.py 23 for module, replace in MAPPING.items():
24 for old_attr, new_attr in replace.items():
60 # self.replace = {}
70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
FmSlashedPackageNameMethod.java 37 return new SimpleScalar(args.get(0).toString().replace('.', '/'));
  /external/android-mock/src/com/google/android/testing/mocking/
FileUtils.java 52 return className.replace('.', File.separatorChar) + ".class";
66 return filename.replace(File.separatorChar, '.').replace('/', '.')
  /cts/tests/tests/text/src/android/text/cts/
StaticLayoutLineBreakingTest.java 395 public static String replace(String string, char c, char r) { method in class:StaticLayoutLineBreakingTest
406 layout(replace("L XXX#X", '#', c), new int[] {2});
407 layout(replace("L XXXX#X", '#', c), new int[] {2});
412 layout(replace(replace("L XX0#X", '#', c), '0', d), new int[] {2});
413 layout(replace(replace("L XXX#0", '#', c), '0', d), new int[] {2});
414 layout(replace(replace("L XXX0#X", '#', c), '0', d), new int[] {2});
415 layout(replace(replace("L XXXX#0", '#', c), '0', d), new int[] {2})
    [all...]
SpannableStringBuilderTest.java 163 builder.replace(0, 5, text);
167 builder.replace(7, 12, "google");
171 builder.replace(4, 2, text);
178 builder.replace(-4, 100, text);
185 builder.replace(0, 1, null);
195 builder.replace(0, 5, text, 3, text.length());
199 builder.replace(3, 5, text, 3, text.length());
203 builder.replace(0, 5, text, 0, text.length());
208 builder.replace(4, 6, "", 0, 0);
212 builder.replace(4, 6, "any string", 5, 5)
    [all...]
  /external/chromium_org/content/public/common/
webplugininfo.cc 75 // Replace any instances of 'r', ',' or '(' with a dot.
78 std::replace(version.begin(), version.end(), 'd', '.');
79 std::replace(version.begin(), version.end(), 'r', '.');
80 std::replace(version.begin(), version.end(), ',', '.');
81 std::replace(version.begin(), version.end(), '(', '.');
82 std::replace(version.begin(), version.end(), '_', '.');
  /external/chromium_org/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/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, "");
  /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/guava/guava-testlib/src/com/google/common/collect/testing/
ConcurrentMapInterfaceTest.java 409 /* Replace2 tests call 2-parameter replace(key, value) */
425 assertEquals(oldValue, map.replace(keyToReplace, newValue));
432 map.replace(keyToReplace, newValue);
454 assertNull(map.replace(keyToReplace, newValue));
461 map.replace(keyToReplace, newValue);
485 assertNull(map.replace(null, valueToReplace));
491 assertNull(map.replace(null, valueToReplace));
517 map.replace(keyToReplace, null);
524 map.replace(keyToReplace, null);
551 assertNull(map.replace(keyToReplace, null))
    [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...]
  /external/chromium_org/third_party/libxml/src/win32/
configure.js 294 of.WriteLine(s.replace(/\@VERSION\@/,
297 of.WriteLine(s.replace(/\@LIBXML_VERSION_NUMBER\@/,
300 of.WriteLine(s.replace(/\@LIBXML_VERSION_EXTRA\@/, verCvs));
302 of.WriteLine(s.replace(/\@WITH_TRIO\@/, withTrio? "1" : "0"));
304 of.WriteLine(s.replace(/\@WITH_THREADS\@/, withThreads == "no"? "0" : "1"));
306 of.WriteLine(s.replace(/\@WITH_FTP\@/, withFtp? "1" : "0"));
308 of.WriteLine(s.replace(/\@WITH_HTTP\@/, withHttp? "1" : "0"));
310 of.WriteLine(s.replace(/\@WITH_HTML\@/, withHtml? "1" : "0"));
312 of.WriteLine(s.replace(/\@WITH_C14N\@/, withC14n? "1" : "0"));
314 of.WriteLine(s.replace(/\@WITH_CATALOG\@/, withCatalog? "1" : "0"))
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/
utilities.js 297 sequence = sequence.replace(ATOMS, ',$1$2,'); // ',2, ,+, ,2, ,=, [,4,]'
298 sequence = sequence.replace(/\s+/g, ''); // ',2,,+,,2,,=,[,4,]'
299 sequence = sequence.replace(VALUES, ',$1,'); // ',2,,+,,2,,=,,[,4,],'
300 sequence = sequence.replace(/,,+/g, ','); // ',2,+,2,=,[,4,],'
301 sequence = sequence.replace(/\[,/g, '['); // ',2,+,2,=,[4,],'
302 sequence = sequence.replace(/,\]/g, ']'); // ',2,+,2,=,[4],'
303 sequence = sequence.replace(/(^,)|(,$)/g, ''); // '2,+,2,=,[4]'
304 sequence = sequence.replace(ATOMS, '"$1$2"'); // '"2","+","2","=",["4"]'
305 sequence = sequence.replace(/"_"/g, '""'); // '"2","+","2","=",["4"]'
310 sequence.replace(VALUES, function(match)
    [all...]
  /bionic/libc/tools/
generate-NOTICE.py 75 line = line.replace("\t", " ")
76 line = line.replace("/* ", "")
77 line = line.replace(" * ", "")
78 line = line.replace("** ", "")
79 line = line.replace("# ", "")
82 line = line.replace("--Copyright--", "")
  /external/arduino/hardware/arduino/cores/arduino/
WString.h 83 String replace( char oldChar, char newChar );
84 String replace( const String& match, const String& replace );
  /cts/tests/tests/preference2/src/android/preference2/cts/
FragmentPreferences.java 34 getFragmentManager().beginTransaction().replace(android.R.id.content,
PreferenceFragmentActivity.java 37 .replace(android.R.id.content, prefFragment, PrefFragment.TAG);
  /cts/tools/dex-tools/test/dex/reader/util/
JavaSource.java 34 super(URI.create("string:///" + sourceName.replace(".", "/") + ".java"),
MemoryByteCode.java 34 super(URI.create("byte:///" + name.replace(".", "/") + ".class"),

Completed in 629 milliseconds

1 2 3 45 6 7 8 91011>>