/external/python/cpython3/Lib/test/ |
D | test_pickle.py | 60 pickler = pickle._Pickler variable in PyPicklerTests 65 p = self.pickler(f, proto, **kwargs) 96 class PersPickler(self.pickler): 116 pickler = pickle._Pickler variable in PyPersPicklerTests 123 pickler = pickle._Pickler variable in PyIdPersPicklerTests 131 pickler = Pickler(f, proto) 132 pickler.dump('abc') 134 pickler = Pickler(io.BytesIO()) 135 self.assertEqual(pickler.persistent_id('def'), 'def') 136 r = weakref.ref(pickler) [all …]
|
D | pickletester.py | 2578 pickler = self.pickler(buf, protocol=proto) 2579 pickler.fast = fast 2580 pickler.dump(obj) 2660 self.pickler(writer, proto).dump(objects) 3503 pickler = self.pickler_class(f, proto) 3505 pickler.dump(data) 3512 pickler.dump(data) 3516 pickler.clear_memo() 3520 pickler.dump(data) 3530 pickler = self.pickler_class(f) [all …]
|
D | datetimetester.py | 192 for pickler, unpickler, proto in pickle_choices: 193 green = pickler.dumps(orig, proto) 210 for pickler, unpickler, proto in pickle_choices: 211 green = pickler.dumps(orig, proto) 374 for pickler, unpickler, proto in pickle_choices: 375 tz_copy = unpickler.loads(pickler.dumps(tz, proto)) 378 for pickler, unpickler, proto in pickle_choices: 379 tz_copy = unpickler.loads(pickler.dumps(tz, proto)) 673 for pickler, unpickler, proto in pickle_choices: 674 green = pickler.dumps(orig, proto) [all …]
|
/external/cronet/components/metrics/ |
D | persistent_system_profile.cc | 346 base::Pickle pickler; in AddFieldTrial() local 347 pickler.WriteString(trial); in AddFieldTrial() 348 pickler.WriteString(group); in AddFieldTrial() 351 base::StringPiece(pickler.data_as_char(), pickler.size())); in AddFieldTrial() 358 base::Pickle pickler; in RemoveFieldTrial() local 359 pickler.WriteString(trial); in RemoveFieldTrial() 360 pickler.WriteString(kFieldTrialDeletionSentinel); in RemoveFieldTrial() 363 base::StringPiece(pickler.data_as_char(), pickler.size())); in RemoveFieldTrial() 430 base::Pickle pickler(record.data(), record.size()); in MergeUpdateRecords() local 431 base::PickleIterator iter(pickler); in MergeUpdateRecords()
|
/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 | 2367 pickler = pickle._Pickler(out, proto) 2369 pickler.framer.start_framing() 2376 data = pickler.put(idx) 2380 data = pickler.get(newids[arg]) 2383 frameless = len(data) > pickler.framer._FRAME_SIZE_TARGET 2384 pickler.framer.commit_frame(force=frameless) 2386 pickler.framer.file_write(data) 2388 pickler.write(data) 2389 pickler.framer.end_framing()
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 701 PicklerObject *pickler; /* Pickler whose memo table we're proxying. */ member 4797 if (self->pickler->memo) in _pickle_PicklerMemoProxy_clear_impl() 4798 PyMemoTable_Clear(self->pickler->memo); in _pickle_PicklerMemoProxy_clear_impl() 4817 memo = self->pickler->memo; in _pickle_PicklerMemoProxy_copy_impl() 4890 Py_XDECREF(self->pickler); in PicklerMemoProxy_dealloc() 4898 Py_VISIT(self->pickler); in PicklerMemoProxy_traverse() 4905 Py_CLEAR(self->pickler); in PicklerMemoProxy_clear() 4941 PicklerMemoProxy_New(PicklerObject *pickler) in PicklerMemoProxy_New() argument 4948 Py_INCREF(pickler); in PicklerMemoProxy_New() 4949 self->pickler = pickler; in PicklerMemoProxy_New() [all …]
|
/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 | copyreg.rst | 41 :attr:`~pickle.Pickler.dispatch_table` attribute of a pickler
|
D | pickle.rst | 303 The optional *protocol* argument, an integer, tells the pickler to use 350 A pickler object's dispatch table is a registry of *reduction 358 By default, a pickler object will not have a 361 However, to customize the pickling for a specific pickler object 741 pickler and unpickler, :meth:`~Pickler.persistent_id` and 744 To pickle objects that have an external persistent ID, the pickler must have a 747 When ``None`` is returned, the pickler simply pickles the object as normal. 748 When a persistent ID string is returned, the pickler will pickle that object, 767 pickler with a private dispatch table.
|
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 | 695 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/cldr-code/src/main/resources/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
|