Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dmoduleobject.c49 if (!PyModule_Check(m)) { in PyModule_GetDict()
64 if (!PyModule_Check(m)) { in PyModule_GetName()
84 if (!PyModule_Check(m)) { in PyModule_GetFilename()
Dframeobject.c676 if (PyModule_Check(builtins)) { in PyFrame_New()
Dobject.c1940 if (PyModule_Check(obj)) in _dir_object()
/external/python/cpython3/Objects/
Dmoduleobject.c324 if (PyModule_Check(m)) { in PyModule_FromDefAndSpec2()
476 if (!PyModule_Check(m)) { in PyModule_GetDict()
491 if (!PyModule_Check(m)) { in PyModule_GetNameObject()
523 if (!PyModule_Check(m)) { in PyModule_GetFilenameObject()
555 if (!PyModule_Check(m)) { in PyModule_GetDef()
565 if (!PyModule_Check(m)) { in PyModule_GetState()
Dmethodobject.c108 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_reduce()
152 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_get__qualname__()
212 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_repr()
Dframeobject.c675 if (PyModule_Check(builtins)) { in _PyFrame_New_NoTrack()
/external/python/cpython2/Include/
Dmoduleobject.h12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) macro
/external/python/cpython3/Modules/
Dparsermodule.c390 if (self == NULL || PyModule_Check(self)) { in parser_st2tuple()
426 if (self == NULL || PyModule_Check(self)) in parser_st2list()
462 if (self == NULL || PyModule_Check(self)) in parser_compilest()
512 if (self == NULL || PyModule_Check(self)) in parser_isexpr()
535 if (self == NULL || PyModule_Check(self)) in parser_issuite()
D_lsprof.c177 else if (PyModule_Check(mod)) { in normalizeUserObj()
/external/python/cpython3/Include/
Dmoduleobject.h12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) macro
/external/python/cpython2/Python/
Dimport.c446 if (value != NULL && PyModule_Check(value)) { in PyImport_Cleanup()
455 if (value != NULL && PyModule_Check(value)) { in PyImport_Cleanup()
480 if (value != NULL && PyModule_Check(value)) { in PyImport_Cleanup()
511 if (PyString_Check(key) && PyModule_Check(value)) { in PyImport_Cleanup()
535 if (PyString_Check(key) && PyModule_Check(value)) { in PyImport_Cleanup()
555 if (value != NULL && PyModule_Check(value)) { in PyImport_Cleanup()
564 if (value != NULL && PyModule_Check(value)) { in PyImport_Cleanup()
611 if (mod == NULL || !PyModule_Check(mod)) { in _PyImport_FixupExtension()
664 PyModule_Check(m)) { in _PyImport_AddModuleObject()
2683 if (PyModule_Check(mod)) { in add_submodule()
[all …]
Dmodsupport.c623 if (!PyModule_Check(m)) { in PyModule_AddObject()
/external/python/cpython3/Python/
Dimport.c465 if (PyModule_Check(mod)) { \ in PyImport_Cleanup()
551 assert(PyModule_Check(mod)); in PyImport_Cleanup()
645 if (mod == NULL || !PyModule_Check(mod)) { in _PyImport_FixupExtensionObject()
798 if (m != NULL && PyModule_Check(m)) { in _PyImport_AddModuleObject()
2091 if (!PyModule_Check(mod)) { in exec_builtin_or_dynamic()
Dmodsupport.c618 if (!PyModule_Check(m)) { in PyModule_AddObject()
Dpystate.c548 if (PyModule_Check(m)) { in _PyState_ClearModules()
/external/python/cpython2/Doc/c-api/
Dmodule.rst21 .. c:function:: int PyModule_Check(PyObject *p)
/external/python/cpython2/Modules/
D_lsprof.c185 else if (mod && PyModule_Check(mod)) { in normalizeUserObj()
/external/python/cpython3/Doc/c-api/
Dmodule.rst19 .. c:function:: int PyModule_Check(PyObject *p)
/external/python/cpython3/Doc/data/
Drefcounts.dat1324 PyModule_Check:int:::
1325 PyModule_Check:PyObject*:p:0: