/PHP-5.6/sapi/phpdbg/ |
H A D | phpdbg_bp.c | 299 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method() local 305 class_len, (void**)&class_table) != SUCCESS) { in phpdbg_set_breakpoint_method() 324 zend_hash_update(class_table, lcname, func_len, in phpdbg_set_breakpoint_method() 330 PHPDBG_BREAK_MAPPING(new_break.id, class_table); in phpdbg_set_breakpoint_method() 502 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method_opline() local 538 class_table, in phpdbg_set_breakpoint_method_opline() 842 HashTable *class_table; in phpdbg_find_breakpoint_method() local 851 class_table, in phpdbg_find_breakpoint_method() 1372 HashTable *class_table; local 1451 HashTable *class_table, *method_table; local [all …]
|
H A D | phpdbg_info.c | 290 for (zend_hash_internal_pointer_reset_ex(EG(class_table), &position); in PHPDBG_INFO() 291 zend_hash_get_current_data_ex(EG(class_table), (void**)&ce, &position) == SUCCESS; in PHPDBG_INFO() 292 zend_hash_move_forward_ex(EG(class_table), &position)) { in PHPDBG_INFO()
|
H A D | phpdbg_prompt.c | 762 phpdbg_writeln("Classes\t\t%d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND() 925 phpdbg_writeln("Classes\t\t\t%d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND()
|
H A D | phpdbg.c | 739 phpdbg_writeln("Classes\t\t\t%d", zend_hash_num_elements(EG(class_table)));
|
/PHP-5.6/Zend/ |
H A D | zend.c | 42 # define GLOBAL_CLASS_TABLE CG(class_table) 515 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor() 516 zend_hash_init_ex(compiler_globals->class_table, 10, NULL, ZEND_CLASS_DTOR, 1, 0); in compiler_globals_ctor() 527 compiler_globals->last_static_member = zend_hash_num_elements(compiler_globals->class_table); in compiler_globals_ctor() 543 if (compiler_globals->class_table != GLOBAL_CLASS_TABLE) { in compiler_globals_dtor() 544 zend_hash_destroy(compiler_globals->class_table); in compiler_globals_dtor() 545 free(compiler_globals->class_table); in compiler_globals_dtor() 731 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup() 734 *compiler_globals->class_table = *GLOBAL_CLASS_TABLE; in zend_startup() 787 *GLOBAL_CLASS_TABLE = *compiler_globals->class_table; in zend_post_startup() [all …]
|
H A D | zend_globals.h | 95 HashTable *class_table; /* class table */ member 198 HashTable *class_table; /* class table */ member
|
H A D | zend_execute_API.c | 148 EG(class_table) = CG(class_table); in init_executor() 281 zend_hash_apply(EG(class_table), (apply_func_t) zend_cleanup_class_data TSRMLS_CC); in shutdown_executor() 284 zend_hash_reverse_apply(EG(class_table), (apply_func_t) zend_cleanup_user_class_data TSRMLS_CC); in shutdown_executor() 297 …zend_hash_reverse_apply(EG(class_table), (apply_func_t) clean_non_persistent_class_full TSRMLS_CC); in shutdown_executor() 300 zend_hash_reverse_apply(EG(class_table), (apply_func_t) clean_non_persistent_class TSRMLS_CC); in shutdown_executor() 942 if (zend_hash_quick_find(EG(class_table), lc_name, lc_length, hash, (void **) ce) == SUCCESS) { in zend_lookup_class_ex() 1022 retval = zend_hash_quick_find(EG(class_table), lc_name, lc_length, hash, (void **) ce); in zend_lookup_class_ex()
|
H A D | zend_builtin_functions.c | 1257 found = zend_hash_find(EG(class_table), name, len+1, (void **) &ce); in ZEND_FUNCTION() 1300 found = zend_hash_find(EG(class_table), name, len+1, (void **) &ce); in ZEND_FUNCTION() 1343 found = zend_hash_find(EG(class_table), name, len+1, (void **) &ce); in ZEND_FUNCTION() 1683 …zend_hash_apply_with_arguments(EG(class_table) TSRMLS_CC, (apply_func_args_t) copy_class_or_interf… in ZEND_FUNCTION() 1700 …zend_hash_apply_with_arguments(EG(class_table) TSRMLS_CC, (apply_func_args_t) copy_class_or_interf… in ZEND_FUNCTION() 1716 …zend_hash_apply_with_arguments(EG(class_table) TSRMLS_CC, (apply_func_args_t) copy_class_or_interf… in ZEND_FUNCTION()
|
H A D | zend_API.c | 1900 for (zend_hash_internal_pointer_reset_ex(CG(class_table), &pos); in zend_collect_module_handlers() 1901 zend_hash_get_current_data_ex(CG(class_table), (void *) &pce, &pos) == SUCCESS; in zend_collect_module_handlers() 1902 zend_hash_move_forward_ex(CG(class_table), &pos)) { in zend_collect_module_handlers() 1915 for (zend_hash_internal_pointer_reset_ex(CG(class_table), &pos); in zend_collect_module_handlers() 1916 zend_hash_get_current_data_ex(CG(class_table), (void *) &pce, &pos) == SUCCESS; in zend_collect_module_handlers() 1917 zend_hash_move_forward_ex(CG(class_table), &pos)) { in zend_collect_module_handlers() 2403 …zend_hash_apply_with_argument(EG(class_table), (apply_func_arg_t) clean_module_class, (void *) &mo… in clean_module_classes() 2589 …if (zend_hash_find(CG(class_table), parent_name, strlen(parent_name)+1, (void **) &pce)==FAILURE) { in zend_register_internal_class_ex() 2640 ret = zend_hash_add(CG(class_table), lcname+1, name_len, &ce, sizeof(zend_class_entry *), NULL); in zend_register_class_alias_ex() 2642 ret = zend_hash_add(CG(class_table), lcname, name_len+1, &ce, sizeof(zend_class_entry *), NULL); in zend_register_class_alias_ex() [all …]
|
H A D | zend_compile.h | 543 …class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_bool comp… 544 …class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_class_ent…
|
H A D | zend_compile.c | 4705 …if (zend_hash_quick_find(class_table, Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_HASH_P(op1), (void **) &… in do_bind_class() 4712 …if (zend_hash_quick_add(class_table, Z_STRVAL_P(op2), Z_STRLEN_P(op2)+1, Z_HASH_P(op2), &ce, sizeo… in do_bind_class() 4746 …found_ce = zend_hash_quick_find(class_table, Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_HASH_P(op1), (voi… in do_bind_inherited_class() 4797 if (do_bind_class(CG(active_op_array), opline, CG(class_table), 1 TSRMLS_CC) == NULL) { in zend_do_early_binding() 4800 table = CG(class_table); in zend_do_early_binding() 4825 …if (do_bind_inherited_class(CG(active_op_array), opline, CG(class_table), *pce, 1 TSRMLS_CC) == NU… in zend_do_early_binding() 4832 table = CG(class_table); in zend_do_early_binding() 4864 …do_bind_inherited_class(op_array, &op_array->opcodes[opline_num], EG(class_table), *pce, 0 TSRMLS_… in zend_do_delayed_early_binding() 6963 int n = zend_hash_num_elements(CG(class_table)); in zend_initialize_class_data() 7210 …if (zend_hash_exists(CG(class_table), c_ns_name, Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_… in zend_do_use() [all …]
|
H A D | zend_vm_def.h | 5081 …EX_T(opline->result.var).class_entry = do_bind_class(EX(op_array), opline, EG(class_table), 0 TSRM… 5091 …lt.var).class_entry = do_bind_inherited_class(EX(op_array), opline, EG(class_table), EX_T(opline->… 5102 …if (zend_hash_quick_find(EG(class_table), Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv)+1… 5103 …(zend_hash_quick_find(EG(class_table), Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opline->op1.zv), Z_H… 5105 …do_bind_inherited_class(EX(op_array), opline, EG(class_table), EX_T(opline->extended_value).class_…
|
/PHP-5.6/ext/pdo/ |
H A D | php_pdo.h | 70 if (zend_hash_find(CG(class_table), "pdo", sizeof("pdo"), (void **) &pce) != FAILURE) \
|
H A D | pdo.c | 81 …if (zend_hash_find(CG(class_table), "runtimeexception", sizeof("RuntimeException"), (void **) &pce… in php_pdo_get_exception_base()
|
/PHP-5.6/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 84 zend_hash_init(&persistent_script->class_table, 10, NULL, ZEND_CLASS_DTOR, 0); in create_persistent_script() 133 compact_hash_table(&persistent_script->class_table); in compact_persistent_script() 140 persistent_script->class_table.pDestructor = (dtor_func_t)zend_accel_destroy_zend_class; in free_persistent_script() 143 persistent_script->class_table.pDestructor = NULL; in free_persistent_script() 147 zend_hash_destroy(&persistent_script->class_table); in free_persistent_script() 988 do_bind_inherited_class(&op_array->opcodes[opline_num], EG(class_table), *pce, 1 TSRMLS_CC); 1007 if (zend_hash_num_elements(&persistent_script->class_table) > 0) { 1009 …zend_accel_class_hash_copy(CG(class_table), &persistent_script->class_table, (unique_copy_ctor_fun… 1046 if (zend_hash_num_elements(&persistent_script->class_table) > 0) { 1047 zend_accel_class_hash_copy(CG(class_table), &persistent_script->class_table, NULL TSRMLS_CC);
|
H A D | zend_persist_calc.c | 357 static uint zend_accel_persist_class_table_calc(HashTable *class_table TSRMLS_DC) 359 …return zend_hash_persist_calc(class_table, (int (*)(void* TSRMLS_DC)) zend_persist_class_entry_cal… 367 ADD_SIZE(zend_accel_persist_class_table_calc(&new_persistent_script->class_table TSRMLS_CC));
|
H A D | zend_persist.c | 699 static void zend_accel_persist_class_table(HashTable *class_table TSRMLS_DC) 701 …zend_hash_persist(class_table, (zend_persist_func_t) zend_persist_class_entry, sizeof(zend_class_e… 702 zend_hash_apply(class_table, (apply_func_t) zend_update_parent_ce TSRMLS_CC); 709 zend_accel_persist_class_table(&script->class_table TSRMLS_CC);
|
H A D | ZendAccelerator.c | 410 p = CG(class_table)->pListHead; in accel_use_shm_interned_strings() 1396 orig_class_table = CG(class_table); in compile_and_cache_file() 1401 EG(class_table) = CG(class_table) = &new_persistent_script->class_table; in compile_and_cache_file() 1427 EG(class_table) = CG(class_table) = orig_class_table; in compile_and_cache_file() 2415 old_destructor = EG(class_table)->pDestructor; 2416 EG(class_table)->pDestructor = NULL; 2417 …zend_hash_reverse_apply(EG(class_table), (apply_func_t) accel_clean_non_persistent_class TSRMLS_CC… 2418 EG(class_table)->pDestructor = old_destructor; 2792 zend_hash_clean(CG(class_table));
|
H A D | zend_accelerator_module.c | 307 …if (zend_hash_find(EG(class_table), Z_STRVAL(EX(opline)->op2.u.constant), Z_STRLEN(EX(opline)->op2… in ZEND_INI_END() 308 …(zend_hash_find(EG(class_table), Z_STRVAL(EX(opline)->op1.u.constant), Z_STRLEN(EX(opline)->op1.u.… in ZEND_INI_END() 310 …do_bind_inherited_class(EX(opline), EG(class_table), EX_T(EX(opline)->extended_value).class_entry,… in ZEND_INI_END()
|
H A D | ZendAccelerator.h | 191 HashTable class_table; member
|
/PHP-5.6/ext/simplexml/ |
H A D | sxe.c | 193 …if (zend_hash_find(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement"), (void **) &pce… in PHP_MINIT_FUNCTION()
|
/PHP-5.6/ext/spl/ |
H A D | php_spl.c | 77 found = zend_hash_find(EG(class_table), lc_name, len +1, (void **) &ce); in spl_find_ce_by_name() 307 return zend_hash_exists(EG(class_table), (char*)lc_name, class_name_len+1); in spl_autoload() 442 if (zend_hash_exists(EG(class_table), lc_name, class_name_len + 1)) { in PHP_FUNCTION()
|
/PHP-5.6/ext/readline/ |
H A D | readline_cli.c | 482 …char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&pce TSR… in cli_completion_generator_class()
|
/PHP-5.6/ext/opcache/Optimizer/ |
H A D | zend_optimizer.c | 642 p = script->class_table.pListHead; in zend_accel_script_optimize()
|
H A D | pass1_5.c | 280 if (zend_hash_quick_find(EG(class_table),
|