Searched defs:meth (Results 1 - 18 of 18) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dsocket.py227 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 Dmethodobject.c74 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 Dclassobject.c2608 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 Dfileobject.c2664 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 Dtypeobject.c3577 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 Dmodsupport.c568 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 Dceval.c3285 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 Dsocket.py223 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 Dmethodobject.c74 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 Dclassobject.c2584 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 Dfileobject.c2597 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 Dtypeobject.c3544 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 Dmodsupport.c568 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 Dceval.c3271 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 Dtest_weakref.py764 def meth(self): member in class:SubclassableWeakrefTestCase.test_subclass_refs_with_slots.MyRef
770 self.assertEqual(r.meth(), "abcdef")
H A Dtest_builtin.py173 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 Dtest_descr.py61 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 Dflmodule.c310 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...]

Completed in 128 milliseconds