Home
last modified time | relevance | path

Searched refs:getstate (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Drandom.py119 def getstate(self): member in Random
121 return self.VERSION, super(Random, self).getstate(), self.gauss_next
153 s = repr(n) + repr(self.getstate())
163 return self.getstate()
169 return self.__class__, (), self.getstate()
719 def getstate(self): member in WichmannHill
833 getstate = setstate = _notimplemented variable in SystemRandom
902 getstate = _inst.getstate variable
Dcopy_reg.py74 getstate = self.__getstate__
84 dict = getstate()
Dcodecs.py184 def getstate(self): member in IncrementalEncoder
223 def getstate(self): member in BufferedIncrementalEncoder
256 def getstate(self): member in IncrementalDecoder
305 def getstate(self): member in BufferedIncrementalDecoder
D_pyio.py1400 def getstate(self): member in IncrementalNewlineDecoder
1405 buf, flag = self.decoder.getstate()
1657 dec_buffer, dec_flags = self._decoder.getstate()
1716 saved_state = decoder.getstate()
1731 dec_buffer, dec_flags = decoder.getstate()
Dpickle.py719 getstate = obj.__getstate__
723 stuff = getstate()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Drandom.py121 def getstate(self): member in Random
123 return self.VERSION, super(Random, self).getstate(), self.gauss_next
155 s = repr(n) + repr(self.getstate())
165 return self.getstate()
171 return self.__class__, (), self.getstate()
721 def getstate(self): member in WichmannHill
835 getstate = setstate = _notimplemented variable in SystemRandom
904 getstate = _inst.getstate variable
Dcopy_reg.py74 getstate = self.__getstate__
84 dict = getstate()
Dcodecs.py190 def getstate(self): member in IncrementalEncoder
229 def getstate(self): member in BufferedIncrementalEncoder
262 def getstate(self): member in IncrementalDecoder
311 def getstate(self): member in BufferedIncrementalDecoder
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
Dutf_32.py32 def getstate(self): member in IncrementalEncoder
70 def getstate(self): member in IncrementalDecoder
73 state = codecs.BufferedIncrementalDecoder.getstate(self)[0]
Dutf_8_sig.py41 def getstate(self): member in IncrementalEncoder
Dutf_16.py37 def getstate(self): member in IncrementalEncoder
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
Dutf_32.py32 def getstate(self): member in IncrementalEncoder
70 def getstate(self): member in IncrementalDecoder
73 state = codecs.BufferedIncrementalDecoder.getstate(self)[0]
Dutf_8_sig.py41 def getstate(self): member in IncrementalEncoder
Dutf_16.py37 def getstate(self): member in IncrementalEncoder
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_random.py23 state1 = self.gen.getstate()
26 state2 = self.gen.getstate()
32 state = self.gen.getstate()
48 state1 = self.gen.getstate()
50 state2 = self.gen.getstate() # s/b distinct from state1
53 state3 = self.gen.getstate() # s/b distinct from state2
165 s = self.gen.getstate()
206 self.assertRaises(NotImplementedError, self.gen.getstate)
Dtest_descr.py341 self.assertEqual(a.getstate(), 0)
343 self.assertEqual(a.getstate(), 42)
393 self.assertEqual(a.getstate(), 0)
395 self.assertEqual(a.getstate(), 100)
423 def getstate(self): member in ClassPropertiesAndMethods.test_python_dicts.C
432 self.assertEqual(a.getstate(), -1)
435 self.assertEqual(a.getstate(), 0)
438 self.assertEqual(a.getstate(), 10)
471 def getstate(self): member in ClassPropertiesAndMethods.test_metaclass.C
476 self.assertEqual(a.getstate(), 0)
[all …]
Dtest_io.py1568 def getstate(self): member in StatefulIncrementalDecoder
2293 state = decoder.getstate()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Ddatetimemodule.c2966 PyObject *getinitargs, *getstate; in tzinfo_reduce() local
2987 getstate = PyObject_GetAttrString(self, "__getstate__"); in tzinfo_reduce()
2988 if (getstate != NULL) { in tzinfo_reduce()
2989 state = PyObject_CallObject(getstate, tmp); in tzinfo_reduce()
2990 Py_DECREF(getstate); in tzinfo_reduce()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Ddatetimemodule.c2966 PyObject *getinitargs, *getstate; in tzinfo_reduce() local
2987 getstate = PyObject_GetAttrString(self, "__getstate__"); in tzinfo_reduce()
2988 if (getstate != NULL) { in tzinfo_reduce()
2989 state = PyObject_CallObject(getstate, tmp); in tzinfo_reduce()
2990 Py_DECREF(getstate); in tzinfo_reduce()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dtypeobject.c3176 PyObject *getstate = NULL, *state = NULL, *names = NULL; in reduce_2() local
3203 getstate = PyObject_GetAttrString(obj, "__getstate__"); in reduce_2()
3204 if (getstate != NULL) { in reduce_2()
3205 state = PyObject_CallObject(getstate, NULL); in reduce_2()
3206 Py_DECREF(getstate); in reduce_2()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dtypeobject.c3209 PyObject *getstate = NULL, *state = NULL, *names = NULL; in reduce_2() local
3236 getstate = PyObject_GetAttrString(obj, "__getstate__"); in reduce_2()
3237 if (getstate != NULL) { in reduce_2()
3238 state = PyObject_CallObject(getstate, NULL); in reduce_2()
3239 Py_DECREF(getstate); in reduce_2()