Searched refs:stringCharAt (Results 1 – 2 of 2) sorted by relevance
/art/test/536-checker-intrinsic-optimization/src/ |
D | Main.java | 58 assertCharEquals('a', $opt$noinline$stringCharAt("a", 0)); in main() 59 assertCharEquals('a', $opt$noinline$stringCharAt("abc", 0)); in main() 60 assertCharEquals('b', $opt$noinline$stringCharAt("abc", 1)); in main() 61 assertCharEquals('c', $opt$noinline$stringCharAt("abc", 2)); in main() 62 assertCharEquals('7', $opt$noinline$stringCharAt("0123456789", 7)); in main() 65 $opt$noinline$stringCharAt("abc", -1); in main() 72 $opt$noinline$stringCharAt("abc", 3); in main() 79 $opt$noinline$stringCharAt("abc", Integer.MAX_VALUE); in main() 166 static public char $opt$noinline$stringCharAt(String s, int pos) { in $opt$noinline$stringCharAt()
|
/art/test/957-methodhandle-transforms/src/ |
D | Main.java | 685 MethodHandle stringCharAt = MethodHandles.lookup().findVirtual( in testBindTo() local 688 char value = (char) stringCharAt.invoke("foo", 0); in testBindTo() 693 MethodHandle bound = stringCharAt.bindTo("foo"); in testBindTo() 700 stringCharAt.bindTo(new Object()); in testBindTo() 705 bound = stringCharAt.bindTo(null); in testBindTo()
|