Home
last modified time | relevance | path

Searched refs:nCodePoints (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/lang/StringBuffer/
DSupplementary.java268 int nCodePoints = Character.codePointCount(sb, j, length); in test6() local
269 int result = sb.offsetByCodePoints(j, nCodePoints); in test6()
271 "offsetByCodePoints(input["+i+"], "+j+", "+nCodePoints+")", in test6()
273 result = sb.offsetByCodePoints(length, -nCodePoints); in test6()
282 "offsetByCodePoints(input["+i+"], "+j+", "+(-nCodePoints)+")", in test6()
286 int nCodePoints = Character.codePointCount(sb, 0, j); in test6() local
287 int result = sb.offsetByCodePoints(0, nCodePoints); in test6()
296 "offsetByCodePoints(input["+i+"], 0, "+nCodePoints+")", in test6()
298 result = sb.offsetByCodePoints(j, -nCodePoints); in test6()
300 "offsetBycodePoints(input["+i+"], "+j+", "+(-nCodePoints)+")", in test6()
/libcore/ojluni/src/test/java/lang/StringBuilder/
DSupplementary.java270 int nCodePoints = Character.codePointCount(sb, j, length); in test6() local
271 int result = sb.offsetByCodePoints(j, nCodePoints); in test6()
273 "offsetByCodePoints(input["+i+"], "+j+", "+nCodePoints+")", in test6()
275 result = sb.offsetByCodePoints(length, -nCodePoints); in test6()
284 "offsetByCodePoints(input["+i+"], "+j+", "+(-nCodePoints)+")", in test6()
288 int nCodePoints = Character.codePointCount(sb, 0, j); in test6() local
289 int result = sb.offsetByCodePoints(0, nCodePoints); in test6()
298 "offsetByCodePoints(input["+i+"], 0, "+nCodePoints+")", in test6()
300 result = sb.offsetByCodePoints(j, -nCodePoints); in test6()
302 "offsetBycodePoints(input["+i+"], "+j+", "+(-nCodePoints)+")", in test6()
/libcore/ojluni/src/test/java/lang/Character/
DSupplementary.java399 int nCodePoints = Character.codePointCount(a, i, length - i); in test05() local
415 index = Character.offsetByCodePoints(str, i, nCodePoints); in test05()
416 checkNewIndex(str, nCodePoints, index, expectedHighIndex); in test05()
424 index = Character.offsetByCodePoints(str, length, -nCodePoints); in test05()
425 checkNewIndex(str, -nCodePoints, index, expectedLowIndex); in test05()
432 i, nCodePoints); in test05()
433 checkNewIndex(a, nCodePoints, index, expectedHighIndex); in test05()
436 i, nCodePoints); in test05()
437 checkNewIndex(a, nCodePoints, index, length); in test05()
440 length, -nCodePoints); in test05()
[all …]