Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_enum.c415 …um_register_func(zend_class_entry *ce, zend_known_string_id name_id, zend_internal_function *zif) { in zend_enum_register_func()
436zend_internal_function *cases_function = zend_arena_calloc(&CG(arena), sizeof(zend_internal_functi… in zend_enum_register_funcs()
445zend_internal_function *from_function = zend_arena_calloc(&CG(arena), sizeof(zend_internal_functio… in zend_enum_register_funcs()
455zend_internal_function *try_from_function = zend_arena_calloc(&CG(arena), sizeof(zend_internal_fun… in zend_enum_register_funcs()
H A Dzend_closures.c181 memcpy(my_function, &closure->func, sizeof(zend_internal_function)); in ZEND_METHOD()
333 zend_internal_function call; in zend_create_closure_from_callable()
362 memset(&call, 0, sizeof(zend_internal_function)); in zend_create_closure_from_callable()
801 memcpy(&closure->func, func, sizeof(zend_internal_function)); in zend_create_closure_ex()
857 zend_internal_function trampoline; in zend_closure_from_frame()
872 memset(&trampoline, 0, sizeof(zend_internal_function)); in zend_closure_from_frame()
H A Dzend_compile.h533 } zend_internal_function; typedef
558 zend_internal_function internal_function;
902 void zend_free_internal_arg_info(zend_internal_function *function);
H A Dzend_extensions.c318 zend_internal_function *zif; in zend_init_internal_run_time_cache()
H A Dzend_inheritance.c100 new_function = (zend_function *)pemalloc(sizeof(zend_internal_function), 1); in zend_duplicate_internal_function()
101 memcpy(new_function, func, sizeof(zend_internal_function)); in zend_duplicate_internal_function()
103 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function)); in zend_duplicate_internal_function()
104 memcpy(new_function, func, sizeof(zend_internal_function)); in zend_duplicate_internal_function()
1993 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function)); in zend_add_trait_method()
1994 memcpy(new_fn, fn, sizeof(zend_internal_function)); in zend_add_trait_method()
2085 …copy, fn, fn->type == ZEND_USER_FUNCTION ? sizeof(zend_op_array) : sizeof(zend_internal_function)); in zend_traits_copy_functions()
2727 memcpy(&obligation->child_fn, child_fn, sizeof(zend_internal_function)); in add_compatibility_obligation()
2732 memcpy(&obligation->parent_fn, parent_fn, sizeof(zend_internal_function)); in add_compatibility_obligation()
H A Dzend_observer.c89 zend_internal_function *zif; in zend_observer_post_startup()
H A Dzend_execute.h61 extern ZEND_API const zend_internal_function zend_pass_function;
H A Dzend_opcode.c125 void zend_free_internal_arg_info(zend_internal_function *function) { in zend_free_internal_arg_info()
H A Dzend_API.c2858 zend_internal_function *reg_function, *internal_function = (zend_internal_function *)&function; in zend_register_functions()
2983 reg_function = malloc(sizeof(zend_internal_function)); in zend_register_functions()
2984 memcpy(reg_function, &function, sizeof(zend_internal_function)); in zend_register_functions()
H A Dzend_execute.c140 ZEND_API const zend_internal_function zend_pass_function = {
/php-src/ext/com_dotnet/
H A Dcom_handlers.c240 zend_internal_function *f = (zend_internal_function*)Z_PTR_P(zv); in function_dtor()
272 …if (SUCCESS == php_com_do_invoke_byref(obj, (zend_internal_function*)EX(func), DISPATCH_METHOD|DIS… in PHP_FUNCTION()
291 zend_internal_function f, *fptr = NULL; in com_method_get()
306 memset(&f, 0, sizeof(zend_internal_function)); in com_method_get()
H A Dphp_com_dotnet_internal.h102 zend_result php_com_do_invoke_byref(php_com_dotnet_object *obj, zend_internal_function *f,
H A Dcom_com.c456 zend_result php_com_do_invoke_byref(php_com_dotnet_object *obj, zend_internal_function *f, in php_com_do_invoke_byref()
/php-src/ext/zend_test/
H A Dtest.c753 zend_internal_function *fptr; in zend_test_class_method_get()
756 fptr = (zend_internal_function *) &EG(trampoline); in zend_test_class_method_get()
758 fptr = emalloc(sizeof(zend_internal_function)); in zend_test_class_method_get()
760 memset(fptr, 0, sizeof(zend_internal_function)); in zend_test_class_method_get()
777 zend_internal_function *fptr; in zend_test_class_static_method_get()
780 fptr = (zend_internal_function *) &EG(trampoline); in zend_test_class_static_method_get()
782 fptr = emalloc(sizeof(zend_internal_function)); in zend_test_class_static_method_get()
784 memset(fptr, 0, sizeof(zend_internal_function)); in zend_test_class_static_method_get()
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c41 static zend_internal_function xmlreader_open_fn;
42 static zend_internal_function xmlreader_xml_fn;
1148 …&xmlreader_class_entry->function_table, "open", sizeof("open")-1), sizeof(zend_internal_function)); in PHP_MINIT_FUNCTION()
1150 …r(&xmlreader_class_entry->function_table, "xml", sizeof("xml")-1), sizeof(zend_internal_function)); in PHP_MINIT_FUNCTION()
/php-src/ext/opcache/
H A Dzend_persist_calc.c341 ADD_SIZE(sizeof(zend_internal_function)); in zend_persist_class_method_calc()
H A Dzend_persist.c718 op_array = Z_PTR_P(zv) = zend_shared_memdup_put(op_array, sizeof(zend_internal_function)); in zend_persist_class_method()
/php-src/ext/reflection/
H A Dphp_reflection.c826 if (fptr->type == ZEND_INTERNAL_FUNCTION && ((zend_internal_function*)fptr)->module) { in _function_string()
827 smart_str_append_printf(str, ":%s", ((zend_internal_function*)fptr)->module->name); in _function_string()
1963 if (fptr->type == ZEND_INTERNAL_FUNCTION && ((zend_internal_function *) fptr)->doc_comment) { in ZEND_METHOD()
1964 RETURN_STR_COPY(((zend_internal_function *) fptr)->doc_comment); in ZEND_METHOD()
2202 zend_internal_function *internal; in ZEND_METHOD()
2214 internal = (zend_internal_function *)fptr; in ZEND_METHOD()
2228 zend_internal_function *internal; in ZEND_METHOD()
2240 internal = (zend_internal_function *)fptr; in ZEND_METHOD()
/php-src/ext/ffi/
H A Dffi.c216 static zend_internal_function zend_ffi_new_fn;
217 static zend_internal_function zend_ffi_cast_fn;
218 static zend_internal_function zend_ffi_type_fn;
2162 func = ecalloc(1, sizeof(zend_internal_function)); in zend_ffi_cdata_get_closure()
2915 func = ecalloc(1, sizeof(zend_internal_function)); in zend_ffi_get_func()
5412 …tr_find_ptr(&zend_ffi_ce->function_table, "new", sizeof("new")-1), sizeof(zend_internal_function));
5414 …_find_ptr(&zend_ffi_ce->function_table, "cast", sizeof("cast")-1), sizeof(zend_internal_function));
5416 …_find_ptr(&zend_ffi_ce->function_table, "type", sizeof("type")-1), sizeof(zend_internal_function));
/php-src/ext/pdo/
H A Dpdo_dbh.c1304 zend_internal_function func; in pdo_hash_methods()
/php-src/Zend/Optimizer/
H A Dzend_optimizer.c131 zend_internal_function *func = zend_hash_find_ptr(EG(function_table), lc_name); in zend_optimizer_eval_special_func_call()
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c10048 func_ptr = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_internal_function, handler)));

Completed in 222 milliseconds