/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | archive_util.py | 51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument 72 if compress is not None and compress not in compress_ext.keys(): 78 if compress != 'compress': 79 archive_name += compress_ext.get(compress, '') 101 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress]) 108 if compress == 'compress': 111 compressed_name = archive_name + compress_ext[compress] 113 cmd = [compress, archive_name, compressed_name] 115 cmd = [compress, '-f', archive_name]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_zlib.py | 81 self.assertRaises(zlib.error, zlib.compress, 'ERROR', 10) 119 compressed = zlib.compress(data, 1) 135 x = zlib.compress(HAMLET_SCENE) 141 x = zlib.compress(data) 146 x = zlib.compress(HAMLET_SCENE) 155 compress = lambda s: zlib.compress(s, 1) function 156 self.check_big_compress_buffer(size, compress) 169 x1 = co.compress(data) 185 x1 = co.compress(HAMLET_SCENE) 198 bufs.append(co.compress(data[i:i+256])) [all …]
|
D | test_itertools.py | 312 self.assertEqual(list(compress(data='ABCDEF', selectors=[1,0,1,0,1,1])), list('ACEF')) 313 self.assertEqual(list(compress('ABCDEF', [1,0,1,0,1,1])), list('ACEF')) 314 self.assertEqual(list(compress('ABCDEF', [0,0,0,0,0,0])), list('')) 315 self.assertEqual(list(compress('ABCDEF', [1,1,1,1,1,1])), list('ABCDEF')) 316 self.assertEqual(list(compress('ABCDEF', [1,0,1])), list('AC')) 317 self.assertEqual(list(compress('ABC', [0,1,1,1,1,1])), list('BC')) 321 self.assertEqual(list(compress(data, selectors)), [1,3,5] * n) 322 self.assertRaises(TypeError, compress, None, range(6)) # 1st arg not iterable 323 self.assertRaises(TypeError, compress, range(6), None) # 2nd arg not iterable 324 self.assertRaises(TypeError, compress, range(6)) # too few args [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ |
D | bz2_codec.py | 26 output = bz2.compress(input) 62 c = self.compressobj.compress(input) 65 return self.compressobj.compress(input)
|
D | zlib_codec.py | 25 output = zlib.compress(input) 61 c = self.compressobj.compress(input) 64 return self.compressobj.compress(input)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/ |
D | bz2_codec.py | 26 output = bz2.compress(input) 62 c = self.compressobj.compress(input) 65 return self.compressobj.compress(input)
|
D | zlib_codec.py | 25 output = zlib.compress(input) 61 c = self.compressobj.compress(input) 64 return self.compressobj.compress(input)
|
/device/linaro/hikey/installer/hikey960/ |
D | mkdtimg | 38 def compress(filename, input, output): function 55 output.write(compobj.compress(data)) 65 compress(dtb_file, input, output) 108 if args.compress == True: 131 if args.compress != True:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/ |
D | zlibdemo.py | 21 comptext = zlib.compress(s, 1) 35 comptext = comptext+compressor.compress(s[i:i+chunk])
|
D | minigzip.py | 25 def compress (filename, input, output): function 44 output.write(compobj.compress(data)) 125 compress(filename, input, output)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
D | test_archive_util.py | 73 make_tarball(splitdrive(base_name)[1], '.', compress=None) 139 make_tarball(base_name, 'dist', compress=None) 150 make_tarball(base_name, 'dist', compress=None, dry_run=True) 167 make_tarball(base_name, 'dist', compress='compress') 181 make_tarball(base_name, 'dist', compress='compress', 249 archive_name = make_tarball(base_name, 'dist', compress=None,
|
/device/generic/goldfish/camera/fake-pipeline2/ |
D | JpegCompressor.cpp | 102 res = compress(); in compressSynchronous() 122 res = compress(); in threadLoop() 131 status_t JpegCompressor::compress() { in compress() function in android::JpegCompressor
|
D | JpegCompressor.h | 97 status_t compress();
|
/device/google/cuttlefish_common/guest/hals/camera/fake-pipeline2/ |
D | JpegCompressor.cpp | 93 res = compress(); in compressSynchronous() 111 res = compress(); in threadLoop() 120 status_t JpegCompressor::compress() { in compress() function in android::JpegCompressor
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | shutil.py | 338 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument 358 if compress is not None and compress not in compress_ext.keys(): 362 archive_name = base_name + '.tar' + compress_ext.get(compress, '') 391 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | shutil.py | 334 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument 354 if compress is not None and compress not in compress_ext.keys(): 358 archive_name = base_name + '.tar' + compress_ext.get(compress, '') 386 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
|
D | gzip.py | 114 self.compress = zlib.compressobj(compresslevel, 227 self.fileobj.write( self.compress.compress(data) ) 359 self.fileobj.write(self.compress.flush()) 374 self.fileobj.write(self.compress.flush(zlib_mode))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ccbench/ |
D | ccbench.py | 112 def compress(s): function 113 zlib.decompress(zlib.compress(s, 5)) 114 return compress, (arg, ) 122 def compress(s): function 123 bz2.compress(s) 124 return compress, (arg, )
|
/device/generic/goldfish/camera/jpeg-stub/ |
D | Compressor.h | 40 bool compress(const unsigned char* data,
|
D | JpegStub.cpp | 45 if (compressor->compress(reinterpret_cast<const unsigned char*>(buffer), in JpegStub_compress()
|
/device/google/cuttlefish_common/guest/hals/camera/ |
D | Compressor.h | 40 bool compress(const unsigned char* data,
|
D | JpegStub.cpp | 45 if (compressor->compress(reinterpret_cast<const unsigned char*>(buffer), in JpegStub_compress()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | zipimport.c | 690 long compress, crc, data_size, file_size, file_offset, date, time; in read_directory() local 751 compress = PyMarshal_ReadShortFromFile(fp); in read_directory() 778 t = Py_BuildValue("siiiiiii", path, compress, data_size, in read_directory() 843 long compress, data_size, file_size, file_offset; in get_data() local 846 if (!PyArg_ParseTuple(toc_entry, "slllllll", &datapath, &compress, in get_data() 875 raw_data = PyString_FromStringAndSize((char *)NULL, compress == 0 ? in get_data() 894 if (compress != 0) { in get_data() 900 if (compress == 0) /* data is not compressed */ in get_data()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | zipimport.c | 690 long compress, crc, data_size, file_size, file_offset, date, time; in read_directory() local 758 compress = PyMarshal_ReadShortFromFile(fp); in read_directory() 786 t = Py_BuildValue("siiiiiii", path, compress, data_size, in read_directory() 856 long compress, data_size, file_size, file_offset; in get_data() local 859 if (!PyArg_ParseTuple(toc_entry, "slllllll", &datapath, &compress, in get_data() 898 raw_data = PyString_FromStringAndSize((char *)NULL, compress == 0 ? in get_data() 922 if (compress != 0) { in get_data() 928 if (compress == 0) /* data is not compressed */ in get_data()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | make_vms.com | 71 $ CALL MAKE compress.OBJ "CC ''CCOPT' compress" - 72 compress.c zlib.h zconf.h 279 OBJS = adler32.obj, compress.obj, crc32.obj, gzio.obj, uncompr.obj, infback.obj\ 307 compress.obj : compress.c zlib.h zconf.h 351 $ myrec = f$edit(rec - "\", "trim,compress")
|