Searched refs:oldmode (Results 1 – 9 of 9) 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/libchrome/libchrome_tools/uprev/ |
D | utils.py | 106 oldmode, newmode, oldhash, newhash, typeofchange, path = match.groups() 115 GitFile(path, oldmode, oldhash)))
|
/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/lua/src/ |
D | lbaselib.c | 184 static int pushmode (lua_State *L, int oldmode) { in pushmode() argument 185 lua_pushstring(L, (oldmode == LUA_GCINC) ? "incremental" : "generational"); in pushmode()
|
/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 | 2498 mode_t mode = 0, oldmode = 0; in c_mknod() local 2526 oldmode = umask((mode_t)0); in c_mknod() 2567 umask(oldmode); in c_mknod()
|
/external/python/cpython3/Lib/test/ |
D | test_tempfile.py | 326 oldmode = mode = os.stat(tempfile.tempdir).st_mode 336 os.chmod(tempfile.tempdir, oldmode)
|
/external/libpcap/ |
D | pcap-linux.c | 183 bpf_u_int32 oldmode; /* mode to restore when turning monitor mode off */ member
|