fptr 1964 Zend/zend_API.c ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type TSRMLS_DC) /* {{{ */ fptr 1971 Zend/zend_API.c name_len = strlen(fptr->common.function_name); fptr 1972 Zend/zend_API.c zend_str_tolower_copy(lcname, fptr->common.function_name, MIN(name_len, sizeof(lcname)-1)); fptr 1975 Zend/zend_API.c if (name_len == sizeof(ZEND_DESTRUCTOR_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_DESTRUCTOR_FUNC_NAME, sizeof(ZEND_DESTRUCTOR_FUNC_NAME) - 1) && fptr->common.num_args != 0) { fptr 1977 Zend/zend_API.c } else if (name_len == sizeof(ZEND_CLONE_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_CLONE_FUNC_NAME, sizeof(ZEND_CLONE_FUNC_NAME) - 1) && fptr->common.num_args != 0) { fptr 1980 Zend/zend_API.c if (fptr->common.num_args != 1) { fptr 1982 Zend/zend_API.c } else if (ARG_SHOULD_BE_SENT_BY_REF(fptr, 1)) { fptr 1986 Zend/zend_API.c if (fptr->common.num_args != 2) { fptr 1988 Zend/zend_API.c } else if (ARG_SHOULD_BE_SENT_BY_REF(fptr, 1) || ARG_SHOULD_BE_SENT_BY_REF(fptr, 2)) { fptr 1992 Zend/zend_API.c if (fptr->common.num_args != 1) { fptr 1994 Zend/zend_API.c } else if (ARG_SHOULD_BE_SENT_BY_REF(fptr, 1)) { fptr 1998 Zend/zend_API.c if (fptr->common.num_args != 1) { fptr 2000 Zend/zend_API.c } else if (ARG_SHOULD_BE_SENT_BY_REF(fptr, 1)) { fptr 2004 Zend/zend_API.c if (fptr->common.num_args != 2) { fptr 2006 Zend/zend_API.c } else if (ARG_SHOULD_BE_SENT_BY_REF(fptr, 1) || ARG_SHOULD_BE_SENT_BY_REF(fptr, 2)) { fptr 2012 Zend/zend_API.c if (fptr->common.num_args != 2) { fptr 2014 Zend/zend_API.c } else if (ARG_SHOULD_BE_SENT_BY_REF(fptr, 1) || ARG_SHOULD_BE_SENT_BY_REF(fptr, 2)) { fptr 2018 Zend/zend_API.c !memcmp(lcname, ZEND_TOSTRING_FUNC_NAME, sizeof(ZEND_TOSTRING_FUNC_NAME)-1) && fptr->common.num_args != 0 fptr 2022 Zend/zend_API.c !memcmp(lcname, ZEND_DEBUGINFO_FUNC_NAME, sizeof(ZEND_DEBUGINFO_FUNC_NAME)-1) && fptr->common.num_args != 0) { fptr 277 Zend/zend_API.h ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type TSRMLS_DC); fptr 3373 Zend/zend_compile.c static char * zend_get_function_declaration(zend_function *fptr TSRMLS_DC) /* {{{ */ fptr 3379 Zend/zend_compile.c if (fptr->op_array.fn_flags & ZEND_ACC_RETURN_REFERENCE) { fptr 3384 Zend/zend_compile.c if (fptr->common.scope) { fptr 3385 Zend/zend_compile.c memcpy(offset, fptr->common.scope->name, fptr->common.scope->name_length); fptr 3386 Zend/zend_compile.c offset += fptr->common.scope->name_length; fptr 3392 Zend/zend_compile.c size_t name_len = strlen(fptr->common.function_name); fptr 3394 Zend/zend_compile.c memcpy(offset, fptr->common.function_name, name_len); fptr 3399 Zend/zend_compile.c if (fptr->common.arg_info) { fptr 3401 Zend/zend_compile.c zend_arg_info *arg_info = fptr->common.arg_info; fptr 3403 Zend/zend_compile.c required = fptr->common.required_num_args; fptr 3404 Zend/zend_compile.c for (i = 0; i < fptr->common.num_args;) { fptr 3408 Zend/zend_compile.c if (!strcasecmp(arg_info->class_name, "self") && fptr->common.scope ) { fptr 3409 Zend/zend_compile.c class_name = fptr->common.scope->name; fptr 3410 Zend/zend_compile.c class_name_len = fptr->common.scope->name_length; fptr 3411 Zend/zend_compile.c } else if (!strcasecmp(arg_info->class_name, "parent") && fptr->common.scope->parent) { fptr 3412 Zend/zend_compile.c class_name = fptr->common.scope->parent->name; fptr 3413 Zend/zend_compile.c class_name_len = fptr->common.scope->parent->name_length; fptr 3461 Zend/zend_compile.c if (fptr->type == ZEND_USER_FUNCTION) { fptr 3465 Zend/zend_compile.c zend_op *op = ((zend_op_array *)fptr)->opcodes; fptr 3466 Zend/zend_compile.c zend_op *end = op + ((zend_op_array *)fptr)->last; fptr 3530 Zend/zend_compile.c if (++i < fptr->common.num_args) { fptr 264 ext/com_dotnet/com_handlers.c zend_internal_function f, *fptr = NULL; fptr 281 ext/com_dotnet/com_handlers.c if (obj->method_cache == NULL || FAILURE == zend_hash_find(obj->method_cache, name, len, (void**)&fptr)) { fptr 290 ext/com_dotnet/com_handlers.c fptr = &f; fptr 344 ext/com_dotnet/com_handlers.c if (fptr) { fptr 351 ext/com_dotnet/com_handlers.c zend_hash_update(obj->method_cache, name, len, &f, sizeof(f), (void**)&fptr); fptr 355 ext/com_dotnet/com_handlers.c if (fptr) { fptr 358 ext/com_dotnet/com_handlers.c func = emalloc(sizeof(*fptr)); fptr 359 ext/com_dotnet/com_handlers.c memcpy(func, fptr, sizeof(*fptr)); fptr 24736 ext/date/lib/parse_date.c char *fptr = format; fptr 24766 ext/date/lib/parse_date.c while (*fptr && *ptr) { fptr 24768 ext/date/lib/parse_date.c switch (*fptr) { fptr 24956 ext/date/lib/parse_date.c if (*ptr == *fptr) { fptr 24976 ext/date/lib/parse_date.c if(!fptr[1]) { fptr 24980 ext/date/lib/parse_date.c fptr++; fptr 24981 ext/date/lib/parse_date.c if (*ptr == *fptr) { fptr 24997 ext/date/lib/parse_date.c if (*fptr != *ptr) { fptr 25002 ext/date/lib/parse_date.c fptr++; fptr 25012 ext/date/lib/parse_date.c while (*fptr == '+') { fptr 25013 ext/date/lib/parse_date.c fptr++; fptr 25015 ext/date/lib/parse_date.c if (*fptr) { fptr 25018 ext/date/lib/parse_date.c while (*fptr && !done) { fptr 25019 ext/date/lib/parse_date.c switch (*fptr++) { fptr 5663 ext/pcre/pcrelib/pcre_exec.c PCRE_PUCHAR fptr; fptr 5684 ext/pcre/pcrelib/pcre_exec.c fptr = eptr - 1; fptr 5685 ext/pcre/pcrelib/pcre_exec.c if (!utf) c = *fptr; else fptr 5687 ext/pcre/pcrelib/pcre_exec.c BACKCHAR(fptr); fptr 5688 ext/pcre/pcrelib/pcre_exec.c GETCHAR(c, fptr); fptr 5692 ext/pcre/pcrelib/pcre_exec.c eptr = fptr; fptr 194 ext/reflection/php_reflection.c zend_function *fptr; fptr 273 ext/reflection/php_reflection.c static zend_function *_copy_function(zend_function *fptr TSRMLS_DC) /* {{{ */ fptr 275 ext/reflection/php_reflection.c if (fptr fptr 276 ext/reflection/php_reflection.c && fptr->type == ZEND_INTERNAL_FUNCTION fptr 277 ext/reflection/php_reflection.c && (fptr->internal_function.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) != 0) fptr 281 ext/reflection/php_reflection.c memcpy(copy_fptr, fptr, sizeof(zend_function)); fptr 282 ext/reflection/php_reflection.c copy_fptr->internal_function.function_name = estrdup(fptr->internal_function.function_name); fptr 286 ext/reflection/php_reflection.c return fptr; fptr 291 ext/reflection/php_reflection.c static void _free_function(zend_function *fptr TSRMLS_DC) /* {{{ */ fptr 293 ext/reflection/php_reflection.c if (fptr fptr 294 ext/reflection/php_reflection.c && fptr->type == ZEND_INTERNAL_FUNCTION fptr 295 ext/reflection/php_reflection.c && (fptr->internal_function.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) != 0) fptr 297 ext/reflection/php_reflection.c efree((char*)fptr->internal_function.function_name); fptr 298 ext/reflection/php_reflection.c efree(fptr); fptr 313 ext/reflection/php_reflection.c _free_function(reference->fptr TSRMLS_CC); fptr 369 ext/reflection/php_reflection.c static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent TSRMLS_DC); fptr 715 ext/reflection/php_reflection.c static void _parameter_string(string *str, zend_function *fptr, struct _zend_arg_info *arg_info, zend_uint offset, zend_uint required, char* indent TSRMLS_DC) fptr 745 ext/reflection/php_reflection.c if (fptr->type == ZEND_USER_FUNCTION && offset >= required) { fptr 746 ext/reflection/php_reflection.c zend_op *precv = _get_recv_op((zend_op_array*)fptr, offset); fptr 759 ext/reflection/php_reflection.c EG(scope) = fptr->common.scope; fptr 799 ext/reflection/php_reflection.c static void _function_parameter_string(string *str, zend_function *fptr, char* indent TSRMLS_DC) fptr 801 ext/reflection/php_reflection.c struct _zend_arg_info *arg_info = fptr->common.arg_info; fptr 802 ext/reflection/php_reflection.c zend_uint i, required = fptr->common.required_num_args; fptr 809 ext/reflection/php_reflection.c string_printf(str, "%s- Parameters [%d] {\n", indent, fptr->common.num_args); fptr 810 ext/reflection/php_reflection.c for (i = 0; i < fptr->common.num_args; i++) { fptr 812 ext/reflection/php_reflection.c _parameter_string(str, fptr, arg_info, i, required, indent TSRMLS_CC); fptr 821 ext/reflection/php_reflection.c static void _function_closure_string(string *str, zend_function *fptr, char* indent TSRMLS_DC) fptr 830 ext/reflection/php_reflection.c if (fptr->type != ZEND_USER_FUNCTION || !fptr->op_array.static_variables) { fptr 834 ext/reflection/php_reflection.c static_variables = fptr->op_array.static_variables; fptr 855 ext/reflection/php_reflection.c static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent TSRMLS_DC) fptr 866 ext/reflection/php_reflection.c if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { fptr 867 ext/reflection/php_reflection.c string_printf(str, "%s%s\n", indent, fptr->op_array.doc_comment); fptr 871 ext/reflection/php_reflection.c string_printf(str, fptr->common.fn_flags & ZEND_ACC_CLOSURE ? "Closure [ " : (fptr->common.scope ? "Method [ " : "Function [ ")); fptr 872 ext/reflection/php_reflection.c string_printf(str, (fptr->type == ZEND_USER_FUNCTION) ? "<user" : "<internal"); fptr 873 ext/reflection/php_reflection.c if (fptr->common.fn_flags & ZEND_ACC_DEPRECATED) { fptr 876 ext/reflection/php_reflection.c if (fptr->type == ZEND_INTERNAL_FUNCTION && ((zend_internal_function*)fptr)->module) { fptr 877 ext/reflection/php_reflection.c string_printf(str, ":%s", ((zend_internal_function*)fptr)->module->name); fptr 880 ext/reflection/php_reflection.c if (scope && fptr->common.scope) { fptr 881 ext/reflection/php_reflection.c if (fptr->common.scope != scope) { fptr 882 ext/reflection/php_reflection.c string_printf(str, ", inherits %s", fptr->common.scope->name); fptr 883 ext/reflection/php_reflection.c } else if (fptr->common.scope->parent) { fptr 884 ext/reflection/php_reflection.c lc_name_len = strlen(fptr->common.function_name); fptr 885 ext/reflection/php_reflection.c lc_name = zend_str_tolower_dup(fptr->common.function_name, lc_name_len); fptr 886 ext/reflection/php_reflection.c if (zend_hash_find(&fptr->common.scope->parent->function_table, lc_name, lc_name_len + 1, (void**) &overwrites) == SUCCESS) { fptr 887 ext/reflection/php_reflection.c if (fptr->common.scope != overwrites->common.scope) { fptr 894 ext/reflection/php_reflection.c if (fptr->common.prototype && fptr->common.prototype->common.scope) { fptr 895 ext/reflection/php_reflection.c string_printf(str, ", prototype %s", fptr->common.prototype->common.scope->name); fptr 897 ext/reflection/php_reflection.c if (fptr->common.fn_flags & ZEND_ACC_CTOR) { fptr 900 ext/reflection/php_reflection.c if (fptr->common.fn_flags & ZEND_ACC_DTOR) { fptr 905 ext/reflection/php_reflection.c if (fptr->common.fn_flags & ZEND_ACC_ABSTRACT) { fptr 908 ext/reflection/php_reflection.c if (fptr->common.fn_flags & ZEND_ACC_FINAL) { fptr 911 ext/reflection/php_reflection.c if (fptr->common.fn_flags & ZEND_ACC_STATIC) { fptr 915 ext/reflection/php_reflection.c if (fptr->common.scope) { fptr 917 ext/reflection/php_reflection.c switch (fptr->common.fn_flags & ZEND_ACC_PPP_MASK) { fptr 936 ext/reflection/php_reflection.c if (fptr->op_array.fn_flags & ZEND_ACC_RETURN_REFERENCE) { fptr 939 ext/reflection/php_reflection.c string_printf(str, "%s ] {\n", fptr->common.function_name); fptr 941 ext/reflection/php_reflection.c if (fptr->type == ZEND_USER_FUNCTION) { fptr 943 ext/reflection/php_reflection.c fptr->op_array.filename, fptr 944 ext/reflection/php_reflection.c fptr->op_array.line_start, fptr 945 ext/reflection/php_reflection.c fptr->op_array.line_end); fptr 949 ext/reflection/php_reflection.c if (fptr->common.fn_flags & ZEND_ACC_CLOSURE) { fptr 950 ext/reflection/php_reflection.c _function_closure_string(str, fptr, param_indent.string TSRMLS_CC); fptr 952 ext/reflection/php_reflection.c _function_parameter_string(str, fptr, param_indent.string TSRMLS_CC); fptr 1146 ext/reflection/php_reflection.c zend_function *fptr; fptr 1150 ext/reflection/php_reflection.c while (zend_hash_get_current_data_ex(CG(function_table), (void **) &fptr, &iterator) == SUCCESS) { fptr 1151 ext/reflection/php_reflection.c if (fptr->common.type==ZEND_INTERNAL_FUNCTION fptr 1152 ext/reflection/php_reflection.c && fptr->internal_function.module == module) { fptr 1157 ext/reflection/php_reflection.c _function_string(str, fptr, NULL, " " TSRMLS_CC); fptr 1270 ext/reflection/php_reflection.c static void reflection_parameter_factory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, zend_uint offset, zend_uint required, zval *object TSRMLS_DC) fptr 1291 ext/reflection/php_reflection.c reference->fptr = fptr; fptr 1294 ext/reflection/php_reflection.c intern->ce = fptr->common.scope; fptr 1509 ext/reflection/php_reflection.c if (param->fptr->type != ZEND_USER_FUNCTION) { fptr 1527 ext/reflection/php_reflection.c precv = _get_recv_op((zend_op_array*)param->fptr, param->offset); fptr 1641 ext/reflection/php_reflection.c zend_function *fptr; fptr 1652 ext/reflection/php_reflection.c fptr = (zend_function*)zend_get_closure_method_def(closure TSRMLS_CC); fptr 1666 ext/reflection/php_reflection.c if (zend_hash_find(EG(function_table), nsname, name_len + 1, (void **)&fptr) == FAILURE) { fptr 1678 ext/reflection/php_reflection.c ZVAL_STRING(name, fptr->common.function_name, 1); fptr 1680 ext/reflection/php_reflection.c intern->ptr = fptr; fptr 1692 ext/reflection/php_reflection.c zend_function *fptr; fptr 1698 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1700 ext/reflection/php_reflection.c _function_string(&str, fptr, intern->ce, "" TSRMLS_CC); fptr 1721 ext/reflection/php_reflection.c zend_function *fptr; fptr 1726 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1727 ext/reflection/php_reflection.c RETURN_BOOL(fptr->common.fn_flags & ZEND_ACC_CLOSURE); fptr 1736 ext/reflection/php_reflection.c zend_function *fptr; fptr 1742 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1757 ext/reflection/php_reflection.c zend_function *fptr; fptr 1763 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1778 ext/reflection/php_reflection.c zend_function *fptr; fptr 1783 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1785 ext/reflection/php_reflection.c zend_create_closure(return_value, fptr, NULL, NULL TSRMLS_CC); fptr 1795 ext/reflection/php_reflection.c zend_function *fptr; fptr 1800 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1801 ext/reflection/php_reflection.c RETURN_BOOL(fptr->type == ZEND_INTERNAL_FUNCTION); fptr 1810 ext/reflection/php_reflection.c zend_function *fptr; fptr 1815 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1816 ext/reflection/php_reflection.c RETURN_BOOL(fptr->type == ZEND_USER_FUNCTION); fptr 1825 ext/reflection/php_reflection.c zend_function *fptr; fptr 1828 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1829 ext/reflection/php_reflection.c RETURN_BOOL(fptr->type == ZEND_INTERNAL_FUNCTION && fptr->internal_function.handler == zif_display_disabled_function); fptr 1838 ext/reflection/php_reflection.c zend_function *fptr; fptr 1843 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1844 ext/reflection/php_reflection.c if (fptr->type == ZEND_USER_FUNCTION) { fptr 1845 ext/reflection/php_reflection.c RETURN_STRING(fptr->op_array.filename, 1); fptr 1856 ext/reflection/php_reflection.c zend_function *fptr; fptr 1861 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1862 ext/reflection/php_reflection.c if (fptr->type == ZEND_USER_FUNCTION) { fptr 1863 ext/reflection/php_reflection.c RETURN_LONG(fptr->op_array.line_start); fptr 1874 ext/reflection/php_reflection.c zend_function *fptr; fptr 1879 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1880 ext/reflection/php_reflection.c if (fptr->type == ZEND_USER_FUNCTION) { fptr 1881 ext/reflection/php_reflection.c RETURN_LONG(fptr->op_array.line_end); fptr 1892 ext/reflection/php_reflection.c zend_function *fptr; fptr 1897 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1898 ext/reflection/php_reflection.c if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { fptr 1899 ext/reflection/php_reflection.c RETURN_STRINGL(fptr->op_array.doc_comment, fptr->op_array.doc_comment_len, 1); fptr 1911 ext/reflection/php_reflection.c zend_function *fptr; fptr 1916 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1920 ext/reflection/php_reflection.c if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.static_variables != NULL) { fptr 1921 ext/reflection/php_reflection.c zend_hash_apply_with_argument(fptr->op_array.static_variables, (apply_func_arg_t) zval_update_constant_inline_change, fptr->common.scope TSRMLS_CC); fptr 1922 ext/reflection/php_reflection.c zend_hash_copy(Z_ARRVAL_P(return_value), fptr->op_array.static_variables, (copy_ctor_func_t) zval_add_ref, (void *) &tmp_copy, sizeof(zval *)); fptr 1937 ext/reflection/php_reflection.c zend_function *fptr; fptr 1940 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 1957 ext/reflection/php_reflection.c fcc.function_handler = fptr; fptr 1970 ext/reflection/php_reflection.c "Invocation of function %s() failed", fptr->common.function_name); fptr 1997 ext/reflection/php_reflection.c zend_function *fptr; fptr 2001 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 2024 ext/reflection/php_reflection.c fcc.function_handler = fptr; fptr 2035 ext/reflection/php_reflection.c "Invocation of function %s() failed", fptr->common.function_name); fptr 2050 ext/reflection/php_reflection.c zend_function *fptr; fptr 2053 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 2055 ext/reflection/php_reflection.c RETURN_BOOL((fptr->op_array.fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0); fptr 2064 ext/reflection/php_reflection.c zend_function *fptr; fptr 2067 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 2069 ext/reflection/php_reflection.c RETURN_LONG(fptr->common.num_args); fptr 2078 ext/reflection/php_reflection.c zend_function *fptr; fptr 2081 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 2083 ext/reflection/php_reflection.c RETURN_LONG(fptr->common.required_num_args); fptr 2092 ext/reflection/php_reflection.c zend_function *fptr; fptr 2097 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 2099 ext/reflection/php_reflection.c arg_info= fptr->common.arg_info; fptr 2102 ext/reflection/php_reflection.c for (i = 0; i < fptr->common.num_args; i++) { fptr 2106 ext/reflection/php_reflection.c reflection_parameter_factory(_copy_function(fptr TSRMLS_CC), intern->obj, arg_info, i, fptr->common.required_num_args, parameter TSRMLS_CC); fptr 2119 ext/reflection/php_reflection.c zend_function *fptr; fptr 2123 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 2125 ext/reflection/php_reflection.c if (fptr->type != ZEND_INTERNAL_FUNCTION) { fptr 2129 ext/reflection/php_reflection.c internal = (zend_internal_function *)fptr; fptr 2143 ext/reflection/php_reflection.c zend_function *fptr; fptr 2147 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(fptr); fptr 2149 ext/reflection/php_reflection.c if (fptr->type != ZEND_INTERNAL_FUNCTION) { fptr 2153 ext/reflection/php_reflection.c internal = (zend_internal_function *)fptr; fptr 2179 ext/reflection/php_reflection.c zend_function *fptr; fptr 2203 ext/reflection/php_reflection.c if (zend_hash_find(EG(function_table), lcname, lcname_len + 1, (void**) &fptr) == FAILURE) { fptr 2211 ext/reflection/php_reflection.c ce = fptr->common.scope; fptr 2246 ext/reflection/php_reflection.c && (fptr = zend_get_closure_invoke_method(*classref TSRMLS_CC)) != NULL) fptr 2250 ext/reflection/php_reflection.c } else if (zend_hash_find(&ce->function_table, lcname, lcname_len + 1, (void **) &fptr) == FAILURE) { fptr 2264 ext/reflection/php_reflection.c fptr = (zend_function *)zend_get_closure_method_def(reference TSRMLS_CC); fptr 2267 ext/reflection/php_reflection.c } else if (zend_hash_find(&ce->function_table, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME), (void **)&fptr) == FAILURE) { fptr 2281 ext/reflection/php_reflection.c arg_info = fptr->common.arg_info; fptr 2284 ext/reflection/php_reflection.c if (position < 0 || (zend_uint)position >= fptr->common.num_args) { fptr 2285 ext/reflection/php_reflection.c if (fptr->common.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) { fptr 2286 ext/reflection/php_reflection.c if (fptr->type != ZEND_OVERLOADED_FUNCTION) { fptr 2287 ext/reflection/php_reflection.c efree((char*)fptr->common.function_name); fptr 2289 ext/reflection/php_reflection.c efree(fptr); fptr 2302 ext/reflection/php_reflection.c for (i = 0; i < fptr->common.num_args; i++) { fptr 2309 ext/reflection/php_reflection.c if (fptr->common.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) { fptr 2310 ext/reflection/php_reflection.c if (fptr->type != ZEND_OVERLOADED_FUNCTION) { fptr 2311 ext/reflection/php_reflection.c efree((char*)fptr->common.function_name); fptr 2313 ext/reflection/php_reflection.c efree(fptr); fptr 2334 ext/reflection/php_reflection.c ref->required = fptr->common.required_num_args; fptr 2335 ext/reflection/php_reflection.c ref->fptr = fptr; fptr 2359 ext/reflection/php_reflection.c _parameter_string(&str, param->fptr, param->arg_info, param->offset, param->required, "" TSRMLS_CC); fptr 2387 ext/reflection/php_reflection.c if (!param->fptr->common.scope) { fptr 2388 ext/reflection/php_reflection.c reflection_function_factory(_copy_function(param->fptr TSRMLS_CC), intern->obj, return_value TSRMLS_CC); fptr 2390 ext/reflection/php_reflection.c reflection_method_factory(param->fptr->common.scope, _copy_function(param->fptr TSRMLS_CC), intern->obj, return_value TSRMLS_CC); fptr 2407 ext/reflection/php_reflection.c if (param->fptr->common.scope) { fptr 2408 ext/reflection/php_reflection.c zend_reflection_class_factory(param->fptr->common.scope, return_value TSRMLS_CC); fptr 2440 ext/reflection/php_reflection.c ce = param->fptr->common.scope; fptr 2448 ext/reflection/php_reflection.c ce = param->fptr->common.scope; fptr 2596 ext/reflection/php_reflection.c if (param->fptr->type != ZEND_USER_FUNCTION) fptr 2601 ext/reflection/php_reflection.c precv = _get_recv_op((zend_op_array*)param->fptr, param->offset); fptr 2646 ext/reflection/php_reflection.c EG(scope) = param->fptr->common.scope; fptr 5338 ext/reflection/php_reflection.c zend_function *fptr; fptr 5347 ext/reflection/php_reflection.c while (zend_hash_get_current_data_ex(CG(function_table), (void **) &fptr, &iterator) == SUCCESS) { fptr 5348 ext/reflection/php_reflection.c if (fptr->common.type==ZEND_INTERNAL_FUNCTION fptr 5349 ext/reflection/php_reflection.c && fptr->internal_function.module == module) { fptr 5351 ext/reflection/php_reflection.c reflection_function_factory(fptr, NULL, function TSRMLS_CC); fptr 5352 ext/reflection/php_reflection.c add_assoc_zval(return_value, fptr->common.function_name, function); fptr 710 ext/spl/php_spl.c zend_function *fptr; fptr 719 ext/spl/php_spl.c if (zend_hash_find(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME), (void **) &fptr) == SUCCESS) { fptr 727 ext/spl/php_spl.c zend_hash_find(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call"), (void **) &fptr); fptr 729 ext/spl/php_spl.c if (EG(autoload_func) == fptr) { fptr 279 ext/xmlrpc/libxmlrpc/xml_element.c static int xml_elem_writefunc(int (*fptr)(void *data, const char *text, int size), const char *text, void *data, int len) fptr 281 ext/xmlrpc/libxmlrpc/xml_element.c return fptr && text ? fptr(data, text, len ? len : strlen(text)) : 0; fptr 376 ext/xmlrpc/libxmlrpc/xml_element.c static void xml_element_serialize(xml_element *el, int (*fptr)(void *data, const char *text, int size), void *data, XML_ELEM_OUTPUT_OPTIONS options, int depth) fptr 395 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, XML_DECL_START, data, XML_DECL_START_LEN); fptr 396 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, WHITESPACE, data, WHITESPACE_LEN); fptr 397 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, XML_DECL_VERSION, data, XML_DECL_VERSION_LEN); fptr 399 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, WHITESPACE, data, WHITESPACE_LEN); fptr 400 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, XML_DECL_ENCODING_ATTR, data, XML_DECL_ENCODING_ATTR_LEN); fptr 401 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, EQUALS, data, EQUALS_LEN); fptr 402 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, ATTR_DELIMITER, data, ATTR_DELIMITER_LEN); fptr 403 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, options->encoding, data, 0); fptr 404 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, ATTR_DELIMITER, data, ATTR_DELIMITER_LEN); fptr 406 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, XML_DECL_END, data, XML_DECL_END_LEN); fptr 408 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, NEWLINE, data, NEWLINE_LEN); fptr 413 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, whitespace, data, depth - 2); fptr 416 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr,START_TOKEN_BEGIN, data, START_TOKEN_BEGIN_LEN); fptr 418 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, el->name, data, 0); fptr 424 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, WHITESPACE, data, WHITESPACE_LEN); fptr 425 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, iter->key, data, 0); fptr 426 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, EQUALS, data, EQUALS_LEN); fptr 427 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, ATTR_DELIMITER, data, ATTR_DELIMITER_LEN); fptr 428 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, iter->val, data, 0); fptr 429 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, ATTR_DELIMITER, data, ATTR_DELIMITER_LEN); fptr 436 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, "None", data, 0); fptr 440 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, EMPTY_START_TOKEN_END, data, EMPTY_START_TOKEN_END_LEN); fptr 444 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, START_TOKEN_END, data, START_TOKEN_END_LEN); fptr 459 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, CDATA_BEGIN, data, CDATA_BEGIN_LEN); fptr 462 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, escaped_str, data, buflen); fptr 469 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, CDATA_END, data, CDATA_END_LEN); fptr 479 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, NEWLINE, data, NEWLINE_LEN); fptr 482 ext/xmlrpc/libxmlrpc/xml_element.c xml_element_serialize(kids, fptr, data, options, depth); fptr 487 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, whitespace, data, depth - 2); fptr 492 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, END_TOKEN_BEGIN, data, END_TOKEN_BEGIN_LEN); fptr 493 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr,el->name ? el->name : "None", data, 0); fptr 494 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, END_TOKEN_END, data, END_TOKEN_END_LEN); fptr 497 ext/xmlrpc/libxmlrpc/xml_element.c xml_elem_writefunc(fptr, NEWLINE, data, NEWLINE_LEN);