Home
last modified time | relevance | path

Searched refs:element_factory (Results 1 – 8 of 8) sorted by relevance

/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstplugin.c186 GstElementFactory *element_factory; in GST_START_TEST() local
188 element_factory = gst_element_factory_find ("identity"); in GST_START_TEST()
189 fail_if (element_factory == NULL, "Failed to find identity element factory"); in GST_START_TEST()
191 fail_if (GST_OBJECT_REFCOUNT_VALUE (element_factory) != 2, in GST_START_TEST()
194 gst_object_unref (element_factory); in GST_START_TEST()
/third_party/python/Modules/clinic/
D_elementtree.c.h584 PyObject *element_factory,
599 PyObject *element_factory = Py_None; in _elementtree_TreeBuilder___init__() local
613 element_factory = fastargs[0]; in _elementtree_TreeBuilder___init__()
648 … = _elementtree_TreeBuilder___init___impl((TreeBuilderObject *)self, element_factory, comment_fact… in _elementtree_TreeBuilder___init__()
/third_party/python/Modules/
D_elementtree.c2340 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()
[all …]
/third_party/python/Lib/xml/etree/
DElementTree.py1413 def __init__(self, element_factory=None, *, argument
1429 if element_factory is None:
1430 element_factory = Element
1431 self._factory = element_factory
/third_party/python/Lib/test/
Dtest_xml_etree.py2651 def element_factory(x, y): function
2653 b = ET.TreeBuilder(element_factory=element_factory)
2663 def element_factory(x, y): function
2665 b = ET.TreeBuilder(element_factory=element_factory)
3271 parser = ET.XMLParser(target=ET.TreeBuilder(element_factory=None))
3312 tb = ET.TreeBuilder(element_factory=myfactory)
3320 tb = ET.TreeBuilder(element_factory=cls)
/third_party/python/Doc/library/
Dxml.etree.elementtree.rst1245 .. class:: TreeBuilder(element_factory=None, *, comment_factory=None, \
1253 *element_factory*, when given, must be a callable accepting two positional
/third_party/python/Misc/
DHISTORY5792 element_factory (fixes a regression in SimpleTAL).
/third_party/gstreamer/gstreamer/
DChangeLog69667 test: add tests for new element_factory api.