/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
H A D | server.py | 77 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):
96 if methodname == '.methods':
100 raise NameError, "unrecognized special method name %s" % repr(methodname)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_userstring.py | 22 def checkequal(self, result, object, methodname, *args):
26 realresult = getattr(object, methodname)(*args)
32 def checkraises(self, exc, object, methodname, *args):
37 getattr(object, methodname),
41 def checkcall(self, object, methodname, *args):
44 getattr(object, methodname)(*args)
|
H A D | test_string.py | 12 def checkequal(self, result, object, methodname, *args):
13 realresult = getattr(string, methodname)(object, *args)
19 def checkraises(self, exc, object, methodname, *args):
22 getattr(string, methodname),
27 def checkcall(self, object, methodname, *args):
28 getattr(string, methodname)(object, *args)
|
H A D | test_profile.py | 27 for methodname in cls.methodnames:
31 getattr(stats, methodname)()
|
H A D | test_file.py | 121 for methodname, args in methods:
122 method = getattr(self.f, methodname)
256 for methodname, args in methods:
260 meth = getattr(f, methodname)
|
H A D | test_file2k.py | 117 for methodname in methods:
118 method = getattr(self.f, methodname)
122 for methodname in deprecated_methods:
123 method = getattr(self.f, methodname)
329 for methodname, args in methods:
333 meth = getattr(f, methodname)
340 (methodname, args))
|
H A D | string_tests.py | 49 def checkequal(self, result, object, methodname, *args):
53 realresult = getattr(object, methodname)(*args)
64 realresult = getattr(object, methodname)(*args)
68 def checkraises(self, exc, object, methodname, *args):
73 getattr(object, methodname),
78 def checkcall(self, object, methodname, *args):
81 getattr(object, methodname)(*args)
|
H A D | test_fileio.py | 116 for methodname in methods:
117 method = getattr(self.f, methodname)
|
H A D | test_socket.py | 126 methodname = self.id()
127 i = methodname.rfind('.')
128 methodname = methodname[i+1:]
129 test_method = getattr(self, '_' + methodname)
|
H A D | test_unicode.py | 46 def checkequalnofix(self, result, object, methodname, *args):
47 method = getattr(object, methodname)
59 method = getattr(object, methodname)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
H A D | ceval.h | 20 const char *methodname,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
H A D | ceval.h | 20 const char *methodname,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
H A D | loader.py | 30 def _make_failed_test(classname, methodname, exception, suiteClass):
33 attrs = {methodname: testFailure}
35 return suiteClass((TestClass(methodname),))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | xmlrpclib.py | 1038 # @keyparam methodname If given, create a methodCall request for
1046 def dumps(params, methodname=None, methodresponse=None, encoding=None,
1056 methodname: the method name for a methodCall packet
1093 if methodname:
1095 if not isinstance(methodname, StringType):
1096 methodname = methodname.encode(encoding)
1100 "<methodName>", methodname, "</methodName>\n",
1565 def __request(self, methodname, params):
1568 request = dumps(params, methodname, encodin [all...] |
H A D | pydoc.py | 390 methodname = 'repr_' + join(split(type(x).__name__), '_')
391 if hasattr(self, methodname):
392 return getattr(self, methodname)(x, level)
955 methodname = 'repr_' + join(split(type(x).__name__), '_')
956 if hasattr(self, methodname):
957 return getattr(self, methodname)(x, level)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/ |
H A D | bgenObjectDefinition.py | 260 methodname = "outputHook_" + name
261 if hasattr(self, methodname):
262 func = getattr(self, methodname)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
H A D | modsupport.c | 565 PyEval_CallMethod(PyObject *obj, const char *methodname, const char *format, ...)
argument 572 meth = PyObject_GetAttrString(obj, methodname);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
H A D | modsupport.c | 565 PyEval_CallMethod(PyObject *obj, const char *methodname, const char *format, ...)
argument 572 meth = PyObject_GetAttrString(obj, methodname);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/ |
H A D | pydoc.py | 390 methodname = 'repr_' + join(split(type(x).__name__), '_')
391 if hasattr(self, methodname):
392 return getattr(self, methodname)(x, level)
955 methodname = 'repr_' + join(split(type(x).__name__), '_')
956 if hasattr(self, methodname):
957 return getattr(self, methodname)(x, level)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
H A D | classobject.c | 1413 generic_unary_op(PyInstanceObject *self, PyObject *methodname)
argument 1417 if ((func = instance_getattr(self, methodname)) == NULL)
1600 #define UNARY(funcname, methodname) \
1603 if (o == NULL) { o = PyString_InternFromString(methodname); \
1609 #define UNARY_FB(funcname, methodname, funcname_fb) \
1612 if (o == NULL) { o = PyString_InternFromString(methodname); \
2247 (a) as bound instance methods (returned by instancename.methodname)
2248 (b) as unbound methods (returned by ClassName.methodname)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
H A D | pydoc.py | 435 methodname = 'repr_' + join(split(type(x).__name__), '_')
436 if hasattr(self, methodname):
437 return getattr(self, methodname)(x, level)
1018 methodname = 'repr_' + join(split(type(x).__name__), '_')
1019 if hasattr(self, methodname):
1020 return getattr(self, methodname)(x, level)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
H A D | classobject.c | 1389 generic_unary_op(PyInstanceObject *self, PyObject *methodname)
argument 1393 if ((func = instance_getattr(self, methodname)) == NULL)
1576 #define UNARY(funcname, methodname) \
1579 if (o == NULL) { o = PyString_InternFromString(methodname); \
1585 #define UNARY_FB(funcname, methodname, funcname_fb) \
1588 if (o == NULL) { o = PyString_InternFromString(methodname); \
2223 (a) as bound instance methods (returned by instancename.methodname)
2224 (b) as unbound methods (returned by ClassName.methodname)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
H A D | datetimemodule.c | 2847 tzinfo_nogo(const char* methodname)
argument 2851 methodname);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
H A D | datetimemodule.c | 2847 tzinfo_nogo(const char* methodname)
argument 2851 methodname);
|