/external/qemu/distrib/ext4_utils/src/ |
D | ext4fixup.c | 593 static int is_entry_dir(int fd, struct ext4_dir_entry_2 *dirp, int pass) in is_entry_dir() argument 598 if (dirp->file_type == EXT4_FT_DIR) { in is_entry_dir() 600 } else if (dirp->file_type == EXT4_FT_UNKNOWN) { in is_entry_dir() 608 if ((pass == UPDATE_INODE_NUMS) && !(dirp->inode & 0x80000000)) { in is_entry_dir() 611 read_inode(fd, (dirp->inode & 0x7fffffff), &inode); in is_entry_dir() 625 struct ext4_dir_entry_2 *dirp, *prev_dirp = 0; in recurse_dir() local 676 dirp = (struct ext4_dir_entry_2 *)dirbuf; in recurse_dir() 677 while (dirp < (struct ext4_dir_entry_2 *)(dirbuf + dirsize)) { in recurse_dir() 679 leftover_space = (char *)(dirbuf + dirsize) - (char *)dirp; in recurse_dir() 694 if (dirp->inode == 0) { in recurse_dir() [all …]
|
/external/fio/os/windows/posix/include/ |
D | dirent.h | 21 struct dirent *readdir(DIR *dirp); 22 int closedir(DIR *dirp);
|
/external/yaffs2/yaffs2/direct/ |
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) ;
|
D | yaffsfs.c | 1294 struct yaffs_dirent *yaffs_readdir(yaffs_DIR *dirp) in yaffs_readdir() argument 1296 yaffsfs_DirectorySearchContext *dsc = (yaffsfs_DirectorySearchContext *)dirp; in yaffs_readdir() 1325 void yaffs_rewinddir(yaffs_DIR *dirp) in yaffs_rewinddir() argument 1327 yaffsfs_DirectorySearchContext *dsc = (yaffsfs_DirectorySearchContext *)dirp; in yaffs_rewinddir() 1337 int yaffs_closedir(yaffs_DIR *dirp) in yaffs_closedir() argument 1339 yaffsfs_DirectorySearchContext *dsc = (yaffsfs_DirectorySearchContext *)dirp; in yaffs_closedir()
|
/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/iproute2/ip/ |
D | xfrm_policy.c | 256 char *dirp = NULL; in xfrm_policy_modify() local 286 if (dirp) in xfrm_policy_modify() 288 dirp = *argv; in xfrm_policy_modify() 364 if (!dirp) { in xfrm_policy_modify() 569 char *dirp = NULL; in xfrm_policy_get_or_delete() local 592 if (dirp) in xfrm_policy_get_or_delete() 594 dirp = *argv; in xfrm_policy_get_or_delete() 641 if (!dirp) { in xfrm_policy_get_or_delete()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.h | 31 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count);
|
D | sanitizer_platform_limits_posix.h | 624 void (*gl_closedir)(void *dirp); 625 void *(*gl_readdir)(void *dirp); 638 void (*gl_closedir)(void *dirp); 639 struct dirent *(*gl_readdir)(void *dirp);
|
D | sanitizer_linux.cc | 503 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count) { in internal_getdents() argument 505 return internal_syscall(SYSCALL(getdents64), fd, (uptr)dirp, count); in internal_getdents() 507 return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count); in internal_getdents()
|
D | sanitizer_common_interceptors.inc | 2122 INTERCEPTOR(__sanitizer_dirent *, readdir, void *dirp) { 2124 COMMON_INTERCEPTOR_ENTER(ctx, readdir, dirp); 2128 __sanitizer_dirent *res = REAL(readdir)(dirp); 2133 INTERCEPTOR(int, readdir_r, void *dirp, __sanitizer_dirent *entry, 2136 COMMON_INTERCEPTOR_ENTER(ctx, readdir_r, dirp, entry, result); 2140 int res = REAL(readdir_r)(dirp, entry, result); 2157 INTERCEPTOR(__sanitizer_dirent64 *, readdir64, void *dirp) { 2159 COMMON_INTERCEPTOR_ENTER(ctx, readdir64, dirp); 2163 __sanitizer_dirent64 *res = REAL(readdir64)(dirp); 2168 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/main/include/ |
D | pub_tool_libcfile.h | 95 extern Int VG_(getdents)( Int fd, struct vki_dirent *dirp, UInt count );
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_config_util.cpp | 533 DIR *dirp; in load_bluez_adapter_info() local 535 if((dirp = opendir(BLUEZ_PATH)) != NULL) in load_bluez_adapter_info() 537 while((dptr = readdir(dirp)) != NULL) in load_bluez_adapter_info() 549 closedir(dirp); in load_bluez_adapter_info()
|
/external/lldb/source/Host/macosx/ |
D | Symbols.cpp | 250 lldb_utility::CleanUp <DIR *, int> dirp (opendir(path), NULL, closedir); in FindSymbolFileInBundle() local 251 if (dirp.is_valid()) in FindSymbolFileInBundle() 255 while ((dp = readdir(dirp.get())) != NULL) in FindSymbolFileInBundle()
|
/external/mksh/src/ |
D | eval.c | 1599 DIR *dirp; in globit() local 1607 dirp = opendir(prefix_len ? Xstring(*xs, xp) : "."); in globit() 1608 if (dirp == NULL) in globit() 1610 while ((d = readdir(dirp)) != NULL) { in globit() 1629 closedir(dirp); in globit()
|
/external/chromium_org/third_party/icu/source/common/ |
D | putil.c | 918 DIR* dirp = opendir(path); in searchForTZFile() local 923 if (dirp == NULL) { in searchForTZFile() 932 while((dirEntry = readdir(dirp)) != NULL) { in searchForTZFile() 967 closedir(dirp); in searchForTZFile()
|
/external/icu/icu4c/source/common/ |
D | putil.cpp | 941 DIR* dirp = opendir(path); in searchForTZFile() local 946 if (dirp == NULL) { in searchForTZFile() 955 while((dirEntry = readdir(dirp)) != NULL) { in searchForTZFile() 990 closedir(dirp); in searchForTZFile()
|
/external/e2fsprogs/contrib/ |
D | spd_readdir.c | 84 static void *(*real_rewinddir)(DIR *dirp) = 0;
|
/external/valgrind/main/coregrind/ |
D | m_libcfile.c | 531 Int VG_(getdents) (Int fd, struct vki_dirent *dirp, UInt count) in VG_() 536 res = VG_(do_syscall3)(__NR_getdents, fd, (UWord)dirp, count); in VG_()
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
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)
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-generic.c | 3193 unsigned int, fd, struct linux_dirent *, dirp, in PRE() 3210 unsigned int, fd, struct linux_dirent64 *, dirp, in PRE()
|
/external/chromium_org/third_party/lcov/ |
D | descriptions.tests | 1863 check that we get a failure with a bad dirp address.
|
/external/chromium_org/v8/tools/profviz/ |
D | gnuplot-4.6.3-emscripten.js | 3369 function _readdir_r(dirp, entry, result) { argument 3372 if (!FS.streams[dirp] || !FS.streams[dirp].object.isFolder) { 3375 var stream = FS.streams[dirp]; 3414 }function _readdir(dirp) { argument 3417 if (!FS.streams[dirp] || !FS.streams[dirp].object.isFolder) { 3422 _readdir_r(dirp, FS.streams[dirp].currentEntry, _readdir.result); 3426 return FS.streams[dirp].currentEntry; 3430 function _closedir(dirp) { argument 3433 if (!FS.streams[dirp] || !FS.streams[dirp].object.isFolder) { 3436 _free(FS.streams[dirp].currentEntry); [all …]
|