/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/modules/ |
H A D | vfs_shadow_copy.c | 77 shadow_copy_Dir *dirp; local 85 dirp = SMB_MALLOC_P(shadow_copy_Dir); 86 if (!dirp) { 92 ZERO_STRUCTP(dirp); 109 dirp->dirs = SMB_REALLOC_ARRAY(dirp->dirs,SMB_STRUCT_DIRENT, dirp->num+1); 110 if (!dirp->dirs) { 115 dirp->dirs[dirp 124 shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; local 135 shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; local 144 shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; local 150 shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; local 156 shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/cmsmvs/ |
H A D | mvs.h | 25 struct dirent *readdir(DIR *dirp); 26 void rewinddir(DIR *dirp); 27 int closedir(DIR *dirp); 28 char * readd(DIR *dirp);
|
H A D | mvs.c | 16 static int gen_node( DIR *dirp, RECORD *recptr ) argument 34 if (dirp->D_list == NULL) 35 dirp->D_list = dirp->D_curpos = new; 37 dirp->D_curpos = (dirp->D_curpos->d_next = new); 54 DIR *dirp; local 60 dirp = malloc( sizeof(DIR) ); 61 if (dirp != NULL) { 62 dirp 78 readdir(DIR *dirp) argument 87 rewinddir(DIR *dirp) argument 92 closedir(DIR *dirp) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/libsmbclient/ |
H A D | tree.c | 154 struct smbc_dirent *dirp; local 194 dirp = (struct smbc_dirent *)dirbuf; 200 dirlen = dirp->dirlen; 204 strncpy(col1, dirp->name, 128); 208 switch (dirp->smbc_type) { 216 strncpy(col2, (dirp->comment?dirp->comment:""), 128); 222 strncpy(col2, (dirp->comment?dirp->comment:""), 128); 228 strncpy(col2, (dirp 324 struct smbc_dirent *dirp; local 491 struct smbc_dirent *dirp; local 619 struct smbc_dirent *dirp; local [all...] |
H A D | testsmbc.c | 51 char *dirp; local 77 dirp = (char *)dirbuf; 79 if ((dirc = smbc_getdents(dh1, (struct smbc_dirent *)dirp, 95 dsize = ((struct smbc_dirent *)dirp)->dirlen; 97 ((struct smbc_dirent *)dirp)->smbc_type, 98 ((struct smbc_dirent *)dirp)->name, 99 ((struct smbc_dirent *)dirp)->comment); 101 dirp += dsize; 106 dirp = (char *)dirbuf;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os/ |
H A D | os_dir.c | 29 DIR *dirp; local 46 if ((dirp = opendir(CHAR_STAR_CAST dir)) == NULL) 49 for (arraysz = cnt = 0; (dp = readdir(dirp)) != NULL;) { 87 (void)closedir(dirp); 95 if (dirp != NULL) 96 (void)closedir(dirp);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/ |
H A D | dir.c | 1088 struct smb_Dir *dirp = SMB_MALLOC_P(struct smb_Dir); local 1089 if (!dirp) { 1092 ZERO_STRUCTP(dirp); 1094 dirp->conn = conn; 1096 dirp->dir_path = SMB_STRDUP(name); 1097 if (!dirp->dir_path) { 1100 dirp->dir = SMB_VFS_OPENDIR(conn, dirp->dir_path, mask, attr); 1101 if (!dirp->dir) { 1102 DEBUG(5,("OpenDir: Can't open %s. %s\n", dirp 1132 CloseDir(struct smb_Dir *dirp) argument 1156 ReadDirName(struct smb_Dir *dirp, long *poffset) argument 1199 RewindDir(struct smb_Dir *dirp, long *poffset) argument 1211 SeekDir(struct smb_Dir *dirp, long offset) argument 1244 TellDir(struct smb_Dir *dirp) argument 1253 DirCacheAdd(struct smb_Dir *dirp, const char *name, long offset) argument 1269 SearchDir(struct smb_Dir *dirp, const char *name, long *poffset) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/client/ |
H A D | tree.c | 152 struct smbc_dirent *dirp; local 192 dirp = (struct smbc_dirent *)dirbuf; 198 dirlen = dirp->dirlen; 202 strncpy(col1, dirp->name, 128); 206 switch (dirp->smbc_type) { 214 strncpy(col2, (dirp->comment?dirp->comment:""), 128); 220 strncpy(col2, (dirp->comment?dirp->comment:""), 128); 226 strncpy(col2, (dirp 322 struct smbc_dirent *dirp; local 489 struct smbc_dirent *dirp; local 617 struct smbc_dirent *dirp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/libsmbclient/smbwrapper/ |
H A D | smbw_dir.c | 29 int smbw_dirp(DIR * dirp) argument 31 return ((char *) dirp >= (char *) smbw_fd_map && 32 (char *) dirp < (char *) &smbw_fd_map[__FD_SETSIZE] && 33 *(int *) dirp != -1); 232 DIR * dirp; local 257 dirp = (DIR *) &smbw_fd_map[fd_smbw]; 258 return dirp; 264 struct SMBW_dirent *smbw_readdir(DIR *dirp) argument 271 fd_smbw = (int *) dirp - smbw_fd_map; 297 int smbw_readdir_r(DIR *dirp, argument 323 smbw_closedir(DIR *dirp) argument 339 smbw_seekdir(DIR *dirp, long long offset) argument 350 smbw_telldir(DIR *dirp) argument [all...] |
H A D | smbw.h | 96 int smbw_dirp(DIR * dirp); 100 int smbw_getdents(unsigned int fd, SMBW_dirent *dirp, int count); 107 SMBW_dirent *smbw_readdir(DIR *dirp); 108 int smbw_readdir_r(DIR *dirp, 111 int smbw_closedir(DIR *dirp); 112 void smbw_seekdir(DIR *dirp, long long offset); 113 long long smbw_telldir(DIR *dirp);
|
H A D | wrapper.h | 95 int (* getdents)(int fd, struct dirent *dirp, unsigned int count); 96 int (* __getdents)(int fd, struct dirent *dirp, unsigned int count); 97 int (* _getdents)(int fd, struct dirent *dirp, unsigned int count); 98 int (* getdents64)(int fd, struct dirent64 *dirp, unsigned int count);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/ |
H A D | backupfile.c | 137 DIR *dirp; local 143 dirp = opendir (dir); 144 if (!dirp) 150 while ((dp = readdir (dirp)) != 0) 159 if (closedir (dirp))
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/ |
H A D | backupfile.c | 137 DIR *dirp; local 143 dirp = opendir (dir); 144 if (!dirp) 150 while ((dp = readdir (dirp)) != 0) 159 if (closedir (dirp))
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/tandem/ |
H A D | tandem.h | 89 struct dirent *readdir(DIR *dirp); 90 void rewinddir(DIR *dirp); 91 int closedir(DIR *dirp); 92 char * readd(DIR *dirp);
|
H A D | tandem.c | 783 DIR *dirp; local 816 if ((dirp = malloc(sizeof(DIR))) == NULL ) { 820 dirp->D_list = dirp->D_curpos = NULL; 821 strcpy(dirp->D_path, dirname); 836 if (dirp->D_curpos == NULL) 837 dirp->D_list = dirp->D_curpos = entry; /* First name */ 839 dirp->D_curpos->d_next = entry; /* Link */ 840 dirp 862 readdir(DIR *dirp) argument 871 rewinddir(DIR *dirp) argument 876 closedir(DIR *dirp) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/tandem/ |
H A D | tandem.h | 89 struct dirent *readdir(DIR *dirp); 90 void rewinddir(DIR *dirp); 91 int closedir(DIR *dirp); 92 char * readd(DIR *dirp);
|
H A D | tandem.c | 783 DIR *dirp; local 816 if ((dirp = malloc(sizeof(DIR))) == NULL ) { 820 dirp->D_list = dirp->D_curpos = NULL; 821 strcpy(dirp->D_path, dirname); 836 if (dirp->D_curpos == NULL) 837 dirp->D_list = dirp->D_curpos = entry; /* First name */ 839 dirp->D_curpos->d_next = entry; /* Link */ 840 dirp 862 readdir(DIR *dirp) argument 871 rewinddir(DIR *dirp) argument 876 closedir(DIR *dirp) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/os2/ |
H A D | os2zip.c | 93 DIR *dirp; local 130 if ((dirp = malloc(sizeof(DIR))) == NULL) 143 dirp -> dd_loc = 0; 144 dirp -> dd_contents = dirp -> dd_cp = NULL; 147 return dirp; 156 free_dircontents(dirp -> dd_contents); 161 if (dirp -> dd_contents) 163 dirp -> dd_cp -> _d_next = dp; 164 dirp 184 closedir(DIR * dirp) argument 190 readdir(DIR * dirp) argument 213 seekdir(DIR * dirp, long off) argument 227 telldir(DIR * dirp) argument [all...] |
H A D | os2zip.h | 67 #define rewinddir(dirp) seekdir(dirp, 0L)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/ |
H A D | unix.c | 363 struct dirent *dirp; local 383 for ( dirp = readdir( dir ); dirp != NULL; dirp = readdir( dir )) { 385 if ( *dirp->d_name == '.' && (!osx || dirp->d_name[1] != '_')) { 388 if (ostat(dirp->d_name, &st, vol_syml_opt(vol)) < 0 ) { 389 LOG(log_error, logtype_afpd, "setdirmode: stat %s: %s",dirp->d_name, strerror(errno) ); 394 int setmode = (osx && *dirp->d_name == '.')?hf_mode:mode; 396 if (setfilmode(vol, dirp 513 struct dirent *dirp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/os2/ |
H A D | os2.c | 248 #define rewinddir(dirp) seekdir(dirp, 0L) 689 DIR *dirp; local 726 if ( (dirp = malloc(sizeof(DIR))) == NULL ) 740 dirp -> dd_loc = 0; 741 dirp -> dd_contents = dirp -> dd_cp = NULL; 744 return dirp; 753 free_dircontents(dirp -> dd_contents); 758 if (dirp 782 closedir(DIR * dirp) argument 789 readdir(__GPRO__ DIR * dirp) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/ |
H A D | httpd_indexcgi.c | 222 DIR *dirp; local 240 dirp = opendir("."); 241 if (!dirp) 249 dp = readdir(dirp); 263 closedir(dirp);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/init/ |
H A D | initramfs.c | 528 struct linux_dirent64 *dirp; local 542 dirp = buf; 543 num = sys_getdents64(fd, dirp, BUF_SIZE); 549 ret = sys_newlstat(dirp->d_name, &st); 553 sys_rmdir(dirp->d_name); 555 sys_unlink(dirp->d_name); 558 num -= dirp->d_reclen; 559 dirp = (void *)dirp + dirp [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/netkit-ftp-0.18-pre1/ftp/ |
H A D | glob.c | 281 DIR *dirp; local 289 dirp = opendir((!gpath || !*gpath) ? "./" : gpath); 290 if (dirp == NULL) { 295 if (fstat(dirfd(dirp), &stb) < 0) 301 while ((dp = readdir(dirp)) != NULL) { 309 closedir(dirp); 313 closedir(dirp);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/ncftp/ |
H A D | ls.c | 184 LsC(FTPFileInfoListPtr dirp, int endChars, FILE *stream) argument 200 ncol = (screenColumns - 1) / ((int) dirp->maxFileLen + 2 + /*1or0*/ endChars); 204 n = dirp->nFileInfos; 212 itemv = dirp->vec; 297 LsL(FTPFileInfoListPtr dirp, int endChars, int linkedTo, FILE *stream) argument 318 diritemv = dirp->vec; 328 (int) dirp->maxPlugLen 331 if (dirp->maxPlugLen < 29) { 432 Ls1(FTPFileInfoListPtr dirp, int endChars, FILE *stream) argument 442 diritemv = dirp [all...] |