Home
last modified time | relevance | path

Searched refs:unused_data (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Modules/
Dzlibmodule.c68 PyObject *unused_data; member
120 self->unused_data = PyString_FromString(""); in newcompobject()
121 if (self->unused_data == NULL) { in newcompobject()
460 Py_XDECREF(self->unused_data); in Comp_dealloc()
470 Py_XDECREF(self->unused_data); in Decomp_dealloc()
538 Py_ssize_t old_size = PyString_GET_SIZE(self->unused_data); in save_unconsumed_input()
551 PyString_AS_STRING(self->unused_data), old_size); in save_unconsumed_input()
554 Py_SETREF(self->unused_data, new_data); in save_unconsumed_input()
788 Py_INCREF(self->unused_data); in PyZlib_copy()
789 Py_XSETREF(retval->unused_data, self->unused_data); in PyZlib_copy()
[all …]
Dbz2module.c123 PyObject *unused_data; member
1908 {"unused_data", T_OBJECT, OFF(unused_data), RO},
1970 Py_SETREF(self->unused_data, in BZ2Decomp_decompress()
1972 if (self->unused_data == NULL) in BZ2Decomp_decompress()
2041 self->unused_data = PyString_FromString(""); in BZ2Decomp_init()
2042 if (!self->unused_data) in BZ2Decomp_init()
2063 Py_CLEAR(self->unused_data); in BZ2Decomp_init()
2074 Py_XDECREF(self->unused_data); in BZ2Decomp_dealloc()
/external/python/cpython3/Modules/
Dzlibmodule.c44 PyObject *unused_data; member
98 self->unused_data = PyBytes_FromStringAndSize("", 0); in newcompobject()
99 if (self->unused_data == NULL) { in newcompobject()
610 Py_XDECREF(self->unused_data); in Dealloc()
701 Py_ssize_t old_size = PyBytes_GET_SIZE(self->unused_data); in save_unconsumed_input()
714 PyBytes_AS_STRING(self->unused_data), old_size); in save_unconsumed_input()
717 Py_SETREF(self->unused_data, new_data); in save_unconsumed_input()
967 Py_INCREF(self->unused_data); in zlib_Compress_copy_impl()
968 Py_XSETREF(retval->unused_data, self->unused_data); in zlib_Compress_copy_impl()
1023 Py_INCREF(self->unused_data); in zlib_Decompress_copy_impl()
[all …]
D_bz2module.c44 PyObject *unused_data; member
528 Py_XSETREF(d->unused_data, in decompress()
530 if (d->unused_data == NULL) in decompress()
651 Py_XSETREF(self->unused_data, PyBytes_FromStringAndSize(NULL, 0)); in _bz2_BZ2Decompressor___init___impl()
652 if (self->unused_data == NULL) in _bz2_BZ2Decompressor___init___impl()
662 Py_CLEAR(self->unused_data); in _bz2_BZ2Decompressor___init___impl()
674 Py_CLEAR(self->unused_data); in BZ2Decompressor_dealloc()
698 {"unused_data", T_OBJECT_EX, offsetof(BZ2Decompressor, unused_data),
D_lzmamodule.c53 PyObject *unused_data; member
994 Py_XSETREF(d->unused_data, in decompress()
996 if (d->unused_data == NULL) in decompress()
1180 Py_XSETREF(self->unused_data, PyBytes_FromStringAndSize(NULL, 0)); in _lzma_LZMADecompressor___init___impl()
1181 if (self->unused_data == NULL) in _lzma_LZMADecompressor___init___impl()
1217 Py_CLEAR(self->unused_data); in _lzma_LZMADecompressor___init___impl()
1230 Py_CLEAR(self->unused_data); in Decompressor_dealloc()
1261 {"unused_data", T_OBJECT_EX, offsetof(Decompressor, unused_data), READONLY,
/external/pdfium/third_party/libtiff/
Dtif_read.c170 tmsize_t unused_data; in TIFFFillStripPartial() local
216 unused_data = tif->tif_rawdataloaded - (tif->tif_rawcp - tif->tif_rawdata); in TIFFFillStripPartial()
218 unused_data = 0; in TIFFFillStripPartial()
220 if( unused_data > 0 ) in TIFFFillStripPartial()
223 memmove( tif->tif_rawdata, tif->tif_rawcp, unused_data ); in TIFFFillStripPartial()
243 to_read = read_ahead_mod - unused_data; in TIFFFillStripPartial()
245 to_read = tif->tif_rawdatasize - unused_data; in TIFFFillStripPartial()
254 if( !TIFFReadAndRealloc( tif, to_read, unused_data, in TIFFFillStripPartial()
262 tif->tif_rawdataoff = tif->tif_rawdataoff + tif->tif_rawdataloaded - unused_data ; in TIFFFillStripPartial()
263 tif->tif_rawdataloaded = unused_data + to_read; in TIFFFillStripPartial()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/dsymutil/Inputs/
Dbasic2.c6 int unused_data = 1; variable
/external/llvm/test/tools/dsymutil/Inputs/
Dbasic2.c6 int unused_data = 1; variable
/external/python/cpython2/Lib/test/
Dtest_bz2.py408 unused_data = "this is unused data"
409 text = bz2d.decompress(self.DATA+unused_data)
411 self.assertEqual(bz2d.unused_data, unused_data)
Dtest_zlib.py537 self.assertEqual(dco.unused_data, b'')
547 self.assertEqual(dco.unused_data, remainder)
626 self.assertEqual(unused, do.unused_data)
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_constants_test.cc312 Tensor unused_data(DT_FLOAT, TensorShape({width})); in TestRemoveUnusedNodes() local
313 test::FillIota<float>(&unused_data, 1.0f); in TestRemoveUnusedNodes()
315 Const(root.WithOpName("unused"), Input::Initializer(unused_data)); in TestRemoveUnusedNodes()
/external/python/cpython3/Lib/test/
Dtest_zlib.py245 self.assertIsInstance(dco.unused_data, bytes)
322 self.assertEqual(b'', dco.unused_data)
335 self.assertEqual(b'', dco.unused_data)
585 self.assertEqual(dco.unused_data, b'')
596 self.assertEqual(dco.unused_data, remainder)
745 self.assertEqual(unused, do.unused_data)
Dtest_lzma.py91 def _test_decompressor(self, lzd, data, check, unused_data=b""): argument
97 self.assertEqual(lzd.unused_data, unused_data)
140 self.assertEqual(lzd.unused_data, b"")
155 self.assertEqual(lzd.unused_data, b"")
187 self.assertEqual(lzd.unused_data, b"")
252 unused_data=extra)
332 lzma.CHECK_CRC64, unused_data=COMPRESSED_ALONE)
Dtest_bz2.py692 unused_data = b"this is unused data"
693 text = bz2d.decompress(self.DATA+unused_data)
695 self.assertEqual(bz2d.unused_data, unused_data)
753 self.assertEqual(bzd.unused_data, b"")
/external/python/cpython3/Lib/
D_compression.py83 rawblock = (self._decompressor.unused_data or
Dlzma.py344 data = decomp.unused_data
Dgzip.py474 elif self._decompressor.unused_data != b"":
477 self._fp.prepend(self._decompressor.unused_data)
Dbz2.py356 data = decomp.unused_data
/external/libchrome/base/message_loop/
Dmessage_pump_glib.cc107 gpointer unused_data) { in WorkSourceDispatch() argument
Dmessage_pump_glib_unittest.cc127 gpointer unused_data) { in Dispatch() argument
/external/python/cpython2/Lib/
Dgzip.py321 if self.decompress.unused_data != "":
327 self.fileobj.seek( -len(self.decompress.unused_data)+8, 1)
/external/python/cpython3/Doc/library/
Dbz2.rst201 stream is ignored and saved in the :attr:`~.unused_data` attribute.
213 .. attribute:: unused_data
Dlzma.rst262 stream is ignored and saved in the :attr:`~.unused_data` attribute.
277 .. attribute:: unused_data
/external/python/cpython2/Doc/library/
Dzlib.rst231 .. attribute:: Decompress.unused_data
242 :meth:`decompress` method until the :attr:`unused_data` attribute is no longer
Dbz2.rst194 :attr:`unused_data` attribute.

12