Searched refs:directory (Results 1 - 3 of 3) sorted by relevance

/bootable/recovery/
H A Droots.h49 // Copies 'directory' to root of the newly formatted volume
50 int format_volume(const char* volume, const char* directory);
H A Droots.cpp228 int format_volume(const char* volume, const char* directory) { argument
306 if (result == 0 && directory != nullptr) {
311 directory,
346 if (result == 0 && directory != nullptr) {
351 "-f", directory,
/bootable/recovery/updater/
H A Dblockimg.cpp687 // directory and continues despite of errors. Calls the 'callback' function for each file.
692 std::unique_ptr<DIR, decltype(&closedir)> directory(opendir(dirname.c_str()), closedir);
694 if (directory == nullptr) {
702 while ((item = readdir(directory.get())) != nullptr) {
708 // Deletes the stash directory and all files in it. Assumes that it only
888 // Creates a directory for storing stash files and checks if the /cache partition
890 // >0 if we created the directory, zero if it existed already, and <0 of failure.
898 // Stash directory should be different for each partition to avoid conflicts
900 // the block device name as the base directory
936 return 1; // Created directory
[all...]

Completed in 134 milliseconds