/third_party/python/Lib/test/ |
H A D | test_userstring.py | 20 def checkequal(self, result, object, methodname, *args, **kwargs): 24 realresult = getattr(object, methodname)(*args, **kwargs) 30 def checkraises(self, exc, obj, methodname, *args, expected_msg=None): 34 getattr(obj, methodname)(*args) 39 def checkcall(self, object, methodname, *args): 42 getattr(object, methodname)(*args)
|
H A D | test_file.py | 119 for methodname, args in methods: 120 method = getattr(self.f, methodname) 272 for methodname, args in methods: 275 meth = getattr(f, methodname)
|
H A D | test_profile.py | 37 for methodname in cls.methodnames: 41 getattr(stats, methodname)()
|
H A D | string_tests.py | 60 def checkequal(self, result, obj, methodname, *args, **kwargs): 65 realresult = getattr(obj, methodname)(*args, **kwargs) 80 realresult = getattr(obj, methodname)(*args) 84 def checkraises(self, exc, obj, methodname, *args, expected_msg=None): 88 getattr(obj, methodname)(*args) 94 def checkcall(self, obj, methodname, *args): 97 getattr(obj, methodname)(*args)
|
H A D | test_fileio.py | 214 for methodname in methods: 215 method = getattr(self.f, methodname)
|
H A D | test_xmlrpc.py | 205 methodname = 'method\u20ac\xa4' 207 methodname=methodname) 209 self.assertEqual(xmlrpclib.loads(strg)[1], methodname)
|
H A D | test_unicode.py | 69 def checkequalnofix(self, result, object, methodname, *args): 70 method = getattr(object, methodname) 82 method = getattr(object, methodname)
|
H A D | test_socket.py | 355 methodname = self.id() 356 i = methodname.rfind('.') 357 methodname = methodname[i+1:] 358 test_method = getattr(self, '_' + methodname)
|
/third_party/python/Lib/idlelib/ |
H A D | rpc.py | 173 how, (oid, methodname, args, kwargs) = request 179 if methodname == "__methods__": 183 if methodname == "__attributes__": 187 if not hasattr(obj, methodname): 188 return ("ERROR", f"Unsupported method name: {methodname!r}") 189 method = getattr(obj, methodname) 216 def remotecall(self, oid, methodname, args, kwargs): 217 self.debug("remotecall:asynccall: ", oid, methodname) 218 seq = self.asynccall(oid, methodname, args, kwargs) 221 def remotequeue(self, oid, methodname, arg [all...] |
H A D | editor.py | 1195 methodname = vevent.replace("-", "_") 1196 while methodname[:1] == '<': 1197 methodname = methodname[1:] 1198 while methodname[-1:] == '>': 1199 methodname = methodname[:-1] 1200 methodname = methodname + "_event" 1201 if hasattr(ins, methodname) [all...] |
H A D | debugger_r.py | 302 def call(self, methodname, /, *args, **kwargs): 303 ##print("*** IdbProxy.call %s %s %s" % (methodname, args, kwargs)) 304 value = self.conn.remotecall(self.oid, methodname, args, kwargs) 305 ##print("*** IdbProxy.call %s returns %r" % (methodname, value))
|
/third_party/python/Lib/tkinter/test/ |
H A D | widget_tests.py | 499 methodname = 'test_configure_' + option 500 if not hasattr(cls, methodname): 502 if hasattr(source_class, methodname): 503 setattr(cls, methodname, 504 getattr(source_class, methodname)) 512 test.__name__ = methodname 513 setattr(cls, methodname, test)
|
/third_party/python/Lib/multiprocessing/ |
H A D | managers.py | 85 def dispatch(c, id, methodname, args=(), kwds={}): 89 c.send((id, methodname, args, kwds)) 252 methodname = obj = None 254 ident, methodname, args, kwds = request 264 if methodname not in exposed: 267 (methodname, type(obj), exposed) 270 function = getattr(obj, methodname) 277 typeid = gettypeid and gettypeid.get(methodname, None) 286 if methodname is None: 290 fallback_func = self.fallback_mapping[methodname] [all...] |
/third_party/python/Lib/unittest/ |
H A D | loader.py | 48 def _make_failed_test(methodname, exception, suiteClass, message): 49 test = _FailedTest(methodname, exception) 52 def _make_skipped_test(methodname, exception, suiteClass): 56 attrs = {methodname: testSkipped} 58 return suiteClass((TestClass(methodname),))
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jmorecfg.h | 188 #define JMETHOD(type, methodname, arglist) type (*methodname) arglist
|
/third_party/python/Lib/xmlrpc/ |
H A D | client.py | 936 # @keyparam methodname If given, create a methodCall request for 944 def dumps(params, methodname=None, methodresponse=None, encoding=None, 954 methodname: the method name for a methodCall packet 989 if methodname: 994 "<methodName>", methodname, "</methodName>\n", 1458 def __request(self, methodname, params): 1461 request = dumps(params, methodname, encoding=self.__encoding,
|
/third_party/python/Lib/ |
H A D | pydoc.py | 539 methodname = 'repr_' + '_'.join(type(x).__name__.split()) 540 if hasattr(self, methodname): 541 return getattr(self, methodname)(x, level) 1137 methodname = 'repr_' + '_'.join(type(x).__name__.split()) 1138 if hasattr(self, methodname): 1139 return getattr(self, methodname)(x, level)
|
H A D | turtle.py | 3852 for methodname in _tg_screen_functions: 3853 key = "_Screen."+methodname 3855 for methodname in _tg_turtle_functions: 3856 key = "Turtle."+methodname 3977 for methodname in functions: 3978 method = getattr(cls, methodname) 3983 defstr = __func_body.format(obj=obj, init=init, name=methodname, 3986 globals()[methodname].__doc__ = docrevise(method.__doc__)
|
/third_party/python/Modules/ |
H A D | _datetimemodule.c | 3698 tzinfo_nogo(const char* methodname) in tzinfo_nogo() argument 3702 methodname); in tzinfo_nogo()
|