Home
last modified time | relevance | path

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

123

/third_party/python/Lib/test/
Dtest_multibytecodec.py131 encoder.setstate(initial_state)
137 encoder.setstate(partial_state)
151 encoder.setstate(jp_state)
154 encoder.setstate(en_state)
196 self.assertRaises(UnicodeError, encoder.setstate, pending_size_nine)
205 self.assertRaises(UnicodeDecodeError, encoder.setstate, invalid_utf8)
292 decoder.setstate((pending2, flags2))
298 decoder.setstate((b'abc', 123456789))
303 self.assertRaises(TypeError, decoder.setstate, 123)
304 self.assertRaises(TypeError, decoder.setstate, ("invalid", 0))
[all …]
Dtest_random.py38 self.gen.setstate(state) # should regenerate the same sequence
457 self.assertRaises(NotImplementedError, self.gen.setstate, None)
657 self.assertRaises(ValueError, self.gen.setstate, (1, None, None))
662 self.assertRaises(TypeError, self.gen.setstate, (2, None, None))
664 self.assertRaises(ValueError, self.gen.setstate, (2, (1,2,3), None))
666 self.assertRaises(TypeError, self.gen.setstate, (2, ('a',)*625, None))
668 self.assertRaises(TypeError, self.gen.setstate, (2, (0,)*624+('a',), None))
671 self.gen.setstate((2, (1,)*624+(625,), None))
673 self.gen.setstate((2, (1,)*624+(-1,), None))
676 self.gen.setstate(start_state)
[all …]
/third_party/zlib/contrib/iostream3/
Dzfstream.cc402 this->setstate(std::ios_base::failbit); in open()
413 this->setstate(std::ios_base::failbit); in attach()
423 this->setstate(std::ios_base::failbit); in close()
457 this->setstate(std::ios_base::failbit); in open()
468 this->setstate(std::ios_base::failbit); in attach()
478 this->setstate(std::ios_base::failbit); in close()
/third_party/python/Lib/encodings/
Dutf_8_sig.py46 def setstate(self, state): member in IncrementalEncoder
80 def setstate(self, state): member in IncrementalDecoder
82 codecs.BufferedIncrementalDecoder.setstate(self, state)
Dutf_16.py44 def setstate(self, state): member in IncrementalEncoder
89 def setstate(self, state): member in IncrementalDecoder
91 codecs.BufferedIncrementalDecoder.setstate(self, state)
Dutf_32.py39 def setstate(self, state): member in IncrementalEncoder
84 def setstate(self, state): member in IncrementalDecoder
86 codecs.BufferedIncrementalDecoder.setstate(self, state)
/third_party/python/Lib/
Drandom.py174 def setstate(self, state): member in Random
179 super().setstate(internalstate)
190 super().setstate(internalstate)
211 self.setstate(state)
847 getstate = setstate = _notimplemented
878 setstate = _inst.setstate variable
Dcodecs.py214 def setstate(self, state): member in IncrementalEncoder
251 def setstate(self, state): member in BufferedIncrementalEncoder
295 def setstate(self, state): member in IncrementalDecoder
335 def setstate(self, state): member in BufferedIncrementalDecoder
D_pyio.py1966 def setstate(self, state): member in IncrementalNewlineDecoder
1970 self.decoder.setstate((buf, flag >> 1))
2101 self._get_encoder().setstate(0)
2387 decoder.setstate((b'', dec_flags))
2406 decoder.setstate((b'', dec_flags))
2445 decoder.setstate(saved_state)
2471 encoder.setstate(0)
2518 self._decoder.setstate((b'', dec_flags))
2702 decoder.setstate(old_state)
/third_party/musl/libc-test/src/functional/
Drandom.c74 q = setstate(p); in main()
77 p = setstate(q); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h821 is.setstate(std::ios_base::failbit);
859 is.setstate(std::ios_base::failbit);
893 is.setstate(std::ios_base::failbit);
1002 is.setstate(std::ios::failbit);
1036 is.setstate(std::ios::failbit);
1054 is.setstate(std::ios::failbit);
1073 is.setstate(std::ios::failbit);
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dhex_float.h821 is.setstate(std::ios_base::failbit);
859 is.setstate(std::ios_base::failbit);
893 is.setstate(std::ios_base::failbit);
1002 is.setstate(std::ios::failbit);
1036 is.setstate(std::ios::failbit);
1054 is.setstate(std::ios::failbit);
1073 is.setstate(std::ios::failbit);
/third_party/spirv-tools/source/util/
Dhex_float.h822 is.setstate(std::ios_base::failbit);
860 is.setstate(std::ios_base::failbit);
894 is.setstate(std::ios_base::failbit);
1014 is.setstate(std::ios::failbit);
1050 is.setstate(std::ios::failbit);
1076 is.setstate(std::ios::failbit);
1102 is.setstate(std::ios::failbit);
/third_party/glslang/SPIRV/
Dhex_float.h738 is.setstate(std::ios_base::failbit);
776 is.setstate(std::ios_base::failbit);
810 is.setstate(std::ios_base::failbit);
919 is.setstate(std::ios::failbit);
950 is.setstate(std::ios::failbit);
963 is.setstate(std::ios::failbit);
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dpcg_engine.h149 is.setstate(is.rdstate() | std::ios_base::failbit);
168 is.setstate(is.rdstate() | std::ios_base::failbit);
/third_party/musl/src/prng/
Drandom.c97 char *setstate(char *state) { in setstate() function
/third_party/musl/porting/liteos_a/kernel/src/prng/
Drandom.c98 char *setstate(char *state) { in setstate() function
/third_party/musl/porting/liteos_m/kernel/src/prng/
Drandom.c97 char *setstate(char *state) { in setstate() function
/third_party/musl/porting/uniproton/kernel/src/prng/
Drandom.c97 char *setstate(char *state) { in setstate() function
/third_party/musl/porting/liteos_a/kernel/include/
Dstdlib.h120 char *setstate (char *);
/third_party/musl/porting/liteos_m/user/include/
Dstdlib.h117 char *setstate (char *);
/third_party/musl/libc-test/src/api/
Dstdlib.c90 {char*(*p)(char*) = setstate;} in f()
/third_party/musl/porting/linux/user/include/
Dstdlib.h123 char *setstate (char *);
/third_party/musl/porting/liteos_m/kernel/include/
Dstdlib.h118 char *setstate (char *);
/third_party/musl/include/
Dstdlib.h123 char *setstate (char *);

123