Home
last modified time | relevance | path

Searched refs:Xmlparsetype (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
Dpyexpat.c76 static PyTypeObject Xmlparsetype; variable
926 new_parser = PyObject_GC_New(xmlparseobject, &Xmlparsetype); in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
1112 self = PyObject_GC_New(xmlparseobject, &Xmlparsetype); in newxmlparseobject()
1467 static PyTypeObject Xmlparsetype = { variable
1605 assert(!PyType_HasFeature(&Xmlparsetype, Py_TPFLAGS_VALID_VERSION_TAG)); in init_handler_descrs()
1613 PyObject *descr = PyDescr_NewGetSet(&Xmlparsetype, &hi->getset); in init_handler_descrs()
1617 if (PyDict_GetItemWithError(Xmlparsetype.tp_dict, PyDescr_NAME(descr))) { in init_handler_descrs()
1625 if (PyDict_SetItem(Xmlparsetype.tp_dict, PyDescr_NAME(descr), descr) < 0) { in init_handler_descrs()
1655 if (PyType_Ready(&Xmlparsetype) < 0 || init_handler_descrs() < 0) in MODULE_INITFUNC()
1674 Py_INCREF(&Xmlparsetype); in MODULE_INITFUNC()
[all …]
/external/python/cpython2/Modules/
Dpyexpat.c86 static PyTypeObject Xmlparsetype; variable
1073 new_parser = PyObject_New(xmlparseobject, &Xmlparsetype); in xmlparse_ExternalEntityParserCreate()
1076 new_parser = PyObject_GC_New(xmlparseobject, &Xmlparsetype); in xmlparse_ExternalEntityParserCreate()
1288 self = PyObject_GC_New(xmlparseobject, &Xmlparsetype); in newxmlparseobject()
1290 self = PyObject_New(xmlparseobject, &Xmlparsetype); in newxmlparseobject()
1698 static PyTypeObject Xmlparsetype = { variable
1852 Py_TYPE(&Xmlparsetype) = &PyType_Type; in MODULE_INITFUNC()
1871 Py_INCREF(&Xmlparsetype); in MODULE_INITFUNC()
1872 PyModule_AddObject(m, "XMLParserType", (PyObject *) &Xmlparsetype); in MODULE_INITFUNC()