Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_language_scanner.h61 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.h139 zend_arena *ast_arena; member
H A Dzend_API.c5305 zend_arena *ast_arena; in get_default_via_ast() local
5310 ast = zend_compile_string_to_ast(code, &ast_arena, ZSTR_EMPTY_ALLOC()); in get_default_via_ast()
5320 zend_arena *original_ast_arena = CG(ast_arena); in get_default_via_ast()
5323 CG(ast_arena) = ast_arena; in get_default_via_ast()
5328 CG(ast_arena) = original_ast_arena; in get_default_via_ast()
5333 zend_arena_destroy(ast_arena); in get_default_via_ast()
H A Dzend_compile.h931 zend_string *code, struct _zend_arena **ast_arena, zend_string *filename);
H A Dzend_ast.c33 return zend_arena_alloc(&CG(ast_arena), size); in zend_ast_alloc()
/php-src/ext/tokenizer/
H A Dtokenizer.c476 CG(ast_arena) = zend_arena_create(1024 * 32); in tokenize_parse()
488 zend_arena_destroy(CG(ast_arena)); in tokenize_parse()

Completed in 49 milliseconds