Searched refs:S_ISDIR (Results 1 - 25 of 58) sorted by relevance
123
/ast/src/lib/libast/comp/ |
H A D | mknod.c | 44 if (S_ISDIR(mode))
|
H A D | rmdir.c | 45 if (!S_ISDIR(st.st_mode))
|
/ast/src/lib/libast/string/ |
H A D | modex.c | 59 else if (S_ISDIR(i)) x |= X_IFDIR;
|
H A D | fmtls.c | 101 if (S_ISDIR(st->st_mode))
|
H A D | strperm.c | 113 if (!S_ISDIR(perm) && !(perm & (S_IXUSR|S_IXGRP|S_IXOTH)))
|
/ast/src/lib/libast/dir/ |
H A D | opendir.c | 57 !S_ISDIR(st.st_mode) && (errno = ENOTDIR) ||
|
H A D | getdents.c | 62 if (!S_ISDIR(st.st_mode))
|
/ast/src/cmd/at/ |
H A D | at.h | 54 #define AT_DIR_OK(d) (S_ISDIR((d)->st_mode)&&(((d)->st_mode)&S_IPERM)==AT_DIR_MODE) 62 #define AT_DIR_OK(d) (S_ISDIR((d)->st_mode)) 76 #define AT_DIR_OK(d) (S_ISDIR((d)->st_mode)&&(((d)->st_mode)&S_IPERM)==AT_DIR_MODE)
|
/ast/src/lib/libast/features/ |
H A D | mode.c | 76 #ifdef S_ISDIR 77 if (!S_ISDIR(X_IFDIR)) idtype = 0; 80 printf("#define S_ISDIR(m) (S_ITYPE(m)==S_IFDIR)\n"); 82 printf("#define S_ISDIR(m) 0\n");
|
/ast/src/cmd/3d/ |
H A D | fstat3d.c | 73 if (S_ISDIR(st->st_mode)) 116 if (S_ISDIR(st->st_mode))
|
H A D | lstat3d.c | 83 if (S_ISDIR(st->st_mode)) 116 if (S_ISDIR(st->st_mode))
|
H A D | stat3d.c | 99 if (S_ISDIR(st->st_mode)) 132 if (S_ISDIR(st->st_mode))
|
H A D | chdir3d.c | 37 if (!S_ISDIR(state.path.st.st_mode))
|
/ast/src/cmd/cs/vcs_src/ |
H A D | vcs_replica.c | 80 if (stat(dirbuf, &st) || !S_ISDIR(st.st_mode)) 145 if (stat(dirbuf, &st) || !S_ISDIR(st.st_mode))
|
H A D | ifs_func.c | 206 return( stat( pPath, &St ) == 0 && S_ISDIR( St.st_mode ) );
|
/ast/src/lib/libcs/ |
H A D | csinfo.c | 43 else if (!strchr(file, '/') || stat(file, &st) || S_ISDIR(st.st_mode) || !(sp = tokline(file, SF_READ, line)))
|
H A D | cspath.c | 73 if (!subp && S_ISDIR(tst.st_mode) && !streq(path, "/dev/fd"))
|
/ast/src/lib/libast/path/ |
H A D | pathexists.c | 125 if (!S_ISDIR(st.st_mode))
|
H A D | pathfind.c | 34 #define directory(p,s) (stat((p),(s))>=0&&S_ISDIR((s)->st_mode))
|
/ast/src/cmd/ie/ |
H A D | io.h | 45 #ifndef S_ISDIR 46 # define S_ISDIR(m) (((m)&S_IFMT)==S_IFDIR) macro 47 #endif /* S_ISDIR */
|
/ast/src/cmd/pack/ |
H A D | pack.c | 146 else if(S_ISDIR(statb.st_mode))
|
H A D | unpack.c | 159 else if(S_ISDIR(statb.st_mode))
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclUnixFile.c | 691 if ((stat(dirName, &statBuf) != 0) || !S_ISDIR(statBuf.st_mode)) { 778 && S_ISDIR(statBuf.st_mode)) {
|
/ast/src/lib/libcmd/ |
H A D | cp.c | 373 if (!S_ISDIR(st.st_mode)) 416 else if (state->update && !S_ISDIR(st.st_mode) && (unsigned long)ent->fts_statp->st_mtime < (unsigned long)st.st_mtime) 443 if (S_ISDIR(st.st_mode)) 567 if (errno != EXDEV && (rm || S_ISDIR(ent->fts_statp->st_mode))) 591 else if (state->op == CP || S_ISREG(ent->fts_statp->st_mode) || S_ISDIR(ent->fts_statp->st_mode)) 965 if (!(state->directory = !stat(file, &st) && S_ISDIR(st.st_mode)) && argc > 1)
|
/ast/src/lib/libast/sfio/ |
H A D | sfsetbuf.c | 244 if(S_ISDIR(st.st_mode) || (Sfoff_t)st.st_size < (Sfoff_t)SF_GRAIN) 246 if(S_ISREG(st.st_mode) || S_ISDIR(st.st_mode))
|
Completed in 29 milliseconds
123