Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_userstring.py22 def checkequal(self, result, object, methodname, *args): argument
26 realresult = getattr(object, methodname)(*args)
32 def checkraises(self, exc, object, methodname, *args): argument
37 getattr(object, methodname),
41 def checkcall(self, object, methodname, *args): argument
44 getattr(object, methodname)(*args)
Dtest_string.py12 def checkequal(self, result, object, methodname, *args): argument
13 realresult = getattr(string, methodname)(object, *args)
19 def checkraises(self, exc, object, methodname, *args): argument
22 getattr(string, methodname),
27 def checkcall(self, object, methodname, *args): argument
28 getattr(string, methodname)(object, *args)
Dtest_profile.py27 for methodname in cls.methodnames:
31 getattr(stats, methodname)()
Dtest_file.py121 for methodname, args in methods:
122 method = getattr(self.f, methodname)
256 for methodname, args in methods:
260 meth = getattr(f, methodname)
Dtest_file2k.py117 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))
Dstring_tests.py49 def checkequal(self, result, object, methodname, *args): argument
53 realresult = getattr(object, methodname)(*args)
64 realresult = getattr(object, methodname)(*args)
68 def checkraises(self, exc, object, methodname, *args): argument
73 getattr(object, methodname),
78 def checkcall(self, object, methodname, *args): argument
81 getattr(object, methodname)(*args)
Dtest_fileio.py116 for methodname in methods:
117 method = getattr(self.f, methodname)
Dtest_socket.py126 methodname = self.id()
127 i = methodname.rfind('.')
128 methodname = methodname[i+1:]
129 test_method = getattr(self, '_' + methodname)
Dtest_unicode.py46 def checkequalnofix(self, result, object, methodname, *args): argument
47 method = getattr(object, methodname)
59 method = getattr(object, methodname)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dloader.py30 def _make_failed_test(classname, methodname, exception, suiteClass): argument
33 attrs = {methodname: testFailure}
35 return suiteClass((TestClass(methodname),))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dxmlrpclib.py1046 def dumps(params, methodname=None, methodresponse=None, encoding=None, argument
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): argument
1568 request = dumps(params, methodname, encoding=self.__encoding,
Dpydoc.py390 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/Include/
Dceval.h20 const char *methodname,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dceval.h20 const char *methodname,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/
DbgenObjectDefinition.py260 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/
Dmodsupport.c565 PyEval_CallMethod(PyObject *obj, const char *methodname, const char *format, ...) in PyEval_CallMethod() argument
572 meth = PyObject_GetAttrString(obj, methodname); in PyEval_CallMethod()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dmodsupport.c565 PyEval_CallMethod(PyObject *obj, const char *methodname, const char *format, ...) in PyEval_CallMethod() argument
572 meth = PyObject_GetAttrString(obj, methodname); in PyEval_CallMethod()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dclassobject.c1389 generic_unary_op(PyInstanceObject *self, PyObject *methodname) in generic_unary_op() argument
1393 if ((func = instance_getattr(self, methodname)) == NULL) in generic_unary_op()
1576 #define UNARY(funcname, methodname) \ argument
1579 if (o == NULL) { o = PyString_InternFromString(methodname); \
1585 #define UNARY_FB(funcname, methodname, funcname_fb) \ argument
1588 if (o == NULL) { o = PyString_InternFromString(methodname); \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dclassobject.c1413 generic_unary_op(PyInstanceObject *self, PyObject *methodname) in generic_unary_op() argument
1417 if ((func = instance_getattr(self, methodname)) == NULL) in generic_unary_op()
1600 #define UNARY(funcname, methodname) \ argument
1603 if (o == NULL) { o = PyString_InternFromString(methodname); \
1609 #define UNARY_FB(funcname, methodname, funcname_fb) \ argument
1612 if (o == NULL) { o = PyString_InternFromString(methodname); \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dpydoc.py435 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/PyMod-2.7.2/Lib/
Dpydoc.py390 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/Modules/
Ddatetimemodule.c2847 tzinfo_nogo(const char* methodname) in tzinfo_nogo() argument
2851 methodname); in tzinfo_nogo()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Ddatetimemodule.c2847 tzinfo_nogo(const char* methodname) in tzinfo_nogo() argument
2851 methodname); in tzinfo_nogo()