Home
last modified time | relevance | path

Searched refs:symbol_table (Results 1 – 25 of 31) sorted by relevance

12

/php-src/main/
H A Dphp_variables.c62 HashTable *symbol_table = NULL; in php_register_known_variable() local
68 symbol_table = Z_ARRVAL_P(track_vars_array); in php_register_known_variable()
87 Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE]) != symbol_table); in php_register_known_variable()
90 php_register_variable_quick(var_name, var_name_len, value, symbol_table); in php_register_known_variable()
170 && ex->symbol_table == symtable1) { in php_register_variable_ex()
185 if (symtable1 == &EG(symbol_table) && in php_register_variable_ex()
703 zend_hash_update(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_ARGV), &arr); in php_build_argv()
704 zend_hash_update(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_ARGC), &argc); in php_build_argv()
759 int globals_check = (dest == (&EG(symbol_table))); in php_autoglobal_merge()
805 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
[all …]
/php-src/Zend/
H A Dzend_execute_API.c1804 zend_array *symbol_table; in zend_rebuild_symbol_table() local
1815 return ex->symbol_table; in zend_rebuild_symbol_table()
1820 symbol_table = ex->symbol_table = *(--EG(symtable_cache_ptr)); in zend_rebuild_symbol_table()
1822 return symbol_table; in zend_rebuild_symbol_table()
1826 symbol_table = ex->symbol_table = zend_new_array(ex->func->op_array.last_var); in zend_rebuild_symbol_table()
1828 return symbol_table; in zend_rebuild_symbol_table()
1830 zend_hash_real_init_mixed(symbol_table); in zend_rebuild_symbol_table()
1844 return symbol_table; in zend_rebuild_symbol_table()
1851 HashTable *ht = execute_data->symbol_table; in zend_attach_symbol_table()
1937 if (symbol_table) { in zend_set_local_var()
[all …]
H A Dzend_vm_execute.skl62 execute_data->symbol_table = zend_rebuild_symbol_table();
64 execute_data->symbol_table = &EG(symbol_table);
H A Dzend_globals.h178 zend_array symbol_table; /* main symbol table */ member
H A Dzend_builtin_functions.c1462 zend_array *symbol_table; in ZEND_FUNCTION() local
1470 symbol_table = zend_rebuild_symbol_table(); in ZEND_FUNCTION()
1471 if (UNEXPECTED(symbol_table == NULL)) { in ZEND_FUNCTION()
1475 RETURN_ARR(zend_array_dup(symbol_table)); in ZEND_FUNCTION()
1690 zval *arg = zend_hash_find_ex_ind(call->symbol_table, arg_name, 1); in debug_backtrace_get_args()
H A Dzend_execute.c2379 ht = &EG(symbol_table); in zend_get_target_symbol_table()
2385 ht = EX(symbol_table); in zend_get_target_symbol_table()
4052 zend_hash_apply(&EG(symbol_table), zend_check_symbol); \
4053 if (&EG(symbol_table)!=EX(symbol_table)) { \
4054 zend_hash_apply(EX(symbol_table), zend_check_symbol); \
4086 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table) /* {{{ */ in zend_clean_and_cache_symbol_table() argument
4091 zend_symtable_clean(symbol_table); in zend_clean_and_cache_symbol_table()
4093 zend_array_destroy(symbol_table); in zend_clean_and_cache_symbol_table()
4095 *(EG(symtable_cache_ptr)++) = symbol_table; in zend_clean_and_cache_symbol_table()
4866 return execute_data->symbol_table; in zend_unfinished_execution_gc_ex()
H A Dzend_vm_def.h2956 zend_clean_and_cache_symbol_table(EX(symbol_table)); in ZEND_VM_HOT_HELPER()
3019 zend_clean_and_cache_symbol_table(EX(symbol_table)); in ZEND_VM_HOT_HELPER()
3031 zend_array *symbol_table = EX(symbol_table); in ZEND_VM_HOT_HELPER() local
3041 if (old_execute_data->symbol_table == symbol_table) { in ZEND_VM_HOT_HELPER()
6546 call->symbol_table = EX(symbol_table);
6548 call->symbol_table = zend_rebuild_symbol_table();
6713 ZEND_ASSERT(ht != &EG(symbol_table));
8601 Bucket *p = (Bucket*)((char*)EG(symbol_table).arData + idx);
8613 value = zend_hash_find_known_hash(&EG(symbol_table), varname);
8616 idx = (char*)value - (char*)EG(symbol_table).arData;
[all …]
H A Dzend_gc.c936 ZEND_ASSERT((zend_array*)ref != &EG(symbol_table)); in gc_scan_black()
1111 ZEND_ASSERT(((zend_array*)ref) != &EG(symbol_table)); in gc_mark_grey()
1323 ZEND_ASSERT(ht != &EG(symbol_table)); in gc_scan()
H A Dzend_execute.h432 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table);
H A Dzend_compile.h620 zend_array *symbol_table; member
H A Dzend_generators.c143 zend_clean_and_cache_symbol_table(execute_data->symbol_table); in zend_generator_close()
/php-src/ext/standard/
H A Darray.c1983 zend_hash_add_new(symbol_table, var_name, entry);
2028 zend_hash_add_new(symbol_table, var_name, entry);
2218 zend_hash_add_new(symbol_table, var_name, entry);
2287 zend_hash_add_new(symbol_table, var_name, entry);
2434 zend_hash_add_new(symbol_table, Z_STR(final_name), entry);
2539 zend_hash_add_new(symbol_table, var_name, entry);
2579 zend_hash_add_new(symbol_table, var_name, entry);
2596 zend_array *symbol_table; local
2632 symbol_table = zend_rebuild_symbol_table();
2738 zend_array *symbol_table; local
[all …]
H A Dinfo.c177 …if ((data = zend_hash_find_deref(&EG(symbol_table), key)) != NULL && (Z_TYPE_P(data) == IS_ARRAY))… in php_print_gpcse_array()
996 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_SELF", sizeof("PHP_SELF")-1)) != NULL && Z_… in php_print_info()
999 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_TYPE", sizeof("PHP_AUTH_TYPE")-1)) != … in php_print_info()
1002 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_USER", sizeof("PHP_AUTH_USER")-1)) != … in php_print_info()
1005 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_PW", sizeof("PHP_AUTH_PW")-1)) != NULL… in php_print_info()
H A Durl_scanner_ex.re364 if ((tmp = zend_hash_find(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_SERVER))) &&
/php-src/ext/readline/
H A Dreadline_cli.c446 zend_array *symbol_table = &EG(symbol_table); in cli_completion_generator_var() local
448 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var()
/php-src/sapi/fpm/fpm/
H A Dfpm_php.c287 data = zend_hash_find(&EG(symbol_table), table); in fpm_php_is_key_in_table()
/php-src/sapi/cli/
H A Dphp_cli.c993 zend_hash_str_update(&EG(symbol_table), "argn", sizeof("argn")-1, &argn); in do_cli()
995 zend_hash_str_update(&EG(symbol_table), "argi", sizeof("argi")-1, &argi); in do_cli()
/php-src/ext/session/
H A Dsession.c272 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in php_session_track_init()
1003 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in PS_SERIALIZER_DECODE_FUNC()
1594 (data = zend_hash_str_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE") - 1))) { in php_session_reset_id()
1666 …if (PS(use_cookies) && (data = zend_hash_str_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE") … in php_session_start()
1676 if (!PS(id) && (data = zend_hash_str_find(&EG(symbol_table), "_GET", sizeof("_GET") - 1))) { in php_session_start()
1682 if (!PS(id) && (data = zend_hash_str_find(&EG(symbol_table), "_POST", sizeof("_POST") - 1))) { in php_session_start()
/php-src/sapi/phpdbg/
H A Dphpdbg_info.c190 symtable = &EG(symbol_table); in phpdbg_print_symbols()
H A Dphpdbg_watch.c1370 …zend_hash_add(EG(current_execute_data)->symbol_table, ZSTR_KNOWN(ZEND_STR_THIS), &EG(current_execu…
1380 …o_global(input, len) && phpdbg_watchpoint_parse_input(input, len, &EG(symbol_table), 0, &info, 1) …
1385 …ret = phpdbg_parse_variable_with_arg(input, len, EG(current_execute_data)->symbol_table, 0, (phpdb…
H A Dphpdbg_prompt.c866 zend_hash_clean(ex->symbol_table); in PHPDBG_COMMAND()
953 … phpdbg_parse_variable(param->str, param->len, &EG(symbol_table), 0, phpdbg_output_ev_variable, 0); in PHPDBG_COMMAND()
/php-src/ext/opcache/jit/
H A Dzend_jit_helpers.c1860 if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_global_helper()
1861 Bucket *p = (Bucket*)((char*)EG(symbol_table).arData + idx); in zend_jit_fetch_global_helper()
1873 value = zend_hash_find_known_hash(&EG(symbol_table), varname); in zend_jit_fetch_global_helper()
1875 value = zend_hash_add_new(&EG(symbol_table), varname, &EG(uninitialized_zval)); in zend_jit_fetch_global_helper()
1876 idx = (char*)value - (char*)EG(symbol_table).arData; in zend_jit_fetch_global_helper()
1880 idx = (char*)value - (char*)EG(symbol_table).arData; in zend_jit_fetch_global_helper()
H A Dzend_jit_vm_helpers.c54 zend_clean_and_cache_symbol_table(EX(symbol_table)); in zend_jit_leave_nested_func_helper()
94 zend_clean_and_cache_symbol_table(EX(symbol_table)); in zend_jit_leave_top_func_helper()
/php-src/
H A D.gdbinit293 set $symtable = ((HashTable *)&($eg_ptr->symbol_table))
/php-src/ext/opcache/
H A DZendAccelerator.c1697 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_SERVER))) { in zend_accel_get_auto_globals()
1700 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_ENV))) { in zend_accel_get_auto_globals()
1703 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_REQUEST))) { in zend_accel_get_auto_globals()
4527 zend_hash_init(&EG(symbol_table), 0, NULL, ZVAL_PTR_DTOR, 0);

Completed in 130 milliseconds

12