Home
last modified time | relevance | path

Searched refs:element (Results 101 – 125 of 922) sorted by relevance

12345678910>>...37

/php-src/ext/dom/lexbor/lexbor/html/interfaces/
H A Dtable_element.c14 lxb_html_table_element_t *element; in lxb_html_table_element_interface_create() local
16 element = lexbor_mraw_calloc(document->dom_document.mraw, in lxb_html_table_element_interface_create()
18 if (element == NULL) { in lxb_html_table_element_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_html_table_element_interface_create()
27 return element; in lxb_html_table_element_interface_create()
H A Dtable_row_element.c14 lxb_html_table_row_element_t *element; in lxb_html_table_row_element_interface_create() local
16 element = lexbor_mraw_calloc(document->dom_document.mraw, in lxb_html_table_row_element_interface_create()
18 if (element == NULL) { in lxb_html_table_row_element_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_html_table_row_element_interface_create()
27 return element; in lxb_html_table_row_element_interface_create()
H A Dwindow.c14 lxb_html_window_t *element; in lxb_html_window_create() local
16 element = lexbor_mraw_calloc(document->dom_document.mraw, in lxb_html_window_create()
18 if (element == NULL) { in lxb_html_window_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_html_window_create()
27 return element; in lxb_html_window_create()
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Din_table.c81 lxb_html_element_t *element; in lxb_html_tree_insertion_mode_in_table_caption() local
91 if (element == NULL) { in lxb_html_tree_insertion_mode_in_table_caption()
106 lxb_html_element_t *element; in lxb_html_tree_insertion_mode_in_table_colgroup() local
111 if (element == NULL) { in lxb_html_tree_insertion_mode_in_table_colgroup()
126 lxb_html_element_t *element; in lxb_html_tree_insertion_mode_in_table_col() local
136 if (element == NULL) { in lxb_html_tree_insertion_mode_in_table_col()
154 lxb_html_element_t *element; in lxb_html_tree_insertion_mode_in_table_tbtfth() local
159 if (element == NULL) { in lxb_html_tree_insertion_mode_in_table_tbtfth()
187 if (element == NULL) { in lxb_html_tree_insertion_mode_in_table_tdthtr()
291 if (element == NULL) { in lxb_html_tree_insertion_mode_in_table_input()
[all …]
/php-src/ext/dom/lexbor/patches/
H A D0006-Patch-out-unused-CSS-style-code.patch10 source/lexbor/html/interfaces/element.c | 29 +++++++++++++++++++
235 diff --git a/source/lexbor/html/interfaces/element.c b/source/lexbor/html/interfaces/element.c
237 --- a/source/lexbor/html/interfaces/element.c
238 +++ b/source/lexbor/html/interfaces/element.c
252 lxb_html_element_style_by_name(lxb_html_element_t *element,
273 node = lxb_html_element_style_node_by_id(element, id);
316 lxb_html_element_style_parse(lxb_html_element_t *element,
325 return lxb_html_element_style_list_append(element, list,
343 lxb_html_element_style_remove_by_id(element, id);
389 return lxb_html_element_style_serialize(element, opt,
[all …]
/php-src/ext/dom/tests/
H A DDOM4_DOMNode_replaceWith.phpt12 $element = $dom->documentElement->firstChild;
13 $element->replaceWith(
14 $dom->createElement('element', 'content'),
21 <element>
23 </element>
H A DDOMElement_hasAttributes_basic.phpt19 $element = $dom->documentElement;
22 echo get_class($element), "\n";
25 var_dump($element->hasAttributes());
28 $element = $nodelist->item(0);
31 echo get_class($element), "\n";
34 var_dump($element->hasAttributes());
/php-src/ext/dom/tests/modern/xml/
H A Dbug48339.phpt8 $element = $document->createElement('test');
9 $element = $document->appendChild($element);
10 $element->setAttribute("xml:id", 1);
11 $element->setIdAttribute("xml:id", TRUE);
/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromString_line_column.phpt27 foreach ($xpath->query("//*") as $element) {
28 echo "Element: '", $element->tagName, "', ", $element->getLineNo(), "\n";
31 foreach ($xpath->query("//*[name()='strong']") as $element) {
32 echo "Text: '", $element->textContent, "', ", $element->firstChild->getLineNo(), "\n";
35 foreach ($xpath->query("//*[name()='div']") as $element) {
36 foreach ($element->attributes as $attribute) {
/php-src/tests/classes/
H A Darray_access_011.phpt12 private $element;
16 echo __METHOD__ . "($element)\n";
19 $this->element = $element;
23 echo __METHOD__ . "($this->element, $index)\n";
28 echo __METHOD__ . "($this->element, $index)\n";
29 …return isset($this->oarray[$this->element][$index]) ? $this->oarray[$this->element][$index] : NULL;
34 $this->oarray[$this->element][$index] = $value;
38 echo __METHOD__ . "($this->element, $index)\n";
39 unset($this->oarray[$this->element][$index]);
133 ["element":"ArrayAccessReferenceProxy":private]=>
[all …]
/php-src/ext/dom/tests/modern/extensions/
H A DElement_getInScopeNamespaces.phpt16 echo "element->nodeName: ";
17 var_dump($entry->element->nodeName);
44 element->nodeName: string(7) "c:child"
52 element->nodeName: string(9) "b:sibling"
56 element->nodeName: string(9) "b:sibling"
60 element->nodeName: string(9) "b:sibling"
66 element->nodeName: string(7) "d:child"
70 element->nodeName: string(7) "d:child"
74 element->nodeName: string(7) "d:child"
80 element->nodeName: string(4) "root"
/php-src/ext/spl/
H A Dspl_observer.c206 element.obj = obj; in spl_object_storage_attach()
209 ZVAL_COPY(&element.inf, inf); in spl_object_storage_attach()
211 ZVAL_NULL(&element.inf); in spl_object_storage_attach()
246 spl_object_storage_attach(intern, element->obj, &element->inf); in spl_object_storage_addall()
343 ZVAL_OBJ(&obj, element->obj); in spl_object_storage_debug_info()
449 if (!element) { in spl_object_storage_has_dimension()
469 if (!element) { in spl_object_storage_read_dimension()
550 if (!element) { in PHP_METHOD()
742 zval_ptr_dtor(&element->inf); in PHP_METHOD()
743 ZVAL_COPY(&element->inf, inf); in PHP_METHOD()
[all …]
/php-src/ext/spl/tests/
H A DarrayObject_exchangeArray_basic1.phpt10 $ao['a'] = 'adding element to $ao';
11 $swapIn['b'] = 'adding element to $swapIn';
12 $ao['c'] = 'adding another element to $ao';
26 string(25) "adding element to $swapIn"
36 string(21) "adding element to $ao"
38 string(29) "adding another element to $ao"
H A DarrayObject_clone_basic3.phpt20 $innerArrayObject['new.iAO'] = 'new element added $innerArrayObject';
21 $outerArrayObject['new.oAO'] = 'new element added to $outerArrayObject';
22 $clonedOuterArrayObject['new.coAO'] = 'new element added to $clonedOuterArrayObject';
35 string(35) "new element added $innerArrayObject"
37 string(38) "new element added to $outerArrayObject"
49 string(35) "new element added $innerArrayObject"
51 string(38) "new element added to $outerArrayObject"
66 string(35) "new element added $innerArrayObject"
68 string(38) "new element added to $outerArrayObject"
80 string(44) "new element added to $clonedOuterArrayObject"
H A DarrayObject_exchangeArray_basic2.phpt19 $obj = new ArrayObject(array('key'=>'ArrayObject element'));
25 $obj = new ArrayIterator(array('key'=>'ArrayIterator element'));
31 $obj = new ArrayObject(new ArrayObject(array('key'=>'nested ArrayObject element')));
58 string(19) "ArrayObject element"
65 string(19) "ArrayObject element"
71 string(21) "ArrayIterator element"
78 string(21) "ArrayIterator element"
84 string(26) "nested ArrayObject element"
93 string(26) "nested ArrayObject element"
H A DarrayObject_setFlags_basic1.phpt19 $ao = new C(array('p'=>'array element'));
25 echo "\n--> Remove the real property and access the array element:\n";
29 echo "\n--> Remove the array element and try access again:\n";
39 --> Remove the real property and access the array element:
41 string(13) "array element"
42 string(21) "array element.changed"
44 --> Remove the array element and try access again:
/php-src/ext/dom/tests/delayed_freeing/
H A Delement_declaration.phpt2 Delayed freeing element declaration
17 $element = $doc->documentElement->firstElementChild;
19 var_dump($element->tagName);
20 var_dump($element->textContent);
24 var_dump($element->tagName);
25 var_dump($element->textContent);
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dcdata_section.c14 lxb_dom_cdata_section_t *element; in lxb_dom_cdata_section_interface_create() local
16 element = lexbor_mraw_calloc(document->mraw, in lxb_dom_cdata_section_interface_create()
18 if (element == NULL) { in lxb_dom_cdata_section_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_dom_cdata_section_interface_create()
27 return element; in lxb_dom_cdata_section_interface_create()
H A Dtext.c14 lxb_dom_text_t *element; in lxb_dom_text_interface_create() local
16 element = lexbor_mraw_calloc(document->mraw, in lxb_dom_text_interface_create()
18 if (element == NULL) { in lxb_dom_text_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_dom_text_interface_create()
27 return element; in lxb_dom_text_interface_create()
H A Dcomment.c14 lxb_dom_comment_t *element; in lxb_dom_comment_interface_create() local
16 element = lexbor_mraw_calloc(document->mraw, in lxb_dom_comment_interface_create()
18 if (element == NULL) { in lxb_dom_comment_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_dom_comment_interface_create()
27 return element; in lxb_dom_comment_interface_create()
/php-src/ext/dom/tests/modern/spec/
H A DElement_setAttributeNode_inuse.phpt13 $element = $container->appendChild($dom1->createElement("element"));
15 $element->setAttributeNode($attr1);
24 <container my-attribute="1"><element></element></container>
/php-src/Zend/tests/array_unpack/
H A Dalready_occupied.phpt31 Cannot add element to the array as the next element is already occupied
32 Cannot add element to the array as the next element is already occupied
33 Cannot add element to the array as the next element is already occupied
/php-src/ext/dom/tests/modern/token_list/
H A Dcount.phpt9 $element = $dom->documentElement;
10 var_dump($element->classList->count(), count($element->classList), $element->classList->length);
/php-src/Zend/tests/
H A Darray_literal_next_element_error.phpt2 Next free element may overflow in array literals
23 Cannot add element to the array as the next element is already occupied
24 Cannot add element to the array as the next element is already occupied
H A Dbug32674.phpt21 $element = current($this->_elements);
22 return $element;
26 $element = next($this->_elements);
27 $element;
32 $element = key($this->_elements);
33 return $element;

Completed in 40 milliseconds

12345678910>>...37