Home
last modified time | relevance | path

Searched refs:ast_arena (Results 1 – 7 of 7) sorted by relevance

/PHP-8.3/Zend/
H A Dzend_language_scanner.h59 zend_arena *ast_arena; member
H A Dzend_language_scanner.l251 lex_state->ast_arena = CG(ast_arena); in zend_save_lexical_state()
294 CG(ast_arena) = lex_state->ast_arena; in zend_restore_lexical_state()
597 CG(ast_arena) = zend_arena_create(1024 * 32); in zend_compile()
631 zend_arena_destroy(CG(ast_arena)); in zend_compile()
661 zend_string *code, zend_arena **ast_arena, zend_string *filename) { in zend_compile_string_to_ast() argument
675 CG(ast_arena) = zend_arena_create(1024 * 32); in zend_compile_string_to_ast()
680 zend_arena_destroy(CG(ast_arena)); in zend_compile_string_to_ast()
686 *ast_arena = CG(ast_arena); in zend_compile_string_to_ast()
H A Dzend_globals.h137 zend_arena *ast_arena; member
H A Dzend_API.c5090 zend_arena *ast_arena; in get_default_via_ast() local
5095 ast = zend_compile_string_to_ast(code, &ast_arena, ZSTR_EMPTY_ALLOC()); in get_default_via_ast()
5105 zend_arena *original_ast_arena = CG(ast_arena); in get_default_via_ast()
5108 CG(ast_arena) = ast_arena; in get_default_via_ast()
5113 CG(ast_arena) = original_ast_arena; in get_default_via_ast()
5118 zend_arena_destroy(ast_arena); in get_default_via_ast()
H A Dzend_compile.h856 zend_string *code, struct _zend_arena **ast_arena, zend_string *filename);
H A Dzend_ast.c32 return zend_arena_alloc(&CG(ast_arena), size); in zend_ast_alloc()
/PHP-8.3/ext/tokenizer/
H A Dtokenizer.c477 CG(ast_arena) = zend_arena_create(1024 * 32); in tokenize_parse()
489 zend_arena_destroy(CG(ast_arena)); in tokenize_parse()

Completed in 56 milliseconds