Searched refs:function_table (Results 1 - 25 of 85) sorted by relevance

1234

/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.h158 HashTable function_table; member in struct:_zend_persistent_script
218 /* copy of CG(function_table) used for compilation scripts into cache */
220 HashTable function_table; member in struct:_zend_accel_globals
H A DZendAccelerator.c381 for (idx = 0; idx < CG(function_table)->nNumUsed; idx++) {
382 p = CG(function_table)->arData + idx;
422 for (j = 0; j < ce->function_table.nNumUsed; j++) {
423 q = ce->function_table.arData + j;
1365 orig_function_table = CG(function_table);
1370 CG(function_table) = &ZCG(function_table);
1390 CG(function_table) = orig_function_table;
1397 zend_accel_free_user_functions(&ZCG(function_table) TSRMLS_CC);
1408 zend_accel_move_user_functions(&ZCG(function_table),
[all...]
H A Dzend_accelerator_util_funcs.c69 ce->function_table.pDestructor = zend_accel_destroy_zend_function;
78 zend_hash_init(&persistent_script->function_table, 128, NULL, (dtor_func_t) zend_accel_destroy_zend_function, 0);
142 return compact_hash_table(&persistent_script->function_table) &&
149 persistent_script->function_table.pDestructor = zend_accel_destroy_zend_function;
152 persistent_script->function_table.pDestructor = NULL;
156 zend_hash_destroy(&persistent_script->function_table);
184 HashTable *function_table = va_arg(args, HashTable *); local
188 zend_hash_update_ptr(function_table, hash_key->key, function);
204 static int copy_internal_function(zval *zv, HashTable *function_table TSRMLS_DC)
208 zend_hash_update_mem(function_table, functio
[all...]
H A Dzend_persist_calc.c275 ADD_SIZE(zend_hash_persist_calc(&ce->function_table, zend_persist_op_array_calc TSRMLS_CC));
360 ADD_SIZE(zend_hash_persist_calc(&new_persistent_script->function_table, zend_persist_op_array_calc TSRMLS_CC));
/PHP_TRUNK/Zend/
H A Dzend_globals.h58 /* excpt.h on Digital Unix 4.0 defines function_table */
59 #undef function_table macro
84 HashTable *function_table; /* function symbol table */ member in struct:_zend_compiler_globals
171 HashTable *function_table; /* function symbol table */ member in struct:_zend_executor_globals
H A Dzend_interfaces.c39 HashTable *function_table; local
51 /*fci.function_table = NULL; will be read form zend_class_entry of object if needed */
63 fci.function_table = !object ? EG(function_table) : NULL;
74 function_table = &obj_ce->function_table;
76 function_table = EG(function_table);
79 if ((fcic.function_handler = zend_hash_find_ptr(function_table, Z_STR(fci.function_name))) == NULL) {
H A Dzend_execute_API.c150 EG(function_table) = CG(function_table);
302 ZEND_HASH_FOREACH_PTR(EG(function_table), func) {
315 ZEND_HASH_REVERSE_FOREACH_PTR(EG(function_table), func) {
346 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function_full TSRMLS_CC);
349 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function TSRMLS_CC);
635 int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[] TSRMLS_DC) /* {{{ */ argument
637 return call_user_function_ex(function_table, object, function_name, retval_ptr, param_count, params, 1, NULL TSRMLS_CC);
641 int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation, zend_array *symbol_table TSRMLS_DC) /* {{{ */ argument
646 fci.function_table
[all...]
H A Dzend.c41 # define GLOBAL_FUNCTION_TABLE CG(function_table)
496 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable));
497 zend_hash_init_ex(compiler_globals->function_table, 1024, NULL, ZEND_FUNCTION_DTOR, 1, 0);
498 zend_hash_copy(compiler_globals->function_table, global_function_table, function_copy_ctor);
531 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) {
532 zend_hash_destroy(compiler_globals->function_table);
533 free(compiler_globals->function_table);
733 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable));
736 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE;
789 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table;
[all...]
H A Dzend_inheritance.c118 if ((function = zend_hash_str_find_ptr(&ce->parent->function_table, ZEND_CONSTRUCTOR_FUNC_NAME, sizeof(ZEND_CONSTRUCTOR_FUNC_NAME)-1)) != NULL) {
127 zend_hash_str_update_ptr(&ce->function_table, ZEND_CONSTRUCTOR_FUNC_NAME, sizeof(ZEND_CONSTRUCTOR_FUNC_NAME)-1, new_function);
136 if (!zend_hash_exists(&ce->function_table, lc_class_name)) {
139 if (!zend_hash_exists(&ce->function_table, lc_parent_class_name) &&
140 (function = zend_hash_find_ptr(&ce->parent->function_table, lc_parent_class_name)) != NULL) {
145 zend_hash_update_ptr(&ce->function_table, lc_parent_class_name, new_function);
842 ZEND_HASH_FOREACH_STR_KEY_PTR(&parent_ce->function_table, key, func) {
843 if (do_inherit_method_check(&ce->function_table, func, key, ce)) {
845 zend_hash_add_new_ptr(&ce->function_table, key, new_func);
930 ZEND_HASH_FOREACH_STR_KEY_PTR(&iface->function_table, ke
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c532 for (idx = 0; idx < script->function_table.nNumUsed; idx++) {
533 p = script->function_table.arData + idx;
543 for (j = 0; j < ce->function_table.nNumUsed; j++) {
544 q = ce->function_table.arData + j;
551 if ((orig_op_array = zend_hash_find_ptr(&op_array->scope->function_table, q->key)) != NULL) {
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_wrapper.c292 if (SUCCESS == call_user_function_ex(EG(function_table), &disp->object, name,
498 zend_hash_internal_pointer_reset_ex(&Z_OBJCE(disp->object)->function_table, &pos);
500 zend_hash_get_current_key_ex(&Z_OBJCE(disp->object)->function_table,
511 zend_hash_move_forward_ex(&Z_OBJCE(disp->object)->function_table, &pos);
/PHP_TRUNK/ext/filter/
H A Dcallback_filter.c38 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval, 1, args, 0, NULL TSRMLS_CC);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c492 if (&ce->function_table) {
494 count = zend_hash_num_elements(&ce->function_table);
499 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos);
501 while ((mptr = zend_hash_get_current_data_ptr_ex(&ce->function_table, &pos)) != NULL) {
507 zend_hash_move_forward_ex(&ce->function_table, &pos);
517 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos);
519 while ((mptr = zend_hash_get_current_data_ptr_ex(&ce->function_table, &pos)) != NULL) {
526 zend_hash_move_forward_ex(&ce->function_table, &pos);
589 if (&ce->function_table) {
590 count = zend_hash_num_elements(&ce->function_table)
[all...]
/PHP_TRUNK/ext/session/
H A Dmod_user.c53 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv TSRMLS_CC) == FAILURE) {
/PHP_TRUNK/ext/soap/
H A Dsoap.c946 fci.function_table = &Z_OBJCE_P(getThis())->function_table;
1361 ft = &(Z_OBJCE(service->soap_object)->function_table);
1363 ft = &service->soap_class.ce->function_table;
1365 ft = EG(function_table);
1427 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) {
1445 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) {
1489 HashTable *function_table; local
1525 if (call_user_function(EG(function_table), NULL, &readfile, &readfile_ret, 1, &param TSRMLS_CC) == FAILURE) {
1655 function_table
[all...]
/PHP_TRUNK/ext/spl/
H A Dphp_spl.c567 spl_func_ptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload", sizeof("spl_autoload") - 1);
601 EG(autoload_func) = zend_hash_str_find_ptr(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call") - 1);
603 EG(autoload_func) = zend_hash_str_find_ptr(EG(function_table), "spl_autoload", sizeof("spl_autoload") - 1);
672 spl_func_ptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload", sizeof("spl_autoload") - 1);
696 if ((fptr = zend_hash_str_find_ptr(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME) - 1))) {
704 fptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call") - 1);
H A Dspl_fixedarray.c260 class_type->iterator_funcs.zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind", sizeof("rewind") - 1);
261 class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid", sizeof("valid") - 1);
262 class_type->iterator_funcs.zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", sizeof("key") - 1);
263 class_type->iterator_funcs.zf_current = zend_hash_str_find_ptr(&class_type->function_table, "current", sizeof("current") - 1);
264 class_type->iterator_funcs.zf_next = zend_hash_str_find_ptr(&class_type->function_table, "next", sizeof("next") - 1);
283 intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof("offsetget") - 1);
287 intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof("offsetset") - 1);
291 intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", sizeof("offsetexists") - 1);
295 intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeof("offsetunset") - 1);
299 intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "coun
[all...]
/PHP_TRUNK/ext/standard/
H A Dassert.c216 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 3, args TSRMLS_CC);
223 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 4, args TSRMLS_CC);
/PHP_TRUNK/sapi/apache_hooks/
H A Dsapi_apache.c102 call_user_function_ex(EG(function_table), &class, method, ret, 0, NULL, 0, NULL TSRMLS_CC);
/PHP_TRUNK/sapi/milter/
H A Dphp_milter.c156 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC);
227 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC);
261 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC);
301 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC);
341 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC);
380 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 2, param TSRMLS_CC);
412 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC);
446 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC);
477 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC);
506 status = call_user_function(CG(function_table), NUL
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c279 (*ce)->name, zend_hash_num_elements(&(*ce)->function_table));
343 for (zend_hash_internal_pointer_reset_ex(EG(function_table), &position);
344 zend_hash_get_current_data_ex(EG(function_table), (void**)&zf, &position) == SUCCESS;
345 zend_hash_move_forward_ex(EG(function_table), &position)) {
H A Dphpdbg_list.c88 if (zend_hash_find(&(*ce)->function_table, lcname, strlen(lcname)+1, (void**) &function) == SUCCESS) {
199 HashTable *func_table = EG(function_table);
210 func_table = &EG(scope)->function_table;
215 } else if (!EG(function_table)) {
219 func_table = EG(function_table);
H A Dphpdbg_print.c168 phpdbg_writeln("Methods (%d):", zend_hash_num_elements(&(*ce)->function_table));
169 if (zend_hash_num_elements(&(*ce)->function_table)) {
173 for (zend_hash_internal_pointer_reset_ex(&(*ce)->function_table, &position);
174 zend_hash_get_current_data_ex(&(*ce)->function_table, (void**) &method, &position) == SUCCESS;
175 zend_hash_move_forward_ex(&(*ce)->function_table, &position)) {
194 if (zend_hash_find(&(*ce)->function_table, lcname, strlen(lcname)+1, (void**)&fbc) == SUCCESS) {
214 HashTable *func_table = EG(function_table);
225 func_table = &EG(scope)->function_table;
230 } else if (!EG(function_table)) {
234 func_table = EG(function_table);
[all...]
H A Dphpdbg_prompt.c94 fci.function_table = &PHPDBG_G(registered);
551 fci.function_table = &Z_OBJCE(exception)->function_table;
763 phpdbg_writeln("Functions\t%d", zend_hash_num_elements(EG(function_table)));
886 if (zend_hash_find(EG(function_table), lcname, lcname_len+1, (void**) &function) == SUCCESS) {
926 phpdbg_writeln("Functions\t\t%d", zend_hash_num_elements(EG(function_table)));
H A Dphpdbg_utils.c185 zend_hash_find(&(*ce)->function_table, lcname, fname_len+1,
189 zend_hash_find(EG(function_table), lcname, fname_len+1,

Completed in 37 milliseconds

1234