Home
last modified time | relevance | path

Searched refs:meth_name (Results 1 – 13 of 13) sorted by relevance

/external/autotest/frontend/afe/
Drpc_handler.py78 def validate_rpc_only_called_by_master(self, meth_name, remote_ip): argument
91 if meth_name in self._shard_rpc_methods:
97 meth_name, remote_ip, global_afe_ip))
224 meth_name = decoded_request['method']
226 meth_name, remote_ip)
/external/python/cpython2/Lib/
Dpyclbr.py166 tokentype, meth_name, start = g.next()[0:3]
173 cur_class._addmethod(meth_name, lineno)
177 dict[meth_name] = Function(fullmodule, meth_name,
Durllib2.py399 def _call_chain(self, chain, kind, meth_name, *args): argument
405 func = getattr(handler, meth_name)
424 meth_name = protocol+"_request"
426 meth = getattr(processor, meth_name)
432 meth_name = protocol+"_response"
434 meth = getattr(processor, meth_name)
459 meth_name = 'http_error_%s' % proto
464 meth_name = proto + '_error'
466 args = (dict, proto, meth_name) + args
/external/python/cpython3/Lib/test/test_importlib/builtin/
Dtest_loader.py96 for meth_name in ('get_code', 'get_source', 'is_package'):
97 method = getattr(self.machinery.BuiltinImporter, meth_name)
/external/python/cpython3/Lib/test/test_importlib/frozen/
Dtest_loader.py213 for meth_name in ('get_code', 'get_source', 'is_package'):
214 method = getattr(self.machinery.FrozenImporter, meth_name)
/external/python/cpython3/Lib/urllib/
Drequest.py496 def _call_chain(self, chain, kind, meth_name, *args): argument
502 func = getattr(handler, meth_name)
520 meth_name = protocol+"_request"
522 meth = getattr(processor, meth_name)
528 meth_name = protocol+"_response"
530 meth = getattr(processor, meth_name)
555 meth_name = 'http_error_%s' % proto
560 meth_name = proto + '_error'
562 args = (dict, proto, meth_name) + args
/external/python/cpython2/Lib/test/
Dtest_ssl.py2581 for meth_name, send_meth, expect_success, args in send_methods:
2582 indata = (data_prefix + meth_name).encode('ascii')
2591 name=meth_name, outdata=outdata[:20],
2600 "expected to succeed.\n".format(name=meth_name)
2602 if not str(e).startswith(meth_name):
2606 name=meth_name, exp=e
2610 for meth_name, recv_meth, expect_success, args in recv_methods:
2611 indata = (data_prefix + meth_name).encode('ascii')
2620 name=meth_name, outdata=outdata[:20],
2629 "expected to succeed.\n".format(name=meth_name)
[all …]
Dtest_urllib2.py273 def __init__(self, meth_name, action, handle): argument
274 self.meth_name = meth_name
278 return self.handle(self.meth_name, self.action, *args)
Dtest_unicode.py453 for meth_name in ('islower', 'isupper', 'istitle'):
454 meth = getattr(unicode, meth_name)
456 self.assertFalse(meth(s), '%r.%s() is False' % (s, meth_name))
458 for meth_name in ('isalpha', 'isalnum', 'isdigit', 'isspace',
460 meth = getattr(unicode, meth_name)
464 self.assertFalse(meth(s), '%r.%s() is False' % (s, meth_name))
/external/python/cpython3/Lib/test/
Dtest_ssl.py3390 for (meth_name, send_meth, expect_success, args,
3392 indata = (data_prefix + meth_name).encode('ascii')
3395 msg = "sending with {}".format(meth_name)
3403 name=meth_name, outdata=outdata[:20],
3412 "expected to succeed.\n".format(name=meth_name)
3414 if not str(e).startswith(meth_name):
3418 name=meth_name, exp=e
3422 for meth_name, recv_meth, expect_success, args in recv_methods:
3423 indata = (data_prefix + meth_name).encode('ascii')
3432 name=meth_name, outdata=outdata[:20],
[all …]
Dtest_urllib2.py299 def __init__(self, meth_name, action, handle): argument
300 self.meth_name = meth_name
305 return self.handle(self.meth_name, self.action, *args)
Dtest_unicode.py737 for meth_name in ('islower', 'isupper', 'istitle'):
738 meth = getattr(str, meth_name)
740 self.assertFalse(meth(s), '%a.%s() is False' % (s, meth_name))
742 for meth_name in ('isalpha', 'isalnum', 'isdigit', 'isspace',
745 meth = getattr(str, meth_name)
749 self.assertFalse(meth(s), '%a.%s() is False' % (s, meth_name))
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/statics/
DPass3aVerifier.java1078 …final String meth_name = Repository.lookupClass(myOwner.getClassName()).getMethods()[method_no].ge… in visitPUTSTATIC() local
1081 if ((!(jc.isClass())) && (!(meth_name.equals(Const.STATIC_INITIALIZER_NAME)))) { in visitPUTSTATIC()