/third_party/python/Lib/test/ |
D | test_multibytecodec.py | 129 initial_state = encoder.getstate() 135 partial_state = encoder.getstate() 145 en_state = encoder.getstate() 148 jp_state = encoder.getstate() 164 self.assertEqual(buffer_state_encoder.getstate(), 0) 166 self.assertEqual(buffer_state_encoder.getstate(), 173 self.assertEqual(buffer_state_encoder.getstate(), 0) 177 self.assertEqual(non_buffer_state_encoder.getstate(), 183 self.assertEqual(non_buffer_state_encoder.getstate(), 278 pending1, _ = decoder.getstate() [all …]
|
D | test_random.py | 27 state1 = self.gen.getstate() 30 state2 = self.gen.getstate() 36 state = self.gen.getstate() 456 self.assertRaises(NotImplementedError, self.gen.getstate) 660 start_state = self.gen.getstate() 683 state_values = self.gen.getstate()[1]
|
D | test_descr.py | 340 self.assertEqual(a.getstate(), 0) 342 self.assertEqual(a.getstate(), 42) 390 self.assertEqual(a.getstate(), 0) 392 self.assertEqual(a.getstate(), 100) 432 def getstate(self): member in ClassPropertiesAndMethods.test_python_dicts.C 441 self.assertEqual(a.getstate(), -1) 444 self.assertEqual(a.getstate(), 0) 447 self.assertEqual(a.getstate(), 10) 479 def getstate(self): member in ClassPropertiesAndMethods.test_metaclass.C 484 self.assertEqual(a.getstate(), 0) [all …]
|
D | test_codecs.py | 79 state = d.getstate() 89 self.assertEqual(state, d.getstate()) 101 state = d.getstate()
|
D | test_io.py | 2484 def getstate(self): member in StatefulIncrementalDecoder 3506 def getstate(self): member in TextIOWrapperTest.test_illegal_decoder._make_very_illegal_wrapper.BadDecoder 3820 state = decoder.getstate()
|
/third_party/boost/libs/python/src/object/ |
D | pickle_support.cpp | 45 object getstate = getattr(instance_obj, "__getstate__", none); in instance_reduce() local 51 if (!getstate.is_none()) { in instance_reduce() 62 result.append(getstate()); in instance_reduce()
|
/third_party/python/Lib/encodings/ |
D | utf_8_sig.py | 43 def getstate(self): member in IncrementalEncoder 75 def getstate(self): member in IncrementalDecoder 76 state = codecs.BufferedIncrementalDecoder.getstate(self)
|
D | utf_32.py | 32 def getstate(self): member in IncrementalEncoder 70 def getstate(self): member in IncrementalDecoder 73 state = codecs.BufferedIncrementalDecoder.getstate(self)[0]
|
D | utf_16.py | 37 def getstate(self): member in IncrementalEncoder 75 def getstate(self): member in IncrementalDecoder 78 state = codecs.BufferedIncrementalDecoder.getstate(self)[0]
|
/third_party/python/Lib/ |
D | random.py | 170 def getstate(self): member in Random 172 return self.VERSION, super().getstate(), self.gauss_next 208 return self.getstate() 214 return self.__class__, (), self.getstate() 847 getstate = setstate = _notimplemented variable in SystemRandom 877 getstate = _inst.getstate variable
|
D | copyreg.py | 80 getstate = self.__getstate__ 92 dict = getstate()
|
D | codecs.py | 208 def getstate(self): member in IncrementalEncoder 248 def getstate(self): member in BufferedIncrementalEncoder 281 def getstate(self): member in IncrementalDecoder 331 def getstate(self): member in BufferedIncrementalDecoder
|
D | _pyio.py | 1955 def getstate(self): member in IncrementalNewlineDecoder 1960 buf, flag = self.decoder.getstate() 2307 dec_buffer, dec_flags = self._decoder.getstate() 2374 saved_state = decoder.getstate() 2391 b, d = decoder.getstate() 2426 dec_buffer, dec_flags = decoder.getstate() 2697 old_state = decoder.getstate()
|
D | datetime.py | 1172 getstate = getattr(self, "__getstate__", None) 1173 if getstate: 1174 state = getstate()
|
/third_party/boost/libs/python/test/ |
D | pickle2.cpp | 60 getstate(const world& w) in getstate() function
|
D | pickle3.cpp | 57 getstate(boost::python::object w_obj) in getstate() function
|
/third_party/boost/boost/python/object/ |
D | pickle_support.hpp | 40 static inaccessible* getstate() { return 0; } in getstate() function
|
/third_party/python/Doc/library/ |
D | random.rst | 38 :meth:`~Random.seed`, :meth:`~Random.getstate`, and :meth:`~Random.setstate` methods. 94 .. function:: getstate() 102 *state* should have been obtained from a previous call to :func:`getstate`, and 104 the time :func:`getstate` was called. 392 The :meth:`getstate` and :meth:`setstate` methods raise
|
D | codecs.rst | 572 .. method:: getstate() 584 returned by :meth:`getstate`. 631 .. method:: getstate() 649 returned by :meth:`getstate`.
|
/third_party/boost/boost/python/ |
D | class.hpp | 344 &PickleSuiteType::getstate, in def_pickle()
|
/third_party/python/Modules/_io/ |
D | _iomodule.c | 790 ADD_INTERNED(getstate) in PyInit__io()
|
/third_party/boost/libs/python/doc/reference/ |
D | pickle.qbk | 61 getstate(const world& w)
|
/third_party/python/Modules/ |
D | _datetimemodule.c | 3734 PyObject *getinitargs, *getstate; in tzinfo_reduce() local 3752 if (_PyObject_LookupAttrId(self, &PyId___getstate__, &getstate) < 0) { in tzinfo_reduce() 3756 if (getstate != NULL) { in tzinfo_reduce() 3757 state = PyObject_CallNoArgs(getstate); in tzinfo_reduce() 3758 Py_DECREF(getstate); in tzinfo_reduce()
|
/third_party/python/Objects/ |
D | typeobject.c | 4890 PyObject *getstate; in _PyObject_GetState() local 4893 if (_PyObject_LookupAttrId(obj, &PyId___getstate__, &getstate) < 0) { in _PyObject_GetState() 4896 if (getstate == NULL) { in _PyObject_GetState() 5018 state = _PyObject_CallNoArg(getstate); in _PyObject_GetState() 5019 Py_DECREF(getstate); in _PyObject_GetState()
|
/third_party/boost/libs/python/doc/ |
D | article.rst | 714 getstate and setstate functions. C++'s static type system allows the 716 functions (e.g. getstate without setstate) are not used.
|