Searched refs:instance_dir (Results 1 – 6 of 6) sorted by relevance
68 auto instance_dir = parent_path + "/" + subdir; in FallbackPaths() local70 paths.insert(instance_dir); in FallbackPaths()72 paths.insert(instance_dir + "/*"); in FallbackPaths()74 paths.insert(instance_dir + "/tombstones/*"); in FallbackPaths()76 paths.insert(instance_dir + "/" + std::string(vsoc::kInternalDirName) + "/*"); in FallbackPaths()86 instance.instance_dir(), in PathsForInstance()
33 static bool EnsureInstanceDirExists(const std::string& instance_dir);
95 DEFINE_string(instance_dir,624 paths.push_back(instance.instance_dir()); in CleanPriorFiles()840 if (!cvd::DirectoryExists(instance.instance_dir().c_str())) { in InitFilesystemAndCreateConfig()842 if (mkdir(instance.instance_dir().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) < 0 in InitFilesystemAndCreateConfig()849 auto internal_dir = instance.instance_dir() + "/" + vsoc::kInternalDirName; in InitFilesystemAndCreateConfig()
313 std::string instance_dir() const;364 void set_instance_dir(const std::string& instance_dir);
197 std::string CuttlefishConfig::InstanceSpecific::instance_dir() const { in instance_dir() function in vsoc::CuttlefishConfig::InstanceSpecific201 const std::string& instance_dir) { in set_instance_dir() argument202 (*Dictionary())[kInstanceDir] = instance_dir; in set_instance_dir()954 return (instance_dir() + "/") + file_name; in PerInstancePath()
331 auto chdir_ret = chdir(instance.instance_dir().c_str()); in main()335 << instance.instance_dir() << "): " << strerror(error); in main()