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

1234

/PHP_TRUNK/Zend/
H A Dzend.c41 # define GLOBAL_FUNCTION_TABLE CG(function_table)
511 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable));
512 zend_hash_init_ex(compiler_globals->function_table, 100, NULL, ZEND_FUNCTION_DTOR, 1, 0);
513 zend_hash_copy(compiler_globals->function_table, global_function_table, NULL, &tmp_func, sizeof(zend_function));
539 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) {
540 zend_hash_destroy(compiler_globals->function_table);
541 free(compiler_globals->function_table);
730 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable));
733 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE;
786 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table;
[all...]
H A Dzend_builtin_functions.c1077 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos);
1079 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) {
1092 if (zend_hash_get_current_key_ex(&ce->function_table, &key, &key_len, &num_index, 0, &pos) != HASH_KEY_IS_STRING) {
1114 zend_hash_move_forward_ex(&ce->function_table, &pos);
1145 if (zend_hash_exists(&ce->function_table, lcname, method_len+1)) {
1380 retval = (zend_hash_find(EG(function_table), name, name_len+1, (void **)&func) == SUCCESS);
1758 zend_hash_apply_with_arguments(EG(function_table) TSRMLS_CC, (apply_func_args_t) copy_function_name, 2, internal, user);
1837 if (zend_hash_find(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME), (void **) &func)==FAILURE) {
1849 } while (zend_hash_add(EG(function_table), function_name, function_name_length+1, &new_function, sizeof(zend_function), NULL)==FAILURE);
1850 zend_hash_del(EG(function_table), LAMBDA_TEMP_FUNCNAM
[all...]
H A Dzend_globals.h57 /* excpt.h on Digital Unix 4.0 defines function_table */
58 #undef function_table macro
94 HashTable *function_table; /* function symbol table */ member in struct:_zend_compiler_globals
197 HashTable *function_table; /* function symbol table */ member in struct:_zend_executor_globals
H A Dzend_interfaces.c40 HashTable *function_table; local
48 /*fci.function_table = NULL; will be read form zend_class_entry of object if needed */
61 fci.function_table = !object_pp ? EG(function_table) : NULL;
71 function_table = &obj_ce->function_table;
73 function_table = EG(function_table);
76 if (zend_hash_find(function_table, function_name, function_name_len+1, (void **) &fcic.function_handler) == FAILURE) {
H A Dzend_API.c2029 ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC) /* {{{ */ argument
2035 HashTable *target_function_table = function_table;
2051 target_function_table = CG(function_table);
2304 ZEND_API void zend_unregister_functions(const zend_function_entry *functions, int count, HashTable *function_table TSRMLS_DC) /* {{{ */
2308 HashTable *target_function_table = function_table;
2311 target_function_table = CG(function_table);
2519 zend_register_functions(class_entry, class_entry->info.internal.builtin_functions, &class_entry->function_table, MODULE_PERSISTENT TSRMLS_CC);
2643 if (zend_hash_del(CG(function_table), function_name, function_name_length+1)==FAILURE) {
2647 return zend_register_functions(NULL, disabled_function, CG(function_table), MODULE_PERSISTENT TSRMLS_CC);
2681 zend_hash_clean(&((*disabled_class)->function_table));
4019 HashTable *function_table; local
[all...]
H A Dzend_execute_API.c150 EG(function_table) = CG(function_table);
283 zend_hash_apply(EG(function_table), (apply_func_t) zend_cleanup_function_data_full TSRMLS_CC);
286 zend_hash_reverse_apply(EG(function_table), (apply_func_t) zend_cleanup_function_data TSRMLS_CC);
299 zend_hash_reverse_apply(EG(function_table), (apply_func_t) clean_non_persistent_function_full TSRMLS_CC);
302 zend_hash_reverse_apply(EG(function_table), (apply_func_t) clean_non_persistent_function TSRMLS_CC);
580 int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] TSRMLS_DC) /* {{{ */ argument
595 ex_retval = call_user_function_ex(function_table, object_pp, function_name, &local_retval_ptr, param_count, params_array, 1, NULL TSRMLS_CC);
608 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) /* {{{ */ argument
613 fci.function_table
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_wrapper.c295 if (SUCCESS == call_user_function_ex(EG(function_table), &disp->object, *name,
500 zend_hash_internal_pointer_reset_ex(&Z_OBJCE_P(disp->object)->function_table, &pos);
502 zend_hash_get_current_key_ex(&Z_OBJCE_P(disp->object)->function_table,
/PHP_TRUNK/ext/filter/
H A Dcallback_filter.c39 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval_ptr, 1, args, 0, NULL TSRMLS_CC);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c552 p = script->function_table.pListHead;
562 q = ce->function_table.pListHead;
569 if (zend_hash_find(&op_array->scope->function_table, q->arKey, q->nKeyLength, (void**)&orig_op_array) == SUCCESS) {
H A Doptimize_func_calls.c29 if ((zend_hash_quick_find(&script->function_table,
/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.c917 fci.function_table = &Z_OBJCE_P(getThis())->function_table;
1348 ft = &(Z_OBJCE_P(service->soap_object)->function_table);
1350 ft = &service->soap_class.ce->function_table;
1352 ft = EG(function_table);
1423 if (zend_hash_find(EG(function_table), key, key_len+1, (void**)&f) == FAILURE) {
1445 if (zend_hash_find(EG(function_table), key, key_len+1, (void**)&f) == FAILURE) {
1490 HashTable *function_table; local
1530 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.c585 zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &spl_func_ptr);
618 zend_hash_find(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call"), (void **) &EG(autoload_func));
620 zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &EG(autoload_func));
690 zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &spl_func_ptr);
715 if (zend_hash_find(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME), (void **) &fptr) == SUCCESS) {
723 zend_hash_find(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call"), (void **) &fptr);
H A Dspl_fixedarray.c270 zend_hash_find(&class_type->function_table, "rewind", sizeof("rewind"), (void **) &class_type->iterator_funcs.zf_rewind);
271 zend_hash_find(&class_type->function_table, "valid", sizeof("valid"), (void **) &class_type->iterator_funcs.zf_valid);
272 zend_hash_find(&class_type->function_table, "key", sizeof("key"), (void **) &class_type->iterator_funcs.zf_key);
273 zend_hash_find(&class_type->function_table, "current", sizeof("current"), (void **) &class_type->iterator_funcs.zf_current);
274 zend_hash_find(&class_type->function_table, "next", sizeof("next"), (void **) &class_type->iterator_funcs.zf_next);
293 zend_hash_find(&class_type->function_table, "offsetget", sizeof("offsetget"), (void **) &intern->fptr_offset_get);
297 zend_hash_find(&class_type->function_table, "offsetset", sizeof("offsetset"), (void **) &intern->fptr_offset_set);
301 zend_hash_find(&class_type->function_table, "offsetexists", sizeof("offsetexists"), (void **) &intern->fptr_offset_has);
305 zend_hash_find(&class_type->function_table, "offsetunset", sizeof("offsetunset"), (void **) &intern->fptr_offset_del);
309 zend_hash_find(&class_type->function_table, "coun
[all...]
/PHP_TRUNK/ext/standard/
H A Dassert.c222 call_user_function(CG(function_table), NULL, ASSERTG(callback), retval, 3, args TSRMLS_CC);
230 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.c263 (*ce)->name, zend_hash_num_elements(&(*ce)->function_table));
327 for (zend_hash_internal_pointer_reset_ex(EG(function_table), &position);
328 zend_hash_get_current_data_ex(EG(function_table), (void**)&zf, &position) == SUCCESS;
329 zend_hash_move_forward_ex(EG(function_table), &position)) {
H A Dphpdbg_list.c84 if (zend_hash_find(&(*ce)->function_table, lcname, strlen(lcname)+1, (void**) &function) == SUCCESS) {
245 HashTable *func_table = EG(function_table);
256 func_table = &EG(scope)->function_table;
261 } else if (!EG(function_table)) {
265 func_table = EG(function_table);
H A Dphpdbg_print.c157 phpdbg_writeln("Methods (%d):", zend_hash_num_elements(&(*ce)->function_table));
158 if (zend_hash_num_elements(&(*ce)->function_table)) {
162 for (zend_hash_internal_pointer_reset_ex(&(*ce)->function_table, &position);
163 zend_hash_get_current_data_ex(&(*ce)->function_table, (void**) &method, &position) == SUCCESS;
164 zend_hash_move_forward_ex(&(*ce)->function_table, &position)) {
189 if (zend_hash_find(&(*ce)->function_table, lcname, strlen(lcname)+1, (void**)&fbc) == SUCCESS) {
215 HashTable *func_table = EG(function_table);
226 func_table = &EG(scope)->function_table;
231 } else if (!EG(function_table)) {
235 func_table = EG(function_table);
[all...]
H A Dphpdbg_utils.c172 zend_hash_find(&(*ce)->function_table, lcname, fname_len+1,
176 zend_hash_find(EG(function_table), lcname, fname_len+1,
H A Dphpdbg_prompt.c86 fci.function_table = &PHPDBG_G(registered);
517 fci.function_table = &Z_OBJCE(exception)->function_table;
711 phpdbg_writeln("Functions\t%d", zend_hash_num_elements(EG(function_table)));
837 if (zend_hash_find(EG(function_table), lcname, lcname_len+1, (void**) &function) == SUCCESS) {
884 phpdbg_writeln("Functions\t\t%d", zend_hash_num_elements(EG(function_table)));
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c401 p = CG(function_table)->pListHead;
437 q = ce->function_table.pListHead;
1392 orig_function_table = CG(function_table);
1397 CG(function_table) = &ZCG(function_table);
1423 CG(function_table) = orig_function_table;
1430 zend_accel_free_user_functions(&ZCG(function_table) TSRMLS_CC);
1441 zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table TSRMLS_CC);
2166 /* check if ZCG(function_table) was
[all...]
H A Dzend_accelerator_util_funcs.c70 ce->function_table.pDestructor = (dtor_func_t) zend_accel_destroy_zend_function;
79 zend_hash_init(&persistent_script->function_table, 100, NULL, (dtor_func_t) zend_accel_destroy_zend_function, 0);
132 return compact_hash_table(&persistent_script->function_table) &&
139 persistent_script->function_table.pDestructor = (dtor_func_t)zend_accel_destroy_zend_function;
142 persistent_script->function_table.pDestructor = NULL;
146 zend_hash_destroy(&persistent_script->function_table);
176 HashTable *function_table = va_arg(args, HashTable *); local
183 zend_hash_quick_update(function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h, function, sizeof(zend_function), NULL);
203 static int copy_internal_function(zend_function *function, HashTable *function_table TSRMLS_DC)
206 zend_hash_update(function_table, functio
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c493 if (&ce->function_table) {
495 count = zend_hash_num_elements(&ce->function_table);
500 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos);
502 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) {
508 zend_hash_move_forward_ex(&ce->function_table, &pos);
518 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos);
520 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) {
527 zend_hash_move_forward_ex(&ce->function_table, &pos);
592 if (&ce->function_table) {
593 count = zend_hash_num_elements(&ce->function_table)
[all...]

Completed in 96 milliseconds

1234