Home
last modified time | relevance | path

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

/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/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/cpython2/Demo/comparisons/
Dsystemtest.py52 mode = os.lstat(name)[ST_MODE]
/external/python/cpython2/Lib/
Dstat.py8 ST_MODE = 0 variable
Dwebbrowser.py116 mode = os.stat(cmd)[stat.ST_MODE]
/external/python/cpython2/Demo/scripts/
Deqfix.py146 os.chmod(tempname, statbuf[ST_MODE] & 07777)
/external/autotest/client/site_tests/platform_FilePerms/
Dplatform_FilePerms.py281 mode = fstat[stat.ST_MODE]
/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/autotest/utils/
Dcheck_patch.py203 mode = os.stat(self.path)[stat.ST_MODE]
/external/selinux/python/sepolicy/sepolicy/
Dgenerate.py999 if os.path.exists(i) and stat.S_ISSOCK(os.stat(i)[stat.ST_MODE]):
1064 if os.path.exists(i) and stat.S_ISSOCK(os.stat(i)[stat.ST_MODE]):
1097 if os.path.exists(i) and stat.S_ISSOCK(os.stat(i)[stat.ST_MODE]):
/external/python/cpython2/Lib/plat-mac/
Dbundlebuilder.py615 mod = os.stat(path)[stat.ST_MODE]
/external/selinux/python/semanage/
Dseobject.py1793 os.chmod(tmpfile, os.stat(subs_file)[stat.ST_MODE])
/external/python/cpython2/Lib/test/
Dtest_mailbox.py589 mode = os.stat(path)[stat.ST_MODE]