Home
last modified time | relevance | path

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

12

/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/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 …]
DEditorWindow.py1064 methodname = vevent.replace("-", "_")
1065 while methodname[:1] == '<':
1066 methodname = methodname[1:]
1067 while methodname[-1:] == '>':
1068 methodname = methodname[:-1]
1069 methodname = methodname + "_event"
1070 if hasattr(ins, methodname):
1071 self.text.bind(vevent, getattr(ins, methodname))
DRemoteDebugger.py293 def call(self, methodname, *args, **kwargs): argument
295 value = self.conn.remotecall(self.oid, methodname, args, kwargs)
/external/javassist/src/main/javassist/expr/
DMethodCall.java184 String classname, methodname, signature; in replace() local
190 methodname = constPool.getInterfaceMethodrefName(index); in replace()
197 methodname = constPool.getMethodrefName(index); in replace()
214 jc.recordStaticProceed(classname, methodname); in replace()
217 methodname, signature); in replace()
219 jc.recordProceed(Javac.param0Name, methodname); in replace()
/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_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_file.py121 for methodname, args in methods:
122 method = getattr(self.f, methodname)
246 for methodname, args in methods:
250 meth = getattr(f, methodname)
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))
Dstring_tests.py52 def checkequal(self, result, object, methodname, *args): argument
56 realresult = getattr(object, methodname)(*args)
67 realresult = getattr(object, methodname)(*args)
71 def checkraises(self, exc, obj, methodname, *args): argument
75 getattr(obj, methodname)(*args)
79 def checkcall(self, object, methodname, *args): argument
82 getattr(object, methodname)(*args)
Dtest_xmlrpc.py162 methodname = test_support.u(r'method\u20ac\xa4')
164 methodname=methodname)
166 self.assertEqual(xmlrpclib.loads(strg)[1], methodname)
/external/pdfium/third_party/libjpeg/
Djmorecfg.h209 #define JMETHOD(type,methodname,arglist) type (*methodname) arglist argument
211 #define JMETHOD(type,methodname,arglist) type (*methodname) () argument
/external/javassist/src/main/javassist/bytecode/
DMethodInfo.java76 public MethodInfo(ConstPool cp, String methodname, String desc) { in MethodInfo() argument
79 name = cp.addUtf8Info(methodname); in MethodInfo()
80 cachedName = methodname; in MethodInfo()
108 public MethodInfo(ConstPool cp, String methodname, MethodInfo src, in MethodInfo() argument
111 read(src, methodname, classnameMap); in MethodInfo()
499 private void read(MethodInfo src, String methodname, Map classnames) in read() argument
503 name = destCp.addUtf8Info(methodname); in read()
504 cachedName = methodname; in read()
/external/javassist/src/main/javassist/convert/
DTransformCall.java26 protected String classname, methodname, methodDescriptor; field in TransformCall
45 methodname = oldMethodName; in TransformCall()
72 String cname = cp.eqMember(methodname, methodDescriptor, index); in transform()
92 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/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/libjpeg-turbo/
Djmorecfg.h223 #define JMETHOD(type,methodname,arglist) type (*methodname) arglist argument
/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/python/cpython2/Tools/bgen/bgen/
DbgenObjectDefinition.py260 methodname = "outputHook_" + name
261 if hasattr(self, methodname):
262 func = getattr(self, methodname)
/external/python/cpython2/Include/
Dceval.h20 const char *methodname,
/external/javassist/src/main/javassist/
DClassPool.java670 public CtMethod getMethod(String classname, String methodname) in getMethod() argument
674 return c.getDeclaredMethod(methodname); in getMethod()
/external/python/cpython2/Python/
Dmodsupport.c591 PyEval_CallMethod(PyObject *obj, const char *methodname, const char *format, ...) in PyEval_CallMethod() argument
598 meth = PyObject_GetAttrString(obj, methodname); in PyEval_CallMethod()
/external/javassist/src/main/javassist/compiler/
DJavac.java519 String methodname, String descriptor) in recordSpecialProceed() argument
525 final String method = methodname; in recordSpecialProceed()

12