Searched refs:getcode (Results 1 - 25 of 26) sorted by relevance

12

/external/autotest/site_utils/rpm_control_system/
H A Ddli_urllib.py20 if web_file.getcode() != 200:
/external/python/cpython2/Include/
H A Ducnhash.h26 int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code); member in struct:__anon19283
/external/python/cpython3/Include/
H A Ducnhash.h27 int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code, member in struct:__anon19860
/external/autotest/client/cros/enterprise/
H A Denterprise_fake_dmserver.py64 if urllib2.urlopen('%stest/ping' % self.server_url).getcode() == 200:
/external/python/cpython3/Lib/urllib/
H A Dresponse.py76 def getcode(self): member in class:addinfourl
/external/python/cpython3/Lib/test/
H A Dtest_urllib_response.py53 self.assertEqual(infourl.getcode(), code)
H A Dtest_urllibnet.py91 # test getcode() with the fancy opener to get 404 error codes
97 code = open_url.getcode()
H A Dtest_urllib.py155 "close", "info", "geturl", "getcode", "__iter__"):
195 self.assertIsNone(self.returned_obj.getcode())
307 self.assertEqual(fp.getcode(), 200)
443 self.assertEqual(fp.getcode(), 200)
462 self.assertEqual(fp.getcode(), 200)
513 "close", "info", "geturl", "getcode", "__iter__"):
H A Dtest_site.py435 code = data.getcode()
/external/syslinux/com32/lua/src/
H A Dlcode.c361 SETARG_C(getcode(fs, e), nresults+1);
364 SETARG_B(getcode(fs, e), nresults+1);
365 SETARG_A(getcode(fs, e), fs->freereg);
374 e->u.info = GETARG_A(getcode(fs, e));
377 SETARG_B(getcode(fs, e), 2);
441 Instruction *pc = &getcode(fs, e);
608 Instruction ie = getcode(fs, e);
832 if (e2->k == VRELOCABLE && GET_OPCODE(getcode(fs, e2)) == OP_CONCAT) {
833 lua_assert(e1->u.info == GETARG_B(getcode(fs, e2))-1);
835 SETARG_B(getcode(f
[all...]
H A Dlcode.h39 #define getcode(fs,e) ((fs)->f->code[(e)->u.info]) macro
H A Dlparser.c1491 SETARG_C(getcode(fs, &v.v), 1); /* call statement uses no results */
1508 SET_OPCODE(getcode(fs,&e), OP_TAILCALL);
1509 lua_assert(GETARG_A(getcode(fs,&e)) == fs->nactvar);
/external/python/cpython2/Lib/distutils/tests/
H A Dtest_upload.py54 def getcode(self): member in class:FakeOpen
/external/autotest/server/
H A Dlab_status_unittest.py102 def getcode(self): member in class:_FakeURLResponse
H A Dsite_utils.py270 if response.getcode() == 200:
/external/python/cpython2/Lib/distutils/command/
H A Dupload.py176 status = result.getcode()
/external/python/cpython2/Lib/test/
H A Dtest_urllib.py94 "close", "info", "geturl", "getcode", "__iter__"):
134 self.assertEqual(self.returned_obj.getcode(), None)
245 self.assertEqual(fp.getcode(), 200)
344 self.assertEqual(fp.getcode(), 200)
362 self.assertEqual(fp.getcode(), 200)
H A Dtest_urllibnet.py113 # test getcode() with the fancy opener to get 404 error codes
117 code = open_url.getcode()
/external/python/cpython3/Lib/distutils/command/
H A Dupload.py182 status = result.getcode()
/external/python/cpython3/Lib/distutils/tests/
H A Dtest_upload.py65 def getcode(self): member in class:FakeOpen
/external/python/cpython2/Modules/
H A Dpyexpat.c262 getcode(enum HandlerTypes slot, char* func_name, int lineno) function
441 temp = call_with_frame(getcode(CharacterData, "CharacterData", __LINE__),
566 rv = call_with_frame(getcode(StartElement, "StartElement", __LINE__),
593 rv = call_with_frame(getcode(NAME,#NAME,__LINE__), \
750 rv = call_with_frame(getcode(ElementDecl, "ElementDecl", __LINE__),
/external/toolchain-utils/cros_utils/
H A Dbuildbot_json.py978 if channel.getcode() >= 400:
980 raise urllib2.HTTPError(url, channel.getcode(), '%s:\n%s' % (url, data),
/external/python/cpython3/Lib/http/
H A Dclient.py781 def getcode(self): member in class:HTTPResponse
/external/python/cpython2/Lib/
H A Durllib.py1026 def getcode(self): member in class:addinfourl
/external/python/cpython2/Objects/
H A Dunicodeobject.c2817 Py_UCS4 chr = 0xffffffff; /* in case 'getcode' messes up */
2963 ucnhash_CAPI->getcode(NULL, start, (int)(s-start-1), &chr))

Completed in 886 milliseconds

12