Searched refs:external_attr (Results 1 – 17 of 17) sorted by relevance
/external/skia/infra/bots/ |
D | zip_utils.py | 51 zi.external_attr = perms << 16 77 perms = zi.external_attr >> 16
|
/external/skqp/infra/bots/ |
D | zip_utils.py | 50 zi.external_attr = perms << 16L 76 perms = zi.external_attr >> 16L
|
/external/python/cpython2/Lib/ |
D | zipfile.py | 322 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/ |
D | zipfile.py | 379 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/ |
D | build_utils.py | 249 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/ |
D | dependency_manager_util.py | 50 return zip_info.external_attr >> 16
|
/external/python/setuptools/setuptools/ |
D | archive_util.py | 122 unix_attributes = info.external_attr >> 16
|
/external/python/cpython2/Lib/test/ |
D | test_zipfile.py | 551 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/ |
D | file_operations.py | 137 permissions = info.external_attr >> 16
|
/external/autotest/server/cros/ap_configurators/ |
D | pyauto_utils.py | 126 os.chmod(name, info.external_attr >> 16)
|
/external/python/cpython3/Lib/test/ |
D | test_zipfile.py | 462 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/ |
D | install-build-deps | 378 os.chmod(target_path, (info.external_attr >> 16) | min_acls)
|
/external/libchrome/third_party/jinja2/ |
D | environment.py | 686 info.external_attr = 0o755 << 16
|
/external/python/jinja/src/jinja2/ |
D | environment.py | 707 info.external_attr = 0o755 << 16
|
/external/python/cpython2/Doc/library/ |
D | zipfile.rst | 476 .. attribute:: ZipInfo.external_attr
|
/external/OpenCL-CTS/test_common/miniz/ |
D | miniz.c | 2615 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/ |
D | zipfile.rst | 745 .. attribute:: ZipInfo.external_attr
|