Searched refs:newmode (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/distutils/command/ |
D | build_scripts.py | 123 newmode = (oldmode | 0555) & 07777 124 if newmode != oldmode: 126 file, oldmode, newmode) 127 os.chmod(file, newmode)
|
/external/python/cpython3/Lib/distutils/command/ |
D | build_scripts.py | 146 newmode = (oldmode | 0o555) & 0o7777 147 if newmode != oldmode: 149 file, oldmode, newmode) 150 os.chmod(file, newmode)
|
/external/libchrome/libchrome_tools/uprev/ |
D | utils.py | 106 oldmode, newmode, oldhash, newhash, typeofchange, path = match.groups() 111 GitFile(path, newmode, newhash))) 119 GitFile(path, newmode, newhash)))
|
/external/mesa3d/src/freedreno/decode/scripts/ |
D | parse-submits.lua | 297 function valid_transition(curmode, newmode) 298 if curmode == "RM6_BINNING" and newmode == "RM6_GMEM" then 301 if curmode == "RM6_GMEM" and newmode == "RM6_RESOLVE" then
|
/external/python/cpython2/Objects/ |
D | fileobject.c | 326 char *newmode; in open_the_file() local 339 newmode = PyMem_MALLOC(strlen(mode) + 3); in open_the_file() 340 if (!newmode) { in open_the_file() 344 strcpy(newmode, mode); in open_the_file() 346 if (_PyFile_SanitizeMode(newmode)) { in open_the_file() 365 wmode = PyUnicode_DecodeASCII(newmode, strlen(newmode), NULL); in open_the_file() 379 f->f_fp = fopen(name, newmode); in open_the_file() 420 PyMem_FREE(newmode); in open_the_file()
|
/external/lua/src/ |
D | lgc.h | 186 LUAI_FUNC void luaC_changemode (lua_State *L, int newmode);
|
D | lgc.c | 1317 void luaC_changemode (lua_State *L, int newmode) { in luaC_changemode() argument 1319 if (newmode != g->gckind) { in luaC_changemode() 1320 if (newmode == KGC_GEN) /* entering generational mode? */ in luaC_changemode()
|
/external/ethtool/ |
D | ethtool.c | 5247 int fecmode = 0, newmode; in do_sfec() local 5256 newmode = fecmode_str_to_type(ctx->argp[i]); in do_sfec() 5257 if (!newmode) in do_sfec() 5259 fecmode |= newmode; in do_sfec()
|