Searched refs:newString (Results 1 – 3 of 3) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringTest.java | 47 private static String newString(int start, int len, char[] data) throws Exception { in newString() method in StringTest 229 s = newString(1, 3, "_abc_".toCharArray()); in test_contentEqualsLjava_lang_CharSequence() 248 s = newString(1, 3, "_abc_".toCharArray()); in test_boolean_contentEquals_StringBuffer() 268 s = newString(1, 26, "_abcdefghijklmnopqrstuvwxyz_".toCharArray()); in test_containsLjava_lang_CharSequence() 305 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray()) in test_offsetByCodePoints_II() 309 result = newString(2, 4, "__abcd__".toCharArray()).offsetByCodePoints( in test_offsetByCodePoints_II() 313 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray()) in test_offsetByCodePoints_II() 317 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray()) in test_offsetByCodePoints_II() 321 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray()) in test_offsetByCodePoints_II() 325 result = newString(2, 4, "__\uD800\uDC00bc__".toCharArray()) in test_offsetByCodePoints_II() [all …]
|
/libcore/benchmarks/src/benchmarks/ |
D | BigIntegerBenchmark.java | 114 String newString = newRes.toString(); in repeatToString() local 115 if (!newString.equals(refString)) { in repeatToString() 116 System.out.println(newString + " != " + refString); in repeatToString()
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 283 ScopedLocalRef<jstring> newString(env, env->NewStringUTF(bytes)); in newInternedString() local 290 reinterpret_cast<jstring>(env->CallObjectMethod(newString.get(), internMethod))); in newInternedString()
|