Lines Matching refs:element_factory
2340 PyObject *element_factory; member
2375 t->element_factory = NULL; in treebuilder_new()
2410 PyObject *element_factory, in _elementtree_TreeBuilder___init___impl() argument
2416 if (element_factory != Py_None) { in _elementtree_TreeBuilder___init___impl()
2417 Py_INCREF(element_factory); in _elementtree_TreeBuilder___init___impl()
2418 Py_XSETREF(self->element_factory, element_factory); in _elementtree_TreeBuilder___init___impl()
2420 Py_CLEAR(self->element_factory); in _elementtree_TreeBuilder___init___impl()
2470 Py_VISIT(self->element_factory); in treebuilder_gc_traverse()
2491 Py_CLEAR(self->element_factory); in treebuilder_gc_clear()
2686 if (!self->element_factory) { in treebuilder_handle_start()
2692 node = PyObject_CallFunctionObjArgs(self->element_factory, in treebuilder_handle_start()
2697 node = PyObject_CallFunctionObjArgs(self->element_factory, in treebuilder_handle_start()