Home
last modified time | relevance | path

Searched refs:from_dir (Results 1 – 2 of 2) sorted by relevance

/system/vold/bench/inodeop_bench/
Dinodeop_bench.cpp77 std::string from_dir; member
90 string_repr << "\t.from_dir = " << from_dir << ",\n"; in to_string()
102 from_dir = to_dir = "./"; in reset()
129 << " (default '" << command.from_dir << "').\n"; in usage()
131 << "/" << Command::HARDLINK << " (default '" << command.from_dir << "').\n"; in usage()
194 bool move_files(const std::string& from_dir, const std::string& to_dir, int n_file, in move_files() argument
196 int from_dir_fd = open(from_dir.c_str(), OPEN_DIR_FLAGS); in move_files()
199 std::cerr << "Failed to open source directory '" << from_dir << "', error '" in move_files()
226 bool hardlink_files(const std::string& from_dir, const std::string& to_dir, int n_file, in hardlink_files() argument
228 int from_dir_fd = open(from_dir.c_str(), OPEN_DIR_FLAGS); in hardlink_files()
[all …]
/system/core/init/
Dmount_namespace.cpp111 static Result<void> ActivateFlattenedApexesFrom(const std::string& from_dir, in ActivateFlattenedApexesFrom() argument
113 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(from_dir.c_str()), closedir); in ActivateFlattenedApexesFrom()
129 const std::string apex_path = from_dir + "/" + name; in ActivateFlattenedApexesFrom()