Searched refs:st_mode (Results 226 - 250 of 540) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dmakemeta.c69 if( S_ISDIR( sb.st_mode ) && ( ( odir = opendir ( buf ) ) ) )
77 else if( S_ISREG( sb.st_mode ) && ( sb.st_size > 0 ) )
131 ret->isSingleFile = !S_ISDIR( sb.st_mode );
H A Dmetainfo.c73 if( !stat( path, &sb ) && ( ( sb.st_mode & S_IFMT ) == S_IFREG ) )
80 if( !stat( path, &sb ) && ( ( sb.st_mode & S_IFMT ) == S_IFREG ) )
98 if( stat( name, &new_sb ) || ( ( new_sb.st_mode & S_IFMT ) != S_IFREG ) )
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/init/
H A Dinitramfs.c283 if (!sys_newlstat(path, &st) && (st.st_mode^mode) & S_IFMT) {
284 if (S_ISDIR(st.st_mode))
552 if (S_ISDIR(st.st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/macos/source/
H A Dmacos.c616 *a = ((ulg)s.st_mode << 16) | !(s.st_mode & S_IWRITE);
622 *n = (s.st_mode & UNX_IFMT) == UNX_IFREG ? s.st_size : -1L;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Ddump.c302 if ((!(S_ISCHR(sbuf.st_mode) ||
303 S_ISBLK(sbuf.st_mode) ||
304 S_ISFIFO(sbuf.st_mode))) && bb_dump_skip >= sbuf.st_size) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/modules/
H A Dvfs_recycle.c219 if (S_ISDIR(st.st_mode)) {
232 if (S_ISREG(st.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/zlib-1.2.8/examples/
H A Dgun.c523 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG)
527 (void)chmod(to, was.st_mode & 07777);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/win/bmed/
H A Dutil.c551 if (! S_ISDIR(st.st_mode)) {
562 if (! S_ISDIR(st.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libxml2-2.7.2/
H A Drunxmlconf.c67 if (!(buf.st_mode & _S_IFREG))
70 if (!S_ISREG(buf.st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/bin/uniconv/
H A Duniconv.c121 if (S_ISDIR(st->st_mode))
232 if (S_ISDIR(st.st_mode)){
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Denumerate.c381 if ( S_ISDIR(s_path.st.st_mode)) {
457 *data++ = S_ISDIR(s_path.st.st_mode) ? FILDIRBIT_ISDIR : FILDIRBIT_ISFILE;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/zlib-1.2.3/examples/
H A Dgun.c514 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG)
518 (void)chmod(to, was.st_mode & 07777);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/zlib-1.2.3/examples/
H A Dgun.c514 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG)
518 (void)chmod(to, was.st_mode & 07777);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libxml2-2.7.2/source/
H A Drunxmlconf.c67 if (!(buf.st_mode & _S_IFREG))
70 if (!S_ISREG(buf.st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/zlib-1.2.7/examples/
H A Dgun.c522 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG)
526 (void)chmod(to, was.st_mode & 07777);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/win32/
H A Dwin32zip.c1104 s.st_mode = ((attribs & FILE_ATTRIBUTE_DIRECTORY) ? S_IFDIR : S_IFREG);
1169 if ((s.st_mode & S_IFDIR) == 0)
1227 } /* (s.st_mode & S_IFDIR) == 0) */
1260 s.st_mode = ((attribs & FILE_ATTRIBUTE_DIRECTORY) ? S_IFDIR : S_IFREG);
1310 if ((s.st_mode & S_IFDIR) == 0)
1377 } /* (s.st_mode & S_IFDIR) == 0) */
1663 *a = ((ulg)s.st_mode << 16) | (isstdin ? 0L : (ulg)GetFileMode(name));
1668 *n = (s.st_mode & S_IFMT) == S_IFREG ? s.st_size : -1L;
1746 *a = ((ulg)sw.st_mode << 16) | (isstdin ? 0L : (ulg)GetFileModeW(namew));
1751 *n = (sw.st_mode
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/kernel/
H A Dsys_oabi-compat.c92 unsigned int st_mode; member in struct:oldabi_stat64
125 tmp.st_mode = stat->mode;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/
H A Dtftpd.c311 if ((stbuf.st_mode&(S_IREAD >> 6)) == 0) {
316 if ((stbuf.st_mode&(S_IWRITE >> 6)) == 0) {
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/
H A Dudevtrigger.c88 if (!(statbuf.st_mode & S_IWUSR))
96 if (S_ISLNK(statbuf.st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/applets/
H A Dapplets.c149 || !S_ISREG(st.st_mode) /* Not a regular file? */
151 || (st.st_mode & (S_IWGRP | S_IWOTH)) /* Writable by non-root? */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/hdparm-9.43/
H A Dfibmap.c237 if (!S_ISREG(st.st_mode)) {
H A Dfwdownload.c95 if (!S_ISREG(st.st_mode)) {
H A Dgeom.c232 } else if (S_ISBLK(st.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/
H A Ddbus-file-unix.c108 if (sb.st_size > 0 && S_ISREG (sb.st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/
H A Dfilename.c329 if (end && !(st.st_mode & S_IFDIR)) {

Completed in 128 milliseconds

1234567891011>>