Lines Matching refs:internal_function
2926 zend_internal_function *reg_function, *internal_function = (zend_internal_function *)&function; in zend_register_functions() local
2942 internal_function->type = ZEND_INTERNAL_FUNCTION; in zend_register_functions()
2943 internal_function->module = EG(current_module); in zend_register_functions()
2948 internal_function->T = 1; in zend_register_functions()
2950 internal_function->T = 0; in zend_register_functions()
2952 memset(internal_function->reserved, 0, ZEND_MAX_RESERVED_RESOURCES * sizeof(void*)); in zend_register_functions()
2956 internal_function->handler = ptr->handler; in zend_register_functions()
2957 …internal_function->doc_comment = ptr->doc_comment ? zend_string_init_interned(ptr->doc_comment, st… in zend_register_functions()
2958 internal_function->function_name = zend_string_init_interned(ptr->fname, fname_len, 1); in zend_register_functions()
2959 internal_function->scope = scope; in zend_register_functions()
2960 internal_function->prototype = NULL; in zend_register_functions()
2961 internal_function->prop_info = NULL; in zend_register_functions()
2962 internal_function->attributes = NULL; in zend_register_functions()
2963 internal_function->frameless_function_infos = ptr->frameless_function_infos; in zend_register_functions()
2965 …ZEND_MAP_PTR_INIT(internal_function->run_time_cache, zend_arena_calloc(&CG(arena), 1, zend_interna… in zend_register_functions()
2968 ZEND_MAP_PTR_NEW_STATIC(internal_function->run_time_cache); in zend_register_functions()
2970 ZEND_MAP_PTR_INIT(internal_function->run_time_cache, NULL); in zend_register_functions()
2978 internal_function->fn_flags = ZEND_ACC_PUBLIC | ptr->flags; in zend_register_functions()
2980 internal_function->fn_flags = ptr->flags; in zend_register_functions()
2983 internal_function->fn_flags = ZEND_ACC_PUBLIC; in zend_register_functions()
2988 internal_function->arg_info = (zend_internal_arg_info*)ptr->arg_info+1; in zend_register_functions()
2989 internal_function->num_args = ptr->num_args; in zend_register_functions()
2992 internal_function->required_num_args = ptr->num_args; in zend_register_functions()
2994 internal_function->required_num_args = info->required_num_args; in zend_register_functions()
2997 internal_function->fn_flags |= ZEND_ACC_RETURN_REFERENCE; in zend_register_functions()
3000 internal_function->fn_flags |= ZEND_ACC_VARIADIC; in zend_register_functions()
3002 internal_function->num_args--; in zend_register_functions()
3012 internal_function->fn_flags |= ZEND_ACC_HAS_RETURN_TYPE; in zend_register_functions()
3018 internal_function->arg_info = NULL; in zend_register_functions()
3019 internal_function->num_args = 0; in zend_register_functions()
3020 internal_function->required_num_args = 0; in zend_register_functions()
3025 if (scope && zend_string_equals_literal_ci(internal_function->function_name, "__tostring") && in zend_register_functions()
3026 !(internal_function->fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_register_functions()
3029 internal_function->arg_info = (zend_internal_arg_info *) arg_info_toString + 1; in zend_register_functions()
3030 internal_function->fn_flags |= ZEND_ACC_HAS_RETURN_TYPE; in zend_register_functions()
3031 internal_function->num_args = internal_function->required_num_args = 0; in zend_register_functions()
3035 zend_set_function_arg_flags((zend_function*)internal_function); in zend_register_functions()
3055 if (!internal_function->handler) { in zend_register_functions()
3061 …lowercase_name = zend_string_tolower_ex(internal_function->function_name, type == MODULE_PERSISTEN… in zend_register_functions()
3288 if (fe->common.type == ZEND_INTERNAL_FUNCTION && fe->internal_function.module == module) { in clean_module_function()
3730 zend_free_internal_arg_info(&fn->internal_function); in zend_disable_class()