Home
last modified time | relevance | path

Searched refs:__getstate__ (Results 1 – 25 of 39) sorted by relevance

12

/third_party/protobuf/python/google/protobuf/
Dmessage.py383 def __getstate__(self): member in Message
400 return type(self), (), self.__getstate__()
406 self.__getstate__())
/third_party/PyYAML/tests/lib/
Dtest_constructor.py105 def __getstate__(self): member in _make_objects.YAMLObject2
144 def __getstate__(self): member in _make_objects.AState
156 def __getstate__(self): member in _make_objects.ACustomState
164 def __getstate__(self): member in _make_objects.NewArgs
170 def __getstate__(self): member in _make_objects.NewArgsWithState
Dtest_recursive.py19 def __getstate__(self): member in AnInstanceWithState
/third_party/python/Lib/multiprocessing/
Dqueues.py57 def __getstate__(self): member in Queue
302 def __getstate__(self): member in JoinableQueue
303 return Queue.__getstate__(self) + (self._cond, self._unfinished_tasks)
356 def __getstate__(self): member in SimpleQueue
Dsynchronize.py100 def __getstate__(self): member in SemLock
219 def __getstate__(self): member in Condition
376 def __getstate__(self): member in Barrier
Dheap.py53 def __getstate__(self): member in Arena
Dmanagers.py71 def __getstate__(self): member in Token
1263 def __getstate__(self): member in _SharedMemoryTracker
/third_party/python/Lib/test/
Dtest_memoryio.py729 state = memio.__getstate__()
736 self.assertRaises(ValueError, memio.__getstate__)
795 state = memio.__getstate__()
830 state = memio.__getstate__()
838 self.assertRaises(ValueError, memio.__getstate__)
Dtest_copy.py230 def __getstate__(self): member in TestCopy.test_copy_inst_getstate.C
252 def __getstate__(self): member in TestCopy.test_copy_inst_getstate_setstate.C
528 def __getstate__(self): member in TestCopy.test_deepcopy_inst_getstate.C
556 def __getstate__(self): member in TestCopy.test_deepcopy_inst_getstate_setstate.C
760 def __getstate__(self): member in TestCopy.test_getstate_exc.EvilState
Dtest_descr.py3784 def __getstate__(self): member in ClassPropertiesAndMethods.test_copy_setstate.C
5154 def __getstate__(self): member in PicklingTests.test_reduce.C11
5161 def __getstate__(self): member in PicklingTests.test_reduce.C12
5168 def __getstate__(self): member in PicklingTests.test_reduce.C13
5209 def __getstate__(self): member in PicklingTests.test_special_method_lookup.Picky
5291 def __getstate__(self): member in PicklingTests.test_pickle_slots.C
5304 return "%s()<%r>" % (type(self).__name__, self.__getstate__())
5385 def __getstate__(cls): member in PicklingTests.test_reduce_copying.C3
/third_party/python/Lib/
Dcopyreg.py80 getstate = self.__getstate__
Duuid.py224 def __getstate__(self): member in UUID
D_pyio.py889 def __getstate__(self): member in _BufferedIOMixin
926 def __getstate__(self): member in BytesIO
1637 def __getstate__(self): member in FileIO
Drandom.py207 def __getstate__(self): # for pickle member in Random
Dsocket.py272 def __getstate__(self): member in socket
/third_party/node/deps/v8/tools/testrunner/outproc/
Dbase.py113 def __getstate__(self): member in OutProc
/third_party/python/Doc/library/
Dpickle.rst513 calling :meth:`__getstate__` is picklable (see section :ref:`pickle-inst` for
612 .. method:: object.__getstate__()
615 defines the method :meth:`__getstate__`, it is called and the returned object
617 instance's dictionary. If the :meth:`__getstate__` method is absent, the
630 If :meth:`__getstate__` returns a false value, the :meth:`__setstate__`
635 the methods :meth:`__getstate__` and :meth:`__setstate__`.
656 interface (i.e., :meth:`__getnewargs_ex__`, :meth:`__getstate__` and
805 single: __getstate__() (copy protocol)
814 :meth:`__getstate__` methods are used to implement this behavior. ::
833 def __getstate__(self):
/third_party/python/Lib/asyncio/
Dtrsock.py61 def __getstate__(self): member in TransportSocket
/third_party/python/Lib/http/
Dcookies.py360 def __getstate__(self): member in Morsel
/third_party/PyYAML/lib/yaml/
Drepresenter.py225 state = data.__getstate__()
/third_party/node/tools/inspector_protocol/jinja2/
Dutils.py327 def __getstate__(self): member in LRUCache
/third_party/skia/third_party/externals/jinja2/
Dutils.py362 def __getstate__(self): member in LRUCache
/third_party/node/deps/v8/third_party/jinja2/
Dutils.py362 def __getstate__(self): member in LRUCache
/third_party/jinja2/
Dutils.py442 def __getstate__(self) -> t.Mapping[str, t.Any]: member in LRUCache
/third_party/python/Lib/xml/dom/
Dminidom.py628 def __getstate__(self): member in NamedNodeMap
1281 def __getstate__(self): member in ReadOnlySequentialNamedNodeMap
1530 def __getstate__(self): member in ElementInfo

12