Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring-alloc-inl.h241 int32_t string_length, in AllocFromString() argument
247 string_length)); in AllocFromString()
248 const int32_t length_with_flag = String::GetFlaggedCount(string_length, compressible); in AllocFromString()
Dstring.h136 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.cc1386 CpuRegister string_length = locations->GetTemp(1).AsRegister<CpuRegister>(); in GenerateStringIndexOf() local
1425 __ movl(string_length, Address(string_obj, count_offset)); in GenerateStringIndexOf()
1430 __ testl(string_length, string_length); in GenerateStringIndexOf()
1435 __ movl(CpuRegister(TMP), string_length); in GenerateStringIndexOf()
1437 __ shrl(string_length, Immediate(1)); in GenerateStringIndexOf()
1442 __ movl(counter, string_length); in GenerateStringIndexOf()
1449 __ cmpl(start_index, string_length); in GenerateStringIndexOf()
1472 __ leaq(counter, Address(string_length, counter, ScaleFactor::TIMES_1, 0)); in GenerateStringIndexOf()
1499 __ subl(string_length, counter); in GenerateStringIndexOf()
1500 __ leal(out, Address(string_length, -1)); in GenerateStringIndexOf()
Dintrinsics_x86.cc1187 Register string_length = locations->GetTemp(1).AsRegister<Register>(); in GenerateStringIndexOf() local
1227 __ movl(string_length, Address(string_obj, count_offset)); in GenerateStringIndexOf()
1234 __ testl(string_length, string_length); in GenerateStringIndexOf()
1239 __ movl(string_length_flagged, string_length); in GenerateStringIndexOf()
1241 __ shrl(string_length, Immediate(1)); in GenerateStringIndexOf()
1246 __ movl(counter, string_length); in GenerateStringIndexOf()
1254 __ cmpl(start_index, string_length); in GenerateStringIndexOf()
1281 __ leal(counter, Address(string_length, counter, ScaleFactor::TIMES_1, 0)); in GenerateStringIndexOf()
1310 __ subl(string_length, counter); in GenerateStringIndexOf()
1311 __ leal(out, Address(string_length, -1)); in GenerateStringIndexOf()