/libcore/ojluni/src/main/java/java/util/ |
D | StringTokenizer.java | 151 for (int i = 0; i < delimiters.length(); i += Character.charCount(c)) { in setMaxDelimCodePoint() 165 for (int i = 0, j = 0; i < count; i++, j += Character.charCount(c)) { in setMaxDelimCodePoint() 260 position += Character.charCount(c); in skipDelimiters() 282 position += Character.charCount(c); in scanToken() 293 position += Character.charCount(c); in scanToken()
|
D | ServiceLoader.java | 270 for (int i = Character.charCount(cp); i < n; i += Character.charCount(cp)) { in parseLine()
|
/libcore/libart/src/main/java/java/lang/ |
D | StringFactory.java | 256 public static String newStringFromChars(char[] data, int offset, int charCount) { in newStringFromChars() argument 257 if ((offset | charCount) < 0 || charCount > data.length - offset) { in newStringFromChars() 258 throw new StringIndexOutOfBoundsException(data.length, offset, charCount); in newStringFromChars() 260 return newStringFromChars(offset, charCount, data); in newStringFromChars() 265 static native String newStringFromChars(int offset, int charCount, char[] data); in newStringFromChars() argument
|
/libcore/luni/src/main/native/ |
D | ScopedJavaUnicodeString.h | 33 const int32_t charCount = env->GetStringLength(mString); in ScopedJavaUnicodeString() local 34 mUnicodeString.setTo(false, mChars, charCount); in ScopedJavaUnicodeString()
|
D | libcore_icu_ICU.cpp | 176 int32_t charCount; in ICU_getCurrencyCode() local 177 const UChar* chars = ures_getString(currencyId.get(), &charCount, &status); in ICU_getCurrencyCode() 178 return (charCount == 0) ? env->NewStringUTF("XXX") : jniCreateString(env, chars, charCount); in ICU_getCurrencyCode() 193 int32_t charCount; in getCurrencyName() local 195 nameStyle, &isChoiceFormat, &charCount, &status); in getCurrencyName() 207 charCount = icuCurrencyCode.length(); in getCurrencyName() 210 return (charCount == 0) ? NULL : jniCreateString(env, chars, charCount); in getCurrencyName() 365 int charCount; in setStringField() local 370 chars = ures_getString(currentBundle, &charCount, &status); in setStringField() 376 chars = ures_getStringByIndex(currentBundle, 0, &charCount, &status); in setStringField() [all …]
|
D | org_apache_harmony_xml_ExpatParser.cpp | 1045 jcharArray xml, jint charOffset, jint charCount) { in ExpatParser_appendChars() argument 1053 size_t byteCount = 2 * charCount; in ExpatParser_appendChars()
|
/libcore/luni/src/main/java/java/math/ |
D | BigInt.java | 123 int charCount = s.length(); in checkString() local 125 if (charCount > 0) { in checkString() 130 --charCount; in checkString() 135 if (charCount - i == 0) { in checkString() 139 for (; i < charCount; ++i) { in checkString()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Memory.java | 202 …public static native void peekCharArray(long address, char[] dst, int dstOffset, int charCount, bo… in peekCharArray() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | CharacterTest.java | 84 assertEquals(1, Character.charCount(c)); in test_charCountI() 88 assertEquals(2, Character.charCount(c)); in test_charCountI() 92 assertEquals(2, Character.charCount(Integer.MAX_VALUE)); in test_charCountI()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Character.annotated.java | 65 public static int charCount(int codePoint) { throw new RuntimeException("Stub!"); } in charCount() method in Character
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Character.java | 95 public static int charCount(int codePoint) { in charCount() method in Character
|