Searched refs:S_IMODE (Results 1 – 12 of 12) sorted by relevance
19 mode = S_IMODE(st[ST_MODE])33 mode = S_IMODE(st[ST_MODE])
37 mode = S_IMODE(st[ST_MODE])
71 oldmode = stat.S_IMODE(sta.st_mode)84 oldmode = stat.S_IMODE(sta.st_mode)97 oldmode = stat.S_IMODE(sta.st_mode)
62 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask)65 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
105 from stat import ST_ATIME, ST_MTIME, ST_MODE, S_IMODE157 os.chmod(dst, S_IMODE(st[ST_MODE]))
61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)63 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
256 mode = stat.S_IMODE(os.stat(file.name).st_mode)474 mode = stat.S_IMODE(os.stat(dir).st_mode)
111 self.assertEqual(stat.S_IMODE(s.st_mode),
21 def S_IMODE(mode): function
89 mode = stat.S_IMODE(st.st_mode)95 mode = stat.S_IMODE(st.st_mode)
90 mode = stat.S_IMODE(st.st_mode)96 mode = stat.S_IMODE(st.st_mode)