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.py64 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.py80 def getcode(self): member in addinfourl
/external/python/cpython3/Lib/test/
Dtest_urllib_response.py54 self.assertEqual(infourl.getcode(), code)
Dtest_urllibnet.py106 code = open_url.getcode()
Dtest_urllib.py214 self.assertIsNone(self.returned_obj.getcode())
351 self.assertEqual(fp.getcode(), 200)
571 self.assertEqual(fp.getcode(), 200)
590 self.assertEqual(fp.getcode(), 200)
Dtest_site.py515 code = data.getcode()
/external/python/apitools/apitools/base/py/
Dutil.py76 return (o.getcode() == http_client.OK and
/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/cpython2/Lib/distutils/tests/
Dtest_upload.py54 def getcode(self): member in FakeOpen
/external/python/cpython3/Lib/distutils/command/
Dupload.py195 status = result.getcode()
/external/python/cpython2/Lib/distutils/command/
Dupload.py176 status = result.getcode()
/external/python/cpython3/Lib/distutils/tests/
Dtest_upload.py65 def getcode(self): member in FakeOpen
/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/autotest/server/
Dlab_status_unittest.py108 def getcode(self): member in _FakeURLResponse
Dsite_utils.py278 if response.getcode() == 200:
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dwebpagereplay_go_server.py264 return self._UrlOpen('web-page-replay-generate-200').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/python/cpython3/Lib/http/
Dclient.py764 def getcode(self): member in HTTPResponse
/external/python/cpython2/Lib/
Durllib.py1026 def getcode(self): member in addinfourl

12