Lines Matching refs:fptr

849 		zend_internal_function *fptr;  in zend_test_class_method_get()  local
852 fptr = (zend_internal_function *) &EG(trampoline); in zend_test_class_method_get()
854 fptr = emalloc(sizeof(zend_internal_function)); in zend_test_class_method_get()
856 memset(fptr, 0, sizeof(zend_internal_function)); in zend_test_class_method_get()
857 fptr->type = ZEND_INTERNAL_FUNCTION; in zend_test_class_method_get()
858 fptr->num_args = 0; in zend_test_class_method_get()
859 fptr->scope = (*object)->ce; in zend_test_class_method_get()
860 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER; in zend_test_class_method_get()
861 fptr->function_name = zend_string_copy(name); in zend_test_class_method_get()
862 fptr->handler = ZEND_FN(zend_test_func); in zend_test_class_method_get()
863 fptr->doc_comment = NULL; in zend_test_class_method_get()
865 return (zend_function*)fptr; in zend_test_class_method_get()
873 zend_internal_function *fptr; in zend_test_class_static_method_get() local
876 fptr = (zend_internal_function *) &EG(trampoline); in zend_test_class_static_method_get()
878 fptr = emalloc(sizeof(zend_internal_function)); in zend_test_class_static_method_get()
880 memset(fptr, 0, sizeof(zend_internal_function)); in zend_test_class_static_method_get()
881 fptr->type = ZEND_INTERNAL_FUNCTION; in zend_test_class_static_method_get()
882 fptr->num_args = 0; in zend_test_class_static_method_get()
883 fptr->scope = ce; in zend_test_class_static_method_get()
884 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER|ZEND_ACC_STATIC; in zend_test_class_static_method_get()
885 fptr->function_name = zend_string_copy(name); in zend_test_class_static_method_get()
886 fptr->handler = ZEND_FN(zend_test_func); in zend_test_class_static_method_get()
887 fptr->doc_comment = NULL; in zend_test_class_static_method_get()
889 return (zend_function*)fptr; in zend_test_class_static_method_get()