Searched refs:dir_name (Results 1 – 4 of 4) sorted by relevance
82 std::string dir_name = path.DirName().value(); in Write() local83 int dir_fd = HANDLE_EINTR(open(dir_name.c_str(), O_RDONLY | O_DIRECTORY)); in Write()85 PLOG(WARNING) << "Could not open " << dir_name << " for syncing"; in Write()91 PLOG(WARNING) << "Failed to sync " << dir_name; in Write()98 PLOG(WARNING) << "Failed to close after sync " << dir_name; in Write()
129 std::string dir_name = file_path.DirName().value(); in Write() local130 int dir_fd = HANDLE_EINTR(open(dir_name.c_str(), O_RDONLY | O_DIRECTORY)); in Write()132 PLOG(WARNING) << "Could not open " << dir_name << " for syncing"; in Write()138 PLOG(WARNING) << "Failed to sync " << dir_name; in Write()145 PLOG(WARNING) << "Failed to close after sync " << dir_name; in Write()
257 char* dir_name = nullptr; in GetFiles() local258 errcode_t error = ext2fs_get_pathname(filsys_, dir_ino, 0, &dir_name); in GetFiles()266 inodes[dir_ino].name = dir_name; in GetFiles()270 ext2fs_free_mem(&dir_name); in GetFiles()
166 std::string dir_name = android::base::Dirname(td.path); in TEST() local167 std::string base_dir_name = android::base::Basename(dir_name); in TEST()170 std::string path = dir_name + "/../" + base_dir_name + "/" + basename; in TEST()180 ASSERT_EQ(dir_name, result); in TEST()