Home
last modified time | relevance | path

Searched refs:S_IFDIR (Results 1 – 25 of 142) sorted by relevance

123456

/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Duser_tmod.c63 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tmodopen()
73 if (!(st.st_mode & S_IFDIR)) { in tmodopen()
76 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tmodopen()
/external/ltp/testcases/kernel/device-drivers/include/
DuserBlockInclude.c92 (S_IFDIR | S_IRWXU | S_IRGRP | in open_block_device()
100 if (!(statbuf.st_mode & S_IFDIR)) { in open_block_device()
104 (S_IFDIR | S_IRWXU | S_IRGRP in open_block_device()
/external/ltp/testcases/kernel/device-drivers/nls/
DuserBlockNLS.c89 rc = mkdir(NLS_DEVICE_PATH, (S_IFDIR | S_IRWXU | in open_block_device()
100 if (!(statbuf.st_mode & S_IFDIR)) { in open_block_device()
104 (S_IFDIR | S_IRWXU | S_IRGRP in open_block_device()
/external/ltp/testcases/kernel/device-drivers/usb/user_usb/
Duser_tusb.c44 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tusbopen()
54 if (!(st.st_mode & S_IFDIR)) { in tusbopen()
57 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tusbopen()
/external/python/cpython3/Lib/
Dstat.py36 S_IFDIR = 0o040000 # directory variable
52 return S_IFMT(mode) == S_IFDIR
133 (S_IFDIR, "d"),
/external/ltp/testcases/kernel/device-drivers/base/user_base/
Duser_tbase.c59 rc = mkdir("/dev/tbase", (S_IFDIR | S_IRWXU | in tbaseopen()
69 if (!(st.st_mode & S_IFDIR)) { in tbaseopen()
72 rc = mkdir("/dev/tbase", (S_IFDIR | S_IRWXU | in tbaseopen()
/external/ltp/testcases/kernel/device-drivers/agp/user_space/
Duser_tagp.c59 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tagpopen()
69 if (!(st.st_mode & S_IFDIR)) { in tagpopen()
72 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tagpopen()
/external/strace/xlat/
Dmodetypes.h29 #if defined(S_IFDIR) || (defined(HAVE_DECL_S_IFDIR) && HAVE_DECL_S_IFDIR)
30 XLAT(S_IFDIR),
Dmodetypes.in5 S_IFDIR
/external/bcc/libbpf-tools/
Dstat.h12 #define S_IFDIR 0040000 macro
21 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/external/libconfig/lib/
Dwincompat.h57 #if !defined(S_ISDIR) && defined(S_IFMT) && defined(S_IFDIR)
58 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/external/python/cpython2/Lib/
Dstat.py30 S_IFDIR = 0040000 variable
41 return S_IFMT(mode) == S_IFDIR
/external/zstd/contrib/pzstd/utils/
DFileSystem.h67 #elif !defined(S_ISDIR) && defined(S_IFMT) && defined(S_IFDIR) in is_directory()
68 return (status.st_mode & S_IFMT) == S_IFDIR; in is_directory()
/external/ltp/testcases/kernel/device-drivers/drm/user_space/
Duser_tdrm.c57 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tdrmopen()
67 if (!(st.st_mode & S_IFDIR)) { in tdrmopen()
70 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tdrmopen()
/external/kernel-headers/original/uapi/linux/
Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/external/musl/include/sys/
Dstat.h31 #define S_IFDIR 0040000 macro
44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/external/python/pyfakefs/pyfakefs/tests/
Dfake_tempfile_test.py91 stat.S_IFDIR | 0o700)
98 stat.S_IFDIR | 0o700)
/external/skia/src/ports/
DSkOSFile_posix.cpp202 if (s.st_mode & S_IFDIR) { in next()
206 if (!(s.st_mode & S_IFDIR) && issuffixfor(self.fSuffix, entry->d_name)) { in next()
/external/libwebsockets/win32port/dirent/
Ddirent-win32.h57 #if !defined(S_IFDIR)
58 # define S_IFDIR _S_IFDIR macro
170 #define DT_DIR S_IFDIR
191 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/external/strace/tests-mx32/
Dumode_t.c72 test_syscall(S_IFDIR | 06); in main()
/external/strace/tests/
Dumode_t.c72 test_syscall(S_IFDIR | 06); in main()
/external/strace/tests-m32/
Dumode_t.c72 test_syscall(S_IFDIR | 06); in main()
/external/libtextclassifier/native/lang_id/common/file/
Dfile-utils.cc58 return s.st_mode & S_IFDIR; in DirectoryExists()
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c411 (S_IFDIR | S_IRWXU | S_IRGRP | in LTP_fs_open_block_device()
420 if (!(statbuf.st_mode & S_IFDIR)) { in LTP_fs_open_block_device()
424 (S_IFDIR | S_IRWXU | S_IRGRP in LTP_fs_open_block_device()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DOsConstantsValues.java18 public static final String S_IFDIR = "S_IFDIR"; field in OsConstantsValues

123456