/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/ |
D | user_tmod.c | 63 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/nls/ |
D | userBlockNLS.c | 89 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/include/ |
D | userBlockInclude.c | 92 (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/usb/user_usb/ |
D | user_tusb.c | 44 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/python/Lib/ |
D | stat.py | 36 S_IFDIR = 0o040000 # directory variable 52 return S_IFMT(mode) == S_IFDIR 133 (S_IFDIR, "d"),
|
/third_party/ltp/testcases/kernel/device-drivers/base/user_base/ |
D | user_tbase.c | 59 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/ |
D | user_tagp.c | 59 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/ltp/testcases/kernel/device-drivers/drm/user_space/ |
D | user_tdrm.c | 57 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/musl/porting/liteos_m/kernel/include/sys/ |
D | stat.h | 31 #define S_IFDIR 0040000 macro 44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | stat.h | 31 #define S_IFDIR 0040000 macro 44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | stat.h | 31 #define S_IFDIR 0040000 macro 44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | stat.h | 31 #define S_IFDIR 0040000 macro 44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/third_party/musl/porting/linux/user/include/sys/ |
D | stat.h | 31 #define S_IFDIR 0040000 macro 44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/third_party/musl/include/sys/ |
D | stat.h | 31 #define S_IFDIR 0040000 macro 44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/third_party/musl/ndk_musl_include/sys/ |
D | stat.h | 31 #define S_IFDIR 0040000 macro 44 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | system_utils_posix.cpp | 177 return result == 0 && ((st.st_mode & S_IFDIR) == S_IFDIR); in IsDirectory()
|
/third_party/openssl/ohos_lite/ |
D | e_os.h | 119 # ifndef S_IFDIR 120 # define S_IFDIR _S_IFDIR macro
|
/third_party/skia/src/ports/ |
D | SkOSFile_posix.cpp | 195 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/libwebsockets/win32port/dirent/ |
D | dirent-win32.h | 57 #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/openssl/ |
D | e_os.h | 73 # ifndef S_IFDIR 74 # define S_IFDIR _S_IFDIR macro
|
/third_party/node/deps/openssl/openssl/ |
D | e_os.h | 73 # ifndef S_IFDIR 74 # define S_IFDIR _S_IFDIR macro
|
/third_party/node/deps/uvwasi/src/ |
D | uv_mapping.c | 15 #if !defined(S_ISDIR) && defined(S_IFMT) && defined(S_IFDIR) 16 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/ |
D | main.c | 411 (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()
|
/third_party/typescript/src/harness/ |
D | vfsUtil.ts | 28 const S_IFDIR = 0o040000; // directory constant 333 … const node = this._mknod(parent ? parent.dev : ++devCount, S_IFDIR, /*mode*/ 0o777, time); 515 … const node = this._mknod(parent ? parent.dev : ++devCount, S_IFDIR, /*mode*/ 0o777, time); 870 … private _mknod(dev: number, type: typeof S_IFDIR, mode: number, time?: number): DirectoryInode; 934 case S_IFDIR: 935 const dir = this._mknod(node.dev, S_IFDIR, 0o777); 1224 return { mode: S_IFDIR | 0o777, size: 0 }; 1327 public isDirectory() { return (this.mode & S_IFMT) === S_IFDIR; } 1504 return node !== undefined && (node.mode & S_IFMT) === S_IFDIR;
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open01.c | 40 {TEST_DIR, O_DIRECTORY, 0, S_IFDIR, "sirectory bit"}
|