Home
last modified time | relevance | path

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

/PHP-7.2/ext/zend_test/
H A Dtest.c139 fptr->num_args = 1; in zend_test_class_method_get()
140 fptr->arg_info = NULL; in zend_test_class_method_get()
141 fptr->scope = (*object)->ce; in zend_test_class_method_get()
144 fptr->handler = ZEND_FN(zend_test_func); in zend_test_class_method_get()
147 return (zend_function*)fptr; in zend_test_class_method_get()
154 fptr->type = ZEND_OVERLOADED_FUNCTION; in zend_test_class_static_method_get()
155 fptr->num_args = 1; in zend_test_class_static_method_get()
156 fptr->arg_info = NULL; in zend_test_class_static_method_get()
157 fptr->scope = ce; in zend_test_class_static_method_get()
159 fptr->function_name = name; in zend_test_class_static_method_get()
[all …]
/PHP-7.2/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c278 return fptr && text ? fptr(data, text, len ? len : strlen(text)) : 0; in xml_elem_writefunc()
398 xml_elem_writefunc(fptr, EQUALS, data, EQUALS_LEN); in xml_element_serialize()
400 xml_elem_writefunc(fptr, options->encoding, data, 0); in xml_element_serialize()
405 xml_elem_writefunc(fptr, NEWLINE, data, NEWLINE_LEN); in xml_element_serialize()
410 xml_elem_writefunc(fptr, whitespace, data, depth - 2); in xml_element_serialize()
415 xml_elem_writefunc(fptr, el->name, data, 0); in xml_element_serialize()
422 xml_elem_writefunc(fptr, iter->key, data, 0); in xml_element_serialize()
425 xml_elem_writefunc(fptr, iter->val, data, 0); in xml_element_serialize()
433 xml_elem_writefunc(fptr, "None", data, 0); in xml_element_serialize()
459 xml_elem_writefunc(fptr, escaped_str, data, buflen); in xml_element_serialize()
[all …]
/PHP-7.2/ext/reflection/
H A Dphp_reflection.c120 zend_function *fptr; member
126 zend_function *fptr; member
198 if (fptr in _copy_function()
208 return fptr; in _copy_function()
224 if (fptr in _free_function()
750 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { in _function_string()
779 if (fptr->common.prototype && fptr->common.prototype->common.scope) { in _function_string()
1184 reference->fptr = fptr; in reflection_parameter_factory()
1206 reference->fptr = fptr; in reflection_type_factory()
1605 intern->ptr = fptr; in ZEND_METHOD()
[all …]
/PHP-7.2/Zend/
H A Dzend_inheritance.c403 …} else if (!strcasecmp(class_name, "parent") && fptr->common.scope && fptr->common.scope->parent) { in zend_append_type_hint()
436 if (fptr->common.scope) { in zend_get_function_declaration()
438 …smart_str_appendl(&str, ZSTR_VAL(fptr->common.scope->name), strlen(ZSTR_VAL(fptr->common.scope->na… in zend_get_function_declaration()
445 if (fptr->common.arg_info) { in zend_get_function_declaration()
449 required = fptr->common.required_num_args; in zend_get_function_declaration()
450 num_args = fptr->common.num_args; in zend_get_function_declaration()
468 if (fptr->type == ZEND_INTERNAL_FUNCTION) { in zend_get_function_declaration()
480 if (fptr->type == ZEND_USER_FUNCTION) { in zend_get_function_declaration()
484 zend_op *op = fptr->op_array.opcodes; in zend_get_function_declaration()
485 zend_op *end = op + fptr->op_array.last; in zend_get_function_declaration()
[all …]
H A Dzend_API.c2090 name_len = ZSTR_LEN(fptr->common.function_name); in zend_check_magic_method_implementation()
2099 if (fptr->common.num_args != 1) { in zend_check_magic_method_implementation()
2105 if (fptr->common.num_args != 2) { in zend_check_magic_method_implementation()
2107 } else if (ARG_SHOULD_BE_SENT_BY_REF(fptr, 1) || ARG_SHOULD_BE_SENT_BY_REF(fptr, 2)) { in zend_check_magic_method_implementation()
2111 if (fptr->common.num_args != 1) { in zend_check_magic_method_implementation()
2117 if (fptr->common.num_args != 1) { in zend_check_magic_method_implementation()
2123 if (fptr->common.num_args != 2) { in zend_check_magic_method_implementation()
2125 } else if (ARG_SHOULD_BE_SENT_BY_REF(fptr, 1) || ARG_SHOULD_BE_SENT_BY_REF(fptr, 2)) { in zend_check_magic_method_implementation()
2131 if (fptr->common.num_args != 2) { in zend_check_magic_method_implementation()
2133 } else if (ARG_SHOULD_BE_SENT_BY_REF(fptr, 1) || ARG_SHOULD_BE_SENT_BY_REF(fptr, 2)) { in zend_check_magic_method_implementation()
[all …]
H A Dzend_API.h300 …magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type);
/PHP-7.2/ext/com_dotnet/
H A Dcom_handlers.c267 zend_internal_function f, *fptr = NULL; in com_method_get() local
281 if (obj->method_cache == NULL || NULL == (fptr = zend_hash_find_ptr(obj->method_cache, name))) { in com_method_get()
290 fptr = &f; in com_method_get()
354 if (fptr) { in com_method_get()
357 func = emalloc(sizeof(*fptr)); in com_method_get()
358 memcpy(func, fptr, sizeof(*fptr)); in com_method_get()
/PHP-7.2/ext/date/lib/
H A Dparse_date.re1941 while (*fptr && *ptr) {
1943 switch (*fptr) {
2130 if (*ptr == *fptr) {
2150 if(!fptr[1]) {
2154 fptr++;
2155 if (*ptr == *fptr) {
2176 fptr++;
2186 while (*fptr == '+') {
2187 fptr++;
2189 if (*fptr) {
[all …]
H A Dparse_date.c25047 while (*fptr && *ptr) { in timelib_parse_from_format()
25049 switch (*fptr) { in timelib_parse_from_format()
25236 if (*ptr == *fptr) { in timelib_parse_from_format()
25256 if(!fptr[1]) { in timelib_parse_from_format()
25260 fptr++; in timelib_parse_from_format()
25261 if (*ptr == *fptr) { in timelib_parse_from_format()
25282 fptr++; in timelib_parse_from_format()
25292 while (*fptr == '+') { in timelib_parse_from_format()
25293 fptr++; in timelib_parse_from_format()
25295 if (*fptr) { in timelib_parse_from_format()
[all …]
/PHP-7.2/ext/spl/
H A Dphp_spl.c743 zend_function *fptr; in PHP_FUNCTION() local
751 …if ((fptr = zend_hash_str_find_ptr(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLO… in PHP_FUNCTION()
759fptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call")… in PHP_FUNCTION()
761 if (EG(autoload_func) == fptr) { in PHP_FUNCTION()
/PHP-7.2/ext/pcre/pcrelib/
H A Dpcre_exec.c5663 PCRE_PUCHAR fptr; in match() local
5684 fptr = eptr - 1; in match()
5685 if (!utf) c = *fptr; else in match()
5687 BACKCHAR(fptr); in match()
5688 GETCHAR(c, fptr); in match()
5692 eptr = fptr; in match()

Completed in 108 milliseconds