Home
last modified time | relevance | path

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

123

/external/python/cpython2/Modules/
D_functoolsmodule.c116 if (!PyCallable_Check(func)) { in partial_new()
163 assert (PyCallable_Check(pto->fn)); in partial_call()
292 !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()
Dsignalmodule.c306 else if (!PyCallable_Check(obj)) { in signal_signal()
Dthreadmodule.c663 if (!PyCallable_Check(func)) { in thread_PyThread_start_new_thread()
Dreadline.c212 else if (PyCallable_Check(function)) { in set_hook()
/external/python/cpython3/Doc/includes/
Drun-func.c27 if (pFunc && PyCallable_Check(pFunc)) { in main()
/external/python/cpython2/Doc/includes/
Drun-func.c26 if (pFunc && PyCallable_Check(pFunc)) { in main()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_util.cc63 if (!PyCallable_Check(format_exception)) { in TryAppendTraceback()
/external/python/cpython3/Modules/_ssl/
Ddebughelpers.c103 if (!PyCallable_Check(arg)) { in _PySSLContext_set_msg_callback()
/external/python/cpython3/Objects/
Dclassobject.c220 if (!PyCallable_Check(func)) { in method_new()
562 if (!PyCallable_Check(func)) { in instancemethod_new()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp964 if (PyCallable_Check(m_run_one_line_function.get())) { in ExecuteOneLine()
1599 if (PyCallable_Check(pmeth.get()) == 0) { in OSPlugin_RegisterInfo()
1654 if (PyCallable_Check(pmeth.get()) == 0) { in OSPlugin_ThreadsInfo()
1741 if (PyCallable_Check(pmeth.get()) == 0) { in OSPlugin_RegisterContextData()
1800 if (PyCallable_Check(pmeth.get()) == 0) { in OSPlugin_CreateThread()
2565 if (PyCallable_Check(pmeth.get()) == 0) { in GetSyntheticTypeName()
3092 if (PyCallable_Check(pmeth.get()) == 0) { in GetShortHelpForCommandObject()
3148 if (PyCallable_Check(pmeth.get()) == 0) { in GetFlagsForCommandObject()
3198 if (PyCallable_Check(pmeth.get()) == 0) { in GetLongHelpForCommandObject()
/external/python/cpython3/Modules/
D_functoolsmodule.c53 if (!PyCallable_Check(func)) { in partial_new()
231 assert(PyCallable_Check(pto->fn)); in partial_call()
373 !PyCallable_Check(fn) || in partial_setstate()
1152 if (!PyCallable_Check(func)) { in lru_cache_new()
Datexitmodule.c158 if (!PyCallable_Check(func)) { in atexit_register()
D_tkinter.c2475 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createcommand_impl()
2666 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createfilehandler_impl()
2833 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createtimerhandler_impl()
/external/tensorflow/tensorflow/python/util/
Dfast_module_type.cc54 if (!PyCallable_Check(func)) { in ParseFunc()
/external/python/cpython2/PC/os2vacpp/
Dpython.def110 PyCallable_Check
/external/python/cpython3/Include/cpython/
Dabstract.h77 assert(PyCallable_Check(callable)); in PyVectorcall_Function()
/external/python/cpython2/Python/
Dcodecs.c38 if (!PyCallable_Check(search_function)) { in PyCodec_Register()
568 if (!PyCallable_Check(error)) { in PyCodec_RegisterError()
/external/llvm-project/lldb/bindings/python/
Dpython-typemaps.swig361 if (!($input == Py_None || PyCallable_Check(reinterpret_cast<PyObject*>($input)))) {
379 $1 = $1 || PyCallable_Check(reinterpret_cast<PyObject*>($input));
/external/python/cpython3/Include/
Dobject.h263 PyAPI_FUNC(int) PyCallable_Check(PyObject *);
/external/python/cpython3/Python/
Dcodecs.c43 if (!PyCallable_Check(search_function)) { in PyCodec_Register()
627 if (!PyCallable_Check(error)) { in PyCodec_RegisterError()
/external/python/cpython2/Include/
Dobject.h487 PyAPI_FUNC(int) PyCallable_Check(PyObject *);
/external/python/cpython3/Modules/_sqlite/
Dconnection.c1539 if (progress != Py_None && !PyCallable_Check(progress)) { in pysqlite_connection_backup()
1688 if (callable != Py_None && !PyCallable_Check(callable)) { in pysqlite_connection_create_collation()
/external/python/cpython3/PC/
Dpython3.def46 PyCallable_Check=python39.PyCallable_Check
/external/python/cpython2/Objects/
Dweakrefobject.c848 if (PyCallable_Check(ob)) in PyWeakref_NewProxy()

123