/php-src/ |
H A D | UPGRADING | 39 node could not be allocated. They consistently throw an INVALID_STATE_ERR
|
/php-src/Zend/Optimizer/ |
H A D | zend_cfg.h | 103 #define CRT_CONSTANT_EX(op_array, opline, node) \ argument 105 RT_CONSTANT(opline, (node)) \ 107 CT_CONSTANT_EX(op_array, (node).constant) \ 110 #define CRT_CONSTANT(node) \ argument 111 CRT_CONSTANT_EX(op_array, opline, node)
|
/php-src/Zend/tests/ |
H A D | bug78502.phpt | 26 tree_map($tree, 'children', function ($node) {});
|
H A D | gc_017.phpt | 15 function insert($node) { 16 $node->parent = $this; 17 $this->children[] = $node;
|
H A D | remove_predecessor_of_pi_node.phpt | 2 Regression test for incorrect update of pi node users when removing a predecessor block
|
H A D | unset_prop_recursion.phpt | 8 function insert(Node $node) { 9 $node->parent = $this; 10 $this->children[] = $node;
|
/php-src/Zend/tests/match/ |
H A D | match_of_phi_optimization.phpt | 2 Unreachable code elimination when match argument is a phi node
|
/php-src/Zend/ |
H A D | zend_ast.c | 45 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_znode(znode *node) { in zend_ast_create_znode() argument 52 ast->node = *node; in zend_ast_create_znode()
|
H A D | zend_compile.c | 2737 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 …]
|
H A D | zend_compile.h | 95 znode node; member 693 (node).jmp_addr 696 (node).jmp_addr = (val); \ 701 (node).jmp_addr = (op_array)->opcodes + (node).opline_num; \ 706 (node).opline_num = (node).jmp_addr - (op_array)->opcodes; \ 721 (node).jmp_offset = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, (node).opline_num); \ 735 # define CT_CONSTANT(node) \ argument 742 (node).zv 746 (node).zv = CT_CONSTANT_EX(op_array, (node).constant); \ 761 (node).constant = \ [all …]
|
H A D | zend_execute.c | 120 #define get_zval_ptr(op_type, node, type) _get_zval_ptr(op_type, node, type EXECUTE_DATA_CC OPLINE_… argument 123 #define get_op_data_zval_ptr_r(op_type, node) _get_op_data_zval_ptr_r(op_type, node EXECUTE_DATA_CC… argument 125 #define get_zval_ptr_ptr(op_type, node, type) _get_zval_ptr_ptr(op_type, node, type EXECUTE_DATA_CC) argument 126 #define get_zval_ptr_ptr_undef(op_type, node, type) _get_zval_ptr_ptr(op_type, node, type EXECUTE_D… argument 127 #define get_obj_zval_ptr(op_type, node, type) _get_obj_zval_ptr(op_type, node, type EXECUTE_DATA_CC… argument 129 #define get_obj_zval_ptr_ptr(op_type, node, type) _get_obj_zval_ptr_ptr(op_type, node, type EXECUTE… argument 421 return RT_CONSTANT(opline, node); in _get_zval_ptr() 461 return RT_CONSTANT(opline, node); in _get_zval_ptr_deref() 501 return RT_CONSTANT(opline, node); in _get_zval_ptr_undef() 503 return EX_VAR(node.var); in _get_zval_ptr_undef() [all …]
|
H A D | zend_execute.h | 424 ZEND_API zval *zend_get_zval_ptr(const zend_op *opline, int op_type, const znode_op *node, const ze…
|
H A D | zend_generators.c | 182 if (node->children == 1) { in zend_generator_remove_child() 183 node->child.single = NULL; in zend_generator_remove_child() 187 if (node->children == 2) { in zend_generator_remove_child() 197 node->children--; in zend_generator_remove_child() 214 generator->node.ptr.root->node.ptr.leaf = NULL; in clear_link_to_root() 441 while (generator->node.parent->node.parent) { in zend_generator_check_placeholder_frame() 480 zend_generator_node *node = &generator->node; in zend_generator_add_child() local 489 (zend_ulong) node->child.single, node->child.single); in zend_generator_add_child() 490 node->child.ht = ht; in zend_generator_add_child() 496 ++node->children; in zend_generator_add_child() [all …]
|
H A D | zend_generators.h | 84 zend_generator_node node; member 113 if (EXPECTED(generator->node.parent == NULL)) { in zend_generator_get_current() 118 zend_generator *root = generator->node.ptr.root; in zend_generator_get_current()
|
/php-src/build/ |
H A D | gen_stub.php | 228 if ($node instanceof Node\Name) { 229 if ($node->toLowerString() === 'static') { 234 if ($node->toLowerString() === 'self') { 238 assert($node->isFullyQualified()); 242 if ($node instanceof Node\Identifier) { 243 if ($node->toLowerString() === 'array') { 560 public static function fromNode(Node $node): Type { argument 561 if ($node instanceof Node\UnionType || $node instanceof Node\IntersectionType) { 570 if ($node instanceof Node\NullableType) { 580 if ($node instanceof Node\Identifier && $node->toLowerString() === "iterable") { [all …]
|
/php-src/docs/source/introduction/ |
H A D | high-level-overview.rst | 102 Each AST node has a type and may have children. They also store their original position in the 134 number of instructions, before going to the next node.
|
/php-src/ext/dom/ |
H A D | attr.c | 132 xmlNodePtr node = xmlNewDocTextLen(attrp->doc, BAD_CAST ZSTR_VAL(str), ZSTR_LEN(str)); in dom_attr_value_write() local 133 xmlAddChild((xmlNodePtr) attrp, node); in dom_attr_value_write()
|
H A D | characterdata.c | 109 xmlNodePtr node; in PHP_METHOD() local 122 cur = node->content; in PHP_METHOD() 201 xmlNodePtr node; in dom_character_data_insert_data() local 216 cur = node->content; in dom_character_data_insert_data() 241 xmlNodeSetContent(node, first); in dom_character_data_insert_data() 243 xmlNodeAddContent(node, second); in dom_character_data_insert_data() 272 xmlNodePtr node; in dom_character_data_delete_data() local 285 cur = node->content; in dom_character_data_delete_data() 315 xmlNodeSetContent(node, substring); in dom_character_data_delete_data() 344 xmlNodePtr node; in dom_character_data_replace_data() local [all …]
|
H A D | config.m4 | 19 …nt_type.c $LEXBOR_DIR/dom/interfaces/element.c $LEXBOR_DIR/dom/interfaces/node.c $LEXBOR_DIR/dom/i… 33 element.c node.c characterdata.c \
|
H A D | config.w32 | 14 node.c characterdata.c documenttype.c \ 23 …data.c comment.c document.c document_fragment.c document_type.c element.c node.c processing_instru…
|
H A D | document.c | 452 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 D | dom_iterators.c | 31 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 D | domimplementation.c | 151 zval *node = NULL; in PHP_METHOD() local 162 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s!sO!", &uri, &uri_len, &name, &name_len, &node, dom_… in PHP_METHOD() 166 if (node != NULL) { in PHP_METHOD() 167 DOM_GET_OBJ(doctype, node, xmlDtdPtr, doctobj); in PHP_METHOD()
|
H A D | element.c | 401 xmlAddChild(attr, node); in PHP_METHOD() 635 zval *id, *node; in dom_element_set_attribute_node_common() local 722 zval *node; in dom_element_remove_attribute_node() local 1005 node->ns = NULL; in dom_remove_eliminated_ns_single_element() 1019 xmlNodePtr base = node; in dom_remove_eliminated_ns() 1020 node = node->children; in dom_remove_eliminated_ns() 1021 while (node != NULL) { in dom_remove_eliminated_ns() 1027 if (node->children) { in dom_remove_eliminated_ns() 1028 node = node->children; in dom_remove_eliminated_ns() 1033 node = php_dom_next_in_tree_order(node, base); in dom_remove_eliminated_ns() [all …]
|
H A D | entityreference.c | 37 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()
|