Searched defs:dirp (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/boringssl/src/crypto/
H A Ddirectory_posix.c41 int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result) { argument
43 *result = readdir(dirp);
/external/iproute2/ip/
H A Dxfrm_policy.c256 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/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/qemu/distrib/ext4_utils/src/
H A Dext4fixup.c593 static int is_entry_dir(int fd, struct ext4_dir_entry_2 *dirp, int pass) argument
598 if (dirp->file_type == EXT4_FT_DIR) {
600 } else if (dirp->file_type == EXT4_FT_UNKNOWN) {
608 if ((pass == UPDATE_INODE_NUMS) && !(dirp->inode & 0x80000000)) {
611 read_inode(fd, (dirp->inode & 0x7fffffff), &inode);
625 struct ext4_dir_entry_2 *dirp, *prev_dirp = 0; local
676 dirp = (struct ext4_dir_entry_2 *)dirbuf;
677 while (dirp < (struct ext4_dir_entry_2 *)(dirbuf + dirsize)) {
679 leftover_space = (char *)(dirbuf + dirsize) - (char *)dirp;
694 if (dirp
[all...]
/external/mksh/src/
H A Deval.c1589 DIR *dirp; local
1597 dirp = opendir(prefix_len ? Xstring(*xs, xp) : ".");
1598 if (dirp == NULL)
1600 while ((d = readdir(dirp)) != NULL) {
1619 closedir(dirp);
/external/valgrind/main/coregrind/
H A Dm_libcfile.c531 Int VG_(getdents) (Int fd, struct vki_dirent *dirp, UInt count) argument
535 /* res = getdents( fd, dirp, count ); */
536 res = VG_(do_syscall3)(__NR_getdents, fd, (UWord)dirp, count);
/external/yaffs2/yaffs2/direct/
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/bluetooth/bluedroid/btif/src/
H A Dbtif_config_util.cpp533 DIR *dirp; local
535 if((dirp = opendir(BLUEZ_PATH)) != NULL)
537 while((dptr = readdir(dirp)) != NULL)
549 closedir(dirp);
/external/chromium_org/third_party/icu/source/common/
H A Dputil.cpp941 DIR* dirp = opendir(path); local
946 if (dirp == NULL) {
955 while((dirEntry = readdir(dirp)) != NULL) {
990 closedir(dirp);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cc503 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count) { argument
505 return internal_syscall(SYSCALL(getdents64), fd, (uptr)dirp, count);
507 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/icu/icu4c/source/common/
H A Dputil.cpp941 DIR* dirp = opendir(path); local
946 if (dirp == NULL) {
955 while((dirEntry = readdir(dirp)) != NULL) {
990 closedir(dirp);

Completed in 305 milliseconds