/external/grub/stage2/ |
H A D | dir.h | 135 #define dirfd(dirp) ((dirp)->dd_fd) 144 #define rewinddir(dirp) seekdir((dirp), (long)0)
|
/external/openssh/openbsd-compat/ |
H A D | bsd-closefrom.c | 75 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 D | glob.c | 655 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 D | sanitizer_common_syscalls.inc | 95 PRE_SYSCALL(getdents)(int fd, void *dirp, int count) { PRE_WRITE(dirp, count); } 97 POST_SYSCALL(getdents)(long res, int fd, void *dirp, int count) { 99 POST_WRITE(dirp, res); 103 PRE_SYSCALL(getdents64)(int fd, void *dirp, int count) { 104 PRE_WRITE(dirp, count); 107 POST_SYSCALL(getdents64)(long res, int fd, void *dirp, int count) { 109 POST_WRITE(dirp, res);
|
H A D | sanitizer_linux.h | 28 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count);
|
H A D | sanitizer_platform_limits_posix.h | 198 void (*gl_closedir)(void *dirp); 199 void *(*gl_readdir)(void *dirp);
|
H A D | sanitizer_common_interceptors.inc | 1403 INTERCEPTOR(__sanitizer_dirent *, readdir, void *dirp) { 1405 COMMON_INTERCEPTOR_ENTER(ctx, readdir, dirp); 1406 __sanitizer_dirent *res = REAL(readdir)(dirp); 1412 INTERCEPTOR(int, readdir_r, void *dirp, __sanitizer_dirent *entry, 1415 COMMON_INTERCEPTOR_ENTER(ctx, readdir_r, dirp, entry, result); 1416 int res = REAL(readdir_r)(dirp, entry, result); 1433 INTERCEPTOR(__sanitizer_dirent64 *, readdir64, void *dirp) { 1435 COMMON_INTERCEPTOR_ENTER(ctx, readdir64, dirp); 1436 __sanitizer_dirent64 *res = REAL(readdir64)(dirp); 1442 INTERCEPTOR(int, readdir64_r, void *dirp, __sanitizer_dirent6 [all...] |
H A D | sanitizer_linux.cc | 537 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count) { argument 538 return internal_syscall(__NR_getdents, fd, dirp, count);
|
/external/yaffs2/yaffs2/direct/ |
H A D | yaffsfs.h | 196 struct yaffs_dirent *yaffs_readdir(yaffs_DIR *dirp) ; 197 void yaffs_rewinddir(yaffs_DIR *dirp) ; 198 int yaffs_closedir(yaffs_DIR *dirp) ;
|
H A D | yaffsfs.c | 1294 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 D | sftp-server.c | 180 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 D | scp.c | 847 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 D | sftp-client.c | 1521 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 D | pub_tool_libcfile.h | 92 extern Int VG_(getdents)( Int fd, struct vki_dirent *dirp, UInt count );
|
/external/iproute2/ip/ |
H A D | xfrm_policy.c | 256 char *dirp = NULL; local 286 if (dirp) 288 dirp = *argv; 364 if (!dirp) { 569 char *dirp = NULL; local 592 if (dirp) 594 dirp = *argv; 641 if (!dirp) {
|
/external/bluetooth/bluedroid/btif/src/ |
H A D | btif_config_util.cpp | 496 DIR *dirp; local 498 if((dirp = opendir(BLUEZ_PATH)) != NULL) 500 while((dptr = readdir(dirp)) != NULL) 512 closedir(dirp);
|
/external/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 29 void __sanitizer_syscall_pre_getdents(int fd, void *dirp, int count); 30 void __sanitizer_syscall_pre_getdents64(int fd, void *dirp, int count); 39 void __sanitizer_syscall_post_getdents(long res, int fd, void *dirp, int count); 40 void __sanitizer_syscall_post_getdents64(long res, int fd, void *dirp,
|
/external/dropbear/ |
H A D | scp.c | 715 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 D | eaytest.c | 416 DIR *dirp; local 536 dirp = opendir(path); 537 if (dirp == NULL) { 543 while ((dp = readdir(dirp)) != NULL) {
|
/external/mksh/src/ |
H A D | eval.c | 1567 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/chromium_org/third_party/icu/source/common/ |
H A D | putil.c | 916 DIR* dirp = opendir(path); local 921 if (dirp == NULL) { 930 while((dirEntry = readdir(dirp)) != NULL) { 965 closedir(dirp);
|
/external/icu4c/common/ |
H A D | putil.cpp | 937 DIR* dirp = opendir(path); local 942 if (dirp == NULL) { 951 while((dirEntry = readdir(dirp)) != NULL) { 986 closedir(dirp);
|
/external/valgrind/main/coregrind/ |
H A D | m_libcfile.c | 481 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 D | syswrap-generic.c | 3083 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 D | scalar.stderr.exp | 1627 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)
|