Home
last modified time | relevance | path

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

123

/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)
242 for methodname, args in methods:
245 meth = getattr(f, methodname)
Dtest_profile.py36 for methodname in cls.methodnames:
40 getattr(stats, methodname)()
/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))
/external/python/cpython3/Lib/idlelib/
Drpc.py174 how, (oid, methodname, args, kwargs) = request
180 if methodname == "__methods__":
184 if methodname == "__attributes__":
188 if not hasattr(obj, methodname):
189 return ("ERROR", "Unsupported method name: %r" % (methodname,))
190 method = getattr(obj, methodname)
217 def remotecall(self, oid, methodname, args, kwargs): argument
218 self.debug("remotecall:asynccall: ", oid, methodname)
219 seq = self.asynccall(oid, methodname, args, kwargs)
222 def remotequeue(self, oid, methodname, args, kwargs): argument
[all …]
Deditor.py1091 methodname = vevent.replace("-", "_")
1092 while methodname[:1] == '<':
1093 methodname = methodname[1:]
1094 while methodname[-1:] == '>':
1095 methodname = methodname[:-1]
1096 methodname = methodname + "_event"
1097 if hasattr(ins, methodname):
1098 self.text.bind(vevent, getattr(ins, methodname))
/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_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_profile.py27 for methodname in cls.methodnames:
31 getattr(stats, 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))
/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/multiprocessing/
Dmanagers.py74 def dispatch(c, id, methodname, args=(), kwds={}): argument
78 c.send((id, methodname, args, kwds))
233 methodname = obj = None
235 ident, methodname, args, kwds = request
245 if methodname not in exposed:
248 (methodname, type(obj), exposed)
251 function = getattr(obj, methodname)
258 typeid = gettypeid and gettypeid.get(methodname, None)
267 if methodname is None:
271 fallback_func = self.fallback_mapping[methodname]
[all …]
/external/python/cpython3/Lib/tkinter/test/
Dwidget_tests.py527 methodname = 'test_' + option
528 if not hasattr(cls, methodname):
530 if hasattr(source_class, methodname):
531 setattr(cls, methodname,
532 getattr(source_class, methodname))
540 test.__name__ = methodname
541 setattr(cls, methodname, test)
/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/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/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()
/external/skia/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()
/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/python/cpython2/Tools/bgen/bgen/
DbgenObjectDefinition.py260 methodname = "outputHook_" + name
261 if hasattr(self, methodname):
262 func = getattr(self, methodname)

123