Searched refs:dir_to_delete (Results 1 – 1 of 1) sorted by relevance
708 auto dir_to_delete = temp_dir_path.c_str(); in rename_delete_dir_contents() local709 if (::rename(pathname.c_str(), dir_to_delete)) { in rename_delete_dir_contents()713 ALOGE("Couldn't rename %s -> %s: %s \n", pathname.c_str(), dir_to_delete, strerror(errno)); in rename_delete_dir_contents()714 dir_to_delete = pathname.c_str(); in rename_delete_dir_contents()717 return delete_dir_contents(dir_to_delete, 1, exclusion_predicate, ignore_if_missing); in rename_delete_dir_contents()