/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
H A D | socket.py | 227 def meth(name,self,*args):
function 231 p = partial(meth,_m)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
H A D | methodobject.c | 74 PyCFunction meth = PyCFunction_GET_FUNCTION(func);
local 81 return (*meth)(self, arg);
85 return (*(PyCFunctionWithKeywords)meth)(self, arg, kw);
90 return (*meth)(self, NULL);
101 return (*meth)(self, PyTuple_GET_ITEM(arg, 0));
116 return (*meth)(self, arg);
|
H A D | classobject.c | 2608 instancemethod_descr_get(PyObject *meth, PyObject *obj, PyObject *cls)
argument 2613 if (PyMethod_GET_SELF(meth) != NULL) {
2615 Py_INCREF(meth);
2616 return meth;
2619 if (PyMethod_GET_CLASS(meth) != NULL && cls != NULL) {
2620 /* Do subclass test. If it fails, return meth unchanged. */
2621 int ok = PyObject_IsSubclass(cls, PyMethod_GET_CLASS(meth));
2625 Py_INCREF(meth);
2626 return meth;
2630 return PyMethod_New(PyMethod_GET_FUNCTION(meth), ob [all...] |
H A D | fileobject.c | 2664 PyObject *meth;
local 2672 else if ((meth = PyObject_GetAttrString(o, "fileno")) != NULL)
2674 PyObject *fno = PyEval_CallObject(meth, NULL);
2675 Py_DECREF(meth);
|
H A D | typeobject.c | 3577 add_methods(PyTypeObject *type, PyMethodDef *meth)
argument 3581 for (; meth->ml_name != NULL; meth++) {
3584 if (PyDict_GetItemString(dict, meth->ml_name) &&
3585 !(meth->ml_flags & METH_COEXIST))
3587 if (meth->ml_flags & METH_CLASS) {
3588 if (meth->ml_flags & METH_STATIC) {
3593 descr = PyDescr_NewClassMethod(type, meth);
3595 else if (meth->ml_flags & METH_STATIC) {
3596 PyObject *cfunc = PyCFunction_New(meth, NUL 5443 PyObject *meth = lookup_method(self, "__call__", &call_str); local 5704 PyObject *meth = lookup_method(self, "__init__", &init_str); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
H A D | modsupport.c | 568 PyObject *meth;
local 572 meth = PyObject_GetAttrString(obj, methodname);
573 if (meth == NULL)
582 Py_DECREF(meth);
586 res = PyEval_CallObject(meth, args);
587 Py_DECREF(meth);
|
H A D | ceval.c | 3285 special_lookup(PyObject *o, char *meth, PyObject **cache)
argument 3290 return PyObject_GetAttrString(o, meth);
3294 res = _PyObject_LookupSpecial(o, meth, cache);
4016 PyCFunction meth = PyCFunction_GET_FUNCTION(func);
local 4019 C_TRACE(x, (*meth)(self,NULL));
4023 C_TRACE(x, (*meth)(self,arg));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | socket.py | 223 def meth(name,self,*args):
function 227 p = partial(meth,_m)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
H A D | methodobject.c | 74 PyCFunction meth = PyCFunction_GET_FUNCTION(func);
local 81 return (*meth)(self, arg);
85 return (*(PyCFunctionWithKeywords)meth)(self, arg, kw);
90 return (*meth)(self, NULL);
101 return (*meth)(self, PyTuple_GET_ITEM(arg, 0));
116 return (*meth)(self, arg);
|
H A D | classobject.c | 2584 instancemethod_descr_get(PyObject *meth, PyObject *obj, PyObject *cls)
argument 2589 if (PyMethod_GET_SELF(meth) != NULL) {
2591 Py_INCREF(meth);
2592 return meth;
2595 if (PyMethod_GET_CLASS(meth) != NULL && cls != NULL) {
2596 /* Do subclass test. If it fails, return meth unchanged. */
2597 int ok = PyObject_IsSubclass(cls, PyMethod_GET_CLASS(meth));
2601 Py_INCREF(meth);
2602 return meth;
2606 return PyMethod_New(PyMethod_GET_FUNCTION(meth), ob [all...] |
H A D | fileobject.c | 2597 PyObject *meth;
local 2605 else if ((meth = PyObject_GetAttrString(o, "fileno")) != NULL)
2607 PyObject *fno = PyEval_CallObject(meth, NULL);
2608 Py_DECREF(meth);
|
H A D | typeobject.c | 3544 add_methods(PyTypeObject *type, PyMethodDef *meth)
argument 3548 for (; meth->ml_name != NULL; meth++) {
3550 if (PyDict_GetItemString(dict, meth->ml_name) &&
3551 !(meth->ml_flags & METH_COEXIST))
3553 if (meth->ml_flags & METH_CLASS) {
3554 if (meth->ml_flags & METH_STATIC) {
3559 descr = PyDescr_NewClassMethod(type, meth);
3561 else if (meth->ml_flags & METH_STATIC) {
3562 PyObject *cfunc = PyCFunction_New(meth, NUL 5391 PyObject *meth = lookup_method(self, "__call__", &call_str); local 5652 PyObject *meth = lookup_method(self, "__init__", &init_str); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
H A D | modsupport.c | 568 PyObject *meth;
local 572 meth = PyObject_GetAttrString(obj, methodname);
573 if (meth == NULL)
582 Py_DECREF(meth);
586 res = PyEval_CallObject(meth, args);
587 Py_DECREF(meth);
|
H A D | ceval.c | 3271 special_lookup(PyObject *o, char *meth, PyObject **cache)
argument 3276 return PyObject_GetAttrString(o, meth);
3280 res = _PyObject_LookupSpecial(o, meth, cache);
3994 PyCFunction meth = PyCFunction_GET_FUNCTION(func);
local 3997 C_TRACE(x, (*meth)(self,NULL));
4001 C_TRACE(x, (*meth)(self,arg));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_weakref.py | 764 def meth(self):
member in class:SubclassableWeakrefTestCase.test_subclass_refs_with_slots.MyRef 770 self.assertEqual(r.meth(), "abcdef")
|
H A D | test_builtin.py | 173 def meth(self): pass
member in class:BuiltinTest.test_callable.Classic 176 self.assertTrue(callable(c.meth))
180 def meth(self): pass
member in class:BuiltinTest.test_callable.NewStyle 183 self.assertTrue(callable(n.meth))
|
H A D | test_descr.py | 61 def unop_test(self, a, res, expr="len(a)", meth="__len__"):
65 m = getattr(t, meth)
68 while meth not in t.__dict__:
72 self.assertEqual(getattr(m, 'im_func', m), t.__dict__[meth])
74 bm = getattr(a, meth)
77 def binop_test(self, a, b, res, expr="a+b", meth="__add__"):
81 if meth == "__div__" and 1/2 == 0.5:
82 meth = "__truediv__"
84 if meth == '__divmod__': pass
88 m = getattr(t, meth)
542 def meth(self): member in class:ClassPropertiesAndMethods.test_metaclass.A 545 def meth(self): member in class:ClassPropertiesAndMethods.test_metaclass.B 548 def meth(self): member in class:ClassPropertiesAndMethods.test_metaclass.C 551 def meth(self): member in class:ClassPropertiesAndMethods.test_metaclass.D 555 def meth(self): member in class:ClassPropertiesAndMethods.test_metaclass.E 2359 def meth(self, a): member in class:.test_supers.A 2367 def meth(self, a): member in class:.test_supers.B 2373 def meth(self, a): member in class:.test_supers.C 2380 def meth(self, a): member in class:.test_supers.D 2392 def meth(self, a): member in class:.test_supers.E 2398 def meth(self, a): member in class:.test_supers.F 3913 def meth(self): member in class:.test_mutable_bases.C2 4588 def meth(self): member in class:DictProxyTests.setUp.C [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
H A D | flmodule.c | 310 PyObject *meth;
local 314 meth = Py_FindMethod(g->ob_methods, (PyObject *)g, name);
315 if (meth != NULL) return meth;
319 meth = Py_FindMethod(generic_methods, (PyObject *)g, name);
320 if (meth != NULL)
321 return meth;
1570 PyObject *meth;
local 1572 meth = Py_FindMethod(form_methods, (PyObject *)f, name);
1573 if (meth ! [all...] |