zend_ast_create_constant 355 Zend/zend_ast.c zend_ast *copy = zend_ast_create_constant(ast->u.val); zend_ast_create_constant 48 Zend/zend_ast.h ZEND_API zend_ast *zend_ast_create_constant(zval *zv); zend_ast_create_constant 5650 Zend/zend_language_parser.c { (yyval).u.ast = zend_ast_create_constant(&(yyvsp[(1) - (1)]).u.constant); } zend_ast_create_constant 5655 Zend/zend_language_parser.c { (yyval).u.ast = zend_ast_create_constant(&(yyvsp[(1) - (1)]).u.constant); } zend_ast_create_constant 5660 Zend/zend_language_parser.c { zend_do_fetch_constant(&(yyval), NULL, &(yyvsp[(1) - (1)]), ZEND_CT, 1 TSRMLS_CC); (yyval).u.ast = zend_ast_create_constant(&(yyval).u.constant); } zend_ast_create_constant 5665 Zend/zend_language_parser.c { (yyval).op_type = IS_CONST; ZVAL_EMPTY_STRING(&(yyval).u.constant); zend_do_build_namespace_name(&(yyval), &(yyval), &(yyvsp[(3) - (3)]) TSRMLS_CC); (yyvsp[(3) - (3)]) = (yyval); zend_do_fetch_constant(&(yyval), NULL, &(yyvsp[(3) - (3)]), ZEND_CT, 0 TSRMLS_CC); (yyval).u.ast = zend_ast_create_constant(&(yyval).u.constant); } zend_ast_create_constant 5670 Zend/zend_language_parser.c { char *tmp = estrndup(Z_STRVAL((yyvsp[(2) - (2)]).u.constant), Z_STRLEN((yyvsp[(2) - (2)]).u.constant)+1); memcpy(&(tmp[1]), Z_STRVAL((yyvsp[(2) - (2)]).u.constant), Z_STRLEN((yyvsp[(2) - (2)]).u.constant)+1); tmp[0] = '\\'; efree(Z_STRVAL((yyvsp[(2) - (2)]).u.constant)); Z_STRVAL((yyvsp[(2) - (2)]).u.constant) = tmp; ++Z_STRLEN((yyvsp[(2) - (2)]).u.constant); zend_do_fetch_constant(&(yyval), NULL, &(yyvsp[(2) - (2)]), ZEND_CT, 0 TSRMLS_CC); (yyval).u.ast = zend_ast_create_constant(&(yyval).u.constant); } zend_ast_create_constant 5685 Zend/zend_language_parser.c { (yyval).u.ast = zend_ast_create_constant(&(yyvsp[(1) - (1)]).u.constant); } zend_ast_create_constant 5690 Zend/zend_language_parser.c { (yyval).u.ast = zend_ast_create_constant(&(yyvsp[(1) - (1)]).u.constant); } zend_ast_create_constant 5920 Zend/zend_language_parser.c { (yyval).op_type = IS_CONST; INIT_PZVAL(&(yyval).u.constant); array_init(&(yyval).u.constant); (yyval).u.ast = zend_ast_create_constant(&(yyval).u.constant); } zend_ast_create_constant 996 Zend/zend_language_parser.y common_scalar { $$.u.ast = zend_ast_create_constant(&$1.u.constant); } zend_ast_create_constant 997 Zend/zend_language_parser.y | static_class_name_scalar { $$.u.ast = zend_ast_create_constant(&$1.u.constant); } zend_ast_create_constant 998 Zend/zend_language_parser.y | namespace_name { zend_do_fetch_constant(&$$, NULL, &$1, ZEND_CT, 1 TSRMLS_CC); $$.u.ast = zend_ast_create_constant(&$$.u.constant); } zend_ast_create_constant 999 Zend/zend_language_parser.y | T_NAMESPACE T_NS_SEPARATOR namespace_name { $$.op_type = IS_CONST; ZVAL_EMPTY_STRING(&$$.u.constant); zend_do_build_namespace_name(&$$, &$$, &$3 TSRMLS_CC); $3 = $$; zend_do_fetch_constant(&$$, NULL, &$3, ZEND_CT, 0 TSRMLS_CC); $$.u.ast = zend_ast_create_constant(&$$.u.constant); } zend_ast_create_constant 1000 Zend/zend_language_parser.y | T_NS_SEPARATOR namespace_name { char *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); tmp[0] = '\\'; efree(Z_STRVAL($2.u.constant)); Z_STRVAL($2.u.constant) = tmp; ++Z_STRLEN($2.u.constant); zend_do_fetch_constant(&$$, NULL, &$2, ZEND_CT, 0 TSRMLS_CC); $$.u.ast = zend_ast_create_constant(&$$.u.constant); } zend_ast_create_constant 1003 Zend/zend_language_parser.y | static_class_constant { $$.u.ast = zend_ast_create_constant(&$1.u.constant); } zend_ast_create_constant 1004 Zend/zend_language_parser.y | T_CLASS_C { $$.u.ast = zend_ast_create_constant(&$1.u.constant); } zend_ast_create_constant 1062 Zend/zend_language_parser.y /* empty */ { $$.op_type = IS_CONST; INIT_PZVAL(&$$.u.constant); array_init(&$$.u.constant); $$.u.ast = zend_ast_create_constant(&$$.u.constant); }