Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dblockimg.cpp583 static void EnumerateStash(const std::string& dirname, in EnumerateStash() argument
585 if (dirname.empty()) return; in EnumerateStash()
587 std::unique_ptr<DIR, decltype(&closedir)> directory(opendir(dirname.c_str()), closedir); in EnumerateStash()
591 PLOG(ERROR) << "opendir \"" << dirname << "\" failed"; in EnumerateStash()
599 callback(dirname + "/" + item->d_name); in EnumerateStash()
621 std::string dirname = GetStashFileName(base, "", ""); in DeleteStash() local
622 EnumerateStash(dirname, DeleteFile); in DeleteStash()
624 if (rmdir(dirname.c_str()) == -1) { in DeleteStash()
626 PLOG(ERROR) << "rmdir \"" << dirname << "\" failed"; in DeleteStash()
800 std::string dirname = GetStashFileName(base, "", ""); in CreateStash() local
[all …]
/bootable/recovery/uncrypt/
Duncrypt.cpp431 std::string dir_name = dirname(&file_name[0]); in produce_block_map()