Home
last modified time | relevance | path

Searched refs:PyCallable_Check (Results 1 – 25 of 61) sorted by relevance

123

/external/python/cpython2/Modules/
D_functoolsmodule.c116 if (!PyCallable_Check(func)) { in partial_new()
162 assert (PyCallable_Check(pto->fn)); in partial_call()
291 !PyCallable_Check(fn) || in partial_setstate()
Dpuremodule.c369 if (!PyCallable_Check(arg_callable)) { in pure_purify_map_pool()
406 if (!PyCallable_Check(arg_callable)) { in pure_purify_map_pool_id()
Dreadline.c212 else if (PyCallable_Check(function)) { in set_hook()
Dthreadmodule.c663 if (!PyCallable_Check(func)) { in thread_PyThread_start_new_thread()
Dsignalmodule.c309 else if (!PyCallable_Check(obj)) { in signal_signal()
D_tkinter.c2540 if (!PyCallable_Check(func)) { in Tkapp_CreateCommand()
2750 if (!PyCallable_Check(func)) { in Tkapp_CreateFileHandler()
2961 if (!PyCallable_Check(func)) { in Tkapp_CreateTimerHandler()
Doperator.c75 return PyCallable_Check(x); in op_isCallable()
/external/python/cpython3/Doc/includes/
Drun-func.c26 if (pFunc && PyCallable_Check(pFunc)) { in main()
/external/python/cpython2/Doc/includes/
Drun-func.c26 if (pFunc && PyCallable_Check(pFunc)) { in main()
/external/python/cpython3/Modules/
D_functoolsmodule.c49 if (!PyCallable_Check(func)) { in partial_new()
137 assert (PyCallable_Check(pto->fn)); in partial_call()
289 !PyCallable_Check(fn) || in partial_setstate()
963 if (!PyCallable_Check(func)) { in lru_cache_new()
Datexitmodule.c154 if (!PyCallable_Check(func)) { in atexit_register()
D_tkinter.c2505 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createcommand_impl()
2705 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createfilehandler_impl()
2873 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createtimerhandler_impl()
Dsignalmodule.c437 else if (!PyCallable_Check(handler)) { in signal_signal_impl()
Dreadline.c345 else if (PyCallable_Check(function)) { in set_hook()
/external/python/cpython3/Objects/
Dclassobject.c177 if (!PyCallable_Check(func)) { in method_new()
599 if (!PyCallable_Check(func)) { in instancemethod_new()
Dweakrefobject.c824 if (PyCallable_Check(ob)) in PyWeakref_NewProxy()
/external/python/cpython2/PC/os2vacpp/
Dpython.def110 PyCallable_Check
/external/python/cpython2/Python/
Dcodecs.c38 if (!PyCallable_Check(search_function)) { in PyCodec_Register()
568 if (!PyCallable_Check(error)) { in PyCodec_RegisterError()
/external/python/cpython3/Python/
Dsysmodule.c655 if (!PyCallable_Check(wrapper)) { in sys_set_coroutine_wrapper()
729 if (!PyCallable_Check(finalizer)) { in sys_set_asyncgen_hooks()
742 if (!PyCallable_Check(firstiter)) { in sys_set_asyncgen_hooks()
Dcodecs.c41 if (!PyCallable_Check(search_function)) { in PyCodec_Register()
635 if (!PyCallable_Check(error)) { in PyCodec_RegisterError()
Dbltinmodule.c425 return PyBool_FromLong((long)PyCallable_Check(obj)); in builtin_callable()
1450 if (!PyCallable_Check(v)) { in builtin_iter()
/external/python/cpython3/PC/
Dpython3.def47 PyCallable_Check=python36.PyCallable_Check
/external/python/cpython2/Include/
Dobject.h487 PyAPI_FUNC(int) PyCallable_Check(PyObject *);
/external/python/cpython3/Include/
Dobject.h557 PyAPI_FUNC(int) PyCallable_Check(PyObject *);
/external/python/cpython2/Objects/
Dweakrefobject.c846 if (PyCallable_Check(ob)) in PyWeakref_NewProxy()

123