Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 253) sorted by last modified time

1234567891011

/php-src/ext/soap/
H A Dsoap.c2242 sdlFunctionPtr fn; local
2319 fn = get_function(sdl, function);
2320 if (fn != NULL) {
2321 sdlBindingPtr binding = fn->binding;
2324 if (fn->responseName == NULL &&
2325 fn->responseParameters == NULL &&
2335 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes;
2336 …request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_ve…
2339 …request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_v…
2348 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NULL, return_value, …
H A Dphp_sdl.c1552 static sdlPtr get_sdl_from_cache(const char *fn, const char *uri, size_t uri_len, time_t t, time_t … in get_sdl_from_cache() argument
1567 f = open(fn, O_RDONLY|O_BINARY); in get_sdl_from_cache()
1584 unlink(fn); in get_sdl_from_cache()
1592 unlink(fn); in get_sdl_from_cache()
1600 unlink(fn); in get_sdl_from_cache()
2121 static void add_sdl_to_cache(const char *fn, const char *uri, time_t t, sdlPtr sdl) in add_sdl_to_cache() argument
2396 if (VCWD_RENAME(ZSTR_VAL(temp_file_path), fn) < 0) { in add_sdl_to_cache()
3190 char fn[MAXPATHLEN]; in get_sdl() local
3206 } else if (VCWD_REALPATH(uri, fn) == NULL) { in get_sdl()
3209 uri = fn; in get_sdl()
/php-src/Zend/
H A Dzend_inheritance.c1013 return fn->common.type == ZEND_USER_FUNCTION ? fn->op_array.filename : NULL; in func_filename()
1017 return fn->common.type == ZEND_USER_FUNCTION ? fn->op_array.line_start : 0; in func_lineno()
1958 return fn->common.scope->ce_flags & ZEND_ACC_TRAIT ? ce : fn->common.scope; in fixup_trait_scope()
1984 existing_fn, fixup_trait_scope(existing_fn, ce), fn, fixup_trait_scope(fn, ce), in zend_add_trait_method()
1996 ZSTR_VAL(fn->common.scope->name), ZSTR_VAL(fn->common.function_name), in zend_add_trait_method()
2025 fn, fixup_trait_scope(fn, ce), existing_fn, fixup_trait_scope(existing_fn, ce), in zend_add_trait_method()
2037 fn->common.scope = ce; in zend_fixup_trait_method()
2042 if (fn->type == ZEND_USER_FUNCTION && fn->op_array.static_variables) { in zend_fixup_trait_method()
2078 fn_copy = *fn; in zend_traits_copy_functions()
2309 zend_function *fn; in zend_do_traits_method_binding() local
[all …]
H A Dzend_compile.c3633 if (fn->type == ZEND_USER_FUNCTION) { in zend_get_arg_num()
3634 for (uint32_t i = 0; i < fn->common.num_args; i++) { in zend_get_arg_num()
3635 zend_arg_info *arg_info = &fn->op_array.arg_info[i]; in zend_get_arg_num()
3641 for (uint32_t i = 0; i < fn->common.num_args; i++) { in zend_get_arg_num()
3642 zend_internal_arg_info *arg_info = &fn->internal_function.arg_info[i]; in zend_get_arg_num()
9004 binary_op_type fn = get_binary_op(opcode); in zend_try_ct_eval_binary_op() local
9005 fn(result, op1, op2); in zend_try_ct_eval_binary_op()
9029 unary_op_type fn = get_unary_op(opcode); in zend_try_ct_eval_unary_op() local
9030 fn(result, op); in zend_try_ct_eval_unary_op()
9045 binary_op_type fn = kind == ZEND_AST_GREATER in zend_ct_eval_greater() local
[all …]
H A Dzend_API.h837 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr,
855 zend_function *fn, zend_object *object, zval *retval_ptr, in zend_call_known_instance_method() argument
858 zend_call_known_function(fn, object, object->ce, retval_ptr, param_count, params, NULL); in zend_call_known_instance_method()
862 zend_function *fn, zend_object *object, zval *retval_ptr) in zend_call_known_instance_method_with_0_params() argument
864 zend_call_known_instance_method(fn, object, retval_ptr, 0, NULL); in zend_call_known_instance_method_with_0_params()
868 zend_function *fn, zend_object *object, zval *retval_ptr, zval *param) in zend_call_known_instance_method_with_1_params() argument
870 zend_call_known_instance_method(fn, object, retval_ptr, 1, param); in zend_call_known_instance_method_with_1_params()
874 zend_function *fn, zend_object *object, zval *retval_ptr, zval *param1, zval *param2);
H A Dzend_API.c3617 zend_function *fn; in zend_disable_class() local
3634 ZEND_HASH_MAP_FOREACH_PTR(&disabled_class->function_table, fn) { in zend_disable_class()
3635 if ((fn->common.fn_flags & (ZEND_ACC_HAS_RETURN_TYPE|ZEND_ACC_HAS_TYPE_HINTS)) && in zend_disable_class()
3636 fn->common.scope == disabled_class) { in zend_disable_class()
3637 zend_free_internal_arg_info(&fn->internal_function); in zend_disable_class()
H A Dzend_execute_API.c1044 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr, in zend_call_known_function() argument
1051 ZEND_ASSERT(fn && "zend_function must be passed!"); in zend_call_known_function()
1061 fcic.function_handler = fn; in zend_call_known_function()
1069 fn->common.scope ? ZSTR_VAL(fn->common.scope->name) : "", in zend_call_known_function()
1070 fn->common.scope ? "::" : "", ZSTR_VAL(fn->common.function_name)); in zend_call_known_function()
1080 zend_function *fn, zend_object *object, zval *retval_ptr, zval *param1, zval *param2) in zend_call_known_instance_method_with_2_params() argument
1085 zend_call_known_instance_method(fn, object, retval_ptr, 2, params); in zend_call_known_instance_method_with_2_params()
H A Dzend_execute.c1312 static void zend_verify_internal_func_info(zend_function *fn, zval *retval) { in zend_verify_internal_func_info() argument
1314 zend_string *name = fn->common.function_name; in zend_verify_internal_func_info()
1315 uint32_t type_mask = zend_get_internal_func_info(fn, NULL, NULL); in zend_verify_internal_func_info()
H A Dzend_language_parser.y283 %type <num> returns_ref function fn is_reference is_variadic property_modifiers
1268 | fn returns_ref backup_doc_comment '(' parameter_list ')' return_type
1275 fn:
H A Dzend_fibers.c173 extern void *make_fcontext(void *sp, size_t size, void (*fn)(boost_context_data));
/php-src/ext/ffi/
H A Dffi.c3531 zend_string *fn; in ZEND_METHOD() local
3536 Z_PARAM_STR(fn) in ZEND_METHOD()
3544 ffi = zend_ffi_load(ZSTR_VAL(fn), (CG(compiler_options) & ZEND_COMPILE_PRELOAD) != 0); in ZEND_METHOD()
/php-src/ext/xml/
H A Dxml.c437 …xml_set_handler(zend_fcall_info_cache *const parser_handler, const zend_fcall_info_cache *const fn) in xml_set_handler() argument
445 if (ZEND_FCC_INITIALIZED(*fn)) { in xml_set_handler()
446 zend_fcc_dup(parser_handler, fn); in xml_set_handler()
/php-src/ext/reflection/tests/
H A Dclosures_bound_getDeclaringFunction.phpt12 $fn = $closure->bindTo($b, B::class);
16 $rClosure = new ReflectionFunction($fn);
H A DReflectionFiber_notrace_2.phpt8 $f = new \Fiber(fn() => call_user_func(["Fiber", "suspend"]));
/php-src/Zend/tests/type_declarations/union_types/
H A Dtype_checking_strict.phpt22 $fn = eval("return function($type \$arg) { return \$arg; };");
28 $value = @$fn($value);
H A Dtype_checking_weak.phpt20 $fn = eval("return function($type \$arg) { return \$arg; };");
26 $value = @$fn($value);
/php-src/Zend/tests/function_arguments/
H A Dsensitive_parameter_arrow_function.phpt6 $test = fn (#[SensitiveParameter] $sensitive) => (new Exception)->getTrace();
/php-src/Zend/tests/
H A Dbug81076.phpt5 var_dump(fn() => [$why, $do, $we, $count]);
H A Dclosure_064.phpt15 $closure2 = fn () => $closure1();
/php-src/Zend/tests/arrow_functions/
H A D006.phpt8 $id = fn&(&$x) => $x;
15 $int_fn = fn(int $x): int => $x;
23 $varargs = fn(?int... $args): array => $args;
/php-src/sapi/fpm/tests/
H A Dtester.inc922 return array_map(fn($request) => $this->createResponse(expectInvalid: true), $requests);
967 return array_map(fn($request) => $this->createResponse(expectInvalid: true), $requests);
H A Dlogtool.inc246 $matcher = fn(string $line) => $this->checkLine($line);
/php-src/build/
H A Dgen_stub.php1992 $fn = $doc->createElement($this->isMethod() ? 'methodname' : 'function');
1993 $fn->append($fnName);
1994 $title->append($fn, ' example');
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_createFromFile_http_header.phpt62 …$responses = array_map(fn ($header) => "data://text/plain,HTTP/1.1 200 OK\r\nContent-Type: " . $he…
/php-src/ext/dom/tests/
H A DDOMElement_insertAdjacentText.phpt22 $transform = fn ($s) => $uppercase ? strtoupper($s) : $s;

Completed in 226 milliseconds

1234567891011