Searched refs:oldmode (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Lib/distutils/command/ |
D | build_scripts.py | 122 oldmode = os.stat(file)[ST_MODE] & 07777 123 newmode = (oldmode | 0555) & 07777 124 if newmode != oldmode: 126 file, oldmode, newmode)
|
/external/python/cpython3/Lib/distutils/command/ |
D | build_scripts.py | 145 oldmode = os.stat(file)[ST_MODE] & 0o7777 146 newmode = (oldmode | 0o555) & 0o7777 147 if newmode != oldmode: 149 file, oldmode, newmode)
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | ldt_gdt.c | 140 bool oldmode, bool ldt) in install_valid_mode() argument 156 ret = syscall(SYS_modify_ldt, oldmode ? 1 : 0x11, in install_valid_mode() 202 static void install_invalid(const struct user_desc *desc, bool oldmode) in install_invalid() argument 204 int ret = syscall(SYS_modify_ldt, oldmode ? 1 : 0x11, in install_invalid()
|
/external/python/cpython2/Lib/test/ |
D | test_tempfile.py | 300 oldmode = mode = os.stat(tempfile.tempdir).st_mode 311 os.chmod(tempfile.tempdir, oldmode)
|
/external/mksh/src/ |
D | funcs.c | 2503 mode_t mode = 0, oldmode = 0; in c_mknod() local 2531 oldmode = umask((mode_t)0); in c_mknod() 2572 umask(oldmode); in c_mknod()
|
/external/python/cpython3/Lib/test/ |
D | test_tempfile.py | 330 oldmode = mode = os.stat(tempfile.tempdir).st_mode 340 os.chmod(tempfile.tempdir, oldmode)
|
/external/libpcap/ |
D | pcap-linux.c | 314 bpf_u_int32 oldmode; /* mode to restore when turning monitor mode off */ member 1333 ireq.u.mode = handlep->oldmode; 5987 handlep->oldmode = ireq.u.mode;
|