Lines Matching refs:string

43 ImageSpace::ImageSpace(const std::string& image_filename, const char* image_location,
76 static void RealPruneDalvikCache(const std::string& cache_dir_path);
86 static void RealPruneDalvikCache(const std::string& cache_dir_path) {
109 std::string cache_file(cache_dir_path);
125 const std::string isa_subdir = GetDalvikCacheOrDie(GetInstructionSetString(isa), false);
126 const std::string boot_marker = isa_subdir + "/.booting";
142 static bool GenerateImage(const std::string& image_filename, InstructionSet image_isa,
143 std::string* error_msg) {
144 const std::string boot_class_path_string(Runtime::Current()->GetBootClassPathString());
145 std::vector<std::string> boot_class_path;
157 std::vector<std::string> arg_vector;
159 std::string dex2oat(Runtime::Current()->GetCompilerExecutable());
162 std::string image_option_string("--image=");
167 arg_vector.push_back(std::string("--dex-file=") + boot_class_path[i]);
170 std::string oat_file_option_string("--oat-file=");
188 const std::vector<std::string>& compiler_options = Runtime::Current()->GetImageCompilerOptions();
193 std::string command_line(Join(arg_vector, ' '));
200 std::string* system_filename,
202 std::string* cache_filename,
210 std::string system_image_filename(GetSystemImageFilename(image_location, image_isa));
218 std::string dalvik_cache;
228 std::string error_msg;
252 InstructionSet isa, std::string* error_msg) {
259 std::string patchoat(Runtime::Current()->GetPatchoatExecutable());
261 std::string input_image_location_arg("--input-image-location=");
264 std::string output_image_filename_arg("--output-image-file=");
267 std::string input_oat_location_arg("--input-oat-location=");
270 std::string output_oat_filename_arg("--output-oat-file=");
273 std::string instruction_set_arg("--instruction-set=");
276 std::string base_offset_arg("--base-offset-delta=");
280 std::vector<std::string> argv;
292 std::string command_line(Join(argv, ' '));
297 static ImageHeader* ReadSpecificImageHeader(const char* filename, std::string* error_msg) {
308 std::string error_msg;
318 std::string* error_msg) {
319 std::string system_filename;
321 std::string cache_filename;
388 static bool ImageCreationAllowed(bool is_global_cache, std::string* error_msg) {
408 static bool CheckSpace(const std::string& cache_filename, std::string* error_msg) {
440 std::string* error_msg) {
441 std::string system_filename;
443 std::string cache_filename;
459 const std::string* image_filename;
477 std::string reason;
626 bool validate_oat_file, std::string* error_msg) {
677 std::string bitmap_name(StringPrintf("imagespace %s live-bitmap %u", image_filename,
738 OatFile* ImageSpace::OpenOatFile(const char* image_path, std::string* error_msg) const {
740 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(image_path);
771 bool ImageSpace::ValidateOatFile(std::string* error_msg) const {
774 const std::string& dex_file_location = oat_dex_file->GetDexFileLocation();