Home
last modified time | relevance | path

Searched refs:fptr (Results 1 – 12 of 12) sorted by relevance

/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c274 return fptr && text ? fptr(data, text, len ? len : strlen(text)) : 0; in xml_elem_writefunc()
394 xml_elem_writefunc(fptr, EQUALS, data, EQUALS_LEN); in xml_element_serialize()
396 xml_elem_writefunc(fptr, options->encoding, data, 0); in xml_element_serialize()
401 xml_elem_writefunc(fptr, NEWLINE, data, NEWLINE_LEN); in xml_element_serialize()
406 xml_elem_writefunc(fptr, whitespace, data, depth - 2); in xml_element_serialize()
411 xml_elem_writefunc(fptr, el->name, data, 0); in xml_element_serialize()
418 xml_elem_writefunc(fptr, iter->key, data, 0); in xml_element_serialize()
421 xml_elem_writefunc(fptr, iter->val, data, 0); in xml_element_serialize()
429 xml_elem_writefunc(fptr, "None", data, 0); in xml_element_serialize()
455 xml_elem_writefunc(fptr, escaped_str, data, buflen); in xml_element_serialize()
[all …]
/PHP-7.4/ext/zend_test/
H A Dtest.c149 fptr->num_args = 1; in zend_test_class_method_get()
150 fptr->arg_info = NULL; in zend_test_class_method_get()
151 fptr->scope = (*object)->ce; in zend_test_class_method_get()
154 fptr->handler = ZEND_FN(zend_test_func); in zend_test_class_method_get()
157 return (zend_function*)fptr; in zend_test_class_method_get()
164 fptr->type = ZEND_OVERLOADED_FUNCTION; in zend_test_class_static_method_get()
165 fptr->num_args = 1; in zend_test_class_static_method_get()
166 fptr->arg_info = NULL; in zend_test_class_static_method_get()
167 fptr->scope = ce; in zend_test_class_static_method_get()
169 fptr->function_name = name; in zend_test_class_static_method_get()
[all …]
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c126 zend_function *fptr; member
187 if (fptr in _copy_function()
197 return fptr; in _copy_function()
204 if (fptr in _free_function()
731 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { in _function_string()
758 if (fptr->common.prototype && fptr->common.prototype->common.scope) { in _function_string()
1135 reference->fptr = fptr; in reflection_parameter_factory()
1543 intern->ptr = fptr; in ZEND_METHOD()
1767 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { in ZEND_METHOD()
2269 if (!fptr) { in ZEND_METHOD()
[all …]
/PHP-7.4/ext/com_dotnet/
H A Dcom_handlers.c283 zend_internal_function f, *fptr = NULL; in com_method_get() local
297 if (obj->method_cache == NULL || NULL == (fptr = zend_hash_find_ptr(obj->method_cache, name))) { in com_method_get()
306 fptr = &f; in com_method_get()
370 if (fptr) { in com_method_get()
373 func = emalloc(sizeof(*fptr)); in com_method_get()
374 memcpy(func, fptr, sizeof(*fptr)); in com_method_get()
/PHP-7.4/Zend/
H A Dzend_inheritance.c544 …} else if (!strcasecmp(class_name, "parent") && fptr->common.scope && fptr->common.scope->parent) { in zend_append_type_hint()
571 if (fptr->common.scope) { in zend_get_function_declaration()
573 …smart_str_appendl(&str, ZSTR_VAL(fptr->common.scope->name), strlen(ZSTR_VAL(fptr->common.scope->na… in zend_get_function_declaration()
580 if (fptr->common.arg_info) { in zend_get_function_declaration()
584 required = fptr->common.required_num_args; in zend_get_function_declaration()
585 num_args = fptr->common.num_args; in zend_get_function_declaration()
603 if (fptr->type == ZEND_INTERNAL_FUNCTION) { in zend_get_function_declaration()
615 if (fptr->type == ZEND_USER_FUNCTION) { in zend_get_function_declaration()
619 zend_op *op = fptr->op_array.opcodes; in zend_get_function_declaration()
620 zend_op *end = op + fptr->op_array.last; in zend_get_function_declaration()
[all …]
H A Dzend_API.c2082 name_len = ZSTR_LEN(fptr->common.function_name); in zend_check_magic_method_implementation()
2091 if (fptr->common.num_args != 1) { in zend_check_magic_method_implementation()
2097 if (fptr->common.num_args != 2) { in zend_check_magic_method_implementation()
2099 } else if (QUICK_ARG_SHOULD_BE_SENT_BY_REF(fptr, 1) || QUICK_ARG_SHOULD_BE_SENT_BY_REF(fptr, 2)) { in zend_check_magic_method_implementation()
2103 if (fptr->common.num_args != 1) { in zend_check_magic_method_implementation()
2109 if (fptr->common.num_args != 1) { in zend_check_magic_method_implementation()
2115 if (fptr->common.num_args != 2) { in zend_check_magic_method_implementation()
2117 } else if (QUICK_ARG_SHOULD_BE_SENT_BY_REF(fptr, 1) || QUICK_ARG_SHOULD_BE_SENT_BY_REF(fptr, 2)) { in zend_check_magic_method_implementation()
2123 if (fptr->common.num_args != 2) { in zend_check_magic_method_implementation()
2125 } else if (QUICK_ARG_SHOULD_BE_SENT_BY_REF(fptr, 1) || QUICK_ARG_SHOULD_BE_SENT_BY_REF(fptr, 2)) { in zend_check_magic_method_implementation()
[all …]
H A Dzend_API.h280 …magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type);
/PHP-7.4/ext/date/lib/
H A Dparse_date.re2049 while (*fptr && *ptr) {
2063 if (*fptr != *ptr) {
2067 fptr++;
2073 fptr++;
2262 if (*ptr == *fptr) {
2282 if(!fptr[1]) {
2286 fptr++;
2287 if (*ptr == *fptr) {
2346 fptr++;
2356 if (*fptr) {
[all …]
H A Dparse_date.c25157 while (*fptr && *ptr) { in timelib_parse_from_format_with_map()
25171 if (*fptr != *ptr) { in timelib_parse_from_format_with_map()
25175 fptr++; in timelib_parse_from_format_with_map()
25181 fptr++; in timelib_parse_from_format_with_map()
25370 if (*ptr == *fptr) { in timelib_parse_from_format_with_map()
25390 if(!fptr[1]) { in timelib_parse_from_format_with_map()
25394 fptr++; in timelib_parse_from_format_with_map()
25395 if (*ptr == *fptr) { in timelib_parse_from_format_with_map()
25454 fptr++; in timelib_parse_from_format_with_map()
25464 if (*fptr) { in timelib_parse_from_format_with_map()
[all …]
/PHP-7.4/ext/spl/
H A Dphp_spl.c762 zend_function *fptr; in PHP_FUNCTION() local
770 if ((fptr = zend_hash_find_ptr(EG(function_table), ZSTR_KNOWN(ZEND_STR_MAGIC_AUTOLOAD)))) { in PHP_FUNCTION()
781 fptr = spl_autoload_call_fn; in PHP_FUNCTION()
783 if (EG(autoload_func) == fptr) { in PHP_FUNCTION()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c3645 zend_function *fptr; in preload_needed_types_known() local
3647 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, lcname, fptr) { in preload_needed_types_known()
3649 if (fptr->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in preload_needed_types_known()
3650 if (!preload_is_type_known(ce, fptr->common.arg_info[-1].type) && in preload_needed_types_known()
3655 for (i = 0; i < fptr->common.num_args; i++) { in preload_needed_types_known()
3656 if (!preload_is_type_known(ce, fptr->common.arg_info[i].type) && in preload_needed_types_known()
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_match.c4132 PCRE2_SPTR fptr; in match() local
4153 fptr = Feptr - 1; in match()
4154 if (!utf) fc = *fptr; else in match()
4156 BACKCHAR(fptr); in match()
4157 GETCHAR(fc, fptr); in match()
4161 Feptr = fptr; in match()

Completed in 129 milliseconds