Home
last modified time | relevance | path

Searched refs:class_table (Results 1 – 22 of 22) sorted by relevance

/PHP-5.5/ext/opcache/
H A Dzend_accelerator_util_funcs.c84 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()
921 do_bind_inherited_class(&op_array->opcodes[opline_num], EG(class_table), *pce, 1 TSRMLS_CC);
940 if (zend_hash_num_elements(&persistent_script->class_table) > 0) {
942 …zend_accel_class_hash_copy(CG(class_table), &persistent_script->class_table, (unique_copy_ctor_fun…
979 if (zend_hash_num_elements(&persistent_script->class_table) > 0) {
980 zend_accel_class_hash_copy(CG(class_table), &persistent_script->class_table, NULL TSRMLS_CC);
H A Dzend_persist_calc.c328 static uint zend_accel_persist_class_table_calc(HashTable *class_table TSRMLS_DC)
330 …return zend_hash_persist_calc(class_table, (int (*)(void* TSRMLS_DC)) zend_persist_class_entry_cal…
338 ADD_SIZE(zend_accel_persist_class_table_calc(&new_persistent_script->class_table TSRMLS_CC));
H A Dzend_persist.c662 static void zend_accel_persist_class_table(HashTable *class_table TSRMLS_DC)
664 …zend_hash_persist(class_table, (zend_persist_func_t) zend_persist_class_entry, sizeof(zend_class_e…
665 zend_hash_apply(class_table, (apply_func_t) zend_update_parent_ce TSRMLS_CC);
672 zend_accel_persist_class_table(&script->class_table TSRMLS_CC);
H A DZendAccelerator.c401 p = CG(class_table)->pListHead; in accel_use_shm_interned_strings()
1363 orig_class_table = CG(class_table); in compile_and_cache_file()
1368 EG(class_table) = CG(class_table) = &new_persistent_script->class_table; in compile_and_cache_file()
1394 EG(class_table) = CG(class_table) = orig_class_table; in compile_and_cache_file()
2315 old_destructor = EG(class_table)->pDestructor;
2316 EG(class_table)->pDestructor = NULL;
2317 …zend_hash_reverse_apply(EG(class_table), (apply_func_t) accel_clean_non_persistent_class TSRMLS_CC…
2318 EG(class_table)->pDestructor = old_destructor;
2692 zend_hash_clean(CG(class_table));
H A Dzend_accelerator_module.c299 …if (zend_hash_find(EG(class_table), Z_STRVAL(EX(opline)->op2.u.constant), Z_STRLEN(EX(opline)->op2… in ZEND_INI_END()
300 …(zend_hash_find(EG(class_table), Z_STRVAL(EX(opline)->op1.u.constant), Z_STRLEN(EX(opline)->op1.u.… in ZEND_INI_END()
302 …do_bind_inherited_class(EX(opline), EG(class_table), EX_T(EX(opline)->extended_value).class_entry,… in ZEND_INI_END()
H A DZendAccelerator.h190 HashTable class_table; member
/PHP-5.5/Zend/
H A Dzend.c41 # define GLOBAL_CLASS_TABLE CG(class_table)
514 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
515 zend_hash_init_ex(compiler_globals->class_table, 10, NULL, ZEND_CLASS_DTOR, 1, 0); in compiler_globals_ctor()
526 compiler_globals->last_static_member = zend_hash_num_elements(compiler_globals->class_table); in compiler_globals_ctor()
542 if (compiler_globals->class_table != GLOBAL_CLASS_TABLE) { in compiler_globals_dtor()
543 zend_hash_destroy(compiler_globals->class_table); in compiler_globals_dtor()
544 free(compiler_globals->class_table); in compiler_globals_dtor()
728 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
731 *compiler_globals->class_table = *GLOBAL_CLASS_TABLE; in zend_startup()
784 *GLOBAL_CLASS_TABLE = *compiler_globals->class_table; in zend_post_startup()
[all …]
H A Dzend_globals.h95 HashTable *class_table; /* class table */ member
191 HashTable *class_table; /* class table */ member
H A Dzend_execute_API.c148 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()
1044 if (zend_hash_quick_find(EG(class_table), lc_name, lc_length, hash, (void **) ce) == SUCCESS) { in zend_lookup_class_ex()
1124 retval = zend_hash_quick_find(EG(class_table), lc_name, lc_length, hash, (void **) ce); in zend_lookup_class_ex()
H A Dzend_API.c1856 for (zend_hash_internal_pointer_reset_ex(CG(class_table), &pos); in zend_collect_module_handlers()
1857 zend_hash_get_current_data_ex(CG(class_table), (void *) &pce, &pos) == SUCCESS; in zend_collect_module_handlers()
1858 zend_hash_move_forward_ex(CG(class_table), &pos)) { in zend_collect_module_handlers()
1871 for (zend_hash_internal_pointer_reset_ex(CG(class_table), &pos); in zend_collect_module_handlers()
1872 zend_hash_get_current_data_ex(CG(class_table), (void *) &pce, &pos) == SUCCESS; in zend_collect_module_handlers()
1873 zend_hash_move_forward_ex(CG(class_table), &pos)) { in zend_collect_module_handlers()
2342 …zend_hash_apply_with_argument(EG(class_table), (apply_func_arg_t) clean_module_class, (void *) &mo… in clean_module_classes()
2530 …if (zend_hash_find(CG(class_table), parent_name, strlen(parent_name)+1, (void **) &pce)==FAILURE) { in zend_register_internal_class_ex()
2581 ret = zend_hash_add(CG(class_table), lcname+1, name_len, &ce, sizeof(zend_class_entry *), NULL); in zend_register_class_alias_ex()
2583 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 Dzend_builtin_functions.c1247 found = zend_hash_find(EG(class_table), name, len+1, (void **) &ce); in ZEND_FUNCTION()
1290 found = zend_hash_find(EG(class_table), name, len+1, (void **) &ce); in ZEND_FUNCTION()
1333 found = zend_hash_find(EG(class_table), name, len+1, (void **) &ce); in ZEND_FUNCTION()
1673 …zend_hash_apply_with_arguments(EG(class_table) TSRMLS_CC, (apply_func_args_t) copy_class_or_interf… in ZEND_FUNCTION()
1690 …zend_hash_apply_with_arguments(EG(class_table) TSRMLS_CC, (apply_func_args_t) copy_class_or_interf… in ZEND_FUNCTION()
1706 …zend_hash_apply_with_arguments(EG(class_table) TSRMLS_CC, (apply_func_args_t) copy_class_or_interf… in ZEND_FUNCTION()
H A Dzend_compile.h528 …class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_bool comp…
529 …class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_class_ent…
H A Dzend_compile.c4562 …if (zend_hash_quick_find(class_table, Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_HASH_P(op1), (void **) &… in do_bind_class()
4569 …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()
4603 …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()
4654 if (do_bind_class(CG(active_op_array), opline, CG(class_table), 1 TSRMLS_CC) == NULL) { in zend_do_early_binding()
4657 table = CG(class_table); in zend_do_early_binding()
4682 …if (do_bind_inherited_class(CG(active_op_array), opline, CG(class_table), *pce, 1 TSRMLS_CC) == NU… in zend_do_early_binding()
4689 table = CG(class_table); in zend_do_early_binding()
4721 …do_bind_inherited_class(op_array, &op_array->opcodes[opline_num], EG(class_table), *pce, 0 TSRMLS_… in zend_do_delayed_early_binding()
6832 int n = zend_hash_num_elements(CG(class_table)); in zend_initialize_class_data()
7067 …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 Dzend_vm_def.h4848 …EX_T(opline->result.var).class_entry = do_bind_class(EX(op_array), opline, EG(class_table), 0 TSRM…
4858 …lt.var).class_entry = do_bind_inherited_class(EX(op_array), opline, EG(class_table), EX_T(opline->…
4869 …if (zend_hash_quick_find(EG(class_table), Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv)+1…
4870 …(zend_hash_quick_find(EG(class_table), Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opline->op1.zv), Z_H…
4872 …do_bind_inherited_class(EX(op_array), opline, EG(class_table), EX_T(opline->extended_value).class_…
H A Dzend_vm_execute.h874 …EX_T(opline->result.var).class_entry = do_bind_class(EX(op_array), opline, EG(class_table), 0 TSRM… in ZEND_DECLARE_CLASS_SPEC_HANDLER()
884 …lt.var).class_entry = do_bind_inherited_class(EX(op_array), opline, EG(class_table), EX_T(opline->… in ZEND_DECLARE_INHERITED_CLASS_SPEC_HANDLER()
895 …if (zend_hash_quick_find(EG(class_table), Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv)+1… in ZEND_DECLARE_INHERITED_CLASS_DELAYED_SPEC_HANDLER()
896 …(zend_hash_quick_find(EG(class_table), Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opline->op1.zv), Z_H… in ZEND_DECLARE_INHERITED_CLASS_DELAYED_SPEC_HANDLER()
898 …do_bind_inherited_class(EX(op_array), opline, EG(class_table), EX_T(opline->extended_value).class_… in ZEND_DECLARE_INHERITED_CLASS_DELAYED_SPEC_HANDLER()
/PHP-5.5/ext/pdo/
H A Dphp_pdo.h70 if (zend_hash_find(CG(class_table), "pdo", sizeof("pdo"), (void **) &pce) != FAILURE) \
H A Dpdo.c81 …if (zend_hash_find(CG(class_table), "runtimeexception", sizeof("RuntimeException"), (void **) &pce… in php_pdo_get_exception_base()
/PHP-5.5/ext/simplexml/
H A Dsxe.c193 …if (zend_hash_find(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement"), (void **) &pce… in PHP_MINIT_FUNCTION()
/PHP-5.5/ext/spl/
H A Dphp_spl.c77 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.5/ext/readline/
H A Dreadline_cli.c478 …char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&pce TSR… in cli_completion_generator_class()
/PHP-5.5/ext/wddx/
H A Dwddx.c996 if (zend_hash_find(EG(class_table), Z_STRVAL_P(ent1->data), in php_wddx_pop_element()
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c1141 …zend_hash_apply_with_arguments(EG(class_table) TSRMLS_CC, (apply_func_args_t) _extension_class_str… in _extension_string()
5403 …zend_hash_apply_with_arguments(EG(class_table) TSRMLS_CC, (apply_func_args_t) add_extension_class,… in ZEND_METHOD()
5420 …zend_hash_apply_with_arguments(EG(class_table) TSRMLS_CC, (apply_func_args_t) add_extension_class,… in ZEND_METHOD()

Completed in 234 milliseconds