Searched refs:symbol_table (Results 1 - 25 of 45) sorted by relevance

12

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c276 if (zend_hash_find(&EG(symbol_table), table, strlen(table) + 1, (void **) &data) == SUCCESS && Z_TYPE_PP(data) == IS_ARRAY) {
/PHP_TRUNK/Zend/
H A Dzend_gc.c294 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
313 if (Z_ARRVAL_P(pz) != &EG(symbol_table)) {
319 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
348 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
362 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
401 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
418 if (Z_ARRVAL_P(pz) == &EG(symbol_table)) {
426 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
456 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
468 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
[all...]
H A Dzend_globals.h185 HashTable symbol_table; /* main symbol table */ member in struct:_zend_executor_globals
H A Dzend_interfaces.c55 fci.symbol_table = NULL;
H A Dzend_API.h47 HashTable *symbol_table; member in struct:_zend_fcall_info
454 ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC);
523 ZEND_API void zend_reset_all_cv(HashTable *symbol_table TSRMLS_DC);
724 ZEND_SET_SYMBOL(&EG(symbol_table), name, var)
727 ZEND_SET_SYMBOL_WITH_LENGTH(&EG(symbol_table), name, name_length, var, _refcount, _is_ref)
H A Dzend_variables.c42 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) {
135 if (zvalue->value.ht == &EG(symbol_table)) {
H A Dzend_execute.h406 void zend_clean_and_cache_symbol_table(HashTable *symbol_table TSRMLS_DC);
H A Dzend.c632 Z_ARRVAL_P(globals) = &EG(symbol_table);
633 zend_hash_update(&EG(symbol_table), name, name_len + 1, &globals, sizeof(zval *), NULL);
H A Dzend_execute_API.c161 zend_hash_init(&EG(symbol_table), 50, NULL, ZVAL_PTR_DTOR, 0);
162 EG(active_symbol_table) = &EG(symbol_table);
216 symbols = zend_hash_num_elements(&EG(symbol_table));
217 zend_hash_reverse_apply(&EG(symbol_table), (apply_func_t) zval_call_destructor TSRMLS_CC);
218 } while (symbols != zend_hash_num_elements(&EG(symbol_table)));
247 zend_hash_graceful_reverse_destroy(&EG(symbol_table));
606 int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC) /* {{{ */
618 fci.symbol_table = symbol_table;
817 if (fci->symbol_table) {
[all...]
H A Dzend_execute.c1002 return &EG(symbol_table);
1472 zend_hash_apply(&EG(symbol_table), (apply_func_t) zend_check_symbol TSRMLS_CC); \
1473 if (&EG(symbol_table)!=EG(active_symbol_table)) { \
1520 void zend_clean_and_cache_symbol_table(HashTable *symbol_table TSRMLS_DC) /* {{{ */
1523 zend_hash_destroy(symbol_table);
1524 FREE_HASHTABLE(symbol_table);
1528 zend_hash_clean(symbol_table);
1529 *(++EG(symtable_cache_ptr)) = symbol_table;
1676 EX(symbol_table) = EG(active_symbol_table);
H A Dzend_generators.c115 if (!execute_data->symbol_table) {
118 zend_clean_and_cache_symbol_table(execute_data->symbol_table TSRMLS_CC);
308 execute_data->symbol_table = EG(active_symbol_table);
363 EG(active_symbol_table) = generator->execute_data->symbol_table;
/PHP_TRUNK/ext/dom/
H A Dxpath.c201 fci.symbol_table = NULL;
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c331 fc->fci.symbol_table = NULL;
495 collation->fc.fci.symbol_table = NULL;
/PHP_TRUNK/sapi/apache/
H A Dmod_php5.c260 HashTable *symbol_table; local
280 symbol_table = track_vars_array->value.ht;
282 symbol_table = NULL;
284 if (symbol_table
285 && !zend_hash_exists(symbol_table, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED"))
286 && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) {
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php5.c390 HashTable *symbol_table; local
405 symbol_table = track_vars_array->value.ht;
407 symbol_table = NULL;
409 if (symbol_table
410 && !zend_hash_exists(symbol_table, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED"))
411 && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) {
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c1054 zend_hash_update(&EG(symbol_table), "argi", sizeof("argi"), &argi, sizeof(zval *), NULL);
1065 zend_hash_update(&EG(symbol_table), "argn", sizeof("argn"), &argn, sizeof(zval *), NULL);
/PHP_TRUNK/sapi/roxen/
H A Droxen.c519 zend_hash_update(&EG(symbol_table), name, sizeof(name), \
554 zend_hash_update(&EG(symbol_table), buf, buf_len + 1, &zvalue, sizeof(zval *), NULL);
564 zend_hash_update(&EG(symbol_table), "SERVER_BOOTTIME", sizeof("SERVER_BOOTTIME"), &zvalue, sizeof(zval *), NULL);
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1261 if (zend_hash_exists(&EG(symbol_table), jit_auto_globals_info[i].name, jit_auto_globals_info[i].len)) {
1272 if (zend_hash_exists(&EG(symbol_table), jit_auto_globals_info[3].name, jit_auto_globals_info[3].len)) {
2221 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) {
2335 EG(symbol_table).pDestructor = (dtor_func_t)accel_fast_zval_ptr_dtor;
2342 old_destructor = EG(symbol_table).pDestructor;
2343 EG(symbol_table).pDestructor = (dtor_func_t)accel_fast_zval_ptr_dtor;
2345 zend_hash_graceful_reverse_destroy(&EG(symbol_table));
2347 EG(symbol_table).pDestructor = old_destructor;
2349 zend_hash_init(&EG(symbol_table), 0, NULL, NULL, 0);
H A Dzend_accelerator_util_funcs.c247 if (ast->u.val->value.ht && ast->u.val->value.ht != &EG(symbol_table)) {
307 if (ret->value.ht && ret->value.ht != &EG(symbol_table)) {
431 if (((zval*)p->pDataPtr)->value.ht && ((zval*)p->pDataPtr)->value.ht != &EG(symbol_table)) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_frame.c43 EG(active_symbol_table) = PHPDBG_EX(symbol_table);
87 EG(active_symbol_table) = PHPDBG_EX(symbol_table);
H A Dphpdbg_prompt.c96 fci.symbol_table = EG(active_symbol_table);
553 fci.symbol_table = NULL;
605 if (ex && ex->symbol_table) {
606 zend_hash_clean(ex->symbol_table);
1116 EX(symbol_table) = EG(active_symbol_table);
/PHP_TRUNK/main/
H A Dphp_variables.c595 zend_hash_update(&EG(symbol_table), "argv", sizeof("argv"), &arr, sizeof(zval *), NULL);
596 zend_hash_update(&EG(symbol_table), "argc", sizeof("argc"), &argc, sizeof(zval *), NULL);
662 int globals_check = (dest == (&EG(symbol_table)));
725 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL);
752 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL);
775 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL);
794 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL);
809 if (zend_hash_find(&EG(symbol_table), "argc", sizeof("argc"), (void**)&argc) == SUCCESS &&
810 zend_hash_find(&EG(symbol_table), "argv", sizeof("argv"), (void**)&argv) == SUCCESS) {
832 zend_hash_update(&EG(symbol_table), nam
[all...]
/PHP_TRUNK/ext/standard/
H A Darray.c1819 if (ht == &EG(symbol_table)) {
1820 zend_reset_all_cv(&EG(symbol_table) TSRMLS_CC);
1887 if (key && Z_ARRVAL_P(stack) == &EG(symbol_table)) {
2748 if (Z_ARRVAL_P(return_value) == &EG(symbol_table)) {
3055 if (return_value->value.ht == &EG(symbol_table)) {
3472 if (return_value->value.ht == &EG(symbol_table)) {
H A Dinfo.c204 if (zend_hash_find(&EG(symbol_table), name, name_length+1, (void **) &data)!=FAILURE
895 if (zend_hash_find(&EG(symbol_table), "PHP_SELF", sizeof("PHP_SELF"), (void **) &data) != FAILURE && Z_TYPE_PP(data) == IS_STRING) {
898 if (zend_hash_find(&EG(symbol_table), "PHP_AUTH_TYPE", sizeof("PHP_AUTH_TYPE"), (void **) &data) != FAILURE && Z_TYPE_PP(data) == IS_STRING) {
901 if (zend_hash_find(&EG(symbol_table), "PHP_AUTH_USER", sizeof("PHP_AUTH_USER"), (void **) &data) != FAILURE && Z_TYPE_PP(data) == IS_STRING) {
904 if (zend_hash_find(&EG(symbol_table), "PHP_AUTH_PW", sizeof("PHP_AUTH_PW"), (void **) &data) != FAILURE && Z_TYPE_PP(data) == IS_STRING) {
/PHP_TRUNK/ext/session/
H A Dsession.c303 if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"), (void **) &array) == SUCCESS &&
959 if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void **) &tmp) == SUCCESS) {
960 if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_session_vars)) {
1052 if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void **) &tmp) == SUCCESS) {
1053 if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_session_vars)) {
1539 if (PS(use_cookies) && zend_hash_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE"), (void **) &data) == SUCCESS &&
1549 zend_hash_find(&EG(symbol_table), "_GET", sizeof("_GET"), (void **) &data) == SUCCESS &&
1557 zend_hash_find(&EG(symbol_table), "_POST", sizeof("_POST"), (void **) &data) == SUCCESS &&

Completed in 53 milliseconds

12