Home
last modified time | relevance | path

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

/external/autotest/frontend/afe/
Drpc_handler.py78 def validate_rpc_only_called_by_main(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.py487 def _call_chain(self, chain, kind, meth_name, *args): argument
493 func = getattr(handler, meth_name)
511 meth_name = protocol+"_request"
513 meth = getattr(processor, meth_name)
520 meth_name = protocol+"_response"
522 meth = getattr(processor, meth_name)
547 meth_name = 'http_error_%s' % proto
552 meth_name = proto + '_error'
554 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.py3498 for (meth_name, send_meth, expect_success, args,
3500 indata = (data_prefix + meth_name).encode('ascii')
3503 msg = "sending with {}".format(meth_name)
3511 name=meth_name, outdata=outdata[:20],
3520 "expected to succeed.\n".format(name=meth_name)
3522 if not str(e).startswith(meth_name):
3526 name=meth_name, exp=e
3530 for meth_name, recv_meth, expect_success, args in recv_methods:
3531 indata = (data_prefix + meth_name).encode('ascii')
3540 name=meth_name, outdata=outdata[:20],
[all …]
Dtest_unicode.py757 for meth_name in ('islower', 'isupper', 'istitle'):
758 meth = getattr(str, meth_name)
760 self.assertFalse(meth(s), '%a.%s() is False' % (s, meth_name))
762 for meth_name in ('isalpha', 'isalnum', 'isdigit', 'isspace',
765 meth = getattr(str, meth_name)
769 self.assertFalse(meth(s), '%a.%s() is False' % (s, meth_name))
Dtest_urllib2.py301 def __init__(self, meth_name, action, handle): argument
302 self.meth_name = meth_name
307 return self.handle(self.meth_name, self.action, *args)
Ddatetimetester.py2874 for name, meth_name, kwargs in test_cases:
2876 constr = getattr(DateTimeSubclass, 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()