Home
last modified time | relevance | path

Searched refs:pickled (Results 1 – 25 of 93) sorted by relevance

1234

/external/python/cpython3/Lib/test/
Dtest_pickletools.py25 pickled = pickle.dumps(data, proto)
26 unpickled = pickle.loads(pickled)
30 pickled2 = pickletools.optimize(pickled)
38 pickled = (b'\x80\x04\x95\x15\x00\x00\x00\x00\x00\x00\x00'
52 self.assertIn(pickle.BINPUT, pickled)
53 unpickled = pickle.loads(pickled)
57 pickled2 = pickletools.optimize(pickled)
Dpickletester.py1077 pickled = b'((lp100000\ng100000\nt.'
1078 unpickled = self.loads(pickled)
1083 pickled = b'(]q\xffh\xfft.'
1084 unpickled = self.loads(pickled)
1089 pickled = b'(]r\x00\x00\x01\x00j\x00\x00\x01\x00t.'
1090 unpickled = self.loads(pickled)
1095 pickled = b'((l2t.'
1096 unpickled = self.loads(pickled)
1141 pickled = b'\x80\x04\x95\x05\x00\x00\x00\x00\x00\x00\x00I42\n.'
1146 self.assertEqual(self.loads(pickled), 42)
[all …]
Dtest_xml_dom_minicompat.py91 pickled = pickle.dumps(node_list, proto)
92 unpickled = pickle.loads(pickled)
99 pickled = pickle.dumps(node_list, proto)
100 unpickled = pickle.loads(pickled)
Dtest_configparser.py1697 pickled = pickle.dumps(e1, proto)
1698 e2 = pickle.loads(pickled)
1706 pickled = pickle.dumps(e1, proto)
1707 e2 = pickle.loads(pickled)
1717 pickled = pickle.dumps(e1, proto)
1718 e2 = pickle.loads(pickled)
1729 pickled = pickle.dumps(e1, proto)
1730 e2 = pickle.loads(pickled)
1743 pickled = pickle.dumps(e1, proto)
1744 e2 = pickle.loads(pickled)
[all …]
Dtest_uuid.py446 for pickled in pickled_uuids:
450 check(pickle.loads(pickled), u)
451 for pickled in pickled_uuids_safe:
452 check(pickle.loads(pickled), u_safe)
453 for pickled in pickled_uuids_unsafe:
454 check(pickle.loads(pickled), u_unsafe)
Dtest_turtle.py171 pickled = pickle.dumps(vec, protocol=proto)
172 unpickled = pickle.loads(pickled)
/external/python/cpython2/Lib/test/
Dtest_cfgparser.py618 pickled = pickle.dumps(e1, proto)
619 e2 = pickle.loads(pickled)
627 pickled = pickle.dumps(e1, proto)
628 e2 = pickle.loads(pickled)
638 pickled = pickle.dumps(e1, proto)
639 e2 = pickle.loads(pickled)
650 pickled = pickle.dumps(e1, proto)
651 e2 = pickle.loads(pickled)
661 pickled = pickle.dumps(e1, proto)
662 e2 = pickle.loads(pickled)
[all …]
Dpickletester.py697 pickled = '((lp100000\ng100000\nt.'
698 unpickled = self.loads(pickled)
703 pickled = '(]q\xffh\xfft.'
704 unpickled = self.loads(pickled)
709 pickled = '(]r\x00\x00\x01\x00j\x00\x00\x01\x00t.'
710 unpickled = self.loads(pickled)
715 pickled = '((l2t.'
716 unpickled = self.loads(pickled)
1547 pickled = self.dumps(obj, proto)
1548 self.assertTrue(opcode_in_pickle(opcode, pickled))
[all …]
Dtest_turtle.py162 pickled = pickle.dumps(vec, protocol=proto)
163 unpickled = pickle.loads(pickled)
/external/python/rsa/tests/
Dtest_load_save_keys.py202 pickled = pickle.dumps(pk)
203 unpickled = pickle.loads(pickled)
209 pickled = pickle.dumps(pk)
210 unpickled = pickle.loads(pickled)
/external/python/cpython2/Doc/library/
Dpickle.rst105 programs may not be able to reconstruct pickled Python objects.
111 possible for a human to read the pickled file with a standard text editor.
169 Write a pickled representation of *obj* to the open file object *file*. This is
202 Return the pickled representation of the object as a string, instead of writing
215 Read a pickled object hierarchy from a string. Characters in the string past
216 the pickled object's representation are ignored.
264 Write a pickled representation of *obj* to the open file object given in the
273 pickled by reference and not by value. This method is useful when re-using
291 instance. If the same object is pickled by multiple :meth:`dump` calls, the
315 Read a pickled object representation from the open file object given in
[all …]
Dpickletools.rst17 useful functions for analyzing pickled data. The contents of this module are
/external/python/mock/mock/tests/
Dtestsentinel.py34 pickled = pickle.dumps(sentinel.whatever, proto)
35 unpickled = pickle.loads(pickled)
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestsentinel.py31 pickled = pickle.dumps(sentinel.whatever, proto)
32 unpickled = pickle.loads(pickled)
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_errors_test.py15 pickled = pickle.dumps(original)
16 reconstructed = pickle.loads(pickled)
/external/python/cpython3/Doc/library/
Dpickle.rst129 non-Python programs may not be able to reconstruct pickled Python objects.
133 :doc:`compress <archiving>` pickled data.
218 Write the pickled representation of the object *obj* to the open
230 Return the pickled representation of the object *obj* as a :class:`bytes` object,
241 Read the pickled representation of an object from the open :term:`file object`
246 protocol argument is needed. Bytes past the pickled representation
257 Return the reconstituted object hierarchy of the pickled representation
261 protocol argument is needed. Bytes past the pickled representation
284 pickled.
333 Write the pickled representation of *obj* to the open file object given in
[all …]
Dpickletools.rst15 few useful functions for analyzing pickled data. The contents of this module
33 For example, with a tuple ``(1, 2)`` pickled in file ``x.pickle``:
Dshelve.rst94 this means that (the pickled representation of) the objects stored in the
108 A subclass of :class:`collections.abc.MutableMapping` which stores pickled
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DBoundedByteStringTest.java101 byte[] pickled = out.toByteArray(); in testJavaSerialization()
102 InputStream in = new ByteArrayInputStream(pickled); in testJavaSerialization()
DRopeByteStringTest.java210 byte[] pickled = out.toByteArray(); in testJavaSerialization()
211 InputStream in = new ByteArrayInputStream(pickled); in testJavaSerialization()
DLiteralByteStringTest.java566 byte[] pickled = out.toByteArray(); in testJavaSerialization()
567 InputStream in = new ByteArrayInputStream(pickled); in testJavaSerialization()
DNioByteStringTest.java627 byte[] pickled = out.toByteArray(); in testJavaSerialization()
628 InputStream in = new ByteArrayInputStream(pickled); in testJavaSerialization()
/external/python/cryptography/docs/
Dapi-stability.rst25 * Objects are not guaranteed to be pickleable, and pickled objects from one
/external/python/cpython3/Doc/howto/
Dclinic.rst208 Write a pickled representation of obj to the open file.
231 Write a pickled representation of obj to the open file.
260 Write a pickled representation of obj to the open file.
320 Write a pickled representation of obj to the open file.
361 Write a pickled representation of obj to the open file.
386 The object to be pickled.
389 Write a pickled representation of obj to the open file.
401 The object to be pickled.
404 Write a pickled representation of obj to the open file.
493 The object to be pickled.
[all …]
/external/python/cpython2/Misc/NEWS.d/
D2.7.14rc1.rst82 pickled incorrectly by default (like memoryview or staticmethod). This is a

1234