dirp 1837 libltdl/ltdl.c DIR *dirp = 0; dirp 1845 libltdl/ltdl.c dirp = opendir (dirnam); dirp 1846 libltdl/ltdl.c if (dirp) dirp 1850 libltdl/ltdl.c while ((dp = readdir (dirp))) dirp 1858 libltdl/ltdl.c closedir (dirp); dirp 207 maint/gnulib/lib/backupfile.c DIR *dirp = *dirpp; dirp 214 maint/gnulib/lib/backupfile.c if (dirp) dirp 215 maint/gnulib/lib/backupfile.c rewinddir (dirp); dirp 223 maint/gnulib/lib/backupfile.c dirp = opendirat (dir_fd, buf, 0, pnew_fd); dirp 224 maint/gnulib/lib/backupfile.c if (!dirp && errno == ENOMEM) dirp 228 maint/gnulib/lib/backupfile.c if (!dirp) dirp 230 maint/gnulib/lib/backupfile.c *dirpp = dirp; dirp 233 maint/gnulib/lib/backupfile.c while ((dp = readdir (dirp)) != NULL) dirp 333 maint/gnulib/lib/backupfile.c DIR *dirp = NULL; dirp 344 maint/gnulib/lib/backupfile.c &dirp, &sdir)) dirp 362 maint/gnulib/lib/backupfile.c if (dirp) dirp 363 maint/gnulib/lib/backupfile.c closedir (dirp); dirp 383 maint/gnulib/lib/backupfile.c if (dirp) dirp 384 maint/gnulib/lib/backupfile.c closedir (dirp); dirp 391 maint/gnulib/lib/backupfile.c if (dirp) dirp 392 maint/gnulib/lib/backupfile.c closedir (dirp); dirp 40 maint/gnulib/lib/closedir.c closedir (DIR *dirp) dirp 43 maint/gnulib/lib/closedir.c int fd = dirfd (dirp); dirp 50 maint/gnulib/lib/closedir.c retval = closedir (dirp); dirp 58 maint/gnulib/lib/closedir.c if (dirp->current != INVALID_HANDLE_VALUE) dirp 59 maint/gnulib/lib/closedir.c FindClose (dirp->current); dirp 60 maint/gnulib/lib/closedir.c free (dirp); dirp 106 maint/gnulib/lib/dirent.in.h _GL_FUNCDECL_RPL (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1))); dirp 107 maint/gnulib/lib/dirent.in.h _GL_CXXALIAS_RPL (closedir, int, (DIR *dirp)); dirp 110 maint/gnulib/lib/dirent.in.h _GL_FUNCDECL_SYS (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1))); dirp 112 maint/gnulib/lib/dirent.in.h _GL_CXXALIAS_SYS (closedir, int, (DIR *dirp)); dirp 165 maint/gnulib/lib/dirent.in.h _GL_FUNCDECL_SYS (readdir, struct dirent *, (DIR *dirp) _GL_ARG_NONNULL ((1))); dirp 167 maint/gnulib/lib/dirent.in.h _GL_CXXALIAS_SYS (readdir, struct dirent *, (DIR *dirp)); dirp 179 maint/gnulib/lib/dirent.in.h _GL_FUNCDECL_SYS (rewinddir, void, (DIR *dirp) _GL_ARG_NONNULL ((1))); dirp 181 maint/gnulib/lib/dirent.in.h _GL_CXXALIAS_SYS (rewinddir, void, (DIR *dirp)); dirp 205 maint/gnulib/lib/dirent.in.h _GL_EXTERN_C int _gl_register_dirp_fd (int fd, DIR *dirp) dirp 31 maint/gnulib/lib/dirfd.c DIR *dirp; dirp 38 maint/gnulib/lib/dirfd.c _gl_register_dirp_fd (int fd, DIR *dirp) dirp 44 maint/gnulib/lib/dirfd.c new_dirp_fd->dirp = dirp; dirp 90 maint/gnulib/lib/dirfd.c if (dirp_fd->dirp == dir_p) dirp 72 maint/gnulib/lib/fdopendir.c DIR *dirp; dirp 78 maint/gnulib/lib/fdopendir.c dirp = opendir (path); dirp 79 maint/gnulib/lib/fdopendir.c if (!dirp) dirp 83 maint/gnulib/lib/fdopendir.c _gl_unregister_dirp_fd (dirfd (dirp)); dirp 86 maint/gnulib/lib/fdopendir.c if (_gl_register_dirp_fd (fd, dirp)) dirp 90 maint/gnulib/lib/fdopendir.c closedir (dirp); dirp 94 maint/gnulib/lib/fdopendir.c dirp = NULL; dirp 97 maint/gnulib/lib/fdopendir.c return dirp; dirp 1231 maint/gnulib/lib/fts.c #define closedir_and_clear(dirp) \ dirp 1234 maint/gnulib/lib/fts.c closedir (dirp); \ dirp 1235 maint/gnulib/lib/fts.c dirp = NULL; \ dirp 186 maint/gnulib/lib/getcwd.c register char *dirp; dirp 250 maint/gnulib/lib/getcwd.c dirp = dir + allocated; dirp 251 maint/gnulib/lib/getcwd.c *--dirp = '\0'; dirp 407 maint/gnulib/lib/getcwd.c dirroom = dirp - dir; dirp 429 maint/gnulib/lib/getcwd.c dirp = memcpy (tmp + allocated - (oldsize - dirroom), dirp 435 maint/gnulib/lib/getcwd.c dirp -= namlen; dirp 436 maint/gnulib/lib/getcwd.c memcpy (dirp, d->d_name, namlen); dirp 437 maint/gnulib/lib/getcwd.c *--dirp = '/'; dirp 449 maint/gnulib/lib/getcwd.c if (dirp == &dir[allocated - 1]) dirp 450 maint/gnulib/lib/getcwd.c *--dirp = '/'; dirp 457 maint/gnulib/lib/getcwd.c used = dir + allocated - dirp; dirp 458 maint/gnulib/lib/getcwd.c memmove (dir, dirp, used); dirp 665 maint/gnulib/lib/mountlist.c DIR *dirp; dirp 682 maint/gnulib/lib/mountlist.c dirp = opendir ("/"); dirp 683 maint/gnulib/lib/mountlist.c if (dirp) dirp 687 maint/gnulib/lib/mountlist.c while ((d = readdir (dirp)) != NULL) dirp 718 maint/gnulib/lib/mountlist.c closedir (dirp); dirp 1047 maint/gnulib/lib/mountlist.c DIR *dirp = opendir ("/dev/fs"); dirp 1050 maint/gnulib/lib/mountlist.c if (!dirp) dirp 1061 maint/gnulib/lib/mountlist.c if (readdir_r (dirp, &entry, &result) || result == NULL) dirp 1084 maint/gnulib/lib/mountlist.c closedir (dirp); dirp 63 maint/gnulib/lib/opendir.c DIR *dirp; dirp 65 maint/gnulib/lib/opendir.c dirp = opendir (dir_name); dirp 66 maint/gnulib/lib/opendir.c if (dirp == NULL) dirp 72 maint/gnulib/lib/opendir.c if (fd == -1 || _gl_register_dirp_fd (fd, dirp)) dirp 77 maint/gnulib/lib/opendir.c closedir (dirp); dirp 91 maint/gnulib/lib/opendir.c struct gl_directory *dirp; dirp 146 maint/gnulib/lib/opendir.c dirp = dirp 150 maint/gnulib/lib/opendir.c if (dirp == NULL) dirp 157 maint/gnulib/lib/opendir.c dirp->status = status; dirp 158 maint/gnulib/lib/opendir.c dirp->current = current; dirp 160 maint/gnulib/lib/opendir.c memcpy (&dirp->entry, &entry, sizeof (WIN32_FIND_DATA)); dirp 161 maint/gnulib/lib/opendir.c strcpy (dirp->dir_name_mask, dir_name_mask); dirp 167 maint/gnulib/lib/opendir.c int fd = dirfd (dirp); dirp 171 maint/gnulib/lib/opendir.c closedir (dirp); dirp 178 maint/gnulib/lib/opendir.c return dirp; dirp 44 maint/gnulib/lib/opendirat.c DIR *dirp = fdopendir (new_fd); dirp 45 maint/gnulib/lib/opendirat.c if (dirp) dirp 53 maint/gnulib/lib/opendirat.c return dirp; dirp 32 maint/gnulib/lib/readdir.c readdir (DIR *dirp) dirp 46 maint/gnulib/lib/readdir.c switch (dirp->status) dirp 54 maint/gnulib/lib/readdir.c if (!FindNextFile (dirp->current, &dirp->entry)) dirp 59 maint/gnulib/lib/readdir.c dirp->status = -2; dirp 68 maint/gnulib/lib/readdir.c errno = dirp->status; dirp 72 maint/gnulib/lib/readdir.c dirp->status = 0; dirp 74 maint/gnulib/lib/readdir.c if (dirp->entry.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) dirp 76 maint/gnulib/lib/readdir.c else if (dirp->entry.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) dirp 78 maint/gnulib/lib/readdir.c else if ((dirp->entry.dwFileAttributes dirp 98 maint/gnulib/lib/readdir.c ((char *) dirp->entry.cFileName - offsetof (struct dirent, d_name[0])); dirp 31 maint/gnulib/lib/rewinddir.c rewinddir (DIR *dirp) dirp 34 maint/gnulib/lib/rewinddir.c if (dirp->current != INVALID_HANDLE_VALUE) dirp 35 maint/gnulib/lib/rewinddir.c FindClose (dirp->current); dirp 38 maint/gnulib/lib/rewinddir.c dirp->status = -1; dirp 39 maint/gnulib/lib/rewinddir.c dirp->current = FindFirstFile (dirp->dir_name_mask, &dirp->entry); dirp 40 maint/gnulib/lib/rewinddir.c if (dirp->current == INVALID_HANDLE_VALUE) dirp 45 maint/gnulib/lib/rewinddir.c dirp->status = -2; dirp 49 maint/gnulib/lib/rewinddir.c dirp->status = ENOENT; dirp 91 maint/gnulib/lib/savedir.c streamsavedir (DIR *dirp, enum savedir_option option) dirp 101 maint/gnulib/lib/savedir.c if (dirp == NULL) dirp 110 maint/gnulib/lib/savedir.c dp = readdir (dirp); dirp 179 maint/gnulib/lib/savedir.c DIR *dirp = opendir (dir); dirp 180 maint/gnulib/lib/savedir.c if (! dirp) dirp 184 maint/gnulib/lib/savedir.c char *name_space = streamsavedir (dirp, option); dirp 185 maint/gnulib/lib/savedir.c if (closedir (dirp) != 0)