Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_funcattrs.py42 self.f.a.im_func.known_attr = 7
176 self.assertEqual(self.f.b.im_func, self.b)
177 self.assertEqual(self.fi.b.im_func, self.b)
205 self.f.a.im_func.known_attr = 7
239 self.f.a.im_func.klass = self.f
240 for method in [self.f.a, self.fi.a, self.fi.a.im_func]:
260 self.cannot_set_attr(self.f.a.im_func, '__dict__', d, TypeError)
261 self.cannot_set_attr(self.fi.a.im_func, '__dict__', d, TypeError)
267 self.f.a.im_func.__dict__ = d
272 self.assertIs(d, self.f.a.im_func.__dict__)
[all …]
Dinspect_fodder2.py99 method_in_dynamic_class = f().g.im_func
Dtest_sys_setprofile.py51 disallowed = [ident(self.add_event.im_func), ident(ident)]
Dtest_class.py615 a = A(hash(A.f.im_func)^(-1))
Dtest_sys.py286 SysModuleTest.test_getframe.im_func.func_code \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dclassobject.h33 PyObject *im_func; /* The callable object implementing the method */ member
70 (((PyMethodObject *)meth) -> im_func)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dclassobject.h33 PyObject *im_func; /* The callable object implementing the method */ member
70 (((PyMethodObject *)meth) -> im_func)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/
DbgenObjectDefinition.py239 assert self.outputGetattr.im_func == PEP252Mixin.outputGetattr.im_func
240 assert self.outputSetattr.im_func == PEP252Mixin.outputSetattr.im_func
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/
Dminicompat.py103 get = getattr(klass, ("_get_" + name)).im_func
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/
Dminicompat.py103 get = getattr(klass, ("_get_" + name)).im_func
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dclassobject.c145 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()
2245 im->im_func = func; in PyMethod_New()
2263 {"im_func", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2265 {"__func__", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2288 return PyObject_GetAttr(im->im_func, docstr); in instancemethod_get_doc()
2321 return PyObject_GetAttr(im->im_func, name); in instancemethod_getattro()
2363 Py_DECREF(im->im_func); in instancemethod_dealloc()
2380 cmp = PyObject_Compare(a->im_func, b->im_func); in instancemethod_compare()
2396 PyObject *func = a->im_func; in instancemethod_repr()
2462 y = PyObject_Hash(a->im_func); in instancemethod_hash()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dclassobject.c145 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()
2269 im->im_func = func; in PyMethod_New()
2287 {"im_func", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2289 {"__func__", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2312 return PyObject_GetAttr(im->im_func, docstr); in instancemethod_get_doc()
2345 return PyObject_GetAttr(im->im_func, name); in instancemethod_getattro()
2387 Py_DECREF(im->im_func); in instancemethod_dealloc()
2404 cmp = PyObject_Compare(a->im_func, b->im_func); in instancemethod_compare()
2420 PyObject *func = a->im_func; in instancemethod_repr()
2486 y = PyObject_Hash(a->im_func); in instancemethod_hash()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Ddis.py28 x = x.im_func
Dinspect.py410 object = object.im_func
567 object = object.im_func
814 func = func.im_func
Dcopy.py264 return type(x)(x.im_func, deepcopy(x.im_self, memo), x.im_class)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddis.py28 x = x.im_func
Dinspect.py412 object = object.im_func
565 object = object.im_func
811 func = func.im_func
DDocXMLRPCServer.py78 args, varargs, varkw, defaults = inspect.getargspec(object.im_func)
Dcopy.py264 return type(x)(x.im_func, deepcopy(x.im_self, memo), x.im_class)
Dpdb.py394 func = func.im_func
847 try: code = value.im_func.func_code
Ddoctest.py946 val = getattr(obj, valname).im_func
1018 if inspect.ismethod(obj): obj = obj.im_func
Dpydoc.py870 object = object.im_func
1253 object = object.im_func
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dpydoc.py933 object = object.im_func
1323 object = object.im_func
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dpydoc.py870 object = object.im_func
1253 object = object.im_func