Home
last modified time | relevance | path

Searched refs:PyCFunction_Check (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Objects/
Dmethodobject.c55 if (!PyCFunction_Check(op)) { in PyCFunction_GetFunction()
65 if (!PyCFunction_Check(op)) { in PyCFunction_GetSelf()
75 if (!PyCFunction_Check(op)) { in PyCFunction_GetFlags()
229 !PyCFunction_Check(self) || in meth_richcompare()
230 !PyCFunction_Check(other)) in meth_richcompare()
Dcall.c12 else if (PyCFunction_Check(callable)) { in _PyObject_HasFastCall()
100 else if (PyCFunction_Check(callable)) { in _PyObject_FastCallDict()
155 if (PyCFunction_Check(callable)) { in _PyObject_FastCallKeywords()
231 else if (PyCFunction_Check(callable)) { in PyObject_Call()
580 assert(PyCFunction_Check(func)); in _PyCFunction_FastCallDict()
728 assert(PyCFunction_Check(func)); in _PyCFunction_FastCallKeywords()
Dabstract.c841 PyCFunction_Check(v) && in binary_op()
/external/python/cpython2/Objects/
Dmethodobject.c43 if (!PyCFunction_Check(op)) { in PyCFunction_GetFunction()
53 if (!PyCFunction_Check(op)) { in PyCFunction_GetSelf()
63 if (!PyCFunction_Check(op)) { in PyCFunction_GetFlags()
243 else if (!PyCFunction_Check(self) || !PyCFunction_Check(other)) { in meth_richcompare()
/external/python/cpython2/Include/
Dmethodobject.h16 #define PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type) macro
/external/python/cpython2/Modules/
D_lsprof.c169 if (!PyCFunction_Check(obj)) { in normalizeUserObj()
463 && PyCFunction_Check(arg)) { in profiler_callback()
475 && PyCFunction_Check(arg)) { in profiler_callback()
D_json.c1849 …s->fast_encode = (PyCFunction_Check(s->encoder) && PyCFunction_GetFunction(s->encoder) == (PyCFunc… in encoder_new()
/external/python/cpython3/Modules/
D_lsprof.c159 if (!PyCFunction_Check(obj)) { in normalizeUserObj()
461 && PyCFunction_Check(arg)) { in profiler_callback()
473 && PyCFunction_Check(arg)) { in profiler_callback()
D_json.c1327 if (PyCFunction_Check(s->encoder)) { in encoder_new()
D_elementtree.c3234 !(PyCFunction_Check(parser_doctype) && in expat_start_doctype_handler()
/external/python/cpython3/Include/
Dmethodobject.h16 #define PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type) macro
/external/python/cpython2/Python/
Dceval.c4253 else if (PyCFunction_Check(func)) in PyEval_GetFuncName()
4272 else if (PyCFunction_Check(func)) in PyEval_GetFuncDesc()
4347 if (PyCFunction_Check(func) && nk == 0) { in call_function()
4579 else if (PyCFunction_Check(func)) in do_call()
4584 if (PyCFunction_Check(func)) { in do_call()
4676 else if (PyCFunction_Check(func)) in ext_do_call()
4681 if (PyCFunction_Check(func)) { in ext_do_call()
/external/python/cpython3/Python/
Dceval.c4501 else if (PyCFunction_Check(func)) in PyEval_GetFuncName()
4514 else if (PyCFunction_Check(func)) in PyEval_GetFuncDesc()
4566 if (PyCFunction_Check(func)) { in Py_LOCAL_INLINE()
4638 if (PyCFunction_Check(func)) { in do_call_core()