Searched refs:S_ISDIR (Results 1 - 25 of 95) sorted by relevance

1234

/haiku/src/bin/
H A Dmount.c88 if (!S_ISDIR(mountStat.st_mode)) {
H A Dcopyattr.cpp322 if (S_ISDIR(destStat.st_mode)) {
323 if (S_ISDIR(sourceStat.st_mode)) {
353 if (S_ISDIR(sourceStat.st_mode)) {
378 if (S_ISDIR(sourceStat.st_mode)) {
467 if (parameters.recursive && S_ISDIR(sourceStat.st_mode)) {
503 if (S_ISDIR(sourceStat.st_mode)) {
548 if (S_ISDIR(st.st_mode)) {
H A Dfortune.c109 if (S_ISDIR(stat.st_mode)) {
H A Dchop.c141 if (S_ISDIR(e.st_mode)) {
H A Dhd.c105 if (S_ISDIR(e.st_mode))
H A Dfstrim.cpp72 return S_ISDIR(fdStat.st_mode);
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dtempname.c66 # undef S_ISDIR macro
68 #if !defined S_ISDIR && defined S_IFDIR
69 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
144 return stat(dir, &st) == 0 && S_ISDIR(st.st_mode);
/haiku/src/kits/storage/
H A DCopyEngine.cpp152 if (S_ISDIR(destStat.st_mode)) {
153 if (!S_ISDIR(sourceStat.st_mode)
160 if (S_ISDIR(sourceStat.st_mode)) {
187 if (S_ISDIR(sourceStat.st_mode)) {
211 if (S_ISDIR(sourceStat.st_mode)) {
293 if ((fFlags & COPY_RECURSIVELY) != 0 && S_ISDIR(sourceStat.st_mode)) {
H A DRemoveEngine.cpp78 if (S_ISDIR(st.st_mode)) {
117 if (S_ISDIR(st.st_mode)) {
/haiku/src/apps/expander/
H A DDirectoryFilePanel.cpp32 if (S_ISDIR(stat->st_mode))
/haiku/src/apps/text_search/
H A DInitialIterator.cpp82 if (S_ISDIR(fileStat.st_mode)) {
/haiku/src/system/libroot/posix/stdlib/
H A Dmktemp.c141 if (!S_ISDIR(sbuf.st_mode)) {
/haiku/src/system/boot/loader/
H A DFileMapDisk.cpp159 if (dirnode == NULL || !S_ISDIR(dirnode->Type()))
/haiku/src/system/kernel/fs/
H A Drootfs.cpp196 if (S_ISDIR(type)) {
216 if (S_ISDIR(v->stream.type))
363 else if (isDirectory && !S_ISDIR(vnode->stream.type))
365 else if (!isDirectory && S_ISDIR(vnode->stream.type))
480 if (!S_ISDIR(dir->stream.type))
602 if (S_ISDIR(vnode->stream.type) && (openMode & O_RWMASK) != O_RDONLY)
604 if ((openMode & O_DIRECTORY) != 0 && !S_ISDIR(vnode->stream.type))
726 if (!S_ISDIR(vnode->stream.type))
1013 if (S_ISDIR(targetVnode->stream.type)
/haiku/src/bin/package/
H A Dcommand_extract.cpp479 } else if (S_ISDIR(entry->Mode())) {
482 if (!S_ISDIR(st.st_mode)) {
533 } else if (S_ISDIR(entry->Mode())) {
551 if (fd < 0 && (!implicit || S_ISDIR(entry->Mode()))) {
/haiku/src/tools/
H A Drm_attrs.cpp154 if (S_ISDIR(st.st_mode)) {
/haiku/headers/posix/sys/
H A Dstat.h68 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
/haiku/src/tools/bfs_shell/
H A Dcommand_checkfs.cpp89 else if (S_ISDIR(result.mode))
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DNode.h55 inline bool IsDirectory() const { return S_ISDIR(fMode); }
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DInode.h42 { return S_ISDIR(Mode()); }
/haiku/src/build/libbe/storage/
H A DStatable.cpp55 return S_ISDIR(statData.st_mode);
/haiku/src/system/libroot/posix/musl/misc/
H A Dnftw.c39 } else if (S_ISDIR(st.st_mode)) {
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/
H A DUnpackingDirectory.cpp105 if (!S_ISDIR(packageNode->Mode()))
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A DInode.h93 { return S_ISDIR(Mode()); }
/haiku/src/build/libroot/
H A Dfs_darwin.cpp33 if (!S_ISDIR(dirst.st_mode)) {
222 if (!S_ISDIR(st.st_mode)) {

Completed in 122 milliseconds

1234