/external/javassist/src/main/javassist/expr/ |
Expr.java | 258 // The implementation of replace() should call thisClass.checkModify() 269 public abstract void replace(String statement) throws CannotCompileException; method in class:Expr 281 public void replace(String statement, ExprEditor recursive) method in class:Expr 284 replace(statement);
|
/external/oauth/core/src/main/java/net/oauth/ |
OAuth.java | 162 .replace("+", "%20").replace("*", "%2A") 163 .replace("%7E", "~");
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
date-format-xparb.js | 280 return this.toString().replace( 281 /^.*? ([A-Z]{3}) [0-9]{4}.*$/, "$1").replace( 348 return string.replace(/('|\\)/g, "\\$1");
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
date-format-xparb.js | 280 return this.toString().replace( 281 /^.*? ([A-Z]{3}) [0-9]{4}.*$/, "$1").replace( 348 return string.replace(/('|\\)/g, "\\$1");
|
/external/webkit/Source/WebCore/loader/ |
FormSubmission.cpp | 70 body = decodeURLEscapeSequences(body.replace('&', "\r\n").replace('+', ' ') + "\r\n"); 76 body = String(bodyData.data(), bodyData.size()).replace('+', "%20");
|
/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfoSource.java | 110 String pathPrefix = packagePrefix.replace('.', '/'); 192 String p = entryName.substring(0, index).replace('/', '.'); 195 classNames.add(getClassName(entryName).replace('/', '.'));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
AbstractPropertiesFieldsPart.java | 178 // replace old line by new one. This doesn't change the 181 doc.replace(info.getOffset(), info.getLength(), line); 191 AdtPlugin.log(e, "Failed to replace in export.properties"); 202 // replace old line by new one 210 doc.replace(info.getOffset(), info.getLength(), line); 222 doc.replace(len, 0, line);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
SystemImagePackage.java | 205 return abi.replace("armeabi", "ARM EABI") //$NON-NLS-1$ //$NON-NLS-2$
206 .replace("x86", "Intel x86 Atom") //$NON-NLS-1$ //$NON-NLS-2$
207 .replace("-", " "); //$NON-NLS-1$ //$NON-NLS-2$
|
/external/stlport/test/unit/ |
string_test.cpp | 59 CPPUNIT_TEST(replace); 118 void replace(); 530 void StringTest::replace() function in class:StringTest 533 * This test case is for the non template basic_string::replace method, 542 s.replace(i, i + 3, v.begin(), v.end()); 547 s.replace(i, i + 1, v.begin(), v.end()); 553 s.replace(i, i + 3, ci + 3, cs.end()); 559 s.replace(i, i + 3, ci, ci + 2); 565 s.replace(i, i + 3, ci + 1, cs.end()); 571 s.replace(i, i, ci, ci + 1) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
string_test.cpp | 59 CPPUNIT_TEST(replace); 118 void replace(); 530 void StringTest::replace() function in class:StringTest 533 * This test case is for the non template basic_string::replace method, 542 s.replace(i, i + 3, v.begin(), v.end()); 547 s.replace(i, i + 1, v.begin(), v.end()); 553 s.replace(i, i + 3, ci + 3, cs.end()); 559 s.replace(i, i + 3, ci, ci + 2); 565 s.replace(i, i + 3, ci + 1, cs.end()); 571 s.replace(i, i, ci, ci + 1) [all...] |
/ndk/tests/device/test-stlport/unit/ |
string_test.cpp | 59 CPPUNIT_TEST(replace); 118 void replace(); 530 void StringTest::replace() function in class:StringTest 533 * This test case is for the non template basic_string::replace method, 542 s.replace(i, i + 3, v.begin(), v.end()); 547 s.replace(i, i + 1, v.begin(), v.end()); 553 s.replace(i, i + 3, ci + 3, cs.end()); 559 s.replace(i, i + 3, ci, ci + 2); 565 s.replace(i, i + 3, ci + 1, cs.end()); 571 s.replace(i, i, ci, ci + 1) [all...] |
/external/chromium/chrome/browser/importer/ |
toolbar_importer.cc | 203 url_string.replace(url_string.find(kRandomNumberToken), 233 conn_string.replace(conn_string.find(kRandomNumberToken), 236 conn_string.replace(conn_string.find(kAuthorizationToken), 275 token->replace(position, arraysize(kAuthorizationTokenPrefix) - 1, ""); 280 token->replace(position, arraysize(kAuthorizationTokenSuffix) - 1, "");
|
/external/clang/utils/ |
FuzzTest | 14 def __init__(self, inputs, delete, insert, replace, 20 self.replace = bool(replace) 26 self.num_tests = ((delete + (insert + replace)*self.num_insert_strings) 67 assert self.replace 69 return ('replace', position, insert_str, picked_position) 86 elif self.test[0] == 'replace': 231 help="Characters to insert/replace", 243 group.add_option("", "--no-replace", help="Don't replace strings" [all...] |
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
DelegateClassAdapterTest.java | 89 String internalClassName = NATIVE_CLASS_NAME.replace('.', '/'); 143 String internalClassName = NATIVE_CLASS_NAME.replace('.', '/'); 157 String internalClassName = NATIVE_CLASS_NAME.replace('.', '/'); 209 String outerClassName = OUTER_CLASS_NAME.replace('.', '/'); 217 String innerClassName = INNER_CLASS_NAME.replace('.', '/');
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
String2Test.java | 670 * @tests java.lang.String#replace(char, char) 673 // Test for method java.lang.String java.lang.String.replace(char, char) 674 assertEquals("Failed replace", "HezzoWorzd", hw1.replace('l', 'z')); 678 * @tests java.lang.String#replace(CharSequence, CharSequence) 681 assertEquals("Failed replace", "aaccdd", "aabbdd".replace( 683 assertEquals("Failed replace by bigger seq", "cccbccc", "aba".replace( 685 assertEquals("Failed replace by smaller seq", "$bba^", "$aaaaa^ [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/calendar/javascript/ |
background.js | 627 data = data.replace(/</g, '<'); 628 data = data.replace(/>/g, '>'); 629 data = data.replace(/&/g, '&'); 630 data = data.replace(/%7B/g, '{'); 631 data = data.replace(/%7D/g, '}'); 632 data = data.replace(/"/g, '"'); 633 data = data.replace(/'/g, '\'');
|
/packages/apps/Settings/src/com/android/settings/ |
TetherSettings.java | 212 String path = HELP_PATH.replace("%y", locale.getLanguage().toLowerCase()); 213 path = path.replace("%z", '_'+locale.getCountry().toLowerCase()); 227 String url = HELP_URL.replace("%y", locale.getLanguage().toLowerCase()); 228 url = url.replace("%z", useCountry ? '_'+locale.getCountry().toLowerCase() : ""); 230 url = url.replace("%x", USB_HELP_MODIFIER); 232 url = url.replace("%x", WIFI_HELP_MODIFIER); 236 url = url.replace("%x", "");
|
/external/v8/test/mjsunit/ |
regexp.js | 249 assertEquals("*a\n*b\r*c\n*\r*d\r*\n*e", "a\nb\rc\n\rd\r\ne".replace(re, "*$1")); 253 assertEquals("xAx", "A".replace(re, "x")); 254 assertEquals(3, String.fromCharCode(161).replace(re, "x").length); 272 if (doit) return "".replace(/foo(/gi, ""); 281 assertEquals("t", "123456789t".replace(re, "$10"), "$10"); 282 assertEquals("15", "123456789t".replace(re, "$15"), "$10"); 283 assertEquals("1", "123456789t".replace(re, "$01"), "$01"); 284 assertEquals("$001", "123456789t".replace(re, "$001"), "$001"); 286 assertEquals("bar$0", "foox".replace(re, "bar$0"), "$0"); 287 assertEquals("bar$00", "foox".replace(re, "bar$00"), "$00") [all...] |
/external/stlport/stlport/stl/ |
_string_sum.h | 167 //replace 168 _BString& replace(size_type __pos, size_type __n, const _BString& __s) function in class:__bstr_sum 169 {return _M_get_storage().replace(__pos, __n, __s);} 170 _BString& replace(size_type __pos1, size_type __n1, const _BString& __s, size_type __pos2, size_type __n2) function in class:__bstr_sum 171 {return _M_get_storage().replace(__pos1, __n1, __s, __pos2, __n2);} 172 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) function in class:__bstr_sum 173 {return _M_get_storage().replace(__pos, __n1, __s, __n2);} 174 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s) function in class:__bstr_sum 175 {return _M_get_storage().replace(__pos, __n1, __s);} 176 _BString& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c function in class:__bstr_sum [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_string_sum.h | 167 //replace 168 _BString& replace(size_type __pos, size_type __n, const _BString& __s) function in class:__bstr_sum 169 {return _M_get_storage().replace(__pos, __n, __s);} 170 _BString& replace(size_type __pos1, size_type __n1, const _BString& __s, size_type __pos2, size_type __n2) function in class:__bstr_sum 171 {return _M_get_storage().replace(__pos1, __n1, __s, __pos2, __n2);} 172 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) function in class:__bstr_sum 173 {return _M_get_storage().replace(__pos, __n1, __s, __n2);} 174 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s) function in class:__bstr_sum 175 {return _M_get_storage().replace(__pos, __n1, __s);} 176 _BString& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c function in class:__bstr_sum [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
_string_sum.h | 167 //replace 168 _BString& replace(size_type __pos, size_type __n, const _BString& __s) function in class:__bstr_sum 169 {return _M_get_storage().replace(__pos, __n, __s);} 170 _BString& replace(size_type __pos1, size_type __n1, const _BString& __s, size_type __pos2, size_type __n2) function in class:__bstr_sum 171 {return _M_get_storage().replace(__pos1, __n1, __s, __pos2, __n2);} 172 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) function in class:__bstr_sum 173 {return _M_get_storage().replace(__pos, __n1, __s, __n2);} 174 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s) function in class:__bstr_sum 175 {return _M_get_storage().replace(__pos, __n1, __s);} 176 _BString& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c function in class:__bstr_sum [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
_string_sum.h | 167 //replace 168 _BString& replace(size_type __pos, size_type __n, const _BString& __s) function in class:__bstr_sum 169 {return _M_get_storage().replace(__pos, __n, __s);} 170 _BString& replace(size_type __pos1, size_type __n1, const _BString& __s, size_type __pos2, size_type __n2) function in class:__bstr_sum 171 {return _M_get_storage().replace(__pos1, __n1, __s, __pos2, __n2);} 172 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) function in class:__bstr_sum 173 {return _M_get_storage().replace(__pos, __n1, __s, __n2);} 174 _BString& replace(size_type __pos, size_type __n1, const _CharT* __s) function in class:__bstr_sum 175 {return _M_get_storage().replace(__pos, __n1, __s);} 176 _BString& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c function in class:__bstr_sum [all...] |
/external/google-diff-match-patch/name/fraser/neil/plaintext/ |
diff_match_patch.java | 819 // Replace equality with a delete. [all...] |
/frameworks/base/core/tests/hosttests/src/android/content/pm/ |
PackageManagerHostTestUtils.java | 219 public void installFile(final String localFilePath, final boolean replace) throws IOException, 221 String result = mDevice.installPackage(localFilePath, replace); 233 public String installFileFail(final String localFilePath, final boolean replace) 235 String result = mDevice.installPackage(localFilePath, replace); 252 public String installFileForwardLocked(final String localFilePath, final boolean replace) 257 String cmd = String.format(replace ? "pm install -r -l \"%1$s\"" : [all...] |
/development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
CodeGen.java | 47 s = MessageFormatter.format(msg, true).replace("arg7", "texData"); 52 s = MessageFormatter.format(msg, true).replace("arg8", "texData"); 106 code.write(s.replace("texData", "NULL") + ";\n"); 147 final String src = shader.source.replace("\r", "").replace("\n", "\\n\\\n") 148 .replace("\"", "\\\""); 663 call = MessageFormatter.format(msg, true).replace("arg2", "bufferData"); 667 call = MessageFormatter.format(msg, true).replace("arg3", "bufferData"); [all...] |