Home
last modified time | relevance | path

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

12

/PHP-5.3/main/
H A Dphp_variables.c556 zend_hash_update(&EG(symbol_table), "argv", sizeof("argv"), &arr, sizeof(zval *), NULL); in php_build_argv()
557 zend_hash_add(&EG(symbol_table), "argc", sizeof("argc"), &argc, sizeof(zval *), NULL); in php_build_argv()
644 int globals_check = (PG(register_globals) && (dest == (&EG(symbol_table)))); in php_autoglobal_merge()
715 … php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]) TSRMLS_CC); in php_hash_environment()
725 …php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) TSRMLS_CC); in php_hash_environment()
735 … php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_GET]) TSRMLS_CC); in php_hash_environment()
746 … php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV]) TSRMLS_CC); in php_hash_environment()
757 …php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]) TSRMLS_CC); in php_hash_environment()
806 if (zend_hash_find(&EG(symbol_table), "argc", sizeof("argc"), (void**)&argc) == SUCCESS && in php_auto_globals_create_server()
807 zend_hash_find(&EG(symbol_table), "argv", sizeof("argv"), (void**)&argv) == SUCCESS) { in php_auto_globals_create_server()
[all …]
/PHP-5.3/Zend/
H A Dzend_execute_API.c169 Z_ARRVAL_P(globals) = &EG(symbol_table); in init_executor()
172 EG(active_symbol_table) = &EG(symbol_table); in init_executor()
754 fci.symbol_table = symbol_table; in call_user_function_ex()
956 if (fci->symbol_table) { in zend_call_function()
957 EG(active_symbol_table) = fci->symbol_table; in zend_call_function()
1110 fcall_info.symbol_table = NULL; in zend_lookup_class_ex()
1645 if (ex->op_array && ex->symbol_table == symbol_table) { in zend_reset_all_cv()
1661 if (ex->op_array && ex->symbol_table == &EG(symbol_table)) { in zend_delete_global_variable()
1692 if (ex && ex->symbol_table) { in zend_rebuild_symbol_table()
1693 EG(active_symbol_table) = ex->symbol_table; in zend_rebuild_symbol_table()
[all …]
H A Dzend_variables.c42 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) { in _zval_dtor_func()
131 if (zvalue->value.ht == &EG(symbol_table)) { in _zval_copy_ctor_func()
H A Dzend_gc.c293 if (Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_scan_black()
299 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_scan_black()
327 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zobj_scan_black()
365 if (Z_ARRVAL_P(pz) == &EG(symbol_table)) { in zval_mark_grey()
373 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_mark_grey()
402 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zobj_mark_grey()
475 if (Z_ARRVAL_P(pz) == &EG(symbol_table)) { in zval_scan()
581 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_collect_white()
614 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zobj_collect_white()
H A Dzend_vm_execute.skl33 EX(symbol_table) = EG(active_symbol_table);
H A Dzend_globals.h183 HashTable symbol_table; /* main symbol table */ member
H A Dzend_API.h47 HashTable *symbol_table; member
435 …ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC);
500 ZEND_API void zend_reset_all_cv(HashTable *symbol_table TSRMLS_DC);
678 ZEND_SET_SYMBOL(&EG(symbol_table), name, var)
681 ZEND_SET_SYMBOL_WITH_LENGTH(&EG(symbol_table), name, name_length, var, _refcount, _is_ref)
H A Dzend_execute.c783 return &EG(symbol_table); in zend_get_target_symbol_table()
1239 zend_hash_apply(&EG(symbol_table), (apply_func_t) zend_check_symbol TSRMLS_CC); \
1240 if (&EG(symbol_table)!=EG(active_symbol_table)) { \
H A Dzend_interfaces.c55 fci.symbol_table = NULL; in zend_call_method()
H A Dzend_exceptions.c592 fci.symbol_table = NULL; in ZEND_METHOD()
H A Dzend_compile.h318 HashTable *symbol_table; member
H A Dzend_API.c2286 HashTable *symbol_table; in zend_set_hash_symbol() local
2295 symbol_table = va_arg(symbol_table_list, HashTable *); in zend_set_hash_symbol()
2296 zend_hash_update(symbol_table, name, name_length + 1, &symbol, sizeof(zval *), NULL); in zend_set_hash_symbol()
2939 fci->symbol_table = NULL; in zend_fcall_info_init()
/PHP-5.3/ext/session/
H A Dsession.c140 if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void *) &sym_global) == SUCCESS) { in php_add_session_var()
152 …_hash_symbol(empty_var, name, namelen, 1, 2, Z_ARRVAL_P(PS(http_session_vars)), &EG(symbol_table)); in php_add_session_var()
155 zend_set_hash_symbol(*sym_track, name, namelen, 1, 1, &EG(symbol_table)); in php_add_session_var()
175 if (zend_hash_find(&EG(symbol_table),name,namelen+1,(void *)&old_symbol) == SUCCESS) { in php_set_session_var()
226 if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void **) &tmp) == SUCCESS) { in php_get_session_var()
363 if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"), (void **) &array) == SUCCESS && in php_session_create_id()
558 if (zend_hash_find(&EG(symbol_table), str, str_len, (void **) &val) == SUCCESS && in migrate_global()
885 if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void **) &tmp) == SUCCESS) {
978 if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void **) &tmp) == SUCCESS) {
1425 zend_hash_find(&EG(symbol_table), "_GET", sizeof("_GET"), (void **) &data) == SUCCESS &&
[all …]
/PHP-5.3/sapi/apache/
H A Dmod_php5.c260 HashTable *symbol_table; in sapi_apache_register_server_variables() local
280 symbol_table = track_vars_array->value.ht; in sapi_apache_register_server_variables()
283 symbol_table = EG(active_symbol_table); in sapi_apache_register_server_variables()
285 symbol_table = NULL; in sapi_apache_register_server_variables()
287 if (symbol_table in sapi_apache_register_server_variables()
288 && !zend_hash_exists(symbol_table, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED")) in sapi_apache_register_server_variables()
289 …&& zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_tran… in sapi_apache_register_server_variables()
/PHP-5.3/sapi/apache_hooks/
H A Dmod_php5.c390 HashTable *symbol_table; in sapi_apache_register_server_variables() local
405 symbol_table = track_vars_array->value.ht; in sapi_apache_register_server_variables()
408 symbol_table = EG(active_symbol_table); in sapi_apache_register_server_variables()
410 symbol_table = NULL; in sapi_apache_register_server_variables()
412 if (symbol_table in sapi_apache_register_server_variables()
413 && !zend_hash_exists(symbol_table, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED")) in sapi_apache_register_server_variables()
414 …&& zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_tran… in sapi_apache_register_server_variables()
/PHP-5.3/ext/standard/
H A Dinfo.c149 if (zend_hash_find(&EG(symbol_table), name, name_length+1, (void **) &data)!=FAILURE in php_print_gpcse_array()
975 …if (zend_hash_find(&EG(symbol_table), "PHP_SELF", sizeof("PHP_SELF"), (void **) &data) != FAILURE … in php_print_info()
978 …if (zend_hash_find(&EG(symbol_table), "PHP_AUTH_TYPE", sizeof("PHP_AUTH_TYPE"), (void **) &data) !… in php_print_info()
981 …if (zend_hash_find(&EG(symbol_table), "PHP_AUTH_USER", sizeof("PHP_AUTH_USER"), (void **) &data) !… in php_print_info()
984 …if (zend_hash_find(&EG(symbol_table), "PHP_AUTH_PW", sizeof("PHP_AUTH_PW"), (void **) &data) != FA… in php_print_info()
H A Darray.c1987 if (key && Z_ARRVAL_P(stack) == &EG(symbol_table)) { in _phpi_pop()
2055 if (Z_ARRVAL_P(stack) == &EG(symbol_table)) { in PHP_FUNCTION()
2056 zend_reset_all_cv(&EG(symbol_table) TSRMLS_CC); in PHP_FUNCTION()
2136 if (Z_ARRVAL_P(array) == &EG(symbol_table)) { in PHP_FUNCTION()
2137 zend_reset_all_cv(&EG(symbol_table) TSRMLS_CC); in PHP_FUNCTION()
2667 if (Z_ARRVAL_P(return_value) == &EG(symbol_table)) { in PHP_FUNCTION()
2668 zend_reset_all_cv(&EG(symbol_table) TSRMLS_CC); in PHP_FUNCTION()
2820 if (Z_ARRVAL_P(return_value) == &EG(symbol_table)) { in PHP_FUNCTION()
3127 if (return_value->value.ht == &EG(symbol_table)) { in php_array_intersect()
3544 if (return_value->value.ht == &EG(symbol_table)) { in php_array_diff()
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_php.c276 …if (zend_hash_find(&EG(symbol_table), table, strlen(table) + 1, (void **) &data) == SUCCESS && Z_T… in fpm_php_get_string_from_table()
/PHP-5.3/sapi/roxen/
H A Droxen.c520 zend_hash_update(&EG(symbol_table), name, sizeof(name), \
555 zend_hash_update(&EG(symbol_table), buf, buf_len + 1, &zvalue, sizeof(zval *), NULL); in php_roxen_hash_environment()
/PHP-5.3/ext/pdo_sqlite/
H A Dsqlite_driver.c331 fc->fci.symbol_table = NULL; in do_callback()
495 collation->fc.fci.symbol_table = NULL; in php_sqlite3_collation_callback()
/PHP-5.3/sapi/cli/
H A Dphp_cli.c1248 zend_hash_update(&EG(symbol_table), "argi", sizeof("argi"), &argi, sizeof(zval *), NULL); in WinMain()
1259 zend_hash_update(&EG(symbol_table), "argn", sizeof("argn"), &argn, sizeof(zval *), NULL); in WinMain()
/PHP-5.3/ext/curl/
H A Dinterface.c1033 fci.symbol_table = NULL; in curl_write()
1108 fci.symbol_table = NULL; in curl_progress()
1182 fci.symbol_table = NULL; in curl_read()
1253 fci.symbol_table = NULL; in curl_write_header()
/PHP-5.3/ext/dom/
H A Dxpath.c201 fci.symbol_table = NULL; in dom_xpath_ext_function_php()
/PHP-5.3/ext/reflection/
H A Dphp_reflection.c1350 fci.symbol_table = NULL; in _reflection_export()
1764 fci.symbol_table = NULL; in ZEND_METHOD()
1831 fci.symbol_table = NULL; in ZEND_METHOD()
2623 fci.symbol_table = NULL; in ZEND_METHOD()
2732 fci.symbol_table = NULL; in ZEND_METHOD()
3922 fci.symbol_table = NULL; in ZEND_METHOD()
4002 fci.symbol_table = NULL; in ZEND_METHOD()
/PHP-5.3/ext/xsl/
H A Dxsltprocessor.c310 fci.symbol_table = NULL; in xsl_ext_function_php()

Completed in 153 milliseconds

12