Home
last modified time | relevance | path

Searched refs:PyModule_Check (Results 1 – 18 of 18) 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.c640 if (PyModule_Check(builtins)) { in PyFrame_New()
Dobject.c1935 if (PyModule_Check(obj)) in _dir_object()
/external/python/cpython3/Objects/
Dmoduleobject.c306 if (PyModule_Check(m)) { in PyModule_FromDefAndSpec2()
448 if (!PyModule_Check(m)) { in PyModule_GetDict()
463 if (!PyModule_Check(m)) { in PyModule_GetNameObject()
495 if (!PyModule_Check(m)) { in PyModule_GetFilenameObject()
527 if (!PyModule_Check(m)) { in PyModule_GetDef()
537 if (!PyModule_Check(m)) { in PyModule_GetState()
Dmethodobject.c328 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_reduce()
373 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_get__qualname__()
433 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_repr()
Dframeobject.c627 if (PyModule_Check(builtins)) { in PyFrame_New()
/external/python/cpython2/Include/
Dmoduleobject.h12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) macro
/external/python/cpython3/Modules/
Dparsermodule.c421 if (self == NULL || PyModule_Check(self)) { in parser_st2tuple()
457 if (self == NULL || PyModule_Check(self)) in parser_st2list()
493 if (self == NULL || PyModule_Check(self)) in parser_compilest()
543 if (self == NULL || PyModule_Check(self)) in parser_isexpr()
566 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()
453 if (value != NULL && PyModule_Check(value)) { in PyImport_Cleanup()
474 if (value != NULL && PyModule_Check(value)) { in PyImport_Cleanup()
503 if (PyString_Check(key) && PyModule_Check(value)) { in PyImport_Cleanup()
522 if (PyString_Check(key) && PyModule_Check(value)) { in PyImport_Cleanup()
537 if (value != NULL && PyModule_Check(value)) { in PyImport_Cleanup()
544 if (value != NULL && PyModule_Check(value)) { in PyImport_Cleanup()
589 if (mod == NULL || !PyModule_Check(mod)) { in _PyImport_FixupExtension()
642 PyModule_Check(m)) { in _PyImport_AddModuleObject()
2661 if (PyModule_Check(mod)) { in add_submodule()
[all …]
Dmodsupport.c623 if (!PyModule_Check(m)) { in PyModule_AddObject()
/external/python/cpython3/Python/
Dimport.c398 if (PyModule_Check(value)) { in PyImport_Cleanup()
445 assert(PyModule_Check(mod)); in PyImport_Cleanup()
538 if (mod == NULL || !PyModule_Check(mod)) { in _PyImport_FixupExtensionObject()
667 PyModule_Check(m)) { in PyImport_AddModuleObject()
1937 if (!PyModule_Check(mod)) { in exec_builtin_or_dynamic()
Dmodsupport.c544 if (!PyModule_Check(m)) { in PyModule_AddObject()
Dpystate.c369 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)