Home
last modified time | relevance | path

Searched refs:chflags (Results 1 - 15 of 15) sorted by relevance

/third_party/rust/crates/nix/test/sys/
H A Dtest_stat.rs8 unistd::chflags, in test_chflags()
22 chflags(f.path(), commanded).unwrap(); in test_chflags()
/third_party/python/Lib/
H A Dtempfile.py281 chflags = _os.chflags
285 _dont_follow_symlinks(chflags, path, 0)
/third_party/python/Lib/test/
H A Dtest_tempfile.py1634 @unittest.skipUnless(hasattr(os, 'chflags'), 'requires os.chflags')
1652 os.chflags(symlink, flags, follow_symlinks=False)
1656 os.chflags(symlink, flags)
1659 os.chflags(d1.name, flags)
1669 os.chflags(file1, flags)
1676 os.chflags(dir1, flags)
1860 os.chflags(filename, flags)
1863 self.skipTest(f"chflags() doesn't support flags "
1866 os.chflags(filenam
[all...]
H A Dtest_posix.py958 posix.chflags(target_file, st.st_flags)
960 @unittest.skipUnless(hasattr(posix, 'chflags'), 'test needs os.chflags()')
962 self._test_chflags_regular_file(posix.chflags, os_helper.TESTFN)
967 self._test_chflags_regular_file(posix.chflags, os_helper.TESTFN,
981 return posix.chflags(path, flags, follow_symlinks=False)
H A Dtest_shutil.py946 @unittest.skipUnless(hasattr(os, 'chflags') and
949 "requires os.chflags, EOPNOTSUPP & ENOTSUP")
964 old_chflags = os.chflags
967 os.chflags = make_chflags_raiser(err)
970 os.chflags = make_chflags_raiser(errno.EOPNOTSUPP + errno.ENOTSUP)
973 os.chflags = old_chflags
1121 if hasattr(os, 'chflags') and hasattr(file1_stat, 'st_flags'):
H A Dtest_os.py3867 if hasattr(os, "chflags"):
3868 funcs.append((self.filenames, os.chflags, 0))
4047 ('chflags', False, (0,), None),
/third_party/node/deps/openssl/openssl/apps/lib/
H A Ds_cb.c154 int chflags = chain ? SSL_BUILD_CHAIN_FLAG_CHECK : 0; in set_cert_key_stuff() local
183 if (build_chain && !SSL_CTX_build_cert_chain(ctx, chflags)) { in set_cert_key_stuff()
/third_party/openssl/apps/lib/
H A Ds_cb.c154 int chflags = chain ? SSL_BUILD_CHAIN_FLAG_CHECK : 0; in set_cert_key_stuff() local
183 if (build_chain && !SSL_CTX_build_cert_chain(ctx, chflags)) { in set_cert_key_stuff()
/third_party/rust/crates/nix/src/
H A Dunistd.rs3367 /// See also [chflags(2)](https://www.freebsd.org/cgi/man.cgi?query=chflags&sektion=2)
3376 pub fn chflags<P: ?Sized + NixPath>(path: &P, flags: FileFlag) -> Result<()> { in chflags() functions
3378 libc::chflags(cstr.as_ptr(), flags.bits()) in chflags()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
H A Dmod.rs1348 // Flags for chflags(2)
1460 pub fn chflags(path: *const ::c_char, flags: ::c_ulong) -> ::c_int; in chflags() functions
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
H A Dmod.rs1631 // Flags for chflags(2)
1759 pub fn chflags(path: *const ::c_char, flags: ::c_uint) -> ::c_int; in chflags() functions
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
H A Dmod.rs2247 // Flags for chflags(2)
2452 pub fn chflags(path: *const ::c_char, flags: ::c_ulong) -> ::c_int; in chflags() functions
/third_party/python/Modules/
H A Dposixmodule.c3446 os.chflags
3455 link, chflags will change flags on the symbolic link itself instead of the
3470 if (follow_symlinks_specified("chflags", follow_symlinks)) in os_chflags_impl()
3474 if (PySys_Audit("os.chflags", "Ok", path->object, flags) < 0) { in os_chflags_impl()
3484 result = chflags(path->narrow, flags); in os_chflags_impl()
3505 Equivalent to chflags(path, flags, follow_symlinks=False).
3513 if (PySys_Audit("os.chflags", "Ok", path->object, flags) < 0) { in os_lchflags_impl()
/third_party/rust/crates/libc/src/unix/bsd/apple/
H A Dmod.rs4596 // Flags for chflags(2)
5093 pub fn chflags(path: *const ::c_char, flags: ::c_uint) -> ::c_int; in chflags() functions
/third_party/python/
H A Dconfigure18541 # On Tru64, chflags seems to be present, but calling it will
18543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for chflags" >&5
18544 printf %s "checking for chflags... " >&6; }
18560 if(chflags(argv[0], 0) != 0)
18581 ac_fn_c_check_func "$LINENO" "chflags" "ac_cv_func_chflags"

Completed in 93 milliseconds