Searched refs:dirp (Results 1 - 20 of 20) sorted by relevance

/external/grub/stage2/
H A Ddir.h135 #define dirfd(dirp) ((dirp)->dd_fd)
144 #define rewinddir(dirp) seekdir((dirp), (long)0)
/external/openssh/openbsd-compat/
H A Dbsd-closefrom.c75 DIR *dirp; local
80 if (len > 0 && (size_t)len <= sizeof(fdpath) && (dirp = opendir(fdpath))) {
81 while ((dent = readdir(dirp)) != NULL) {
84 fd >= 0 && fd < INT_MAX && fd >= lowfd && fd != dirfd(dirp))
87 (void) closedir(dirp);
H A Dglob.c655 DIR *dirp; local
672 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {
691 while ((dp = (*readdirfunc)(dirp))) {
727 (*pglob->gl_closedir)(dirp);
729 closedir(dirp);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.h26 int internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count);
H A Dsanitizer_linux.cc597 int internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count) { argument
598 return syscall(__NR_getdents, fd, dirp, count);
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.h196 struct yaffs_dirent *yaffs_readdir(yaffs_DIR *dirp) ;
197 void yaffs_rewinddir(yaffs_DIR *dirp) ;
198 int yaffs_closedir(yaffs_DIR *dirp) ;
H A Dyaffsfs.c1294 struct yaffs_dirent *yaffs_readdir(yaffs_DIR *dirp) argument
1296 yaffsfs_DirectorySearchContext *dsc = (yaffsfs_DirectorySearchContext *)dirp;
1325 void yaffs_rewinddir(yaffs_DIR *dirp) argument
1327 yaffsfs_DirectorySearchContext *dsc = (yaffsfs_DirectorySearchContext *)dirp;
1337 int yaffs_closedir(yaffs_DIR *dirp) argument
1339 yaffsfs_DirectorySearchContext *dsc = (yaffsfs_DirectorySearchContext *)dirp;
/external/openssh/
H A Dsftp-server.c180 DIR *dirp; member in struct:Handle
205 handle_new(int use, const char *name, int fd, DIR *dirp) argument
221 handles[i].dirp = dirp;
273 return handles[handle].dirp;
325 ret = closedir(handles[handle].dirp);
883 DIR *dirp = NULL; local
892 dirp = opendir(path);
893 if (dirp == NULL) {
896 handle = handle_new(HANDLE_DIR, path, 0, dirp);
913 DIR *dirp; local
[all...]
H A Dscp.c847 DIR *dirp; local
851 if (!(dirp = opendir(name))) {
866 closedir(dirp);
876 closedir(dirp);
879 while ((dp = readdir(dirp)) != NULL) {
892 (void) closedir(dirp);
H A Dsftp-client.c1521 DIR *dirp; local
1565 if ((dirp = opendir(src)) == NULL) {
1570 while (((dp = readdir(dirp)) != NULL) && !interrupted) {
1603 (void) closedir(dirp);
/external/valgrind/main/include/
H A Dpub_tool_libcfile.h92 extern Int VG_(getdents)( Int fd, struct vki_dirent *dirp, UInt count );
/external/iproute2/ip/
H A Dxfrm_policy.c234 char *dirp = NULL; local
258 if (dirp)
260 dirp = *argv;
327 if (!dirp) {
528 char *dirp = NULL; local
544 if (dirp)
546 dirp = *argv;
584 if (!dirp) {
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_config_util.cpp496 DIR *dirp; local
498 if((dirp = opendir(BLUEZ_PATH)) != NULL)
500 while((dptr = readdir(dirp)) != NULL)
512 closedir(dirp);
/external/dropbear/
H A Dscp.c715 DIR *dirp; local
719 if (!(dirp = opendir(name))) {
734 closedir(dirp);
744 closedir(dirp);
747 while ((dp = readdir(dirp)) != NULL) {
760 (void) closedir(dirp);
/external/ipsec-tools/src/racoon/
H A Deaytest.c416 DIR *dirp; local
536 dirp = opendir(path);
537 if (dirp == NULL) {
543 while ((dp = readdir(dirp)) != NULL) {
/external/mksh/src/
H A Deval.c1567 DIR *dirp; local
1575 dirp = opendir(prefix_len ? Xstring(*xs, xp) : ".");
1576 if (dirp == NULL)
1578 while ((d = readdir(dirp)) != NULL) {
1597 closedir(dirp);
/external/icu4c/common/
H A Dputil.cpp932 DIR* dirp = opendir(path); local
937 if (dirp == NULL) {
946 while((dirEntry = readdir(dirp)) != NULL) {
981 closedir(dirp);
/external/valgrind/main/coregrind/
H A Dm_libcfile.c481 Int VG_(getdents) (Int fd, struct vki_dirent *dirp, UInt count) argument
485 /* res = getdents( fd, dirp, count ); */
486 res = VG_(do_syscall3)(__NR_getdents, fd, (UWord)dirp, count);
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-generic.c3083 unsigned int, fd, struct linux_dirent *, dirp,
3085 PRE_MEM_WRITE( "getdents(dirp)", ARG2, ARG3 );
3100 unsigned int, fd, struct linux_dirent64 *, dirp,
3102 PRE_MEM_WRITE( "getdents64(dirp)", ARG2, ARG3 );
/external/valgrind/main/memcheck/tests/x86-linux/
H A Dscalar.stderr.exp1627 Syscall param getdents(dirp) contains uninitialised byte(s)
1635 Syscall param getdents(dirp) points to unaddressable byte(s)
2887 Syscall param getdents64(dirp) contains uninitialised byte(s)
2895 Syscall param getdents64(dirp) points to unaddressable byte(s)

Completed in 394 milliseconds