Home
last modified time | relevance | path

Searched refs:S_IFDIR (Results 1 - 25 of 133) sorted by relevance

123456

/third_party/ltp/testcases/kernel/device-drivers/nls/
H A 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()
/third_party/ltp/testcases/kernel/device-drivers/usb/user_usb/
H A 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()
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
H A 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()
/third_party/ltp/testcases/kernel/device-drivers/include/
H A 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()
/third_party/ltp/testcases/kernel/device-drivers/base/user_base/
H A 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()
/third_party/ltp/testcases/kernel/device-drivers/agp/user_space/
H A 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()
/third_party/python/Lib/
H A Dstat.py36 S_IFDIR = 0o040000 # directory variable
52 return S_IFMT(mode) == S_IFDIR
133 (S_IFDIR, "d"),
/third_party/backends/backend/
H A Dplustek-pp_procfs.c261 if (mode == S_IFDIR) in new_entry()
292 if (mode == S_IFDIR) in new_entry()
353 base = new_entry( _DRV_NAME, S_IFDIR, &proc_root ); in ProcFsInitialize()
355 base = new_entry( _DRV_NAME, S_IFDIR, NULL ); in ProcFsInitialize()
409 ps->procDir.entry = new_entry( str, S_IFDIR, base ); in ProcFsRegisterDevice()
/third_party/ltp/testcases/kernel/device-drivers/drm/user_space/
H A 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()
/third_party/libuv/test/
H A Dtest-getters-setters.c28 # define S_IFDIR _S_IFDIR macro
103 ASSERT(uv_fs_get_statbuf(fs)->st_mode & S_IFDIR); in TEST_IMPL()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dstat.h31 #define S_IFDIR 0040000 macro
44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/third_party/musl/porting/linux/user/include/sys/
H A Dstat.h31 #define S_IFDIR 0040000 macro
44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dstat.h31 #define S_IFDIR 0040000 macro
44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dstat.h31 #define S_IFDIR 0040000 macro
44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dstat.h31 #define S_IFDIR 0040000 macro
44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/third_party/musl/include/sys/
H A Dstat.h38 #define S_IFDIR 0040000 macro
51 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/third_party/skia/third_party/externals/angle2/src/common/
H A Dsystem_utils_posix.cpp177 return result == 0 && ((st.st_mode & S_IFDIR) == S_IFDIR); in IsDirectory()
/third_party/openssl/ohos_lite/
H A De_os.h119 # ifndef S_IFDIR
120 # define S_IFDIR _S_IFDIR macro
/third_party/libwebsockets/win32port/dirent/
H A 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)
/third_party/node/deps/uvwasi/src/
H A Duv_mapping.c15 #if !defined(S_ISDIR) && defined(S_IFMT) && defined(S_IFDIR)
16 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/third_party/skia/src/ports/
H A DSkOSFile_posix.cpp195 if (s.st_mode & S_IFDIR) { in next()
199 if (!(s.st_mode & S_IFDIR) && issuffixfor(self.fSuffix, entry->d_name)) { in next()
/third_party/eudev/src/shared/
H A Dlabel.c42 r = mac_selinux_create_file_prepare(path, S_IFDIR); in mkdir_label()
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen01.c11 * Open a dir with O_DIRECTORY, does it set the S_IFDIR bit on?
40 {TEST_DIR, O_DIRECTORY, 0, S_IFDIR, "sirectory bit"}
/third_party/ltp/testcases/kernel/syscalls/chmod/
H A Dchmod05.c43 #define DIR_MODE (mode_t)(S_ISVTX | S_ISGID | S_IFDIR)
H A Dchmod01.c31 {&test_dir, S_IFDIR, "verify permissions of directory"},

Completed in 10 milliseconds

123456