/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 | 216 public static String newStringFromChars(char[] data, int offset, int charCount) { in newStringFromChars() argument 217 if ((offset | charCount) < 0 || charCount > data.length - offset) { in newStringFromChars() 218 throw new StringIndexOutOfBoundsException(data.length, offset, charCount); in newStringFromChars() 220 return newStringFromChars(offset, charCount, data); in newStringFromChars() 225 static native String newStringFromChars(int offset, int charCount, char[] data); in newStringFromChars() argument
|
/libcore/include/ |
D | ScopedJavaUnicodeString.h | 33 const int32_t charCount = env->GetStringLength(mString); in ScopedJavaUnicodeString() local 34 mUnicodeString.setTo(false, mChars, charCount); in ScopedJavaUnicodeString()
|
/libcore/luni/src/main/java/java/math/ |
D | BigInt.java | 121 int charCount = s.length(); in checkString() local 123 if (charCount > 0) { in checkString() 128 --charCount; in checkString() 133 if (charCount - i == 0) { in checkString() 137 for (; i < charCount; ++i) { in checkString()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 175 int32_t charCount; in ICU_getCurrencyCode() local 176 const UChar* chars = ures_getString(currencyId.get(), &charCount, &status); in ICU_getCurrencyCode() 177 return (charCount == 0) ? env->NewStringUTF("XXX") : jniCreateString(env, chars, charCount); in ICU_getCurrencyCode() 192 int32_t charCount; in getCurrencyName() local 194 nameStyle, &isChoiceFormat, &charCount, &status); in getCurrencyName() 206 charCount = icuCurrencyCode.length(); in getCurrencyName() 209 return (charCount == 0) ? NULL : jniCreateString(env, chars, charCount); in getCurrencyName() 364 int charCount; in setStringField() local 369 chars = ures_getString(currentBundle, &charCount, &status); in setStringField() 375 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/libcore/io/ |
D | Memory.java | 188 …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/src/main/java/java/lang/ |
D | Character.java | 4841 public static int charCount(int codePoint) { in charCount() method in Character
|