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.java438 public static String stringGetCharsRange(String src, int srcBegin, int srcEnd, int offset) { in stringGetCharsRange() argument
439 char[] dst = new char[srcEnd - srcBegin + offset]; in stringGetCharsRange()
440 src.getChars(srcBegin, srcEnd, dst, offset); in stringGetCharsRange()
441 return new String(dst, offset, srcEnd - srcBegin); in stringGetCharsRange()
/art/compiler/optimizing/
Dintrinsics_x86_64.cc1572 Location srcBegin = locations->InAt(1); in VisitStringGetCharsNoCheck() local
1574 srcBegin.IsConstant() ? srcBegin.GetConstant()->AsIntConstant()->GetValue() : 0; in VisitStringGetCharsNoCheck()
1586 if (srcBegin.IsConstant()) { in VisitStringGetCharsNoCheck()
1589 DCHECK(srcBegin.IsRegister()); in VisitStringGetCharsNoCheck()
1590 __ subl(CpuRegister(RCX), srcBegin.AsRegister<CpuRegister>()); in VisitStringGetCharsNoCheck()
1606 CodeGeneratorX86_64::ArrayAddress(obj, srcBegin, TIMES_1, value_offset)); in VisitStringGetCharsNoCheck()
1626 CodeGeneratorX86_64::ArrayAddress(obj, srcBegin, TIMES_2, value_offset)); in VisitStringGetCharsNoCheck()
Dintrinsics_x86.cc1399 Location srcBegin = locations->InAt(1); in VisitStringGetCharsNoCheck() local
1401 srcBegin.IsConstant() ? srcBegin.GetConstant()->AsIntConstant()->GetValue() : 0; in VisitStringGetCharsNoCheck()
1416 if (srcBegin.IsConstant()) { in VisitStringGetCharsNoCheck()
1419 DCHECK(srcBegin.IsRegister()); in VisitStringGetCharsNoCheck()
1420 __ subl(ECX, srcBegin.AsRegister<Register>()); in VisitStringGetCharsNoCheck()
1439 __ leal(ESI, CodeGeneratorX86::ArrayAddress(obj, srcBegin, TIMES_1, value_offset)); in VisitStringGetCharsNoCheck()
1460 __ leal(ESI, CodeGeneratorX86::ArrayAddress(obj, srcBegin, TIMES_2, value_offset)); in VisitStringGetCharsNoCheck()
Dintrinsics_arm64.cc2256 Register srcBegin = XRegisterFrom(locations->InAt(1)); in VisitStringGetCharsNoCheck() local
2272 __ Sub(num_chr, srcEnd, srcBegin); in VisitStringGetCharsNoCheck()
2290 __ Add(src_ptr, src_ptr, Operand(srcBegin, LSL, 1)); in VisitStringGetCharsNoCheck()
2329 __ Add(src_ptr, src_ptr, Operand(srcBegin)); in VisitStringGetCharsNoCheck()
Dintrinsics_arm_vixl.cc2273 vixl32::Register srcBegin = InputRegisterAt(invoke, 1); in VisitStringGetCharsNoCheck() local
2288 __ Subs(num_chr, srcEnd, srcBegin); in VisitStringGetCharsNoCheck()
2308 __ Add(src_ptr, src_ptr, Operand(srcBegin, vixl32::LSL, 1)); in VisitStringGetCharsNoCheck()
2353 __ Add(src_ptr, src_ptr, srcBegin); in VisitStringGetCharsNoCheck()