HomeSort by relevance Sort by last modified time
    Searched defs:dirp (Results 1 - 15 of 15) sorted by null

  /external/openssh/openbsd-compat/
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);
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/iproute2/ip/
xfrm_policy.c 234 char *dirp = NULL; local
258 if (dirp)
260 dirp = *argv;
327 if (!dirp) {
528 char *dirp = NULL; local
544 if (dirp)
546 dirp = *argv;
584 if (!dirp) {
  /bionic/libc/bionic/
fts.c 548 DIR *dirp; local
562 if ((dirp = opendir(cur->fts_accpath)) == NULL) {
607 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) {
613 (void)closedir(dirp);
614 dirp = NULL;
648 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) {
666 (void)closedir(dirp);
692 (void)closedir(dirp);
741 if (dirp)
    [all...]
  /external/ipsec-tools/src/racoon/
eaytest.c 416 DIR *dirp; local
536 dirp = opendir(path);
537 if (dirp == NULL) {
543 while ((dp = readdir(dirp)) != NULL) {
  /external/openssh/
sftp-client.c 1521 DIR *dirp; local
    [all...]
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);
sftp-server.c 180 DIR *dirp; member in struct:Handle
205 handle_new(int use, const char *name, int fd, DIR *dirp)
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...]
  /system/core/sh/
expand.c 1131 DIR *dirp; local
1206 if ((dirp = opendir(cp)) == NULL)
1224 while (! int_pending() && (dp = readdir(dirp)) != NULL) {
1240 closedir(dirp);
  /system/extras/ext4_utils/
ext4fixup.c 593 static int is_entry_dir(int fd, struct ext4_dir_entry_2 *dirp, int pass)
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->inode == 0)
    [all...]
  /external/bluetooth/glib/gio/
gunixmounts.c 615 DIR *dirp; local
619 dirp = opendir ("/dev/fs");
620 if (!dirp)
632 if (readdir_r (dirp, &entry, &result) || result == NULL)
655 closedir (dirp);
    [all...]
  /external/dropbear/
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/mksh/src/
eval.c 1476 DIR *dirp; local
    [all...]
  /frameworks/base/core/jni/
android_util_Process.cpp 592 DIR* dirp = opendir(file8); local
596 if(dirp == NULL) {
610 while ((entry=readdir(dirp)) != NULL) {
625 closedir(dirp);
643 closedir(dirp);
  /external/icu4c/common/
putil.c 913 DIR* dirp = opendir(path); local
918 if (dirp == NULL) {
927 while((dirEntry = readdir(dirp)) != NULL) {
962 closedir(dirp);
    [all...]

Completed in 500 milliseconds