Home
last modified time | relevance | path

Searched refs:umask (Results 1 – 25 of 210) sorted by relevance

123456789

/third_party/node/test/parallel/
Dtest-process-umask.js27 assert.strictEqual(typeof process.umask(), 'number');
29 process.umask('0664');
43 const old = process.umask(mask);
45 assert.strictEqual(process.umask(old), parseInt(mask, 8));
49 assert.strictEqual(process.umask(), old);
51 assert.strictEqual(process.umask(), old);
54 process.umask({});
61 process.umask(value);
Dtest-process-umask-mask.js22 const old = process.umask();
25 process.umask(input);
26 assert.strictEqual(process.umask(), output);
28 process.umask(old);
/third_party/openssl/include/internal/
Ddane.h73 uint32_t umask; /* Usages present */ member
94 #define DANETLS_HAS_PKIX(dane) ((dane) && ((dane)->umask & DANETLS_PKIX_MASK))
95 #define DANETLS_HAS_DANE(dane) ((dane) && ((dane)->umask & DANETLS_DANE_MASK))
96 #define DANETLS_HAS_TA(dane) ((dane) && ((dane)->umask & DANETLS_TA_MASK))
97 #define DANETLS_HAS_EE(dane) ((dane) && ((dane)->umask & DANETLS_EE_MASK))
99 #define DANETLS_HAS_PKIX_TA(dane) ((dane)&&((dane)->umask & DANETLS_PKIX_TA_MASK))
100 #define DANETLS_HAS_PKIX_EE(dane) ((dane)&&((dane)->umask & DANETLS_PKIX_EE_MASK))
101 #define DANETLS_HAS_DANE_TA(dane) ((dane)&&((dane)->umask & DANETLS_DANE_TA_MASK))
102 #define DANETLS_HAS_DANE_EE(dane) ((dane)&&((dane)->umask & DANETLS_DANE_EE_MASK))
/third_party/openssl/ohos_lite/include/internal/
Ddane.h72 uint32_t umask; /* Usages present */ member
93 #define DANETLS_HAS_PKIX(dane) ((dane) && ((dane)->umask & DANETLS_PKIX_MASK))
94 #define DANETLS_HAS_DANE(dane) ((dane) && ((dane)->umask & DANETLS_DANE_MASK))
95 #define DANETLS_HAS_TA(dane) ((dane) && ((dane)->umask & DANETLS_TA_MASK))
96 #define DANETLS_HAS_EE(dane) ((dane) && ((dane)->umask & DANETLS_EE_MASK))
98 #define DANETLS_HAS_PKIX_TA(dane) ((dane)&&((dane)->umask & DANETLS_PKIX_TA_MASK))
99 #define DANETLS_HAS_PKIX_EE(dane) ((dane)&&((dane)->umask & DANETLS_PKIX_EE_MASK))
100 #define DANETLS_HAS_DANE_TA(dane) ((dane)&&((dane)->umask & DANETLS_DANE_TA_MASK))
101 #define DANETLS_HAS_DANE_EE(dane) ((dane)&&((dane)->umask & DANETLS_DANE_EE_MASK))
/third_party/node/deps/openssl/openssl/include/internal/
Ddane.h73 uint32_t umask; /* Usages present */ member
94 #define DANETLS_HAS_PKIX(dane) ((dane) && ((dane)->umask & DANETLS_PKIX_MASK))
95 #define DANETLS_HAS_DANE(dane) ((dane) && ((dane)->umask & DANETLS_DANE_MASK))
96 #define DANETLS_HAS_TA(dane) ((dane) && ((dane)->umask & DANETLS_TA_MASK))
97 #define DANETLS_HAS_EE(dane) ((dane) && ((dane)->umask & DANETLS_EE_MASK))
99 #define DANETLS_HAS_PKIX_TA(dane) ((dane)&&((dane)->umask & DANETLS_PKIX_TA_MASK))
100 #define DANETLS_HAS_PKIX_EE(dane) ((dane)&&((dane)->umask & DANETLS_PKIX_EE_MASK))
101 #define DANETLS_HAS_DANE_TA(dane) ((dane)&&((dane)->umask & DANETLS_DANE_TA_MASK))
102 #define DANETLS_HAS_DANE_EE(dane) ((dane)&&((dane)->umask & DANETLS_DANE_EE_MASK))
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dumask.c29 mode_t result = umask(mode); in umask_0100()
31 result = umask(result); in umask_0100()
45 mode_t result = umask(mode); in umask_0200()
47 result = umask(result); in umask_0200()
/third_party/python/Lib/distutils/tests/
Dtest_dir_util.py60 umask = os.umask(0o002)
61 os.umask(umask)
64 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask)
67 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
/third_party/node/deps/npm/node_modules/tar/lib/
Dmkdir.js54 const umask = opt.umask constant
56 const needChmod = (mode & umask) !== 0
158 const umask = opt.umask constant
160 const needChmod = (mode & umask) !== 0
Dunpack.js212 this.processUmask = opt.noChmod ? 0 : process.umask()
213 this.umask = typeof opt.umask === 'number' ? opt.umask : this.processUmask
216 this.dmode = opt.dmode || (0o0777 & (~this.umask))
217 this.fmode = opt.fmode || (0o0666 & (~this.umask))
370 umask: this.processUmask, property
882 umask: this.processUmask, property
/third_party/ltp/testcases/kernel/syscalls/vfork/
Dvfork01.c155 Cumask = umask(0); in main()
161 umask(Cumask); in main()
311 Pumask = umask(0); in setup()
312 umask(Pumask); /* in setup()
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/
Dstat_umask_test.cpp20 umask(umaskValue);
21 mode_t currentUmask = umask(0);
/third_party/musl/porting/linux/user/include/fortify/
Dstat.h27 mode_t __umask_real(mode_t mode) __DIAGNOSE_RENAME(umask);
32 mode_t umask(mode_t mode) in umask() function
/third_party/musl/include/fortify/linux/
Dstat.h27 mode_t __umask_real(mode_t mode) __DIAGNOSE_RENAME(umask);
32 mode_t umask(mode_t mode) in umask() function
/third_party/node/lib/internal/bootstrap/switches/
Ddoes_not_own_process_state.js10 process.umask = wrappedUmask;
35 return rawMethods.umask(mask);
Ddoes_own_process_state.js7 process.umask = wrappedUmask;
121 return rawMethods.umask(mask);
/third_party/musl/libc-test/src/functionalext/fortify/
Dstat_ext.c33 umask(mask); in umask_0010()
58 umask(mask); in umask_0020()
/third_party/node/deps/npm/node_modules/pacote/lib/
Dfetcher.js86 this.umask = opts.umask || 0
426 return ((mode | m) & ~this.umask) | exe | 0o600
464 umask: this.umask,
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dcommon.py398 umask = os.umask(0o77)
399 os.umask(umask)
400 os.chmod(self.tmp_path, 0o666 & ~umask)
/third_party/node/tools/gyp/pylib/gyp/
Dcommon.py405 umask = os.umask(0o77)
406 os.umask(umask)
407 os.chmod(self.tmp_path, 0o666 & ~umask)
/third_party/ntfs-3g/include/fuse-lite/
Dfuse_kernel.h228 __u32 umask; member
234 __u32 umask; member
272 __u32 umask; member
/third_party/python/Lib/test/support/
Dos_helper.py553 def temp_umask(umask): argument
555 oldmask = os.umask(umask)
559 os.umask(oldmask)
/third_party/ntfs-3g/include/ntfs-3g/
Dacls.h153 mode_t umask, BOOL isdir);
156 mode_t umask, BOOL isdir);
/third_party/ltp/tools/sparse/sparse-src/validation/optim/
Dand-trunc.c6 short umask(unsigned short x) in umask() function
/third_party/musl/src/stat/
Dumask.c4 mode_t umask(mode_t mode) in umask() function
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen14.c181 mode_t mask = umask(0), perm; in test03()
183 umask(mask); in test03()

123456789