Lines Matching refs:dex_location
47 std::string ProfileCompilationInfo::GetProfileDexFileKey(const std::string& dex_location) {
48 DCHECK(!dex_location.empty());
49 size_t last_sep_index = dex_location.find_last_of('/');
51 return dex_location;
53 DCHECK(last_sep_index < dex_location.size());
54 return dex_location.substr(last_sep_index + 1);
167 3 * sizeof(uint16_t) + // method_set.size + class_set.size + dex_location.size
198 const std::string& dex_location = it.first;
204 if (dex_location.size() >= kMaxDexFileKeyLength) {
213 dex_location.size() +
218 DCHECK_LE(dex_location.size(), std::numeric_limits<uint16_t>::max());
221 AddUintToBuffer(&buffer, static_cast<uint16_t>(dex_location.size()));
226 AddStringToBuffer(&buffer, dex_location);
242 const std::string& dex_location,
244 auto info_it = info_.find(dex_location);
246 info_it = info_.Put(dex_location, DexFileData(checksum));
249 LOG(WARNING) << "Checksum mismatch for dex " << dex_location;
256 const std::string dex_location = GetProfileDexFileKey(classes.GetDexLocation());
258 DexFileData* const data = GetOrAddDexFileData(dex_location, checksum);
266 bool ProfileCompilationInfo::AddMethodIndex(const std::string& dex_location,
269 DexFileData* const data = GetOrAddDexFileData(dex_location, checksum);
277 bool ProfileCompilationInfo::AddClassIndex(const std::string& dex_location,
280 DexFileData* const data = GetOrAddDexFileData(dex_location, checksum);
292 const std::string& dex_location) {
295 if (!AddMethodIndex(dex_location, checksum, method_idx)) {
302 if (!AddClassIndex(dex_location, checksum, class_def_idx)) {
418 line_header->dex_location.assign(
449 line_header.dex_location)) {