/bionic/libc/include/ |
tar.h | 60 #define DIRTYPE '5'
|
/bionic/tests/headers/posix/ |
tar_h.c | 45 MACRO_VALUE(DIRTYPE, '5');
|
/external/zlib/src/contrib/untgz/ |
untgz.c | 48 #define DIRTYPE '5' /* directory */ 459 case DIRTYPE:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
tarfile.py | 83 DIRTYPE = "5" # directory
105 SYMTYPE, DIRTYPE, FIFOTYPE,
977 if info["type"] == DIRTYPE and not info["name"].endswith("/"):
[all...] |
/external/python/cpython2/Lib/ |
tarfile.py | 83 DIRTYPE = "5" # directory 105 SYMTYPE, DIRTYPE, FIFOTYPE, 991 if info["type"] == DIRTYPE and not info["name"].endswith("/"): [all...] |
/external/python/cpython3/Lib/ |
tarfile.py | 93 DIRTYPE = b"5" # directory 115 SYMTYPE, DIRTYPE, FIFOTYPE, 803 if info["type"] == DIRTYPE and not info["name"].endswith("/"): [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_tarfile.py | 266 # Test old style dirtype member (bug #1336623):
269 tarinfo = self.tar.getmember("misc/dirtype-old-v7")
270 self.assertTrue(tarinfo.type == tarfile.DIRTYPE,
271 "v7 dirtype failed")
471 tarinfo = self.tar.getmember("ustar/dirtype")
475 tarinfo = self.tar.getmember("ustar/dirtype-with-size")
529 self.assertTrue(tarinfo.type != tarfile.DIRTYPE, "read longname as dirtype")
[all...] |
/external/python/cpython2/Lib/test/ |
test_tarfile.py | 179 self.assertIn('ustar/dirtype/', out) 180 self.assertIn('ustar/dirtype-with-size/', out) 407 # Test old style dirtype member (bug #1336623): 410 tarinfo = self.tar.getmember("misc/dirtype-old-v7") 411 self.assertTrue(tarinfo.type == tarfile.DIRTYPE, 412 "v7 dirtype failed") 638 tarinfo = self.tar.getmember("ustar/dirtype") 642 tarinfo = self.tar.getmember("ustar/dirtype-with-size") 696 self.assertTrue(tarinfo.type != tarfile.DIRTYPE, "read longname as dirtype") [all...] |
/external/python/cpython3/Lib/test/ |
test_tarfile.py | 244 self.assertIn(b'ustar/dirtype/', out) 245 self.assertIn(b'ustar/dirtype-with-size/', out) 507 # Test old style dirtype member (bug #1336623): 510 tarinfo = self.tar.getmember("misc/dirtype-old-v7") 511 self.assertEqual(tarinfo.type, tarfile.DIRTYPE, 512 "v7 dirtype failed") 588 dirtype = "ustar/dirtype" 593 tarinfo = tar.getmember(dirtype) 595 extracted = os.path.join(DIR, dirtype) [all...] |