Home
last modified time | relevance | path

Searched refs:ST_MODE (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython3/Lib/distutils/command/
Dinstall_scripts.py11 from stat import ST_MODE
52 mode = ((os.stat(file)[ST_MODE]) | 0o555) & 0o7777
Dbuild_scripts.py6 from stat import ST_MODE
145 oldmode = os.stat(file)[ST_MODE] & 0o7777
/external/python/cpython2/Lib/distutils/command/
Dinstall_scripts.py13 from stat import ST_MODE
54 mode = ((os.stat(file)[ST_MODE]) | 0555) & 07777
Dbuild_scripts.py8 from stat import ST_MODE
122 oldmode = os.stat(file)[ST_MODE] & 07777
/external/python/cpython2/Demo/threads/
Dfind.py127 return (stat[ST_MODE] & 0002) != 0 and not S_ISLNK(stat[ST_MODE])
148 if S_ISDIR(stat[ST_MODE]):
/external/python/cpython2/Tools/scripts/
Dwhich.py34 if not S_ISREG(st[ST_MODE]):
37 mode = S_IMODE(st[ST_MODE])
Dmkreal.py19 mode = S_IMODE(st[ST_MODE])
33 mode = S_IMODE(st[ST_MODE])
Dxxci.py68 if not S_ISREG(st[ST_MODE]): return 1
Dpathfix.py124 os.chmod(tempname, statbuf[ST_MODE] & 07777)
Dmethfix.py143 os.chmod(tempname, statbuf[ST_MODE] & 07777)
Dclassfix.py132 os.chmod(tempname, statbuf[ST_MODE] & 07777)
Dfixcid.py178 os.chmod(tempname, statbuf[ST_MODE] & 07777)
/external/python/cpython3/Tools/scripts/
Dwhich.py34 if not S_ISREG(st[ST_MODE]):
37 mode = S_IMODE(st[ST_MODE])
Dmkreal.py19 mode = S_IMODE(st[ST_MODE])
32 mode = S_IMODE(st[ST_MODE])
Dpathfix.py157 os.chmod(tempname, statbuf[ST_MODE] & 0o7777)
Dfixcid.py178 os.chmod(tempname, statbuf[ST_MODE] & 0o7777)
/external/python/cpython2/Lib/distutils/
Dfile_util.py106 from stat import ST_ATIME, ST_MTIME, ST_MODE, S_IMODE
165 os.chmod(dst, S_IMODE(st[ST_MODE]))
Dfilelist.py260 from stat import ST_MODE, S_ISREG, S_ISDIR, S_ISLNK
279 mode = stat[ST_MODE]
/external/python/cpython3/Lib/distutils/
Dfile_util.py101 from stat import ST_ATIME, ST_MTIME, ST_MODE, S_IMODE
160 os.chmod(dst, S_IMODE(st[ST_MODE]))
/external/python/cpython2/Demo/comparisons/
Dsystemtest.py52 mode = os.lstat(name)[ST_MODE]
/external/python/cpython2/Lib/
Dstat.py8 ST_MODE = 0 variable
/external/python/cpython3/Lib/
Dstat.py8 ST_MODE = 0 variable
/external/python/cpython2/Demo/scripts/
Deqfix.py146 os.chmod(tempname, statbuf[ST_MODE] & 07777)
/external/python/cpython2/Doc/library/
Dstat.rst110 .. data:: ST_MODE
170 The variables below define the flags used in the :data:`ST_MODE` field.
/external/python/cpython3/Doc/library/
Dstat.rst147 .. data:: ST_MODE
207 The variables below define the flags used in the :data:`ST_MODE` field.

12