Searched refs:statbuf (Results 1 - 25 of 75) sorted by path

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/bftpd-1.6.6/
H A Dcommands.c1107 struct stat statbuf; local
1134 if (stat(mapped, &statbuf))
1224 stat(mapped, (struct stat *) &statbuf);
1225 if (S_ISDIR(statbuf.st_mode)) {
1233 if ((((statbuf.st_size - offset) * ratio_send) / ratio_recv > bytes_recvd
1238 (int) (((statbuf.st_size - offset) * ratio_send) / ratio_recv)
1583 struct stat statbuf; local
1593 if (stat(fullfilename, &statbuf))
1602 if (!stat(fullfilename, (struct stat *) &statbuf)) {
1603 filetime = gmtime((time_t *) & statbuf
1808 struct stat statbuf; local
[all...]
H A Ddirlist.c154 struct stat statbuf; local
161 if (lstat(name, (struct stat *) &statbuf) == -1) { // used for command_stat
169 if (S_ISDIR(statbuf.st_mode) || S_ISLNK(statbuf.st_mode))
183 if (S_ISLNK(statbuf.st_mode)) {
205 if (S_ISDIR(statbuf.st_mode))
207 if (statbuf.st_mode & S_IRUSR)
209 if (statbuf.st_mode & S_IWUSR)
211 if (statbuf.st_mode & S_IXUSR)
213 if (statbuf
270 struct stat statbuf; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dfile.c445 struct_stat statbuf; /* struct_stat instead of struct stat just to allow the local
469 if(-1 != fstat(fd, &statbuf)) {
471 expected_size = statbuf.st_size;
473 data->info.filetime = (long)statbuf.st_mtime;
501 time_t filetime = (time_t)statbuf.st_mtime;
538 data->state.resume_from += (curl_off_t)statbuf.st_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/src/
H A Dtool_getparam.c1610 struct_stat statbuf; local
1611 if(-1 == stat(nextarg, &statbuf)) {
1621 config->condtime = statbuf.st_mtime;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/dnsmasq-2.15/src/
H A Ddnsmasq.c629 struct stat statbuf; local
636 if (stat(res->name, &statbuf) == -1)
647 if (difftime(statbuf.st_mtime, last_change) > 0.0)
649 last_change = statbuf.st_mtime;
H A Disc.c65 struct stat statbuf; local
67 if (stat(file, &statbuf) == -1)
79 if ((statbuf.st_size <= lease_file_size) &&
80 (statbuf.st_ino == lease_file_inode))
83 lease_file_size = statbuf.st_size;
84 lease_file_inode = statbuf.st_ino;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/tools/
H A Dcws2fws.c27 struct stat statbuf; local
64 fstat(fd_in, &statbuf);
65 comp_len = statbuf.st_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/sqlite-3.6.22/
H A Dsqlite3.c22442 struct stat statbuf; /* Low-level file information */ local
22452 rc = fstat(fd, &statbuf);
22472 if( statbuf.st_size==0 ){
22477 rc = fstat(fd, &statbuf);
22486 lockKey.fid.dev = statbuf.st_dev;
22490 lockKey.fid.ino = statbuf.st_ino;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Ddevices.c864 struct MT_STAT *statbuf)
981 struct MT_STAT *statbuf)
990 if (!((S_ISBLK(statbuf->st_mode) &&
991 major(statbuf->st_rdev) == BLOCK_MAJOR)
993 || (S_ISCHR(statbuf->st_mode) &&
994 major(statbuf->st_rdev) == CHAR_MAJOR)
1087 return set_parameters( fd, &floppy, statbuf);
1093 struct MT_STAT *statbuf)
863 init_geom(int fd, struct device *dev, struct device *orig_dev, struct MT_STAT *statbuf) argument
980 init_geom(int fd, struct device *dev, struct device *orig_dev, struct MT_STAT *statbuf) argument
1092 init_geom(int fd, struct device *dev, struct device *orig_dev, struct MT_STAT *statbuf) argument
H A Ddevices.h166 struct MT_STAT statbuf; local
168 if (MT_FSTAT(fd, &statbuf) < 0 ){
173 if (!S_ISBLK(statbuf.st_mode) ||
174 MAJOR(statbuf.st_rdev) != FLOPPY_MAJOR)
177 return MINOR( statbuf.st_rdev );
H A Dmtools.h111 struct MT_STAT *statbuf);
H A Dplain_io.c40 struct MT_STAT statbuf; member in struct:SimpleFile_t
255 ret = init_geom(This->fd,dev, orig_dev, &This->statbuf);
270 *date = This->statbuf.st_mtime;
272 *size = This->statbuf.st_size;
274 *type = S_ISDIR(This->statbuf.st_mode);
503 if (MT_FSTAT(This->fd, &This->statbuf) < 0) {
588 if (MT_FSTAT(This->fd, &This->statbuf) < 0){
633 init_geom(This->fd, dev, orig_dev, &This->statbuf)){
H A Dunixdir.c34 struct MT_STAT statbuf; member in struct:Dir_t
50 *date = This->statbuf.st_mtime;
52 *size = (mt_size_t) This->statbuf.st_size;
147 if(MT_STAT(filename, &This->statbuf) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dtty.c294 struct stat statbuf; local
309 if (stat(cp, &statbuf) < 0) {
315 if (!S_ISCHR(statbuf.st_mode)) {
323 devstat = statbuf;
445 struct stat statbuf; local
488 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode)
489 && statbuf.st_rdev == devstat.st_rdev) {
503 if (log_to_fd >= 0 && fstat(log_to_fd, &statbuf) >= 0
504 && S_ISCHR(statbuf
518 struct stat statbuf; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/client/
H A Dclient.c1372 struct stat statbuf; local
1395 ret = stat(path, &statbuf);
1397 if (S_ISDIR(statbuf.st_mode)) {
H A Dmount.cifs.c664 struct stat statbuf; local
821 if(stat (".", &statbuf)) {
826 if (S_ISDIR(statbuf.st_mode) == 0) {
832 if((statbuf.st_uid == getuid()) && (S_IRWXU == (statbuf.st_mode & S_IRWXU))) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/
H A Dvfs.c963 SMB_STRUCT_STAT statbuf; local
964 if ( (SMB_VFS_LSTAT(conn,fname,&statbuf) != -1) &&
965 (S_ISLNK(statbuf.st_mode)) ) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dreadlink.c39 struct stat statbuf; local
44 if (stat (path, &statbuf) >= 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dcopy-file.c58 struct stat statbuf; local
65 if (src_fd < 0 || fstat (src_fd, &statbuf) < 0)
69 mode = statbuf.st_mode & 07777;
101 ut.actime = statbuf.st_atime;
102 ut.modtime = statbuf.st_mtime;
109 ut[0].tv_sec = statbuf.st_atime; ut[0].tv_usec = 0;
110 ut[1].tv_sec = statbuf.st_mtime; ut[1].tv_usec = 0;
117 chown (dest_filename, statbuf.st_uid, statbuf.st_gid);
H A Djavacomp.c735 struct stat statbuf; local
759 && stat (compiled_file_name, &statbuf) >= 0
774 && stat (compiled_file_name, &statbuf) >= 0
808 && stat (compiled_file_name, &statbuf) >= 0)
842 && stat (compiled_file_name, &statbuf) >= 0
884 struct stat statbuf; local
907 && stat (compiled_file_name, &statbuf) >= 0)
942 struct stat statbuf; local
969 && stat (compiled_file_name, &statbuf) >= 0)
983 && stat (compiled_file_name, &statbuf) >
1085 struct stat statbuf; local
1525 struct stat statbuf; local
1664 struct stat statbuf; local
1721 struct stat statbuf; local
1829 struct stat statbuf; local
[all...]
H A Dreadlink.c39 struct stat statbuf; local
44 if (stat (path, &statbuf) >= 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-tests/
H A Dtest-binary-io.c53 struct stat statbuf; local
54 if (stat ("t-bin-out2.tmp", &statbuf) < 0)
56 ASSERT (statbuf.st_size == 6);
66 struct stat statbuf; local
67 if (stat ("t-bin-out1.tmp", &statbuf) < 0)
69 ASSERT (statbuf.st_size == 6);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/
H A Dcolor.c395 struct stat statbuf; local
397 if (stat (file_name, &statbuf) < 0)
404 if (stat (possible_file_name, &statbuf) >= 0)
H A Dwrite-csharp.c680 struct stat statbuf; local
683 if (stat (output_dir, &statbuf) < 0 && errno == ENOENT)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libiconv-1.11/srclib/
H A Dreadlink.c39 struct stat statbuf; local
44 if (stat (path, &statbuf) >= 0)

Completed in 471 milliseconds

123