Home
last modified time | relevance | path

Searched refs:srcBegin (Results 1 – 5 of 5) sorted by relevance

/art/test/536-checker-intrinsic-optimization/src/
DMain.java461 public static String stringGetCharsRange(String src, int srcBegin, int srcEnd, int offset) { in stringGetCharsRange() argument
462 char[] dst = new char[srcEnd - srcBegin + offset]; in stringGetCharsRange()
463 src.getChars(srcBegin, srcEnd, dst, offset); in stringGetCharsRange()
464 return new String(dst, offset, srcEnd - srcBegin); in stringGetCharsRange()
/art/compiler/optimizing/
Dintrinsics_x86_64.cc1630 Location srcBegin = locations->InAt(1); in VisitStringGetCharsNoCheck() local
1632 srcBegin.IsConstant() ? srcBegin.GetConstant()->AsIntConstant()->GetValue() : 0; in VisitStringGetCharsNoCheck()
1644 if (srcBegin.IsConstant()) { in VisitStringGetCharsNoCheck()
1647 DCHECK(srcBegin.IsRegister()); in VisitStringGetCharsNoCheck()
1648 __ subl(CpuRegister(RCX), srcBegin.AsRegister<CpuRegister>()); in VisitStringGetCharsNoCheck()
1664 CodeGeneratorX86_64::ArrayAddress(obj, srcBegin, TIMES_1, value_offset)); in VisitStringGetCharsNoCheck()
1684 CodeGeneratorX86_64::ArrayAddress(obj, srcBegin, TIMES_2, value_offset)); in VisitStringGetCharsNoCheck()
Dintrinsics_x86.cc1442 Location srcBegin = locations->InAt(1); in VisitStringGetCharsNoCheck() local
1444 srcBegin.IsConstant() ? srcBegin.GetConstant()->AsIntConstant()->GetValue() : 0; in VisitStringGetCharsNoCheck()
1459 if (srcBegin.IsConstant()) { in VisitStringGetCharsNoCheck()
1462 DCHECK(srcBegin.IsRegister()); in VisitStringGetCharsNoCheck()
1463 __ subl(ECX, srcBegin.AsRegister<Register>()); in VisitStringGetCharsNoCheck()
1482 __ leal(ESI, CodeGeneratorX86::ArrayAddress(obj, srcBegin, TIMES_1, value_offset)); in VisitStringGetCharsNoCheck()
1503 __ leal(ESI, CodeGeneratorX86::ArrayAddress(obj, srcBegin, TIMES_2, value_offset)); in VisitStringGetCharsNoCheck()
Dintrinsics_arm_vixl.cc2808 vixl32::Register srcBegin = InputRegisterAt(invoke, 1); in VisitStringGetCharsNoCheck() local
2823 __ Subs(num_chr, srcEnd, srcBegin); in VisitStringGetCharsNoCheck()
2843 __ Add(src_ptr, src_ptr, Operand(srcBegin, vixl32::LSL, 1)); in VisitStringGetCharsNoCheck()
2888 __ Add(src_ptr, src_ptr, srcBegin); in VisitStringGetCharsNoCheck()
Dintrinsics_arm64.cc1958 Register srcBegin = XRegisterFrom(locations->InAt(1)); in VisitStringGetCharsNoCheck() local
1974 __ Sub(num_chr, srcEnd, srcBegin); in VisitStringGetCharsNoCheck()
1992 __ Add(src_ptr, src_ptr, Operand(srcBegin, LSL, 1)); in VisitStringGetCharsNoCheck()
2031 __ Add(src_ptr, src_ptr, Operand(srcBegin)); in VisitStringGetCharsNoCheck()