Lines Matching refs:ddata
341 ddata = lzma.decompress(cdata)
343 self.assertEqual(len(ddata), size)
344 self.assertEqual(len(ddata.strip(b"x")), 0)
346 ddata = None
357 ddata = lzd.decompress(cdata)
358 self.assertEqual(ddata, input)
360 input = cdata = ddata = None
427 ddata = lzma.decompress(COMPRESSED_XZ)
428 self.assertEqual(ddata, INPUT)
430 ddata = lzma.decompress(COMPRESSED_ALONE)
431 self.assertEqual(ddata, INPUT)
433 ddata = lzma.decompress(COMPRESSED_XZ, lzma.FORMAT_XZ)
434 self.assertEqual(ddata, INPUT)
436 ddata = lzma.decompress(COMPRESSED_ALONE, lzma.FORMAT_ALONE)
437 self.assertEqual(ddata, INPUT)
439 ddata = lzma.decompress(
441 self.assertEqual(ddata, INPUT)
443 ddata = lzma.decompress(
445 self.assertEqual(ddata, INPUT)
447 ddata = lzma.decompress(
449 self.assertEqual(ddata, INPUT)
451 ddata = lzma.decompress(
453 self.assertEqual(ddata, INPUT)
484 ddata = lzma.decompress(cdata)
485 self.assertEqual(ddata, INPUT)
488 ddata = lzma.decompress(cdata)
489 self.assertEqual(ddata, INPUT)
492 ddata = lzma.decompress(cdata)
493 self.assertEqual(ddata, INPUT)
496 ddata = lzma.decompress(cdata, lzma.FORMAT_RAW, filters=FILTERS_RAW_4)
497 self.assertEqual(ddata, INPUT)
502 ddata = lzma.decompress(COMPRESSED_XZ + COMPRESSED_ALONE)
503 self.assertEqual(ddata, INPUT * 2)
508 ddata = lzma.decompress(COMPRESSED_XZ + COMPRESSED_BOGUS)
509 self.assertEqual(ddata, INPUT)
512 ddata = lzma.decompress(COMPRESSED_XZ * 3 + COMPRESSED_BOGUS)
513 self.assertEqual(ddata, INPUT * 3)