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

12

/external/fio/os/windows/posix/include/
H A Ddirent.h21 struct dirent *readdir(DIR *dirp);
22 int closedir(DIR *dirp);
/external/boringssl/src/crypto/
H A Ddirectory_posix.c43 int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result) { argument
45 *result = readdir(dirp);
/external/rootdev/
H A Drootdev.c93 DIR *dirp = NULL; local
110 dirp = opendir(basedir);
111 if (!dirp) {
128 closedir(dirp);
137 closedir(dirp);
141 while (readdir_r(dirp, entry, &next) == 0 && next) {
191 closedir(dirp);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.h32 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count);
H A Dsanitizer_platform_limits_posix.h673 void (*gl_closedir)(void *dirp);
674 void *(*gl_readdir)(void *dirp);
687 void (*gl_closedir)(void *dirp);
688 struct dirent *(*gl_readdir)(void *dirp);
H A Dsanitizer_common_interceptors.inc2379 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_dirent6
[all...]
H A Dsanitizer_linux.cc534 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count) { argument
536 return internal_syscall(SYSCALL(getdents64), fd, (uptr)dirp, count);
538 return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count);
/external/fio/os/windows/
H A Dposix.c848 int closedir(DIR *dirp) argument
850 if (dirp != NULL && dirp->find_handle != INVALID_HANDLE_VALUE)
851 FindClose(dirp->find_handle);
853 free(dirp);
857 struct dirent *readdir(DIR *dirp) argument
862 if (dirp == NULL)
865 if (dirp->find_handle == INVALID_HANDLE_VALUE) {
867 StringCchPrintfA(search_pattern, MAX_PATH, "%s\\*", dirp->dirname);
868 dirp
[all...]
/external/valgrind/include/
H A Dpub_tool_libcfile.h97 extern Int VG_(getdents64)( Int fd, struct vki_dirent64 *dirp, UInt count );
/external/iproute2/ip/
H A Dxfrm_policy.c252 char *dirp = NULL; local
282 if (dirp)
284 dirp = *argv;
360 if (!dirp) {
565 char *dirp = NULL; local
588 if (dirp)
590 dirp = *argv;
637 if (!dirp) {
/external/avahi/avahi-daemon/
H A Dglob.c614 DIR *dirp; local
631 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {
650 while ((dp = (*readdirfunc)(dirp))) {
685 (*pglob->gl_closedir)(dirp);
687 closedir(dirp);
/external/elfutils/libdw/
H A Ddwarf_getsrclines.c290 const unsigned char *dirp = linep; local
291 while (*dirp != 0)
293 uint8_t *endp = memchr (dirp, '\0', lineendp - dirp);
297 dirp = endp + 1;
/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/valgrind/memcheck/tests/x86-solaris/
H A Dscalar.stderr.exp77 Syscall param getdents64(dirp) contains uninitialised byte(s)
83 Syscall param getdents64(dirp) points to unaddressable byte(s)
/external/mksh/src/
H A Deval.c1587 DIR *dirp; local
1595 dirp = opendir(prefix_len ? Xstring(*xs, xp) : ".");
1596 if (dirp == NULL)
1598 while ((d = readdir(dirp)) != NULL) {
1617 closedir(dirp);
/external/icu/icu4c/source/common/
H A Dputil.cpp920 DIR* dirp = opendir(path); local
925 if (dirp == NULL) {
934 while((dirEntry = readdir(dirp)) != NULL) {
969 closedir(dirp);
/external/e2fsprogs/contrib/
H A Dspd_readdir.c84 static void *(*real_rewinddir)(DIR *dirp) = 0;
/external/libvncserver/libvncserver/
H A Drfbserver.c1325 DIR *dirp=NULL; local
1355 dirp=opendir(path);
1356 if (dirp==NULL)
1366 for (direntp=readdir(dirp); direntp!=NULL; direntp=readdir(dirp))
1426 closedir(dirp);
1447 closedir(dirp);
/external/valgrind/coregrind/
H A Dm_libcfile.c660 Int VG_(getdents64) (Int fd, struct vki_dirent64 *dirp, UInt count) argument
663 /* res = getdents( fd, dirp, count ); */
667 res = VG_(do_syscall3)(__NR_getdents, fd, (UWord)dirp, count);
669 res = VG_(do_syscall3)(__NR_getdents64, fd, (UWord)dirp, count);
/external/squashfs-tools/squashfs-tools/
H A Dmksquashfs.c1338 unsigned char *dirp; local
1342 dirp = dir->buff;
1343 while(dirp < dir->p) {
1347 SQUASHFS_SWAP_DIR_HEADER((struct squashfs_dir_header *) dirp,
1350 dirp += sizeof(struct squashfs_dir_header);
1356 idirp = (struct squashfs_dir_entry *) dirp;
1362 dirp += sizeof(struct squashfs_dir_entry) + idir.size +
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.cc119 extern "C" int dirfd(void *dirp);
1893 TSAN_INTERCEPTOR(int, closedir, void *dirp) { argument
1894 SCOPED_TSAN_INTERCEPTOR(closedir, dirp);
1895 int fd = dirfd(dirp);
1897 return REAL(closedir)(dirp);
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-generic.c3387 unsigned int, fd, struct vki_dirent *, dirp,
3389 PRE_MEM_WRITE( "getdents(dirp)", ARG2, ARG3 );
3404 unsigned int, fd, struct vki_dirent64 *, dirp,
3406 PRE_MEM_WRITE( "getdents64(dirp)", ARG2, ARG3 );
/external/valgrind/memcheck/tests/x86-linux/
H A Dscalar.stderr.exp1629 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)
/external/valgrind/memcheck/tests/solaris/
H A Dscalar.stderr.exp1345 Syscall param getdents(dirp) contains uninitialised byte(s)
1351 Syscall param getdents(dirp) points to unaddressable byte(s)
/external/v8/tools/profviz/
H A Dgnuplot-4.6.3-emscripten.js3369 function _readdir_r(dirp, entry, result) {
3370 // int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
3372 if (!FS.streams[dirp] || !FS.streams[dirp].object.isFolder) {
3375 var stream = FS.streams[dirp];
3414 }function _readdir(dirp) {
3415 // struct dirent *readdir(DIR *dirp);
3417 if (!FS.streams[dirp] || !FS.streams[dirp].object.isFolder) {
3422 _readdir_r(dirp, F
[all...]

Completed in 2204 milliseconds

12