Home
last modified time | relevance | path

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

123

/external/python/cpython2/Lib/multiprocessing/
Dqueues.py76 def __getstate__(self): member in Queue
304 def __getstate__(self): member in JoinableQueue
305 return Queue.__getstate__(self) + (self._cond, self._unfinished_tasks)
364 def __getstate__(self): member in SimpleQueue
Dsynchronize.py94 def __getstate__(self): member in SemLock
204 def __getstate__(self): member in Condition
Dheap.py68 def __getstate__(self): member in Arena
/external/python/cpython3/Lib/multiprocessing/
Dqueues.py57 def __getstate__(self): member in Queue
285 def __getstate__(self): member in JoinableQueue
286 return Queue.__getstate__(self) + (self._cond, self._unfinished_tasks)
334 def __getstate__(self): member in SimpleQueue
Dsynchronize.py101 def __getstate__(self): member in SemLock
220 def __getstate__(self): member in Condition
388 def __getstate__(self): member in Barrier
Dheap.py49 def __getstate__(self): member in Arena
/external/python/cpython2/Lib/
Dcopy.py133 state = x.__getstate__()
295 state = x.__getstate__()
389 def __getstate__(self): member in _test.C
Dsets.py397 def __getstate__(self): member in ImmutableSet
416 def __getstate__(self): member in Set
Dcopy_reg.py74 getstate = self.__getstate__
Drandom.py164 def __getstate__(self): # for pickle member in Random
/external/nanopb-c/generator/google/protobuf/
Dmessage.py273 def __getstate__(self): member in Message
/external/protobuf/python/google/protobuf/
Dmessage.py288 def __getstate__(self): member in Message
/external/v8/tools/testrunner/objects/
Dtestcase.py96 def __getstate__(self): member in TestCase
/external/python/cpython2/Lib/test/
Dtest_copy.py181 def __getstate__(self): member in TestCopy.test_copy_inst_getstate.C
203 def __getstate__(self): member in TestCopy.test_copy_inst_getstate_setstate.C
407 def __getstate__(self): member in TestCopy.test_deepcopy_inst_getstate.C
435 def __getstate__(self): member in TestCopy.test_deepcopy_inst_getstate_setstate.C
643 def __getstate__(self): member in TestCopy.test_getstate_exc.EvilState
Dtest_memoryio.py673 state = memio.__getstate__()
680 self.assertRaises(ValueError, memio.__getstate__)
729 state = memio.__getstate__()
737 self.assertRaises(ValueError, memio.__getstate__)
/external/python/cpython3/Lib/
Dcopyreg.py69 getstate = self.__getstate__
Dsocket.py184 def __getstate__(self): member in socket
D_pyio.py809 def __getstate__(self): member in _BufferedIOMixin
843 def __getstate__(self): member in BytesIO
1523 def __getstate__(self): member in FileIO
Drandom.py161 def __getstate__(self): # for pickle member in Random
/external/python/cpython3/Lib/test/
Dtest_memoryio.py703 state = memio.__getstate__()
710 self.assertRaises(ValueError, memio.__getstate__)
768 state = memio.__getstate__()
803 state = memio.__getstate__()
811 self.assertRaises(ValueError, memio.__getstate__)
Dtest_copy.py229 def __getstate__(self): member in TestCopy.test_copy_inst_getstate.C
251 def __getstate__(self): member in TestCopy.test_copy_inst_getstate_setstate.C
527 def __getstate__(self): member in TestCopy.test_deepcopy_inst_getstate.C
555 def __getstate__(self): member in TestCopy.test_deepcopy_inst_getstate_setstate.C
770 def __getstate__(self): member in TestCopy.test_getstate_exc.EvilState
/external/python/cpython3/Doc/library/
Dpickle.rst426 calling :meth:`__getstate__` is picklable (see section :ref:`pickle-inst` for
525 .. method:: object.__getstate__()
528 defines the method :meth:`__getstate__`, it is called and the returned object
530 instance's dictionary. If the :meth:`__getstate__` method is absent, the
543 If :meth:`__getstate__` returns a false value, the :meth:`__setstate__`
548 the methods :meth:`__getstate__` and :meth:`__setstate__`.
569 interface (i.e., :meth:`__getnewargs_ex__`, :meth:`__getstate__` and
709 single: __getstate__() (copy protocol)
718 :meth:`__getstate__` methods are used to implement this behavior. ::
737 def __getstate__(self):
/external/python/cpython2/Doc/library/
Dpickle.rst356 calling :meth:`__getstate__` is picklable (see section :ref:`pickle-protocol`
440 .. method:: object.__getstate__()
443 defines the method :meth:`__getstate__`, it is called and the return state is
445 instance's dictionary. If there is no :meth:`__getstate__` method, the
454 :meth:`__getstate__` and :meth:`__setstate__`, the state object needn't be a
459 For :term:`new-style class`\es, if :meth:`__getstate__` returns a false
742 :meth:`__getstate__` methods are used to implement this behavior. ::
762 def __getstate__(self):
/external/libmojo/third_party/jinja2/
Dutils.py315 def __getstate__(self): member in LRUCache
/external/python/cpython3/Lib/http/
Dcookies.py387 def __getstate__(self): member in Morsel

123