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

123

/PHP_5_5/ext/opcache/
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...]
H A Dzend_persist_calc.c241 ADD_SIZE(zend_hash_persist_calc(&ce->function_table, (int (*)(void* TSRMLS_DC)) zend_persist_op_array_calc, sizeof(zend_op_array) TSRMLS_CC));
337 ADD_SIZE(zend_hash_persist_calc(&new_persistent_script->function_table, (int (*)(void* TSRMLS_DC)) zend_persist_op_array_calc, sizeof(zend_op_array) TSRMLS_CC));
H A DZendAccelerator.h189 HashTable function_table; member in struct:_zend_persistent_script
250 /* copy of CG(function_table) used for compilation scripts into cache */
252 HashTable function_table; member in struct:_zend_accel_globals
H A DZendAccelerator.c392 p = CG(function_table)->pListHead;
428 q = ce->function_table.pListHead;
1379 orig_function_table = CG(function_table);
1384 CG(function_table) = &ZCG(function_table);
1410 CG(function_table) = orig_function_table;
1417 zend_accel_free_user_functions(&ZCG(function_table) TSRMLS_CC);
1428 zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table TSRMLS_CC);
2153 /* check if ZCG(function_table) was
[all...]
/PHP_5_5/ext/pdo_sqlite/
H A Dsqlite_driver.c329 fc->fci.function_table = EG(function_table);
493 collation->fc.fci.function_table = EG(function_table);
/PHP_5_5/ext/readline/
H A Dreadline_cli.c543 retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, pce ? &(*pce)->function_table : EG(function_table) TSRMLS_CC);
H A Dreadline.c501 if (call_user_function(CG(function_table), NULL, _readline_completion, &_readline_array, 3, params TSRMLS_CC) == SUCCESS) {
571 call_user_function(CG(function_table), NULL, _prepped_callback, &dummy, 1, params TSRMLS_CC);
/PHP_5_5/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...]
/PHP_5_5/ext/session/
H A Dmod_user.c53 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv TSRMLS_CC) == FAILURE) {
/PHP_5_5/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) {
1580 zend_hash_exists(EG(function_table), "gzinflat
[all...]
/PHP_5_5/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_5_5/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);
H A Dvar_unserializer.re432 zend_hash_exists(&Z_OBJCE_PP(rval)->function_table, "__wakeup", sizeof("__wakeup"))) {
436 call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC);
754 if (call_user_function_ex(CG(function_table), NULL, user_func, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) != SUCCESS) {
/PHP_5_5/Zend/
H A Dzend.c40 # define GLOBAL_FUNCTION_TABLE CG(function_table)
510 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable));
511 zend_hash_init_ex(compiler_globals->function_table, 100, NULL, ZEND_FUNCTION_DTOR, 1, 0);
512 zend_hash_copy(compiler_globals->function_table, global_function_table, NULL, &tmp_func, sizeof(zend_function));
538 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) {
539 zend_hash_destroy(compiler_globals->function_table);
540 free(compiler_globals->function_table);
727 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable));
730 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE;
783 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table;
[all...]
H A Dzend_API.c2027 ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC) /* {{{ */ argument
2033 HashTable *target_function_table = function_table;
2048 target_function_table = CG(function_table);
2288 ZEND_API void zend_unregister_functions(const zend_function_entry *functions, int count, HashTable *function_table TSRMLS_DC) /* {{{ */
2292 HashTable *target_function_table = function_table;
2295 target_function_table = CG(function_table);
2504 zend_register_functions(class_entry, class_entry->info.internal.builtin_functions, &class_entry->function_table, MODULE_PERSISTENT TSRMLS_CC);
2631 if (zend_hash_del(CG(function_table), function_name, function_name_length+1)==FAILURE) {
2635 return zend_register_functions(NULL, disabled_function, CG(function_table), MODULE_PERSISTENT TSRMLS_CC);
2669 zend_hash_clean(&((*disabled_class)->function_table));
4008 HashTable *function_table; local
[all...]
H A Dzend_builtin_functions.c1067 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos);
1069 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) {
1082 if (zend_hash_get_current_key_ex(&ce->function_table, &key, &key_len, &num_index, 0, &pos) != HASH_KEY_IS_STRING) {
1104 zend_hash_move_forward_ex(&ce->function_table, &pos);
1135 if (zend_hash_exists(&ce->function_table, lcname, method_len+1)) {
1370 retval = (zend_hash_find(EG(function_table), name, name_len+1, (void **)&func) == SUCCESS);
1748 zend_hash_apply_with_arguments(EG(function_table) TSRMLS_CC, (apply_func_args_t) copy_function_name, 2, internal, user);
1827 if (zend_hash_find(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME), (void **) &func)==FAILURE) {
1839 } while (zend_hash_add(EG(function_table), function_name, function_name_length+1, &new_function, sizeof(zend_function), NULL)==FAILURE);
1840 zend_hash_del(EG(function_table), LAMBDA_TEMP_FUNCNAM
[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);
685 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
700 ex_retval = call_user_function_ex(function_table, object_pp, function_name, &local_retval_ptr, param_count, params_array, 1, NULL TSRMLS_CC);
713 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
718 fci.function_table
[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
190 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_opcode.c162 zend_hash_apply(&ce->function_table, (apply_func_t) zend_cleanup_function_data_full TSRMLS_CC);
300 zend_hash_destroy(&ce->function_table);
334 zend_hash_destroy(&ce->function_table);
736 zend_hash_apply(&class_entry->function_table, (apply_func_t) pass_two TSRMLS_CC);
/PHP_5_5/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_5_5/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_5_5/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_5_5/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...]

Completed in 46 milliseconds

123