Lines Matching refs:string
136 static bool LoadBootImage(const std::vector<std::string>& boot_class_path,
137 const std::vector<std::string>& boot_class_path_locations,
142 const std::vector<std::string>& image_locations,
148 const std::string& apex_versions,
157 std::string* error_msg)
164 std::string* error_msg) REQUIRES_SHARED(Locks::mutator_lock_);
185 const std::string GetImageFilename() const { in GetImageFilename()
191 const std::string GetImageLocation() const { in GetImageLocation()
195 const std::vector<std::string>& GetProfileFiles() const { return profile_files_; } in GetProfileFiles()
230 std::string* system_location,
241 EXPORT static std::string GetBootClassPathChecksums(
253 ArrayRef<const std::string> boot_class_path_locations,
254 ArrayRef<const std::string> boot_class_path,
255 /*out*/std::string* error_msg);
258 EXPORT static std::vector<std::string> ExpandMultiImageLocations(
259 ArrayRef<const std::string> dex_locations,
260 const std::string& image_location,
265 const std::string& apex_versions,
266 const std::string& file_location,
267 std::string* error_msg);
280 static bool ValidateOatFile(const OatFile& oat_file, std::string* error_msg);
291 std::string* error_msg,
292 ArrayRef<const std::string> dex_filenames,
294 const std::string& apex_versions);
310 /*inout*/ std::string* checksums);
313 ArrayRef<const std::string> boot_class_path,
314 /*out*/ std::string* error_msg);
324 std::string base_location;
325 std::string base_filename;
326 std::vector<std::string> profile_files;
347 BootImageLayout(ArrayRef<const std::string> image_locations, in BootImageLayout()
348 ArrayRef<const std::string> boot_class_path, in BootImageLayout()
349 ArrayRef<const std::string> boot_class_path_locations, in BootImageLayout()
354 const std::string* apex_versions) in BootImageLayout()
364 std::string GetPrimaryImageLocation();
368 /*out*/ std::string* error_msg);
382 std::string base_location;
384 std::vector<std::string> profile_filenames;
387 std::string ExpandLocationImpl(const std::string& location, in ExpandLocationImpl()
390 std::vector<std::string> expanded = ExpandMultiImageLocations( in ExpandLocationImpl()
391 ArrayRef<const std::string>(boot_class_path_).SubArray(bcp_index, 1u), in ExpandLocationImpl()
398 std::string ExpandLocation(const std::string& location, size_t bcp_index) { in ExpandLocation()
408 std::string GetBcpComponentPath(size_t bcp_index) { in GetBcpComponentPath()
411 DCHECK_NE(bcp_slash_pos, std::string::npos); in GetBcpComponentPath()
415 bool VerifyImageLocation(ArrayRef<const std::string> components,
417 /*out*/ std::string* error_msg);
420 ArrayRef<const std::string> named_components,
422 /*out*/ std::string* error_msg);
426 /*out*/ std::string* error_msg);
431 /*out*/ std::string* error_msg);
433 bool ValidateOatFile(const std::string& base_location,
434 const std::string& base_filename,
437 /*out*/ std::string* error_msg);
439 bool ReadHeader(const std::string& base_location,
440 const std::string& base_filename,
442 /*out*/ std::string* error_msg);
446 bool CompileBootclasspathElements(const std::string& base_location,
447 const std::string& base_filename,
449 const std::vector<std::string>& profile_filenames,
450 ArrayRef<const std::string> dependencies,
451 /*out*/ std::string* error_msg);
457 /*out*/ std::string* error_msg);
459 ArrayRef<const std::string> image_locations_;
460 ArrayRef<const std::string> boot_class_path_;
461 ArrayRef<const std::string> boot_class_path_locations_;
472 const std::string& apex_versions_;
485 std::string* error_msg)
492 ImageSpace(const std::string& name,
494 const std::vector<std::string>& profile_files,
508 const std::string image_location_;
509 const std::vector<std::string> profile_files_;