Home | History | Annotate | Download | only in base

Lines Matching defs:dir

99   DIR* dir = opendir(path.value().c_str());
100 if (dir) {
108 while (readdir_r(dir, &ent_buf, &ent) == 0 && ent) {
137 closedir(dir);
179 FilePath dir = FilePath(directories.top());
181 success = (rmdir(dir.value().c_str()) == 0);
433 FILE* CreateAndOpenTemporaryFileInDir(const FilePath& dir, FilePath* path) {
434 int fd = CreateAndOpenFdForTemporaryFile(dir, path);
444 bool CreateTemporaryFileInDir(const FilePath& dir, FilePath* temp_file) {
446 int fd = CreateAndOpenFdForTemporaryFile(dir, temp_file);
594 bool GetCurrentDirectory(FilePath* dir) {
603 *dir = FilePath(system_buffer);
715 DIR* dir = opendir(source.value().c_str());
716 if (!dir)
727 while (readdir_r(dir, &dent_buf, &dent) == 0 && dent) {
749 closedir(dir);