Home
last modified time | relevance | path

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

/art/libprofile/profile/
Dprofile_boot_info.cc65 uint8_t string_length; in Load() local
66 int bytes_read = TEMP_FAILURE_RETRY(read(fd, &string_length, sizeof(uint8_t))); in Load()
79 if (string_length == 0) { in Load()
82 std::unique_ptr<char[]> data(new char[string_length]); in Load()
83 bytes_read = TEMP_FAILURE_RETRY(read(fd, data.get(), string_length)); in Load()
94 [string_length, &data](const DexFile* file) { in Load()
96 return dex_location.size() == string_length && in Load()
97 (strncmp(data.get(), dex_location.data(), string_length) == 0); in Load()
102 LOG(ERROR) << "Couldn't find " << std::string(data.get(), string_length); in Load()
/art/runtime/mirror/
Dstring-alloc-inl.h304 int32_t string_length, in AllocFromString() argument
310 string_length)); in AllocFromString()
311 const int32_t length_with_flag = String::GetFlaggedCount(string_length, compressible); in AllocFromString()
Dstring.h163 int32_t string_length,
/art/openjdkjvmti/
Dti_heap.cc100 int32_t string_length = str->GetLength(); in ReportString() local
103 if (string_length > 0) { in ReportString()
105 data = AllocJvmtiUniquePtr<uint16_t[]>(env, string_length, &alloc_error); in ReportString()
116 for (int32_t i = 0; i != string_length; ++i) { in ReportString()
121 memcpy(data.get(), str->GetValue(), string_length * sizeof(uint16_t)); in ReportString()
133 string_length, in ReportString()
/art/runtime/verifier/
Dverifier_deps.cc504 size_t string_length = string_end - string_start; in DecodeStringVector() local
506 strings->emplace_back(string_start, string_length); in DecodeStringVector()
/art/compiler/optimizing/
Dintrinsics_x86.cc1176 Register string_length = locations->GetTemp(1).AsRegister<Register>(); in GenerateStringIndexOf() local
1216 __ movl(string_length, Address(string_obj, count_offset)); in GenerateStringIndexOf()
1223 __ testl(string_length, string_length); in GenerateStringIndexOf()
1228 __ movl(string_length_flagged, string_length); in GenerateStringIndexOf()
1230 __ shrl(string_length, Immediate(1)); in GenerateStringIndexOf()
1235 __ movl(counter, string_length); in GenerateStringIndexOf()
1243 __ cmpl(start_index, string_length); in GenerateStringIndexOf()
1270 __ leal(counter, Address(string_length, counter, ScaleFactor::TIMES_1, 0)); in GenerateStringIndexOf()
1299 __ subl(string_length, counter); in GenerateStringIndexOf()
1300 __ leal(out, Address(string_length, -1)); in GenerateStringIndexOf()
Dintrinsics_x86_64.cc1344 CpuRegister string_length = locations->GetTemp(1).AsRegister<CpuRegister>(); in GenerateStringIndexOf() local
1383 __ movl(string_length, Address(string_obj, count_offset)); in GenerateStringIndexOf()
1388 __ testl(string_length, string_length); in GenerateStringIndexOf()
1393 __ movl(CpuRegister(TMP), string_length); in GenerateStringIndexOf()
1395 __ shrl(string_length, Immediate(1)); in GenerateStringIndexOf()
1400 __ movl(counter, string_length); in GenerateStringIndexOf()
1407 __ cmpl(start_index, string_length); in GenerateStringIndexOf()
1430 __ leaq(counter, Address(string_length, counter, ScaleFactor::TIMES_1, 0)); in GenerateStringIndexOf()
1457 __ subl(string_length, counter); in GenerateStringIndexOf()
1458 __ leal(out, Address(string_length, -1)); in GenerateStringIndexOf()