Home
last modified time | relevance | path

Searched refs:charCount (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DStringTokenizer.java151 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()
DServiceLoader.java270 for (int i = Character.charCount(cp); i < n; i += Character.charCount(cp)) { in parseLine()
/libcore/libart/src/main/java/java/lang/
DStringFactory.java256 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/
DScopedJavaUnicodeString.h33 const int32_t charCount = env->GetStringLength(mString); in ScopedJavaUnicodeString() local
34 mUnicodeString.setTo(false, mChars, charCount); in ScopedJavaUnicodeString()
Dlibcore_icu_ICU.cpp176 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 …]
Dorg_apache_harmony_xml_ExpatParser.cpp1045 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/
DBigInt.java123 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/
DMemory.java202 …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/
DCharacterTest.java84 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/
DCharacter.annotated.java65 public static int charCount(int codePoint) { throw new RuntimeException("Stub!"); } in charCount() method in Character
/libcore/ojluni/annotations/hiddenapi/java/lang/
DCharacter.java95 public static int charCount(int codePoint) { in charCount() method in Character