Home
last modified time | relevance | path

Searched refs:fn (Results 226 – 250 of 253) sorted by relevance

1234567891011

/php-src/ext/standard/tests/mail/
H A Dmail_util.inc153 fn($uid) => $this->getHeaders($uid) + ['Body' => $this->getBody($uid)],
197fn($uid) => $this->mailConnecter->send(self::DELETE, "UID STORE {$uid} +FLAGS (\\Deleted)"),
/php-src/ext/random/tests/03_randomizer/methods/
H A DgetBytesFromString_fast_path.phpt13 fn ($byte) => chr($byte),
/php-src/Zend/tests/type_declarations/union_types/
H A Dtype_checking_weak.phpt20 $fn = eval("return function($type \$arg) { return \$arg; };");
26 $value = @$fn($value);
H A Dtype_checking_strict.phpt22 $fn = eval("return function($type \$arg) { return \$arg; };");
28 $value = @$fn($value);
/php-src/ext/xsl/tests/
H A DregisterPHPFunctionNS.phpt32 . implode('', array_map(fn($input) => '<xsl:value-of select="' . $input . '" />', $inputs)) .
/php-src/ext/dom/tests/
H A DDOMElement_insertAdjacentElement.phpt39 $transform = fn ($s) => $uppercase ? strtoupper($s) : $s;
/php-src/ext/standard/tests/file/
H A Dfilesize_variation4-win32.phpt18 $string = "Test 2 test the filesize() fn, with data containing all the types like !@@##$%^&*():<>?|…
H A Dfilesize_variation4.phpt19 $string = "Test 2 test the filesize() fn, with data containing all the types like !@@##$%^&*():<>?|…
/php-src/Zend/Optimizer/
H A Dzend_cfg.c276 zend_function *fn; in zend_build_cfg() local
342 if ((fn = zend_hash_find_ptr(EG(function_table), Z_STR_P(zv))) != NULL) { in zend_build_cfg()
343 if (fn->type == ZEND_INTERNAL_FUNCTION) { in zend_build_cfg()
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_x86.lua1825 local fn = "f"..name
1826 map_op[fn.."_1"] = format("ff:D8%02Xr|xd:D8%Xm|xq:nDC%Xm", nc, n, n)
1828 map_op[fn.."_2"] = format("Fff:D8%02XR|Fx2d:D8%XM|Fx2q:nDC%XM", nc, n, n)
1830 map_op[fn.."_2"] = format("Fff:D8%02XR|fFf:DC%02Xr|Fx2d:D8%XM|Fx2q:nDC%XM", nc, nr, n, n)
1831 map_op[fn.."p_1"] = format("ff:DE%02Xr", nr)
1832 map_op[fn.."p_2"] = format("fFf:DE%02Xr", nr)
/php-src/ext/soap/
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()
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, …
/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/Zend/
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_ast.h313 ZEND_API void zend_ast_apply(zend_ast *ast, zend_ast_apply_func fn, void *context);
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_ast.c1179 ZEND_API void zend_ast_apply(zend_ast *ast, zend_ast_apply_func fn, void *context) { in zend_ast_apply() argument
1184 fn(&list->child[i], context); in zend_ast_apply()
1189 fn(&ast->child[i], context); in zend_ast_apply()
H A Dzend_fibers.c173 extern void *make_fcontext(void *sp, size_t size, void (*fn)(boost_context_data));
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.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_vm_gen.php1654 function read_order_file($fn) { argument
1655 $f = fopen($fn, "r");
/php-src/ext/standard/
H A Dvar.c770 static HashTable* php_var_serialize_call_sleep(zend_object *obj, zend_function *fn) /* {{{ */ in php_var_serialize_call_sleep() argument
775 zend_call_known_instance_method(fn, obj, &retval, /* param_count */ 0, /* params */ NULL); in php_var_serialize_call_sleep()
/php-src/sapi/fpm/tests/
H A Dlogtool.inc246 $matcher = fn(string $line) => $this->checkLine($line);
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);
/php-src/build/
H A Dgen_stub.php1992 $fn = $doc->createElement($this->isMethod() ? 'methodname' : 'function');
1993 $fn->append($fnName);
1994 $title->append($fn, ' example');

Completed in 152 milliseconds

1234567891011