Home
last modified time | relevance | path

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

12

/third_party/python/Doc/includes/
Drun-func.c27 if (pFunc && PyCallable_Check(pFunc)) { in main()
/third_party/python/Modules/_ssl/
Ddebughelpers.c103 if (!PyCallable_Check(arg)) { in _PySSLContext_set_msg_callback()
/third_party/python/Objects/
Dclassobject.c220 if (!PyCallable_Check(func)) { in method_new()
562 if (!PyCallable_Check(func)) { in instancemethod_new()
Dweakrefobject.c909 if (PyCallable_Check(ob)) { in PyWeakref_NewProxy()
Dcall.c608 if (!PyCallable_Check(callable)) { in callmethod()
/third_party/python/Modules/
D_functoolsmodule.c54 if (!PyCallable_Check(func)) { in partial_new()
232 assert(PyCallable_Check(pto->fn)); in partial_call()
374 !PyCallable_Check(fn) || in partial_setstate()
1158 if (!PyCallable_Check(func)) { in lru_cache_new()
Datexitmodule.c158 if (!PyCallable_Check(func)) { in atexit_register()
D_tkinter.c2527 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createcommand_impl()
2718 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createfilehandler_impl()
2885 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createtimerhandler_impl()
Dreadline.c369 else if (PyCallable_Check(function)) { in set_hook()
Dsignalmodule.c491 else if (!PyCallable_Check(handler)) { in signal_signal_impl()
D_sre.c995 if (PyCallable_Check(ptemplate)) { in pattern_subx()
1028 filter_is_callable = PyCallable_Check(filter); in pattern_subx()
D_threadmodule.c1073 if (!PyCallable_Check(func)) { in thread_PyThread_start_new_thread()
D_pickle.c327 if (!PyCallable_Check(st->codecs_encode)) { in _Pickle_InitState()
3969 if (!PyCallable_Check(callable)) { in save_reduce()
4003 else if (!PyCallable_Check(state_setter)) { in save_reduce()
5046 if (!PyCallable_Check(value)) { in Pickler_set_persid()
7618 if (!PyCallable_Check(value)) { in Unpickler_set_persload()
/third_party/python/Include/cpython/
Dabstract.h77 assert(PyCallable_Check(callable)); in PyVectorcall_Function()
/third_party/python/Include/
Dobject.h263 PyAPI_FUNC(int) PyCallable_Check(PyObject *);
/third_party/boost/libs/python/src/object/
Dclass.cpp695 if (PyCallable_Check(expect_non_null(callable))) in callable_check()
/third_party/python/Python/
Dcodecs.c43 if (!PyCallable_Check(search_function)) { in PyCodec_Register()
627 if (!PyCallable_Check(error)) { in PyCodec_RegisterError()
Dbltinmodule.c474 return PyBool_FromLong((long)PyCallable_Check(obj)); in builtin_callable()
1520 if (!PyCallable_Check(v)) { in builtin_iter()
Dsysmodule.c1270 if (!PyCallable_Check(finalizer)) { in sys_set_asyncgen_hooks()
1285 if (!PyCallable_Check(firstiter)) { in sys_set_asyncgen_hooks()
D_warnings.c580 if (!PyCallable_Check(show_fn)) { in call_show_warning()
/third_party/python/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()
/third_party/python/PC/
Dpython3.def47 PyCallable_Check=python39.PyCallable_Check
/third_party/python/Modules/_ctypes/
D_ctypes.c2509 if (ob != Py_None && !PyType_stgdict(ob) && !PyCallable_Check(ob)) { in make_funcptrtype_dict()
3257 if (ob && !PyCallable_Check(ob)) { in PyCFuncPtr_set_errcheck()
3289 if (ob != Py_None && !PyType_stgdict(ob) && !PyCallable_Check(ob)) { in PyCFuncPtr_set_restype()
3738 if (!PyCallable_Check(callable)) { in PyCFuncPtr_new()
/third_party/boost/tools/build/src/engine/
Dbuiltins.cpp1978 if ( pFunc && PyCallable_Check( pFunc ) ) in builtin_python_import_rule()
2169 if ( !PyCallable_Check( func ) ) in bjam_import_rule()
/third_party/python/Doc/extending/
Dembedding.rst186 if (pFunc && PyCallable_Check(pFunc)) {

12