Home
last modified time | relevance | path

Searched refs:error_proto (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Lib/
Dpoplib.py30 class error_proto(Exception): pass class
130 raise error_proto('line too long')
133 if not line: raise error_proto('-ERR EOF')
152 raise error_proto(resp)
327 raise error_proto('-ERR APOP not supported by server')
385 except error_proto as _err:
386 raise error_proto('-ERR CAPA not supported by server')
396 raise error_proto('-ERR TLS support missing')
398 raise error_proto('-ERR TLS session already established')
401 raise error_proto('-ERR STLS not supported by server')
[all …]
Dftplib.py61 class error_proto(Error): pass # response does not begin with [1-5] class
247 raise error_proto(resp)
267 raise error_proto(resp)
298 raise error_proto('unsupported address family')
810 raise error_proto(resp)
852 raise error_proto(resp)
867 if left < 0: raise error_proto(resp)
870 raise error_proto(resp) # should contain '(|||port|)'
872 raise error_proto(resp)
875 raise error_proto(resp)
[all …]
/external/python/cpython2/Lib/
Dpoplib.py22 class error_proto(Exception): pass class
114 raise error_proto('line too long')
116 if not line: raise error_proto('-ERR EOF')
136 raise error_proto(resp)
260 except error_proto, val:
292 raise error_proto('-ERR APOP not supported by server')
367 raise error_proto('-ERR EOF')
377 raise error_proto('line too long')
405 except error_proto, val:
Dftplib.py67 class error_proto(Error): pass # response does not begin with [1-5] class
227 raise error_proto, resp
246 raise error_proto, resp
276 raise error_proto, 'unsupported address family'
849 raise error_proto, resp
864 if left < 0: raise error_proto, resp
867 raise error_proto, resp # should contain '(|||port|)'
869 raise error_proto, resp
872 raise error_proto, resp
918 if treply[:3] not in ('125', '150'): raise error_proto # RFC 959
[all …]
Dnntplib.py81 error_proto = NNTPProtocolError variable
/external/python/cpython3/Lib/test/
Dtest_poplib.py271 self.assertRaises(poplib.error_proto, self.client._shortcmd, 'echo -err')
275 self.assertRaises(poplib.error_proto, self.client.user, 'invalid')
279 self.assertRaises(poplib.error_proto, self.client.user, 'invalid')
300 self.assertRaises(poplib.error_proto, self.client._shortcmd,
323 self.assertRaises(poplib.error_proto, self.client.apop, 'a', 'kb')
339 self.assertRaises(poplib.error_proto, self.client.utf8)
430 self.assertRaises(poplib.error_proto, self.client.stls)
453 except poplib.error_proto:
463 self.assertRaises(poplib.error_proto, self.client.stls)
Dtest_ftplib.py501 self.assertRaises(ftplib.error_proto, self.client.sendcmd, 'echo 999')
505 ftplib.error_proto, ftplib.Error, OSError,
/external/tensorflow/tensorflow/core/graph/
Dgraph_test.cc608 FunctionDefLibrary error_proto = proto; in TEST_F() local
609 *error_proto.mutable_function(0)->add_node_def() = in TEST_F()
610 error_proto.function(0).node_def(0); in TEST_F()
611 Status s = graph_.AddFunctionLibrary(error_proto); in TEST_F()
618 error_proto = proto; in TEST_F()
619 error_proto.mutable_function(0)->mutable_signature()->set_name("Add"); in TEST_F()
620 s = graph_.AddFunctionLibrary(error_proto); in TEST_F()
638 error_proto = proto; in TEST_F()
639 error_proto.mutable_gradient(0)->set_gradient_func("Undefined2"); in TEST_F()
640 s = graph_.AddFunctionLibrary(error_proto); in TEST_F()
/external/python/cpython2/Lib/test/
Dtest_poplib.py175 self.assertRaises(poplib.error_proto, self.client._shortcmd, 'echo -err')
179 self.assertRaises(poplib.error_proto, self.client.user, 'invalid')
183 self.assertRaises(poplib.error_proto, self.client.user, 'invalid')
202 self.assertRaises(poplib.error_proto, self.client._shortcmd,
222 self.assertRaises(poplib.error_proto, self.client.apop, 'a', 'kb')
Dtest_ftplib.py449 self.assertRaises(ftplib.error_proto, self.client.sendcmd, 'echo 999')
453 ftplib.error_proto, ftplib.Error, IOError, EOFError)
/external/python/cpython3/Doc/library/
Dpoplib.rst75 .. exception:: error_proto
209 raises :class:`error_proto` if not. Specified in :RFC:`6856`.
Dftplib.rst135 .. exception:: error_proto
/external/python/cpython2/Doc/library/
Dpoplib.rst54 .. exception:: error_proto
Dnntplib.rst108 ``error_proto`` is equivalent to this class.
Dftplib.rst117 .. exception:: error_proto
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2424 :exc:`poplib.error_proto` errors may need to be changed if errors on ``quit``