Lines Matching refs:fptr
146 zend_internal_function *fptr = emalloc(sizeof(zend_internal_function)); in zend_test_class_method_get() local
147 fptr->type = ZEND_OVERLOADED_FUNCTION_TEMPORARY; in zend_test_class_method_get()
148 fptr->num_args = 1; in zend_test_class_method_get()
149 fptr->arg_info = NULL; in zend_test_class_method_get()
150 fptr->scope = (*object)->ce; in zend_test_class_method_get()
151 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER; in zend_test_class_method_get()
152 fptr->function_name = zend_string_copy(name); in zend_test_class_method_get()
153 fptr->handler = ZEND_FN(zend_test_func); in zend_test_class_method_get()
154 zend_set_function_arg_flags((zend_function*)fptr); in zend_test_class_method_get()
156 return (zend_function*)fptr; in zend_test_class_method_get()
162 zend_internal_function *fptr = emalloc(sizeof(zend_internal_function)); in zend_test_class_static_method_get() local
163 fptr->type = ZEND_OVERLOADED_FUNCTION; in zend_test_class_static_method_get()
164 fptr->num_args = 1; in zend_test_class_static_method_get()
165 fptr->arg_info = NULL; in zend_test_class_static_method_get()
166 fptr->scope = ce; in zend_test_class_static_method_get()
167 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER|ZEND_ACC_STATIC; in zend_test_class_static_method_get()
168 fptr->function_name = name; in zend_test_class_static_method_get()
169 fptr->handler = ZEND_FN(zend_test_func); in zend_test_class_static_method_get()
170 zend_set_function_arg_flags((zend_function*)fptr); in zend_test_class_static_method_get()
172 return (zend_function*)fptr; in zend_test_class_static_method_get()