Home | History | Annotate | Download | only in runtime

Lines Matching full:classpath

104   // At this point we know the format is ok; continue and extract the classpath.
106 std::string classpath = class_loader_spec.substr(type_str_size + 1,
112 Split(classpath, kClasspathSeparator, &class_loader_chain_.back().classpath);
115 Split(classpath, kClasspathSeparator, &classpath_elements);
126 class_loader_chain_.back().classpath.push_back(dex_file_with_checksum[0]);
161 // Stop early if we detect the special shared library, which may be passed as the classpath
210 for (const std::string& cp_elem : info.classpath) {
248 // We finished opening the dex files from the classpath.
249 // Now update the classpath and the checksum with the locations of the dex files.
251 // We do this because initially the classpath contains the paths of the dex files; and
257 info.original_classpath = std::move(info.classpath);
258 info.classpath.clear();
262 info.classpath.push_back(dex->GetLocation());
281 size_t initial_size = info.classpath.size();
283 info.classpath.begin(),
284 info.classpath.end(),
289 info.classpath.erase(kept_it, info.classpath.end());
290 if (initial_size != info.classpath.size()) {
339 stored_context->class_loader_chain_[i].classpath.size());
342 remap.Put(info.original_classpath[k], stored_context->class_loader_chain_[i].classpath[k]);
412 // Its classpath comes first, followed by compilation sources. This ensures that whenever
413 // we need to resolve classes from it the classpath elements come first.
592 // the classpath.
635 info.classpath.push_back(dex_file->GetLocation());
715 if (info.classpath.size() != expected_info.classpath.size()) {
716 LOG(WARNING) << "ClassLoaderContext classpath size mismatch for position " << i
717 << ". expected=" << expected_info.classpath.size()
718 << ", found=" << info.classpath.size()
724 DCHECK_EQ(info.classpath.size(), info.checksums.size());
725 DCHECK_EQ(expected_info.classpath.size(), expected_info.checksums.size());
732 for (size_t k = 0; k < info.classpath.size(); k++) {
734 // We shouldn't do a naive comparison `info.classpath[k] == expected_info.classpath[k]`
737 bool is_dex_name_absolute = IsAbsoluteLocation(info.classpath[k]);
738 bool is_expected_dex_name_absolute = IsAbsoluteLocation(expected_info.classpath[k]);
745 dex_name = info.classpath[k];
746 expected_dex_name = expected_info.classpath[k];
750 dex_name = info.classpath[k];
752 info.classpath[k].c_str(), expected_info.classpath[k]);
759 expected_info.classpath[k].c_str(), info.classpath[k]);
760 expected_dex_name = expected_info.classpath[k];
765 dex_name = info.classpath[k];
766 expected_dex_name = expected_info.classpath[k];
771 LOG(WARNING) << "ClassLoaderContext classpath element mismatch for position " << i
772 << ". expected=" << expected_info.classpath[k]
773 << ", found=" << info.classpath[k]
780 LOG(WARNING) << "ClassLoaderContext classpath element checksum mismatch for position " << i