Searched refs:METH_CLASS (Results 1 - 25 of 31) sorted by relevance

12

/external/python/cpython3/Modules/clinic/
H A D_datetimemodule.c.h17 {"now", (PyCFunction)datetime_datetime_now, METH_FASTCALL|METH_CLASS, datetime_datetime_now__doc__},
H A D_asynciomodule.c.h270 {"current_task", (PyCFunction)_asyncio_Task_current_task, METH_FASTCALL|METH_CLASS, _asyncio_Task_current_task__doc__},
302 {"all_tasks", (PyCFunction)_asyncio_Task_all_tasks, METH_FASTCALL|METH_CLASS, _asyncio_Task_all_tasks__doc__},
/external/python/cpython3/Objects/clinic/
H A Ddictobject.c.h12 {"fromkeys", (PyCFunction)dict_fromkeys, METH_VARARGS|METH_CLASS, dict_fromkeys__doc__},
H A Dbytesobject.c.h483 {"fromhex", (PyCFunction)bytes_fromhex, METH_O|METH_CLASS, bytes_fromhex__doc__},
H A Dbytearrayobject.c.h631 {"fromhex", (PyCFunction)bytearray_fromhex, METH_O|METH_CLASS, bytearray_fromhex__doc__},
/external/python/cpython2/Include/
H A Dmethodobject.h60 /* METH_CLASS and METH_STATIC are a little different; these control
63 #define METH_CLASS 0x0010 macro
/external/python/cpython3/Include/
H A Dmethodobject.h75 /* METH_CLASS and METH_STATIC are a little different; these control
78 #define METH_CLASS 0x0010 macro
/external/python/cpython2/Modules/
H A Dxxsubtype.c74 METH_VARARGS | METH_KEYWORDS | METH_CLASS,
H A Ddatetimemodule.c2714 METH_CLASS,
2719 METH_CLASS,
2723 {"today", (PyCFunction)date_today, METH_NOARGS | METH_CLASS,
4602 METH_VARARGS | METH_KEYWORDS | METH_CLASS,
4606 METH_NOARGS | METH_CLASS,
4610 METH_VARARGS | METH_KEYWORDS | METH_CLASS,
4614 METH_VARARGS | METH_CLASS,
4619 METH_VARARGS | METH_CLASS,
4624 METH_VARARGS | METH_KEYWORDS | METH_CLASS,
H A Dselectmodule.c1069 METH_VARARGS | METH_CLASS, pyepoll_fromfd_doc},
1688 METH_VARARGS | METH_CLASS, kqueue_queue_fromfd_doc},
/external/python/cpython3/Modules/
H A Dxxsubtype.c74 METH_VARARGS | METH_KEYWORDS | METH_CLASS,
H A D_datetimemodule.c2896 METH_CLASS,
2901 METH_CLASS,
2905 {"today", (PyCFunction)date_today, METH_NOARGS | METH_CLASS,
5473 METH_NOARGS | METH_CLASS,
5477 METH_VARARGS | METH_KEYWORDS | METH_CLASS,
5481 METH_VARARGS | METH_CLASS,
5485 METH_VARARGS | METH_CLASS,
5490 METH_VARARGS | METH_KEYWORDS | METH_CLASS,
H A Dselectmodule.c1625 METH_VARARGS | METH_CLASS, pyepoll_fromfd_doc},
2268 METH_VARARGS | METH_CLASS, kqueue_queue_fromfd_doc},
/external/python/cpython3/Objects/
H A Dmethodobject.c95 flags = PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST);
174 flags = PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST);
H A Dfloatobject.c1784 METH_O|METH_CLASS, float_fromhex_doc},
1799 METH_O|METH_CLASS, float_getformat_doc},
1801 METH_VARARGS|METH_CLASS, float_setformat_doc},
H A Dmoduleobject.c140 if ((fdef->ml_flags & METH_CLASS) ||
144 " METH_CLASS or METH_STATIC");
H A Dodictobject.c1390 METH_VARARGS | METH_KEYWORDS | METH_CLASS, odict_fromkeys__doc__},
H A Dtypeobject.c3257 METH_VARARGS | METH_KEYWORDS | METH_CLASS,
4494 {"__subclasshook__", object_subclasshook, METH_CLASS | METH_VARARGS,
4496 {"__init_subclass__", object_init_subclass, METH_CLASS | METH_NOARGS,
4564 if (meth->ml_flags & METH_CLASS) {
/external/python/cpython2/Objects/
H A Dmethodobject.c78 switch (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)) {
H A Dfloatobject.c2036 METH_O|METH_CLASS, float_fromhex_doc},
2051 METH_O|METH_CLASS, float_getformat_doc},
2053 METH_VARARGS|METH_CLASS, float_setformat_doc},
H A Dbytearrayobject.c2838 {"fromhex", (PyCFunction)bytearray_fromhex, METH_VARARGS|METH_CLASS,
/external/python/cpython2/Modules/_multiprocessing/
H A Dsemaphore.c576 {"_rebuild", (PyCFunction)semlock_rebuild, METH_VARARGS | METH_CLASS,
/external/python/cpython2/Python/
H A Dmodsupport.c73 if ((ml->ml_flags & METH_CLASS) ||
77 " METH_CLASS or METH_STATIC");
/external/python/cpython3/Modules/_multiprocessing/
H A Dsemaphore.c590 {"_rebuild", (PyCFunction)semlock_rebuild, METH_VARARGS | METH_CLASS,
/external/protobuf/python/google/protobuf/pyext/
H A Dmessage.cc2596 { "FromString", (PyCFunction)FromString, METH_O | METH_CLASS,
2612 { "RegisterExtension", (PyCFunction)RegisterExtension, METH_O | METH_CLASS,

Completed in 521 milliseconds

12