Home
last modified time | relevance | path

Searched refs:fcx (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/check/
H A Dcast.rs181 fcx: &FnCtxt<'a, 'tcx>, in make_invalid_casting_error()
196 fcx: &FnCtxt<'a, 'tcx>, in new()
229 fcx, in report_cast_error()
254 fcx, in report_cast_error()
274 fcx, in report_cast_error()
291 fcx, in report_cast_error()
301 fcx, in report_cast_error()
356 if fcx in report_cast_error()
393 && fcx in report_cast_error()
406 if fcx in report_cast_error()
[all …]
H A Dwfcheck.rs882 F: for<'fcx> FnMut(&FnCtxt<'fcx, 'tcx>) -> Vec<AdtVariant<'tcx>>, in check_type_defn() argument
998 let tcx = fcx.tcx; in check_associated_type_bounds()
1006 fcx, in check_associated_type_bounds()
1119 fcx: &FnCtxt<'fcx, 'tcx>, in check_where_clauses() argument
1124 let tcx = fcx.tcx; in check_where_clauses()
1305 traits::wf::predicate_obligations(fcx, fcx.param_env, fcx.body_id, p, sp) in check_where_clauses()
1316 fcx: &FnCtxt<'fcx, 'tcx>, in check_fn_or_method() argument
1388 fcx: &FnCtxt<'fcx, 'tcx>, in check_method_receiver() argument
1442 fn e0307(fcx: &FnCtxt<'fcx, 'tcx>, span: Span, receiver_ty: Ty<'_>) { in e0307() argument
1465 fcx: &FnCtxt<'fcx, 'tcx>, in receiver_is_valid() argument
[all …]
H A Dexpectation.rs45 pub(super) fn adjust_for_branches(&self, fcx: &FnCtxt<'a, 'tcx>) -> Expectation<'tcx> { in adjust_for_branches()
48 let ety = fcx.shallow_resolve(ety); in adjust_for_branches()
75 pub(super) fn rvalue_hint(fcx: &FnCtxt<'a, 'tcx>, ty: Ty<'tcx>) -> Expectation<'tcx> { in rvalue_hint()
76 match fcx.tcx.struct_tail_without_normalization(ty).kind() { in rvalue_hint()
85 fn resolve(self, fcx: &FnCtxt<'a, 'tcx>) -> Expectation<'tcx> { in resolve()
89 ExpectHasType(t) => ExpectHasType(fcx.resolve_vars_if_possible(t)), in resolve()
95 pub(super) fn to_option(self, fcx: &FnCtxt<'a, 'tcx>) -> Option<Ty<'tcx>> { in to_option()
96 match self.resolve(fcx) { in to_option()
106 pub(super) fn only_has_type(self, fcx: &FnCtxt<'a, 'tcx>) -> Option<Ty<'tcx>> { in only_has_type()
108 ExpectHasType(ty) => Some(fcx.resolve_vars_if_possible(ty)), in only_has_type()
[all …]
H A Dgather_locals.rs11 fcx: &'a FnCtxt<'a, 'tcx>, field
19 pub(super) fn new(fcx: &'a FnCtxt<'a, 'tcx>) -> Self { in new()
20 Self { fcx, outermost_fn_param_pat: None } in new()
31 self.fcx in assign()
39 self.fcx.locals.borrow_mut().insert(nid, typ); in assign()
57 let o_ty = self.fcx.to_ty(&ty); in visit_local()
61 self.fcx in visit_local()
76 self.fcx.ty_to_string(&*self.fcx.locals.borrow().get(&local.hir_id).unwrap().decl_ty) in visit_local()
94 self.fcx.require_type_is_sized( in visit_pat()
101 if !self.fcx.tcx.features().unsized_locals { in visit_pat()
[all …]
H A Dgenerator_interior.rs23 fcx: &'a FnCtxt<'a, 'tcx>, field
107 self.fcx in record()
117 self.fcx in record()
128 self.fcx, in record()
172 fcx: &'a FnCtxt<'a, 'tcx>, in resolve_interior()
180 fcx, in resolve_interior()
259 match fcx.at(&fcx.misc(body.value.span), fcx.param_env).eq(interior, witness) { in resolve_interior()
474 fcx: &FnCtxt<'_, 'tcx>, in check_must_not_suspend_ty()
508 fcx.tcx, in check_must_not_suspend_ty()
551 fcx, in check_must_not_suspend_ty()
[all …]
H A Dwriteback.rs102 fcx: &'cx FnCtxt<'cx, 'tcx>, field
113 fcx: &'cx FnCtxt<'cx, 'tcx>, in new()
120 fcx, in new()
128 self.fcx.tcx in tcx()
154 let lhs_ty = self.fcx.node_ty(lhs.hir_id); in fix_scalar_builtin_expr()
214 self.fcx.tcx.ty_error_with_message( in fix_index_builtin_expr()
335 let ty = self.fcx.node_ty(hir_ty.hir_id); in visit_ty()
450 hir_id.to_span(self.fcx.tcx), in visit_user_provided_tys()
586 let n_ty = self.fcx.node_ty(hir_id); in visit_node_id()
708 fcx: &'cx FnCtxt<'cx, 'tcx>, in new()
[all …]
H A Dcoercion.rs66 fcx: &'a FnCtxt<'a, 'tcx>, field
81 &self.fcx in deref()
120 fcx: &'f FnCtxt<'f, 'tcx>, in new()
611 self.fcx.param_env, in coerce_unsized()
1289 fcx: &FnCtxt<'a, 'tcx>, in coerce()
1311 fcx: &FnCtxt<'a, 'tcx>, in coerce_forced_unit()
1317 fcx, in coerce_forced_unit()
1320 fcx.tcx.mk_unit(), in coerce_forced_unit()
1332 fcx: &FnCtxt<'a, 'tcx>, in coerce_inner()
1401 fcx.at(cause, fcx.param_env) in coerce_inner()
[all …]
H A Dmod.rs371 &fcx, in typeck_with_fallback()
403 (fcx, wf_tys) in typeck_with_fallback()
436 fcx.next_int_var() in typeck_with_fallback()
451 fcx.write_ty(id, expected_type); in typeck_with_fallback()
453 (fcx, FxHashSet::default()) in typeck_with_fallback()
460 fcx.check_casts(); in typeck_with_fallback()
465 fcx.closure_analyze(body); in typeck_with_fallback()
470 let ty = fcx.normalize_ty(span, ty); in typeck_with_fallback()
474 fcx.select_all_obligations_or_error(); in typeck_with_fallback()
479 fcx.regionck_expr(body); in typeck_with_fallback()
[all …]
H A Dcheck.rs91 let tcx = fcx.tcx; in check_fn()
101 fcx.ret_type_span = Some(decl.output.span()); in check_fn()
153 let yield_ty = fcx in check_fn()
163 GatherLocalsVisitor::new(&fcx).visit_body(body); in check_fn()
193 fcx.write_ty(param.hir_id, param_ty); in check_fn()
198 fcx.in_tail_expr = true; in check_fn()
211 fcx.check_expr(&body.value); in check_fn()
215 fcx.check_return_expr(&body.value, false); in check_fn()
217 fcx.in_tail_expr = false; in check_fn()
223 let interior = fcx in check_fn()
[all …]
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/extras/verity/fec/
H A Dmain.cpp44 struct image *fcx = ctx->ctx; in encode_rs() local
46 uint8_t data[fcx->rs_n]; in encode_rs()
50 for (j = 0; j < fcx->rs_n; ++j) { in encode_rs()
55 ctx->fec_pos += fcx->roots; in encode_rs()
61 struct image *fcx = ctx->ctx; in decode_rs() local
63 uint8_t data[fcx->rs_n + fcx->roots]; in decode_rs()
69 for (j = 0; j < fcx->rs_n; ++j) { in decode_rs()
73 memcpy(&data[fcx->rs_n], &fcx->fec[ctx->fec_pos], fcx->roots); in decode_rs()
78 i, i + fcx->rs_n); in decode_rs()
81 for (j = 0; j < fcx->rs_n; ++j) { in decode_rs()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/tools/miri/tests/run-pass/
H A Dregions-mock-trans.rs12 fcx: &'a Fcx<'a> field
34 return alloc(bcx.fcx.arena); in h()
37 fn g(fcx : &Fcx) { in g()
38 let bcx = Bcx { fcx: fcx }; in g()
47 let fcx = Fcx { arena: &a, ccx: ccx }; in f() localVariable
48 return g(&fcx); in f()
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/regions/
H A Dregions-mock-codegen.rs13 fcx: &'a Fcx<'a>, field
34 return allocate(bcx.fcx.arena); in h()
37 fn g(fcx: &Fcx) { in g()
38 let bcx = Bcx { fcx }; in g()
47 let fcx = Fcx { arena: &a, ccx }; in f() localVariable
48 return g(&fcx); in f()
/dports/graphics/vips/vips-8.12.0/libvips/create/
H A Dmask_gaussian_band.c73 double fcx = gaussian_band->frequency_cutoff_x; in vips_mask_gaussian_band_point() local
80 double d1 = (dx - fcx) * (dx - fcx) + (dy - fcy) * (dy - fcy); in vips_mask_gaussian_band_point()
81 double d2 = (dx + fcx) * (dx + fcx) + (dy + fcy) * (dy + fcy); in vips_mask_gaussian_band_point()
86 exp( cnst * 4.0 * (fcx * fcx + fcy * fcy) / r2 )); in vips_mask_gaussian_band_point()
H A Dmask_butterworth_band.c77 double fcx = butterworth_band->frequency_cutoff_x; in vips_mask_butterworth_band_point() local
87 cnst * pow( 4.0 * (fcx * fcx + fcy * fcy) / r2, order ))); in vips_mask_butterworth_band_point()
89 double d1 = (dx - fcx) * (dx - fcx) + (dy - fcy) * (dy - fcy); in vips_mask_butterworth_band_point()
90 double d2 = (dx + fcx) * (dx + fcx) + (dy + fcy) * (dy + fcy); in vips_mask_butterworth_band_point()
H A Dmask_ideal_band.c72 double fcx = ideal_band->frequency_cutoff_x; in vips_mask_ideal_band_point() local
76 double d1 = (dx - fcx) * (dx - fcx) + (dy - fcy) * (dy - fcy); in vips_mask_ideal_band_point()
77 double d2 = (dx + fcx) * (dx + fcx) + (dy + fcy) * (dy + fcy); in vips_mask_ideal_band_point()
/dports/math/octave/octave-6.4.0/libinterp/corefcn/
H A Dstream-euler.cc69 double fcx, fcy; member
80 double fcx, fcy, fcz; member
147 Vector2 Z = {X.idx + X.fcx + Y.x, in add2d()
158 double fcx, fcy; in vector_interpolation2d() local
161 handle_border (&idx, &fcx, X.idx, X.fcx, cols); in vector_interpolation2d()
305 Vector3 Z = {X.idx + X.fcx + Y.x, in add3d()
318 double fcx, fcy, fcz; in vector_interpolation3d() local
321 handle_border (&idx, &fcx, X.idx, X.fcx, nx); in vector_interpolation3d()
329 fcx, fcy, fcz); in vector_interpolation3d()
334 fcx, fcy, fcz); in vector_interpolation3d()
[all …]
/dports/science/cdo/cdo-2.0.0/src/
H A Dcdo_fctrans.cc48 auto fcx = fc + ilev * nfc * nlat; in fc2gp() local
50 #pragma omp parallel for default(none) shared(nlat, nlon, nfc, ompmem, gpx, fcx) in fc2gp()
60 in_fft[ifc][0] = fcx[2 * ifc * nlat + ilat]; in fc2gp()
61 in_fft[ifc][1] = fcx[(2 * ifc + 1) * nlat + ilat]; in fc2gp()
114 auto fcx = fc + ilev * nfc * nlat; in gp2fc() local
116 #pragma omp parallel for default(none) shared(nlat, nlon, nfc, ompmem, gpx, fcx, norm) in gp2fc()
130 fcx[2 * ifc * nlat + ilat] = norm * out_fft[ifc][0]; in gp2fc()
131 fcx[(2 * ifc + 1) * nlat + ilat] = norm * out_fft[ifc][1]; in gp2fc()
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/nll/
H A Dissue-67007-escaping-data.stderr6 LL | fn bad_method<'a>(&self, fcx: &FnCtxt<'a, 'tcx>) {
7 …| -- ----- --- `fcx` is a reference that is only valid in the associated funct…
11 LL | let other = self.use_fcx(fcx);
14 | `fcx` escapes the associated function body here
H A Dissue-67007-escaping-data.rs16 fn bad_method<'a>(&self, fcx: &FnCtxt<'a, 'tcx>) { in bad_method()
17 let other = self.use_fcx(fcx); //~ ERROR borrowed data in bad_method()
18 fcx.use_it(other); in bad_method()
/dports/security/gnupg1/gnupg-1.4.23/util/
H A Diobuf.c1141 fcx = xmalloc( sizeof *fcx + strlen(fname) ); in iobuf_open()
1142 fcx->fp = fp; in iobuf_open()
1148 a->filter_ov = fcx; in iobuf_open()
1176 fcx = xmalloc( sizeof *fcx + 20 ); in iobuf_fdopen()
1177 fcx->fp = fp; in iobuf_fdopen()
1242 fcx = xmalloc( sizeof *fcx + strlen(fname) ); in iobuf_create()
1243 fcx->fp = fp; in iobuf_create()
1278 fcx = xmalloc( sizeof *fcx + strlen(fname) );
1279 fcx->fp = fp;
1307 fcx = xmalloc( sizeof *fcx + strlen(fname) ); in iobuf_openrw()
[all …]
/dports/editors/lazarus/lazarus/components/aggpas/src/
H A Dagg_span_gradient_contour.pas206 width ,height ,length ,fcx ,fcy : int;
266 for fcx:=0 to width - 1 do
296 for fcx:=0 to width - 1 do
298 im :=pointer(ptrcomp(image ) + fcx * sizeof(single ) );
313 im :=pointer(ptrcomp(image ) + fcx * sizeof(single ) );
333 for fcx:=0 to width - 1 do
348 for fcx:=0 to width - 1 do
365 for fcx:=0 to width - 1 do
390 for fcx:=0 to width - 1 do
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/
H A Dagg_span_gradient_contour.pas206 width ,height ,length ,fcx ,fcy : int;
266 for fcx:=0 to width - 1 do
296 for fcx:=0 to width - 1 do
298 im :=pointer(ptrcomp(image ) + fcx * sizeof(single ) );
313 im :=pointer(ptrcomp(image ) + fcx * sizeof(single ) );
333 for fcx:=0 to width - 1 do
348 for fcx:=0 to width - 1 do
365 for fcx:=0 to width - 1 do
390 for fcx:=0 to width - 1 do
/dports/editors/lazarus-qt5/lazarus/components/aggpas/src/
H A Dagg_span_gradient_contour.pas206 width ,height ,length ,fcx ,fcy : int;
266 for fcx:=0 to width - 1 do
296 for fcx:=0 to width - 1 do
298 im :=pointer(ptrcomp(image ) + fcx * sizeof(single ) );
313 im :=pointer(ptrcomp(image ) + fcx * sizeof(single ) );
333 for fcx:=0 to width - 1 do
348 for fcx:=0 to width - 1 do
365 for fcx:=0 to width - 1 do
390 for fcx:=0 to width - 1 do
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/
H A Dagg_span_gradient_contour.pas206 width ,height ,length ,fcx ,fcy : int;
266 for fcx:=0 to width - 1 do
296 for fcx:=0 to width - 1 do
298 im :=pointer(ptrcomp(image ) + fcx * sizeof(single ) );
313 im :=pointer(ptrcomp(image ) + fcx * sizeof(single ) );
333 for fcx:=0 to width - 1 do
348 for fcx:=0 to width - 1 do
365 for fcx:=0 to width - 1 do
390 for fcx:=0 to width - 1 do
/dports/devel/ftnchek/ftnchek-3.3.1/test/
H A DMakefile.in56 .fc9 .fcA .fcB .fcC .fcD .fcE .fcF .fcx
139 .f.fcx:
284 $(RM) $$f.fcx ; \
285 $(MAKE) FTNCHEK='$(FTNCHEK)' $$f.fcx "DEFAULT_FLAGS=$(DEFAULT_FLAGS)" ; \
286 $(COMPARE) $$f.fcx ; \
620 doshelp: $(DOSOKAY)/help.fcl $(DOSOKAY)/help.fcx
628 $(DOSOKAY)/help.fcx: $(OKAY)/help.fcx
629 $(SED) $(HELPSUB) $(OKAY)/help.fcx > $(DOSOKAY)/help.fcx
632 dosinclude: $(DOSOKAY)/include.fcl $(DOSOKAY)/include.fcx
639 $(DOSOKAY)/include.fcx: $(OKAY)/include.fcx
[all …]

12345678910>>...19