Home
last modified time | relevance | path

Searched refs:getcode (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython2/Include/
Ducnhash.h26 int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code); member
/external/python/cpython3/Include/
Ducnhash.h27 int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code, member
/external/autotest/site_utils/rpm_control_system/
Ddli_urllib.py20 if web_file.getcode() != 200:
/external/autotest/client/cros/enterprise/
Denterprise_fake_dmserver.py61 if urllib2.urlopen('%stest/ping' % self.server_url).getcode() == 200:
/external/grpc-grpc/tools/failures/
Ddetect_new_failures.py49 if 200 <= response.getcode() < 300:
53 response.getcode(), response.geturl()))
/external/python/cpython3/Lib/urllib/
Dresponse.py76 def getcode(self): member in addinfourl
/external/python/cpython3/Lib/test/
Dtest_urllib_response.py53 self.assertEqual(infourl.getcode(), code)
Dtest_urllibnet.py100 code = open_url.getcode()
Dtest_urllib.py195 self.assertIsNone(self.returned_obj.getcode())
310 self.assertEqual(fp.getcode(), 200)
445 self.assertEqual(fp.getcode(), 200)
464 self.assertEqual(fp.getcode(), 200)
Dtest_site.py498 code = data.getcode()
/external/python/cpython2/Lib/test/
Dtest_urllib.py134 self.assertEqual(self.returned_obj.getcode(), None)
246 self.assertEqual(fp.getcode(), 200)
345 self.assertEqual(fp.getcode(), 200)
363 self.assertEqual(fp.getcode(), 200)
Dtest_urllibnet.py117 code = open_url.getcode()
/external/python/apitools/apitools/base/py/
Dutil.py72 return (o.getcode() == http_client.OK and
/external/python/cpython2/Lib/distutils/tests/
Dtest_upload.py54 def getcode(self): member in FakeOpen
/external/python/cpython3/Lib/distutils/command/
Dupload.py181 status = result.getcode()
/external/python/cpython2/Lib/distutils/command/
Dupload.py176 status = result.getcode()
/external/python/cpython2/Modules/
Dpyexpat.c262 getcode(enum HandlerTypes slot, char* func_name, int lineno) in getcode() function
441 temp = call_with_frame(getcode(CharacterData, "CharacterData", __LINE__), in call_character_handler()
566 rv = call_with_frame(getcode(StartElement, "StartElement", __LINE__), in my_StartElementHandler()
593 rv = call_with_frame(getcode(NAME,#NAME,__LINE__), \
750 rv = call_with_frame(getcode(ElementDecl, "ElementDecl", __LINE__), in my_ElementDeclHandler()
/external/python/cpython3/Lib/distutils/tests/
Dtest_upload.py65 def getcode(self): member in FakeOpen
/external/autotest/server/
Dlab_status_unittest.py102 def getcode(self): member in _FakeURLResponse
Dsite_utils.py270 if response.getcode() == 200:
/external/python/cpython2/Doc/library/
Durllib.rst53 :meth:`close`, :meth:`info`, :meth:`getcode` and :meth:`geturl`. It also
59 Except for the :meth:`info`, :meth:`getcode` and :meth:`geturl` methods,
85 The :meth:`getcode` method returns the HTTP status code that was sent with the
146 Added :meth:`getcode` to returned object and support for the
Durllib2.rst69 * :meth:`getcode` --- return the HTTP status code of the response.
/external/toolchain-utils/cros_utils/
Dbuildbot_json.py978 if channel.getcode() >= 400:
980 raise urllib2.HTTPError(url, channel.getcode(), '%s:\n%s' % (url, data),
/external/python/cpython3/Lib/http/
Dclient.py772 def getcode(self): member in HTTPResponse
/external/python/cpython2/Lib/
Durllib.py1026 def getcode(self): member in addinfourl

12