Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring-inl.h287 inline String* String::AllocFromString(Thread* self, int32_t string_length, Handle<String> string, in AllocFromString() argument
291 string_length)); in AllocFromString()
292 const int32_t length_with_flag = String::GetFlaggedCount(string_length, compressible); in AllocFromString()
Dstring.h117 ALWAYS_INLINE static String* AllocFromString(Thread* self, int32_t string_length,
/art/openjdkjvmti/
Dti_heap.cc70 int32_t string_length = str->GetLength(); in ReportString() local
73 if (string_length > 0) { in ReportString()
75 data = AllocJvmtiUniquePtr<uint16_t[]>(env, string_length, &alloc_error); in ReportString()
86 for (int32_t i = 0; i != string_length; ++i) { in ReportString()
91 memcpy(data.get(), str->GetValue(), string_length * sizeof(uint16_t)); in ReportString()
103 string_length, in ReportString()
/art/compiler/optimizing/
Dintrinsics_x86_64.cc1683 CpuRegister string_length = locations->GetTemp(1).AsRegister<CpuRegister>(); in GenerateStringIndexOf() local
1722 __ movl(string_length, Address(string_obj, count_offset)); in GenerateStringIndexOf()
1727 __ testl(string_length, string_length); in GenerateStringIndexOf()
1732 __ movl(CpuRegister(TMP), string_length); in GenerateStringIndexOf()
1734 __ shrl(string_length, Immediate(1)); in GenerateStringIndexOf()
1739 __ movl(counter, string_length); in GenerateStringIndexOf()
1746 __ cmpl(start_index, string_length); in GenerateStringIndexOf()
1769 __ leaq(counter, Address(string_length, counter, ScaleFactor::TIMES_1, 0)); in GenerateStringIndexOf()
1796 __ subl(string_length, counter); in GenerateStringIndexOf()
1797 __ leal(out, Address(string_length, -1)); in GenerateStringIndexOf()
Dintrinsics_x86.cc1512 Register string_length = locations->GetTemp(1).AsRegister<Register>(); in GenerateStringIndexOf() local
1552 __ movl(string_length, Address(string_obj, count_offset)); in GenerateStringIndexOf()
1559 __ testl(string_length, string_length); in GenerateStringIndexOf()
1564 __ movl(string_length_flagged, string_length); in GenerateStringIndexOf()
1566 __ shrl(string_length, Immediate(1)); in GenerateStringIndexOf()
1571 __ movl(counter, string_length); in GenerateStringIndexOf()
1579 __ cmpl(start_index, string_length); in GenerateStringIndexOf()
1606 __ leal(counter, Address(string_length, counter, ScaleFactor::TIMES_1, 0)); in GenerateStringIndexOf()
1635 __ subl(string_length, counter); in GenerateStringIndexOf()
1636 __ leal(out, Address(string_length, -1)); in GenerateStringIndexOf()