Lines Matching refs:capi
1936 struct PyExpat_CAPI *capi = PyMem_Calloc(1, sizeof(struct PyExpat_CAPI)); in pyexpat_exec() local
1937 if (capi == NULL) { in pyexpat_exec()
1942 capi->size = sizeof(*capi); in pyexpat_exec()
1943 capi->magic = PyExpat_CAPI_MAGIC; in pyexpat_exec()
1944 capi->MAJOR_VERSION = XML_MAJOR_VERSION; in pyexpat_exec()
1945 capi->MINOR_VERSION = XML_MINOR_VERSION; in pyexpat_exec()
1946 capi->MICRO_VERSION = XML_MICRO_VERSION; in pyexpat_exec()
1947 capi->ErrorString = XML_ErrorString; in pyexpat_exec()
1948 capi->GetErrorCode = XML_GetErrorCode; in pyexpat_exec()
1949 capi->GetErrorColumnNumber = XML_GetErrorColumnNumber; in pyexpat_exec()
1950 capi->GetErrorLineNumber = XML_GetErrorLineNumber; in pyexpat_exec()
1951 capi->Parse = XML_Parse; in pyexpat_exec()
1952 capi->ParserCreate_MM = XML_ParserCreate_MM; in pyexpat_exec()
1953 capi->ParserFree = XML_ParserFree; in pyexpat_exec()
1954 capi->SetCharacterDataHandler = XML_SetCharacterDataHandler; in pyexpat_exec()
1955 capi->SetCommentHandler = XML_SetCommentHandler; in pyexpat_exec()
1956 capi->SetDefaultHandlerExpand = XML_SetDefaultHandlerExpand; in pyexpat_exec()
1957 capi->SetElementHandler = XML_SetElementHandler; in pyexpat_exec()
1958 capi->SetNamespaceDeclHandler = XML_SetNamespaceDeclHandler; in pyexpat_exec()
1959 capi->SetProcessingInstructionHandler = XML_SetProcessingInstructionHandler; in pyexpat_exec()
1960 capi->SetUnknownEncodingHandler = XML_SetUnknownEncodingHandler; in pyexpat_exec()
1961 capi->SetUserData = XML_SetUserData; in pyexpat_exec()
1962 capi->SetStartDoctypeDeclHandler = XML_SetStartDoctypeDeclHandler; in pyexpat_exec()
1963 capi->SetEncoding = XML_SetEncoding; in pyexpat_exec()
1964 capi->DefaultUnknownEncodingHandler = PyUnknownEncodingHandler; in pyexpat_exec()
1966 capi->SetHashSalt = XML_SetHashSalt; in pyexpat_exec()
1968 capi->SetHashSalt = NULL; in pyexpat_exec()
1972 PyObject *capi_object = PyCapsule_New(capi, PyExpat_CAPSULE_NAME, in pyexpat_exec()
1975 PyMem_Free(capi); in pyexpat_exec()