/external/python/cpython3/Lib/test/ |
D | test_pickle.py | 55 pickler = pickle._Pickler variable in PyPicklerTests 60 p = self.pickler(f, proto) 91 class PersPickler(self.pickler): 111 pickler = pickle._Pickler variable in PyPersPicklerTests 118 pickler = pickle._Pickler variable in PyIdPersPicklerTests 126 pickler = Pickler(f, proto) 127 pickler.dump('abc') 129 pickler = Pickler(io.BytesIO()) 130 self.assertEqual(pickler.persistent_id('def'), 'def') 131 r = weakref.ref(pickler) [all …]
|
D | pickletester.py | 2185 pickler = self.pickler(buf, protocol=proto) 2186 pickler.fast = fast 2187 pickler.dump(obj) 2265 self.pickler(writer, proto).dump(objects) 2851 pickler = self.pickler_class(f, proto) 2853 pickler.dump(data) 2860 pickler.dump(data) 2864 pickler.clear_memo() 2868 pickler.dump(data) 2878 pickler = self.pickler_class(f) [all …]
|
D | datetimetester.py | 186 for pickler, unpickler, proto in pickle_choices: 187 green = pickler.dumps(orig, proto) 204 for pickler, unpickler, proto in pickle_choices: 205 green = pickler.dumps(orig, proto) 356 for pickler, unpickler, proto in pickle_choices: 357 tz_copy = unpickler.loads(pickler.dumps(tz, proto)) 360 for pickler, unpickler, proto in pickle_choices: 361 tz_copy = unpickler.loads(pickler.dumps(tz, proto)) 607 for pickler, unpickler, proto in pickle_choices: 608 green = pickler.dumps(orig, proto) [all …]
|
/external/python/cpython2/Lib/test/ |
D | pickletester.py | 1814 pickler = self.pickler_class(f) 1816 pickler.dump(data) 1823 pickler.dump(data) 1827 pickler.clear_memo() 1831 pickler.dump(data) 1841 pickler = self.pickler_class(f) 1843 pickler.dump(data) 1848 primed.memo = pickler.memo 1859 pickler = self.pickler_class(f) 1861 pickler.dump(data) [all …]
|
D | test_datetime.py | 19 pickle_choices = [(pickler, unpickler, proto) 20 for pickler in pickle, cPickle 105 for pickler, unpickler, proto in pickle_choices: 106 green = pickler.dumps(orig, proto) 118 for pickler, unpickler, proto in pickle_choices: 119 green = pickler.dumps(orig, proto) 320 for pickler, unpickler, proto in pickle_choices: 321 green = pickler.dumps(orig, proto) 1007 for pickler, unpickler, proto in pickle_choices: 1008 green = pickler.dumps(orig, proto) [all …]
|
/external/python/cpython3/Lib/ |
D | pickletools.py | 2289 pickler = pickle._Pickler(out, proto) 2291 pickler.framer.start_framing() 2298 data = pickler.put(idx) 2302 data = pickler.get(newids[arg]) 2305 frameless = len(data) > pickler.framer._FRAME_SIZE_TARGET 2306 pickler.framer.commit_frame(force=frameless) 2308 pickler.framer.file_write(data) 2310 pickler.write(data) 2311 pickler.framer.end_framing()
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 682 PicklerObject *pickler; /* Pickler whose memo table we're proxying. */ member 4405 if (self->pickler->memo) in _pickle_PicklerMemoProxy_clear_impl() 4406 PyMemoTable_Clear(self->pickler->memo); in _pickle_PicklerMemoProxy_clear_impl() 4425 memo = self->pickler->memo; in _pickle_PicklerMemoProxy_copy_impl() 4498 Py_XDECREF(self->pickler); in PicklerMemoProxy_dealloc() 4506 Py_VISIT(self->pickler); in PicklerMemoProxy_traverse() 4513 Py_CLEAR(self->pickler); in PicklerMemoProxy_clear() 4549 PicklerMemoProxy_New(PicklerObject *pickler) in PicklerMemoProxy_New() argument 4556 Py_INCREF(pickler); in PicklerMemoProxy_New() 4557 self->pickler = pickler; in PicklerMemoProxy_New() [all …]
|
D | parsermodule.c | 1174 PyObject *func, *pickler; in PyInit_parser() local 1181 pickler = _PyObject_GetAttrId(module, &PyId__pickler); in PyInit_parser() 1184 && (pickler != NULL)) { in PyInit_parser() 1187 res = PyObject_CallFunctionObjArgs(func, &PyST_Type, pickler, in PyInit_parser() 1193 Py_XDECREF(pickler); in PyInit_parser()
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 1130 Pickle pickler(pickle, pickle_size); in DecodeTo() local 1131 PickleIterator iter(pickler); in DecodeTo() 1139 Pickle pickler; in CreateFrom() local 1140 pickler.WriteString(info.file); in CreateFrom() 1141 pickler.WriteString(info.debug_file); in CreateFrom() 1142 size_t required_size = offsetof(ModuleInfoRecord, pickle) + pickler.size(); in CreateFrom() 1153 memcpy(record->pickle, pickler.data(), pickler.size()); in CreateFrom() 1154 record->pickle_size = pickler.size(); in CreateFrom()
|
/external/python/cpython2/Doc/library/ |
D | pickle.rst | 140 To serialize an object hierarchy, you first create a pickler, then you call the 141 pickler's :meth:`dump` method. To de-serialize a data stream, you first create 271 Clears the pickler's "memo". The memo is the data structure that remembers 272 which objects the pickler has already seen, so that shared or recursive objects 281 the memo for a :mod:`pickle` module pickler, you could do the following:: 403 between the pickler/unpickler and the objects that are being serialized. This 571 functions on the pickler and unpickler. [#]_ 574 :attr:`~Pickler.persistent_id` attribute of the pickler object and the 577 To pickle objects that have an external persistent id, the pickler must have a 580 When ``None`` is returned, the pickler simply pickles the object as normal. [all …]
|
D | pickletools.rst | 29 pickler. Successive levels, indicated by ``MARK`` opcodes in the stream, are
|
/external/python/cpython3/Doc/library/ |
D | pickle.rst | 195 The optional *protocol* argument, an integer, tells the pickler to use 297 The optional *protocol* argument, an integer, tells the pickler to use 330 A pickler object's dispatch table is a registry of *reduction 338 By default, a pickler object will not have a 341 However, to customize the pickling for a specific pickler object 653 pickler and unpickler, :meth:`~Pickler.persistent_id` and 656 To pickle objects that have an external persistent id, the pickler must have a 659 When ``None`` is returned, the pickler simply pickles the object as normal. 660 When a persistent ID string is returned, the pickler will pickle that object, 679 pickler with a private dispatch table.
|
D | copyreg.rst | 41 :attr:`~pickle.Pickler.dispatch_table` attribute of a pickler
|
D | pickletools.rst | 89 pickler. Successive levels, indicated by ``MARK`` opcodes in the
|
/external/python/cpython2/Modules/ |
D | cPickle.c | 5693 Picklerobject *pickler = 0; in cpm_dump() local 5700 if (!( pickler = newPicklerobject(file, proto))) in cpm_dump() 5703 if (dump(pickler, ob) < 0) in cpm_dump() 5710 Py_XDECREF(pickler); in cpm_dump() 5722 Picklerobject *pickler = 0; in cpm_dumps() local 5732 if (!( pickler = newPicklerobject(file, proto))) in cpm_dumps() 5735 if (dump(pickler, ob) < 0) in cpm_dumps() 5741 Py_XDECREF(pickler); in cpm_dumps()
|
D | parsermodule.c | 3515 PyObject *func, *pickler; in initparser() local 3519 pickler = PyObject_GetAttrString(module, "_pickler"); in initparser() 3522 && (pickler != NULL)) { in initparser() 3525 res = PyObject_CallFunctionObjArgs(func, &PyST_Type, pickler, in initparser() 3531 Py_XDECREF(pickler); in initparser()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a4.rst | 696 The pickler now uses less memory when serializing large bytes and str
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.1.rst | 388 Python. But now when protocol 2 or lower is selected, the pickler will
|
D | 3.3.rst | 1719 :attr:`~pickle.Pickler.dispatch_table` attribute allowing per-pickler
|
/external/python/cpython3/Misc/ |
D | HISTORY | 8704 attribute which allows setting custom per-pickler reduction functions. 22117 completely. The undocumented pickler and unpickler functions no
|
/external/python/cpython2/Misc/ |
D | HISTORY | 4733 completely. The undocumented pickler and unpickler functions no
|
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/ |
D | internal_raw_IPA-old.txt | 150197 pickler %2769 pˈɪklər, pˈɪkələr
|
D | internal_raw_IPA.txt | 126048 pickler %20155 pˈɪklər, pˈɪkələr
|