/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
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/v8/tools/gyp/test/actions-multiple/src/ |
filter.py | 11 fh.write(data.replace(sys.argv[1], sys.argv[2]))
|
/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'});
|
/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...] |
/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...] |
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/ |
AntScriptGenerator.java | 111 libsDirs.add("../" + libsDir.path().replace('\\', '/'));
137 template = template.replace("%projectName%", config.sharedLibName + "-natives");
138 template = template.replace("<clean/>", clean.toString());
139 template = template.replace("<compile/>", compile.toString());
140 template = template.replace("%packFile%", "../" + config.libsDir.path().replace('\\', '/') + "/" + config.sharedLibName
142 template = template.replace("<pack/>", pack);
191 return config.libsDir.child(targetName).path().replace('\\', '/');
200 template = template.replace("%precompile%", target.preCompileTask == null ? "" : target.preCompileTask);
201 template = template.replace("%postcompile%", target.postCompileTask == null ? "" : target.postCompileTask); [all...] |
/external/v8/tools/gyp/pylib/gyp/ |
xml_fix.py | 18 data = data.replace("&", "&").replace("<", "<") 19 data = data.replace("\"", """).replace(">", ">") 21 data = data.replace( 22 "\r", "
").replace( 23 "\n", "
").replace(
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
FileUtilities.java | 41 line = replace(line, replacementList[i], replacementList[i+1]); 52 public static String replace(String source, String piece, String replacement) { method in class:FileUtilities 63 public static String replace(String source, String[][] replacements) { method in class:FileUtilities 64 return replace(source, replacements, replacements.length); 67 public static String replace(String source, String[][] replacements, int count) { method in class:FileUtilities 69 source = replace(source, replacements[i][0], replacements[i][1]); 74 public static String replace(String source, String[][] replacements, boolean reverse) { method in class:FileUtilities 75 if (!reverse) return replace(source, replacements); 77 source = replace(source, replacements[i][1], replacements[i][0]);
|
/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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/utils/ |
AssetsFileGenerator.java | 27 args[0] = args[0].replace("\\", "/");
35 String dirName = directory.toString().replace("\\", "/").replace(base, "") + "/";
41 String fileName = file.toString().replace("\\", "/").replace(base, "");
|
/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/v8/build/ |
apply_locales.py | 15 parser.set_usage(usage.replace('%s', '%prog')) 37 locale = locale.replace('-', '_') 38 results.append(str_template.replace('ZZLOCALE', locale))
|
/frameworks/support/samples/SupportLeanbackShowcase/ |
build-release.py | 9 def replace(inputFile, pattern, newVal, ): function 10 print 'About to replace repo path to {0} in {1}'.format(newVal, inputFile) 25 replace(os.getcwd()+"/local.properties", r'(.*)LOCAL_REPO(.*)', 'LOCAL_REPO=') 26 replace(os.getcwd()+"/local.properties", r'(.*)LIBRARY_VERSION(.*)', 'LIBRARY_VERSION=')
|
/packages/apps/Settings/tests/unit/src/com/android/settings/bluetooth/ |
Utf8ByteLengthFilterTest.java | 47 dest.replace(5, 8, source); 63 dest.replace(8, 10, source); 66 dest.replace(0, 1, source); 70 dest.replace(0, 4, source); 80 dest.replace(2, 3, source); 84 dest.replace(3, 4, source);
|
/external/javassist/src/main/javassist/ |
ClassClassPath.java | 73 String jarname = "/" + classname.replace('.', '/') + ".class"; 83 String jarname = "/" + classname.replace('.', '/') + ".class";
|
/external/slf4j/ |
binderVersion.pl | 14 sub replace () { subroutine 41 do replace($ARG);
|
version.pl | 11 sub replace () { subroutine 40 do replace($ARG);
|
/external/v8/test/mjsunit/es6/ |
pattern-brand-check.js | 11 get [Symbol.replace]() { 12 calls.push("@@replace"); 50 "".replace(createNonRegExp(calls), ""); 51 assertEquals(["@@replace", "@@toPrimitive"], calls);
|
/external/v8/tools/gyp/test/escaping/ |
gyptest-colon.py | 33 test.read('colon/test.gyp').replace("'a:b.c'", repr(abs_source))) 38 test.read('colon/test.gyp').replace("'a:b.c-d'", repr(abs_copies)))
|
/external/v8/tools/gyp/test/library/ |
gyptest-shared.py | 43 contents = contents.replace('Hello', 'Hello again') 65 contents = contents.replace('again', 'again again')
|
gyptest-static.py | 43 contents = contents.replace('Hello', 'Hello again') 65 contents = contents.replace('again', 'again again')
|