Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 343) sorted by last modified time

12345678910>>...14

/php-src/ext/dom/
H A Ddocument.c452 if (!node) { in PHP_METHOD()
487 if (!node) { in PHP_METHOD()
514 if (!node) { in PHP_METHOD()
541 if (!node) { in PHP_METHOD()
570 if (!node) { in PHP_METHOD()
612 if (!node) { in PHP_METHOD()
652 if (!node) { in dom_document_create_processing_instruction()
753 zval *node; in PHP_METHOD() local
798 zval *node; in dom_modern_document_import_node() local
1084 node = node->next; in php_dom_transfer_document_ref()
[all …]
H A Dentityreference.c37 xmlNode *node; in PHP_METHOD() local
53 node = xmlNewReference(NULL, BAD_CAST name); in PHP_METHOD()
55 if (!node) { in PHP_METHOD()
65 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern); in PHP_METHOD()
H A Dphp_dom.h136 void node_list_unlink(xmlNodePtr node);
142 xmlNsPtr dom_get_nsdecl(xmlNode *node, xmlChar *localName);
149 int dom_node_is_read_only(xmlNodePtr node);
150 bool dom_node_children_valid(xmlNodePtr node);
161 bool php_dom_is_node_connected(const xmlNode *node);
226 __ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node; \
243 ZEND_ASSERT(node != NULL); in php_dom_is_cache_tag_stale_from_node()
244 php_libxml_node_ptr *_private = node->_private; in php_dom_is_cache_tag_stale_from_node()
258 php_libxml_node_ptr *_private = node->_private; in php_dom_mark_cache_tag_up_to_date_from_node()
276 ZEND_ASSERT(node != NULL); in php_dom_follow_spec_node()
[all …]
H A Dphp_dom.c151 switch (node->type) { in dom_node_is_read_only()
174 switch (node->type) { in dom_node_children_valid()
496 if (intern->node) { in php_dom_export_node()
497 nodep = intern->node->node; in php_dom_export_node()
507 zval *node; in dom_import_simplexml_common() local
587 if (node != NULL) { in dom_objects_store_clone_obj()
1324 node = node->next; in node_list_unlink()
1790 xmlFreeNode(node); in free_node()
1857 node = next; in php_dom_normalize_modern()
1871 node = node->next; in php_dom_normalize_modern()
[all …]
H A Dnode.c68 node = node->parent; in php_dom_is_node_connected()
805 node = node->next; in _php_dom_insert_fragment()
1221 zval *node; in dom_node_remove_child() local
1378 zval *node; in PHP_METHOD() local
1394 zval *node; in PHP_METHOD() local
1575 zval *node; in PHP_METHOD() local
1585 zval *node; in PHP_METHOD() local
1632 node = node->next; \
1932 node = node->parent; in dom_locate_a_namespace()
1936 node = xmlDocGetRootElement((xmlDocPtr) node); in dom_locate_a_namespace()
[all …]
H A Ddom_iterators.c31 xmlNode *node; member
46 if (priv->node == NULL) { in itemHashScanner()
47 priv->node = payload; in itemHashScanner()
73 iter.node = NULL; in php_dom_libxml_hash_iter_ex()
75 return iter.node; in php_dom_libxml_hash_iter_ex()
134 xmlNodePtr curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; in php_dom_iterator_current_key()
200 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; in php_dom_iterator_move_forward()
218 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; in php_dom_iterator_move_forward()
H A Dhtml5_parser.c36 lxb_dom_node_t *node; member
44 lxb_dom_node_t *node, in lexbor_libxml2_bridge_work_list_item_push() argument
51 item->node = node; in lexbor_libxml2_bridge_work_list_item_push()
115 for (lxb_dom_node_t *node = start_node; node != NULL; node = node->prev) { in lexbor_libxml2_bridge_convert() local
121 lxb_dom_node_t *node = current_stack_item->node; in lexbor_libxml2_bridge_convert() local
126 if (node->type == LXB_DOM_NODE_TYPE_ELEMENT) { in lexbor_libxml2_bridge_convert()
141 uintptr_t entering_namespace = element->node.ns; in lexbor_libxml2_bridge_convert()
202 if (attr->node.ns == LXB_NS_XMLNS) { in lexbor_libxml2_bridge_convert()
212 } else if (attr->node.ns == LXB_NS_XLINK) { in lexbor_libxml2_bridge_convert()
235 } else if (node->type == LXB_DOM_NODE_TYPE_TEXT) { in lexbor_libxml2_bridge_convert()
[all …]
/php-src/
H A DUPGRADING39 node could not be allocated. They consistently throw an INVALID_STATE_ERR
/php-src/ext/libxml/
H A Dlibxml.c187 ((php_libxml_node_ptr *) node->_private)->node = NULL; in php_libxml_node_free()
241 xmlFree(node); in php_libxml_node_free()
268 if (node->nsDef && node->doc) { in php_libxml_node_free()
310 curnode = node; in php_libxml_node_free_list()
342 xmlRemoveID(node->doc, (xmlAttrPtr) node); in php_libxml_node_free_list()
1276 return node; in php_libxml_import_node()
1285 if (object->node->node == node) { in php_libxml_increment_node_ptr()
1292 object->node = node->_private; in php_libxml_increment_node_ptr()
1301 object->node->node = node; in php_libxml_increment_node_ptr()
1304 node->_private = object->node; in php_libxml_increment_node_ptr()
[all …]
/php-src/Zend/
H A Dzend_compile.c2737 if (node->op_type == IS_CONST && Z_TYPE(node->u.constant) == IS_STRING) { in zend_handle_numeric_op()
2741 zval_ptr_dtor(&node->u.constant); in zend_handle_numeric_op()
2742 ZVAL_LONG(&node->u.constant, index); in zend_handle_numeric_op()
2962 if (node->op_type == IS_VAR) { in zend_separate_if_call_and_write()
9579 znode *node = Z_PTR_P(zv); in znode_dtor() local
9580 if (node->op_type == IS_CONST) { in znode_dtor()
9581 zval_ptr_dtor_nogc(&node->u.constant); in znode_dtor()
9583 efree(node); in znode_dtor()
9662 if (node->op_type == IS_TMP_VAR || node->op_type == IS_VAR) { in zend_compile_assign_coalesce()
9673 if (node->op_type == IS_TMP_VAR || node->op_type == IS_VAR) { in zend_compile_assign_coalesce()
[all …]
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.h66 (*lxb_selectors_cb_f)(lxb_dom_node_t *node,
77 lxb_dom_node_t *node; member
213 lxb_selectors_match_node(lxb_selectors_t *selectors, lxb_dom_node_t *node,
H A Dselectors.c177 node = node->parent; in lxb_selectors_descendant()
222 node = node->prev; in lxb_selectors_sibling()
233 node = node->prev; in lxb_selectors_sibling()
243 node = node->prev; in lxb_selectors_following()
252 node = node->prev; in lxb_selectors_following()
401 entry->node = node; in lxb_selectors_state_run()
883 node = entry->node; in lxb_selectors_state_after_find_has()
935 entry->node = node; in lxb_selectors_state_after_find_has()
974 node = entry->node; in lxb_selectors_state_after_find()
1020 entry->node = node; in lxb_selectors_state_after_find()
[all …]
/php-src/ext/dom/lexbor/lexbor/html/tree/
H A Dactive_formatting.c44 lxb_dom_node_t *node) in lxb_html_tree_active_formatting_remove_by_node() argument
53 if (list[idx] == node) { in lxb_html_tree_active_formatting_remove_by_node()
67 lxb_dom_node_t *node, in lxb_html_tree_active_formatting_find_by_node() argument
73 if (list[i] == node) { in lxb_html_tree_active_formatting_find_by_node()
100 if (list[len] == node) { in lxb_html_tree_active_formatting_find_by_node_reverse()
159 lxb_dom_node_t *node; in lxb_html_tree_active_formatting_reconstruct_elements() local
164 node = list[af_idx]; in lxb_html_tree_active_formatting_reconstruct_elements()
166 fake_token.tag_id = node->local_name; in lxb_html_tree_active_formatting_reconstruct_elements()
167 fake_token.base_element = node; in lxb_html_tree_active_formatting_reconstruct_elements()
227 if(list[idx]->local_name == node->local_name && list[idx]->ns == node->ns in lxb_html_tree_active_formatting_push_with_check_dupl()
[all …]
H A Dactive_formatting.h27 lxb_dom_node_t *node);
31 lxb_dom_node_t *node,
36 lxb_dom_node_t *node,
49 lxb_dom_node_t *node);
80 lxb_dom_node_t *node) in lxb_html_tree_active_formatting_push() argument
82 return lexbor_array_push(tree->active_formatting, node); in lxb_html_tree_active_formatting_push()
100 lxb_dom_node_t *node, size_t idx) in lxb_html_tree_active_formatting_insert() argument
102 return lexbor_array_insert(tree->active_formatting, idx, node); in lxb_html_tree_active_formatting_insert()
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Dbefore_html.c67 &tree->document->dom_document.node); in lxb_html_tree_insertion_mode_before_html_open()
H A Dforeign_content.c63 lxb_dom_node_t *node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_foreign_content_script_closed() local
65 if (node->local_name != LXB_TAG_SCRIPT || node->ns != LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_script_closed()
83 if (node->ns == LXB_NS_MATH) { in lxb_html_tree_insertion_mode_foreign_content_anything_else()
86 else if (node->ns == LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_anything_else()
98 if (node->ns == LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_anything_else()
113 node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_foreign_content_anything_else()
239 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_foreign_content_all() local
272 node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_foreign_content_all()
274 while (node && in lxb_html_tree_insertion_mode_foreign_content_all()
276 || lxb_html_tree_html_integration_point(node) in lxb_html_tree_insertion_mode_foreign_content_all()
[all …]
H A Din_body.c220 if (node == NULL || node->local_name != LXB_TAG_BODY) { in lxb_html_tree_insertion_mode_in_body_body()
252 if (node == NULL || node->local_name != LXB_TAG_BODY) { in lxb_html_tree_insertion_mode_in_body_frameset()
388 if (node != NULL) { in lxb_html_tree_insertion_mode_in_body_h123456()
433 if (node != NULL) { in lxb_html_tree_insertion_mode_in_body_pre_listing()
469 if (node != NULL) { in lxb_html_tree_insertion_mode_in_body_form()
521 is_special = lxb_html_tag_is_category(node->local_name, node->ns, in lxb_html_tree_insertion_mode_in_body_li()
534 if (node != NULL) { in lxb_html_tree_insertion_mode_in_body_li()
601 is_special = lxb_html_tag_is_category(node->local_name, node->ns, in lxb_html_tree_insertion_mode_in_body_dd_dt()
614 if (node != NULL) { in lxb_html_tree_insertion_mode_in_body_dd_dt()
637 if (node != NULL) { in lxb_html_tree_insertion_mode_in_body_plaintext()
[all …]
H A Din_caption.c16 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_caption_caption_closed() local
18 node = lxb_html_tree_element_in_scope(tree, LXB_TAG_CAPTION, LXB_NS_HTML, in lxb_html_tree_insertion_mode_in_caption_caption_closed()
20 if (node == NULL) { in lxb_html_tree_insertion_mode_in_caption_caption_closed()
29 node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_caption_caption_closed()
31 if (lxb_html_tree_node_is(node, LXB_TAG_CAPTION) == false) { in lxb_html_tree_insertion_mode_in_caption_caption_closed()
55 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_caption_ct_open_closed() local
57 node = lxb_html_tree_element_in_scope(tree, LXB_TAG_CAPTION, LXB_NS_HTML, in lxb_html_tree_insertion_mode_in_caption_ct_open_closed()
59 if (node == NULL) { in lxb_html_tree_insertion_mode_in_caption_ct_open_closed()
68 node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_caption_ct_open_closed()
70 if (lxb_html_tree_node_is(node, LXB_TAG_CAPTION) == false) { in lxb_html_tree_insertion_mode_in_caption_ct_open_closed()
H A Din_cell.c15 lxb_dom_node_t *node; in lxb_html_tree_close_cell() local
20 node = lxb_html_tree_current_node(tree); in lxb_html_tree_close_cell()
22 if (lxb_html_tree_node_is(node, LXB_TAG_TD) == false in lxb_html_tree_close_cell()
42 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_cell_tdth_closed() local
46 if (node == NULL) { in lxb_html_tree_insertion_mode_in_cell_tdth_closed()
55 node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_cell_tdth_closed()
79 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_cell_ct() local
81 node = lxb_html_tree_element_in_scope_td_th(tree); in lxb_html_tree_insertion_mode_in_cell_ct()
82 if (node == NULL) { in lxb_html_tree_insertion_mode_in_cell_ct()
112 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_cell_t_closed() local
[all …]
H A Din_column_group.c15 lxb_dom_node_t *node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_column_group_anything_else() local
17 if (lxb_html_tree_node_is(node, LXB_TAG_COLGROUP) == false) { in lxb_html_tree_insertion_mode_in_column_group_anything_else()
103 lxb_dom_node_t *node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_column_group_colgroup_closed() local
105 if (lxb_html_tree_node_is(node, LXB_TAG_COLGROUP) == false) { in lxb_html_tree_insertion_mode_in_column_group_colgroup_closed()
H A Din_frameset.c18 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_frameset() local
19 node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_frameset()
21 if (node == lxb_html_tree_open_elements_first(tree)) { in lxb_html_tree_insertion_mode_in_frameset()
29 node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_frameset()
32 && lxb_html_tree_node_is(node, LXB_TAG_FRAMESET) == false) in lxb_html_tree_insertion_mode_in_frameset()
98 lxb_dom_node_t *node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_frameset() local
100 if (node != lxb_html_tree_open_elements_first(tree)) { in lxb_html_tree_insertion_mode_in_frameset()
H A Din_row.c59 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_row_tr_closed() local
61 node = lxb_html_tree_element_in_scope(tree, LXB_TAG_TR, LXB_NS_HTML, in lxb_html_tree_insertion_mode_in_row_tr_closed()
63 if (node == NULL) { in lxb_html_tree_insertion_mode_in_row_tr_closed()
86 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_row_ct_open_closed() local
88 node = lxb_html_tree_element_in_scope(tree, LXB_TAG_TR, LXB_NS_HTML, in lxb_html_tree_insertion_mode_in_row_ct_open_closed()
90 if (node == NULL) { in lxb_html_tree_insertion_mode_in_row_ct_open_closed()
111 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_row_tbtfth_closed() local
113 node = lxb_html_tree_element_in_scope(tree, token->tag_id, LXB_NS_HTML, in lxb_html_tree_insertion_mode_in_row_tbtfth_closed()
115 if (node == NULL) { in lxb_html_tree_insertion_mode_in_row_tbtfth_closed()
121 node = lxb_html_tree_element_in_scope(tree, LXB_TAG_TR, LXB_NS_HTML, in lxb_html_tree_insertion_mode_in_row_tbtfth_closed()
[all …]
H A Din_select.c112 node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_select_optgroup()
134 if (lxb_html_tree_node_is(node, LXB_TAG_OPTION) in lxb_html_tree_insertion_mode_in_select_optgroup_closed()
137 node = lxb_html_tree_open_elements_get(tree, in lxb_html_tree_insertion_mode_in_select_optgroup_closed()
139 if (node != NULL && lxb_html_tree_node_is(node, LXB_TAG_OPTGROUP)) { in lxb_html_tree_insertion_mode_in_select_optgroup_closed()
144 node = lxb_html_tree_current_node(tree); in lxb_html_tree_insertion_mode_in_select_optgroup_closed()
178 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_select_select_closed() local
182 if (node == NULL) { in lxb_html_tree_insertion_mode_in_select_select_closed()
200 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_select_select() local
206 if (node == NULL) { in lxb_html_tree_insertion_mode_in_select_select()
225 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_select_ikt() local
[all …]
H A Din_select_in_table.c35 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_select_in_table_ct_closed() local
39 node = lxb_html_tree_element_in_scope(tree, token->tag_id, LXB_NS_HTML, in lxb_html_tree_insertion_mode_in_select_in_table_ct_closed()
41 if (node == NULL) { in lxb_html_tree_insertion_mode_in_select_in_table_ct_closed()
H A Din_table.c33 if (node->ns == LXB_NS_HTML && in lxb_html_tree_insertion_mode_in_table_text_open()
34 (node->local_name == LXB_TAG_TABLE in lxb_html_tree_insertion_mode_in_table_text_open()
35 || node->local_name == LXB_TAG_TBODY in lxb_html_tree_insertion_mode_in_table_text_open()
36 || node->local_name == LXB_TAG_TFOOT in lxb_html_tree_insertion_mode_in_table_text_open()
38 || node->local_name == LXB_TAG_TR)) in lxb_html_tree_insertion_mode_in_table_text_open()
202 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_table_table() local
208 if (node == NULL) { in lxb_html_tree_insertion_mode_in_table_table()
222 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_table_table_closed() local
226 if (node == NULL) { in lxb_html_tree_insertion_mode_in_table_table_closed()
310 lxb_dom_node_t *node; in lxb_html_tree_insertion_mode_in_table_form() local
[all …]

Completed in 147 milliseconds

12345678910>>...14