Home
last modified time | relevance | path

Searched refs:external_attr (Results 1 – 17 of 17) sorted by relevance

/external/skia/infra/bots/
Dzip_utils.py51 zi.external_attr = perms << 16
77 perms = zi.external_attr >> 16
/external/skqp/infra/bots/
Dzip_utils.py50 zi.external_attr = perms << 16L
76 perms = zi.external_attr >> 16L
/external/python/cpython2/Lib/
Dzipfile.py322 self.external_attr = 0 # External file attributes
851 x.volume, x.internal_attr, x.external_attr = centdir[15:18]
1136 zinfo.external_attr = (st[0] & 0xFFFF) << 16L # Unix attributes
1155 zinfo.external_attr |= 0x10 # MS-DOS directory flag
1218 zinfo.external_attr = 0o40775 << 16 # drwxrwxr-x
1219 zinfo.external_attr |= 0x10 # MS-DOS directory flag
1221 zinfo.external_attr = 0o600 << 16 # ?rw-------
1314 0, zinfo.internal_attr, zinfo.external_attr,
1323 0, zinfo.internal_attr, zinfo.external_attr,
/external/python/cpython3/Lib/
Dzipfile.py379 self.external_attr = 0 # External file attributes
392 hi = self.external_attr >> 16
393 lo = self.external_attr & 0xFFFF
518 zinfo.external_attr = (st.st_mode & 0xFFFF) << 16 # Unix attributes
521 zinfo.external_attr |= 0x10 # MS-DOS directory flag
1374 x.volume, x.internal_attr, x.external_attr = centdir[15:18]
1586 if not zinfo.external_attr:
1587 zinfo.external_attr = 0o600 << 16 # permissions: ?rw-------
1779 zinfo.external_attr = 0o40775 << 16 # drwxrwxr-x
1780 zinfo.external_attr |= 0x10 # MS-DOS directory flag
[all …]
/external/libchrome/build/android/gyp/util/
Dbuild_utils.py249 return stat.S_ISLNK(zi.external_attr >> 16L)
308 zipinfo.external_attr = _HERMETIC_FILE_ATTR
312 zipinfo.external_attr |= stat.S_IFLNK << 16L # mark as a symlink
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util.py50 return zip_info.external_attr >> 16
/external/python/setuptools/setuptools/
Darchive_util.py122 unix_attributes = info.external_attr >> 16
/external/python/cpython2/Lib/test/
Dtest_zipfile.py551 zinfo.external_attr = 0o600 << 16
607 self.assertEqual(zinfo.external_attr, 0600 << 16)
1597 self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
1601 self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
1605 self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
1608 self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
1621 self.assertEqual(zinfo.external_attr, (0o40775 << 16) | 0x10)
1625 self.assertEqual(zinfo.external_attr, (0o40775 << 16) | 0x10)
/external/pigweed/pw_arduino_build/py/pw_arduino_build/
Dfile_operations.py137 permissions = info.external_attr >> 16
/external/autotest/server/cros/ap_configurators/
Dpyauto_utils.py126 os.chmod(name, info.external_attr >> 16)
/external/python/cpython3/Lib/test/
Dtest_zipfile.py462 self.assertEqual(zinfo.external_attr, 0o600 << 16)
465 self.assertEqual(zinfo2.external_attr, 0o600 << 16)
1484 zinfo.external_attr = 0o600 << 16
1941 self.assertEqual(zi.external_attr, 0)
2577 self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
2581 self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
2585 self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
2588 self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
2601 self.assertEqual(zinfo.external_attr, (0o40775 << 16) | 0x10)
2605 self.assertEqual(zinfo.external_attr, (0o40775 << 16) | 0x10)
/external/perfetto/tools/
Dinstall-build-deps378 os.chmod(target_path, (info.external_attr >> 16) | min_acls)
/external/libchrome/third_party/jinja2/
Denvironment.py686 info.external_attr = 0o755 << 16
/external/python/jinja/src/jinja2/
Denvironment.py707 info.external_attr = 0o755 << 16
/external/python/cpython2/Doc/library/
Dzipfile.rst476 .. attribute:: ZipInfo.external_attr
/external/OpenCL-CTS/test_common/miniz/
Dminiz.c2615 mz_uint filename_len, external_attr; in mz_zip_reader_is_file_a_directory() local
2631 external_attr = MZ_READ_LE32(p + MZ_ZIP_CDH_EXTERNAL_ATTR_OFS); in mz_zip_reader_is_file_a_directory()
2632 if ((external_attr & 0x10) != 0) in mz_zip_reader_is_file_a_directory()
/external/python/cpython3/Doc/library/
Dzipfile.rst745 .. attribute:: ZipInfo.external_attr