Searched refs:ST_MODE (Results 1 – 23 of 23) sorted by relevance
/external/python/cpython2/Lib/distutils/command/ |
D | install_scripts.py | 13 from stat import ST_MODE 54 mode = ((os.stat(file)[ST_MODE]) | 0555) & 07777
|
D | build_scripts.py | 8 from stat import ST_MODE 122 oldmode = os.stat(file)[ST_MODE] & 07777
|
/external/python/cpython2/Demo/threads/ |
D | find.py | 127 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/ |
D | which.py | 34 if not S_ISREG(st[ST_MODE]): 37 mode = S_IMODE(st[ST_MODE])
|
D | mkreal.py | 19 mode = S_IMODE(st[ST_MODE]) 33 mode = S_IMODE(st[ST_MODE])
|
D | xxci.py | 68 if not S_ISREG(st[ST_MODE]): return 1
|
D | pathfix.py | 124 os.chmod(tempname, statbuf[ST_MODE] & 07777)
|
D | methfix.py | 143 os.chmod(tempname, statbuf[ST_MODE] & 07777)
|
D | classfix.py | 132 os.chmod(tempname, statbuf[ST_MODE] & 07777)
|
D | fixcid.py | 178 os.chmod(tempname, statbuf[ST_MODE] & 07777)
|
/external/python/cpython2/Lib/distutils/ |
D | file_util.py | 106 from stat import ST_ATIME, ST_MTIME, ST_MODE, S_IMODE 165 os.chmod(dst, S_IMODE(st[ST_MODE]))
|
D | filelist.py | 260 from stat import ST_MODE, S_ISREG, S_ISDIR, S_ISLNK 279 mode = stat[ST_MODE]
|
/external/python/cpython2/Demo/comparisons/ |
D | systemtest.py | 52 mode = os.lstat(name)[ST_MODE]
|
/external/python/cpython2/Lib/ |
D | stat.py | 8 ST_MODE = 0 variable
|
D | webbrowser.py | 116 mode = os.stat(cmd)[stat.ST_MODE]
|
/external/python/cpython2/Demo/scripts/ |
D | eqfix.py | 146 os.chmod(tempname, statbuf[ST_MODE] & 07777)
|
/external/autotest/client/site_tests/platform_FilePerms/ |
D | platform_FilePerms.py | 281 mode = fstat[stat.ST_MODE]
|
/external/python/cpython2/Doc/library/ |
D | stat.rst | 110 .. data:: ST_MODE 170 The variables below define the flags used in the :data:`ST_MODE` field.
|
/external/autotest/utils/ |
D | check_patch.py | 203 mode = os.stat(self.path)[stat.ST_MODE]
|
/external/selinux/python/sepolicy/sepolicy/ |
D | generate.py | 999 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/ |
D | bundlebuilder.py | 615 mod = os.stat(path)[stat.ST_MODE]
|
/external/selinux/python/semanage/ |
D | seobject.py | 1793 os.chmod(tmpfile, os.stat(subs_file)[stat.ST_MODE])
|
/external/python/cpython2/Lib/test/ |
D | test_mailbox.py | 589 mode = os.stat(path)[stat.ST_MODE]
|