Home
last modified time | relevance | path

Searched refs:oldmode (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/distutils/command/
Dbuild_scripts.py122 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/
Dbuild_scripts.py145 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/
Dutils.py106 oldmode, newmode, oldhash, newhash, typeofchange, path = match.groups()
115 GitFile(path, oldmode, oldhash)))
/external/linux-kselftest/tools/testing/selftests/x86/
Dldt_gdt.c140 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/
Dlbaselib.c184 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/
Dtest_tempfile.py300 oldmode = mode = os.stat(tempfile.tempdir).st_mode
311 os.chmod(tempfile.tempdir, oldmode)
/external/mksh/src/
Dfuncs.c2498 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/
Dtest_tempfile.py326 oldmode = mode = os.stat(tempfile.tempdir).st_mode
336 os.chmod(tempfile.tempdir, oldmode)
/external/libpcap/
Dpcap-linux.c183 bpf_u_int32 oldmode; /* mode to restore when turning monitor mode off */ member