Home
last modified time | relevance | path

Searched refs:methodname (Results 1 – 25 of 68) sorted by relevance

123

/external/python/cpython2/Demo/pdist/
Dserver.py77 methodname, args, id = request
78 if '.' in methodname:
79 reply = (None, self._special(methodname, args), id)
80 elif methodname[0] == '_':
81 raise NameError, "illegal method name %s" % repr(methodname)
83 method = getattr(self, methodname)
95 def _special(self, methodname, args): argument
96 if methodname == '.methods':
100 raise NameError, "unrecognized special method name %s" % repr(methodname)
/external/python/cpython3/Lib/test/
Dtest_userstring.py20 def checkequal(self, result, object, methodname, *args, **kwargs): argument
24 realresult = getattr(object, methodname)(*args, **kwargs)
30 def checkraises(self, exc, obj, methodname, *args): argument
34 getattr(obj, methodname)(*args)
37 def checkcall(self, object, methodname, *args): argument
40 getattr(object, methodname)(*args)
Dtest_file.py116 for methodname, args in methods:
117 method = getattr(self.f, methodname)
253 for methodname, args in methods:
256 meth = getattr(f, methodname)
Dtest_profile.py37 for methodname in cls.methodnames:
41 getattr(stats, methodname)()
/external/python/cpython2/Lib/idlelib/
Drpc.py169 how, (oid, methodname, args, kwargs) = request
175 if methodname == "__methods__":
179 if methodname == "__attributes__":
183 if not hasattr(obj, methodname):
184 return ("ERROR", "Unsupported method name: %r" % (methodname,))
185 method = getattr(obj, methodname)
208 def remotecall(self, oid, methodname, args, kwargs): argument
209 self.debug("remotecall:asynccall: ", oid, methodname)
210 seq = self.asynccall(oid, methodname, args, kwargs)
213 def remotequeue(self, oid, methodname, args, kwargs): argument
[all …]
/external/python/cpython3/Lib/idlelib/
Drpc.py173 how, (oid, methodname, args, kwargs) = request
179 if methodname == "__methods__":
183 if methodname == "__attributes__":
187 if not hasattr(obj, methodname):
188 return ("ERROR", "Unsupported method name: %r" % (methodname,))
189 method = getattr(obj, methodname)
216 def remotecall(self, oid, methodname, args, kwargs): argument
217 self.debug("remotecall:asynccall: ", oid, methodname)
218 seq = self.asynccall(oid, methodname, args, kwargs)
221 def remotequeue(self, oid, methodname, args, kwargs): argument
[all …]
/external/python/cpython2/Lib/test/
Dtest_userstring.py21 def checkequal(self, result, object, methodname, *args): argument
25 realresult = getattr(object, methodname)(*args)
31 def checkraises(self, exc, obj, methodname, *args): argument
35 getattr(obj, methodname)(*args)
38 def checkcall(self, object, methodname, *args): argument
41 getattr(object, methodname)(*args)
Dtest_file.py122 for methodname, args in methods:
123 method = getattr(self.f, methodname)
248 for methodname, args in methods:
251 meth = getattr(f, methodname)
Dtest_profile.py27 for methodname in cls.methodnames:
31 getattr(stats, methodname)()
Dtest_string.py14 def checkequal(self, result, object, methodname, *args): argument
15 realresult = getattr(string, methodname)(object, *args)
21 def checkraises(self, exc, obj, methodname, *args): argument
23 getattr(string, methodname)(obj, *args)
26 def checkcall(self, object, methodname, *args): argument
27 getattr(string, methodname)(object, *args)
Dtest_file2k.py135 for methodname in methods:
136 method = getattr(self.f, methodname)
140 for methodname in deprecated_methods:
141 method = getattr(self.f, methodname)
353 for methodname, args in methods:
357 meth = getattr(f, methodname)
364 (methodname, args))
/external/javassist/src/main/javassist/expr/
DMethodCall.java201 String classname, methodname, signature; in replace() local
207 methodname = constPool.getInterfaceMethodrefName(index); in replace()
214 methodname = constPool.getMethodrefName(index); in replace()
231 jc.recordStaticProceed(classname, methodname); in replace()
234 methodname, signature, index); in replace()
236 jc.recordProceed(Javac.param0Name, methodname); in replace()
/external/javassist/src/main/javassist/bytecode/
DMethodInfo.java99 public MethodInfo(ConstPool cp, String methodname, String desc) { in MethodInfo() argument
102 name = cp.addUtf8Info(methodname); in MethodInfo()
103 cachedName = methodname; in MethodInfo()
131 public MethodInfo(ConstPool cp, String methodname, MethodInfo src, in MethodInfo() argument
135 read(src, methodname, classnameMap); in MethodInfo()
541 private void read(MethodInfo src, String methodname, Map<String,String> classnames) { in read() argument
544 name = destCp.addUtf8Info(methodname); in read()
545 cachedName = methodname; in read()
/external/javassist/src/main/javassist/convert/
DTransformCall.java30 protected String classname, methodname, methodDescriptor; field in TransformCall
49 methodname = oldMethodName; in TransformCall()
78 String cname = cp.eqMember(methodname, methodDescriptor, index); in transform()
98 CtMethod m = clazz.getMethod(methodname, methodDescriptor); in matchClass()
/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py97 def dispatch(c, id, methodname, args=(), kwds={}): argument
101 c.send((id, methodname, args, kwds))
239 methodname = obj = None
241 ident, methodname, args, kwds = request
244 if methodname not in exposed:
247 (methodname, type(obj), exposed)
250 function = getattr(obj, methodname)
257 typeid = gettypeid and gettypeid.get(methodname, None)
266 if methodname is None:
270 fallback_func = self.fallback_mapping[methodname]
[all …]
/external/python/cpython3/Lib/tkinter/test/
Dwidget_tests.py522 methodname = 'test_' + option
523 if not hasattr(cls, methodname):
525 if hasattr(source_class, methodname):
526 setattr(cls, methodname,
527 getattr(source_class, methodname))
535 test.__name__ = methodname
536 setattr(cls, methodname, test)
/external/libjpeg-turbo/
Djmorecfg.h188 #define JMETHOD(type, methodname, arglist) type (*methodname) arglist argument
/external/python/cpython2/Lib/lib-tk/test/
Dwidget_tests.py545 methodname = 'test_' + option
546 if not hasattr(cls, methodname):
548 if hasattr(source_class, methodname):
549 setattr(cls, methodname,
550 getattr(source_class, methodname).im_func)
558 test.__name__ = methodname
559 setattr(cls, methodname, test)
/external/python/cpython3/Lib/multiprocessing/
Dmanagers.py84 def dispatch(c, id, methodname, args=(), kwds={}): argument
88 c.send((id, methodname, args, kwds))
243 methodname = obj = None
245 ident, methodname, args, kwds = request
255 if methodname not in exposed:
258 (methodname, type(obj), exposed)
261 function = getattr(obj, methodname)
268 typeid = gettypeid and gettypeid.get(methodname, None)
277 if methodname is None:
281 fallback_func = self.fallback_mapping[methodname]
[all …]
/external/python/cpython3/Lib/unittest/
Dloader.py48 def _make_failed_test(methodname, exception, suiteClass, message): argument
49 test = _FailedTest(methodname, exception)
52 def _make_skipped_test(methodname, exception, suiteClass): argument
56 attrs = {methodname: testSkipped}
58 return suiteClass((TestClass(methodname),))
/external/python/cpython2/Lib/
Dxmlrpclib.py1055 def dumps(params, methodname=None, methodresponse=None, encoding=None, argument
1102 if methodname:
1104 if not isinstance(methodname, StringType):
1105 methodname = methodname.encode(encoding, 'xmlcharrefreplace')
1109 "<methodName>", methodname, "</methodName>\n",
1592 def __request(self, methodname, params): argument
1595 request = dumps(params, methodname, encoding=self.__encoding,
/external/python/cpython2/Lib/unittest/
Dloader.py30 def _make_failed_test(classname, methodname, exception, suiteClass): argument
33 attrs = {methodname: testFailure}
35 return suiteClass((TestClass(methodname),))
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dloader.py42 def _make_failed_test(classname, methodname, exception, suiteClass): argument
45 attrs = {methodname: testFailure}
47 return suiteClass((TestClass(methodname),))
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DAbstractTestCase.java66 protected Method getMethod(final JavaClass cl, final String methodname) in getMethod() argument
70 if (m.getName().equals(methodname)) in getMethod()
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp28 const char methodname[], const char type[]) { in getMethodIDCheck() argument
29 jmethodID id = env->GetMethodID(clazz, methodname, type); in getMethodIDCheck()

123