/external/autotest/client/tests/ltp/patches/ |
D | getdents.patch | 49 - : "a" (cnum), "b" (fd), "c" (dirp), "d" (count)\ 73 +getdents(unsigned int fd, struct dirent *dirp, unsigned int count) 76 + struct linux_dirent *dirp; 88 +#define kdircpy(field) memcpy(&dirp[i].field, &ptrs.dirp->field, sizeof(dirp[i].field)) 96 + reclen = dirp[i].d_reclen; 98 + strcpy(dirp[i].d_name, ptrs.dirp->d_name); 115 struct dirent *dirp; 122 - * equivalent to - getdents(fd, dirp, count); 132 rval = getdents(fd, dirp, count); 177 struct dirent *dirp; [all …]
|
/external/rootdev/ |
D | rootdev.c | 93 DIR *dirp = NULL; in match_sysfs_device() local 110 dirp = opendir(basedir); in match_sysfs_device() 111 if (!dirp) { in match_sysfs_device() 128 closedir(dirp); in match_sysfs_device() 137 closedir(dirp); in match_sysfs_device() 141 while (readdir_r(dirp, entry, &next) == 0 && next) { in match_sysfs_device() 191 closedir(dirp); in match_sysfs_device()
|
/external/fio/os/windows/posix/include/ |
D | dirent.h | 21 struct dirent *readdir(DIR *dirp); 22 int closedir(DIR *dirp);
|
/external/fio/os/windows/ |
D | posix.c | 848 int closedir(DIR *dirp) in closedir() argument 850 if (dirp != NULL && dirp->find_handle != INVALID_HANDLE_VALUE) in closedir() 851 FindClose(dirp->find_handle); in closedir() 853 free(dirp); in closedir() 857 struct dirent *readdir(DIR *dirp) in readdir() argument 862 if (dirp == NULL) in readdir() 865 if (dirp->find_handle == INVALID_HANDLE_VALUE) { in readdir() 867 StringCchPrintfA(search_pattern, MAX_PATH, "%s\\*", dirp->dirname); in readdir() 868 dirp->find_handle = FindFirstFileA(search_pattern, &find_data); in readdir() 869 if (dirp->find_handle == INVALID_HANDLE_VALUE) in readdir() [all …]
|
/external/boringssl/src/crypto/ |
D | directory_posix.c | 43 int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result) { in readdir_r() argument 45 *result = readdir(dirp); in readdir_r()
|
/external/iproute2/ip/ |
D | xfrm_policy.c | 252 char *dirp = NULL; in xfrm_policy_modify() local 282 if (dirp) in xfrm_policy_modify() 284 dirp = *argv; in xfrm_policy_modify() 360 if (!dirp) { in xfrm_policy_modify() 565 char *dirp = NULL; in xfrm_policy_get_or_delete() local 588 if (dirp) in xfrm_policy_get_or_delete() 590 dirp = *argv; in xfrm_policy_get_or_delete() 637 if (!dirp) { in xfrm_policy_get_or_delete()
|
/external/avahi/avahi-daemon/ |
D | glob.c | 614 DIR *dirp; in glob3() local 631 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) { in glob3() 650 while ((dp = (*readdirfunc)(dirp))) { in glob3() 685 (*pglob->gl_closedir)(dirp); in glob3() 687 closedir(dirp); in glob3()
|
/external/elfutils/libdw/ |
D | dwarf_getsrclines.c | 290 const unsigned char *dirp = linep; in read_srclines() local 291 while (*dirp != 0) in read_srclines() 293 uint8_t *endp = memchr (dirp, '\0', lineendp - dirp); in read_srclines() 297 dirp = endp + 1; in read_srclines()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.h | 32 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count);
|
D | sanitizer_platform_limits_posix.h | 673 void (*gl_closedir)(void *dirp); 674 void *(*gl_readdir)(void *dirp); 687 void (*gl_closedir)(void *dirp); 688 struct dirent *(*gl_readdir)(void *dirp);
|
D | sanitizer_linux.cc | 534 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count) { in internal_getdents() argument 536 return internal_syscall(SYSCALL(getdents64), fd, (uptr)dirp, count); in internal_getdents() 538 return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count); in internal_getdents()
|
D | sanitizer_common_interceptors.inc | 2379 INTERCEPTOR(__sanitizer_dirent *, readdir, void *dirp) { 2381 COMMON_INTERCEPTOR_ENTER(ctx, readdir, dirp); 2385 __sanitizer_dirent *res = REAL(readdir)(dirp); 2390 INTERCEPTOR(int, readdir_r, void *dirp, __sanitizer_dirent *entry, 2393 COMMON_INTERCEPTOR_ENTER(ctx, readdir_r, dirp, entry, result); 2397 int res = REAL(readdir_r)(dirp, entry, result); 2415 INTERCEPTOR(__sanitizer_dirent64 *, readdir64, void *dirp) { 2417 COMMON_INTERCEPTOR_ENTER(ctx, readdir64, dirp); 2421 __sanitizer_dirent64 *res = REAL(readdir64)(dirp); 2426 INTERCEPTOR(int, readdir64_r, void *dirp, __sanitizer_dirent64 *entry, [all …]
|
/external/ipsec-tools/src/racoon/ |
D | eaytest.c | 416 DIR *dirp; local 536 dirp = opendir(path); 537 if (dirp == NULL) { 543 while ((dp = readdir(dirp)) != NULL) {
|
/external/valgrind/include/ |
D | pub_tool_libcfile.h | 97 extern Int VG_(getdents64)( Int fd, struct vki_dirent64 *dirp, UInt count );
|
/external/valgrind/memcheck/tests/x86-solaris/ |
D | scalar.stderr.exp | 77 Syscall param getdents64(dirp) contains uninitialised byte(s) 83 Syscall param getdents64(dirp) points to unaddressable byte(s)
|
/external/mksh/src/ |
D | eval.c | 1587 DIR *dirp; in globit() local 1595 dirp = opendir(prefix_len ? Xstring(*xs, xp) : "."); in globit() 1596 if (dirp == NULL) in globit() 1598 while ((d = readdir(dirp)) != NULL) { in globit() 1617 closedir(dirp); in globit()
|
/external/icu/icu4c/source/common/ |
D | putil.cpp | 920 DIR* dirp = opendir(path); in searchForTZFile() local 925 if (dirp == NULL) { in searchForTZFile() 934 while((dirEntry = readdir(dirp)) != NULL) { in searchForTZFile() 969 closedir(dirp); in searchForTZFile()
|
/external/autotest/client/profilers/lockmeter/ |
D | patch.2.6.14-lockmeter-1.gz | 1Index: linux/arch/i386/Kconfig.debug
2====== ... |
/external/dbus/ |
D | configure.ac | 639 DIR *dirp; 640 dirp = opendir("."); 641 dirfd(dirp); 642 closedir(dirp); 650 AC_MSG_CHECKING(for DIR *dirp->dd_fd) 655 DIR *dirp; 657 dirp = opendir("."); 658 fd = dirp->dd_fd; 659 closedir(dirp);
|
/external/libvncserver/libvncserver/ |
D | rfbserver.c | 1325 DIR *dirp=NULL; in rfbSendDirContent() local 1355 dirp=opendir(path); in rfbSendDirContent() 1356 if (dirp==NULL) in rfbSendDirContent() 1366 for (direntp=readdir(dirp); direntp!=NULL; direntp=readdir(dirp)) in rfbSendDirContent() 1426 closedir(dirp); in rfbSendDirContent() 1447 closedir(dirp); in rfbSendDirContent()
|
/external/valgrind/coregrind/ |
D | m_libcfile.c | 660 Int VG_(getdents64) (Int fd, struct vki_dirent64 *dirp, UInt count) in VG_() 667 res = VG_(do_syscall3)(__NR_getdents, fd, (UWord)dirp, count); in VG_() 669 res = VG_(do_syscall3)(__NR_getdents64, fd, (UWord)dirp, count); in VG_()
|
/external/e2fsprogs/contrib/ |
D | spd_readdir.c | 84 static void *(*real_rewinddir)(DIR *dirp) = 0;
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors.cc | 119 extern "C" int dirfd(void *dirp); 1893 TSAN_INTERCEPTOR(int, closedir, void *dirp) { in TSAN_INTERCEPTOR() argument 1894 SCOPED_TSAN_INTERCEPTOR(closedir, dirp); in TSAN_INTERCEPTOR() 1895 int fd = dirfd(dirp); in TSAN_INTERCEPTOR() 1897 return REAL(closedir)(dirp); in TSAN_INTERCEPTOR()
|
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.c | 1336 unsigned char *dirp; in write_dir() local 1340 dirp = dir->buff; in write_dir() 1341 while(dirp < dir->p) { in write_dir() 1345 SQUASHFS_SWAP_DIR_HEADER((struct squashfs_dir_header *) dirp, in write_dir() 1348 dirp += sizeof(struct squashfs_dir_header); in write_dir() 1354 idirp = (struct squashfs_dir_entry *) dirp; in write_dir() 1360 dirp += sizeof(struct squashfs_dir_entry) + idir.size + in write_dir()
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 1629 Syscall param getdents(dirp) contains uninitialised byte(s) 1637 Syscall param getdents(dirp) points to unaddressable byte(s) 2891 Syscall param getdents64(dirp) contains uninitialised byte(s) 2899 Syscall param getdents64(dirp) points to unaddressable byte(s)
|