Home
last modified time | relevance | path

Searched refs:PyModule_Check (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Include/internal/
Dpycore_moduleobject.h22 assert(PyModule_Check(mod)); in _PyModule_GetDef()
27 assert(PyModule_Check(mod)); in _PyModule_GetState()
32 assert(PyModule_Check(mod)); in _PyModule_GetDict()
/third_party/python/Objects/
Dmoduleobject.c36 if (!PyModule_Check(obj)) { in _PyModule_IsExtension()
327 if (PyModule_Check(m)) { in PyModule_FromDefAndSpec2()
467 if (!PyModule_Check(m)) { in PyModule_GetDict()
479 if (!PyModule_Check(m)) { in PyModule_GetNameObject()
513 if (!PyModule_Check(m)) { in PyModule_GetFilenameObject()
547 if (!PyModule_Check(m)) { in PyModule_GetDef()
557 if (!PyModule_Check(m)) { in PyModule_GetState()
Dmethodobject.c184 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_reduce()
228 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_get__qualname__()
289 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_repr()
Dframeobject.c1185 if (PyModule_Check(builtins)) { in _PyEval_BuiltinsFromGlobals()
/third_party/python/Include/
Dmoduleobject.h12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) macro
/third_party/python/Python/
Dimport.c424 if (mod == NULL || !PyModule_Check(mod)) { in _PyImport_FixupExtensionObject()
609 if (m != NULL && PyModule_Check(m)) { in import_add_module()
1982 if (!PyModule_Check(mod)) { in exec_builtin_or_dynamic()
Dmodsupport.c639 if (!PyModule_Check(mod)) { in PyModule_AddObjectRef()
Dpylifecycle.c1365 if (PyModule_Check(mod)) { \ in finalize_remove_modules()
1455 assert(PyModule_Check(mod)); in finalize_modules_clear_weaklist()
Dpystate.c811 if (PyModule_Check(m)) { in _PyInterpreterState_ClearModules()
/third_party/python/Modules/
D_lsprof.c142 else if (PyModule_Check(mod)) { in normalizeUserObj()
Dunicodedata.c97 #define UCD_Check(self) (self != NULL && !PyModule_Check(self))
/third_party/python/Doc/c-api/
Dmodule.rst19 .. c:function:: int PyModule_Check(PyObject *p)
/third_party/python/Doc/data/
Drefcounts.dat1355 PyModule_Check:int:::
1356 PyModule_Check:PyObject*:p:0:
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c2716 if (!PyModule_Check(m)) { in PyModule_AddObject()
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c2695 if (!PyModule_Check(m)) { in PyModule_AddObject()