Home
last modified time | relevance | path

Searched refs:y2 (Results 1 – 25 of 83) sorted by relevance

1234

/openbsd/src/sys/dev/pci/drm/
Ddrm_rect.c49 r1->y2 = min(r1->y2, r2->y2); in drm_rect_intersect()
109 src->y1 = src->y2 - new_src_h; in drm_rect_clip_scaled()
120 diff = dst->y2 - clip->y2; in drm_rect_clip_scaled()
125 src->y2 = src->y1 + new_src_h; in drm_rect_clip_scaled()
126 dst->y2 -= diff; in drm_rect_clip_scaled()
267 r->y1 = height - tmp.y2; in drm_rect_rotate()
268 r->y2 = height - tmp.y1; in drm_rect_rotate()
278 r->x2 = tmp.y2; in drm_rect_rotate()
280 r->y2 = width - tmp.x1; in drm_rect_rotate()
286 r->y1 = height - tmp.y2; in drm_rect_rotate()
[all …]
Ddrm_damage_helper.c46 dest->y2 = src->y2; in convert_clip_rect_to_rect()
242 iter->plane_src.y2 = (src.y2 >> 16) + !!(src.y2 & 0xFFFF); in drm_atomic_helper_damage_iter_init()
321 rect->y2 = 0; in drm_atomic_helper_damage_merged()
328 rect->y2 = max(rect->y2, clip.y2); in drm_atomic_helper_damage_merged()
/openbsd/src/sys/dev/pci/drm/include/drm/
Ddrm_rect.h47 int x1, y1, x2, y2; member
64 .y2 = (y) + (h) })
107 r->y2 = y + height; in drm_rect_init()
127 r->y2 += (dh + 1) >> 1; in drm_rect_adjust_size()
144 r->y2 += dy; in drm_rect_translate()
174 r->y2 /= vert; in drm_rect_downscale()
198 return r->y2 - r->y1; in drm_rect_height()
225 r1->y1 == r2->y1 && r1->y2 == r2->y2; in drm_rect_equals()
253 a->y2 > b->y1 && b->y2 > a->y1); in drm_rect_overlap()
/openbsd/src/lib/libm/src/
Ds_ctanf.c90 float f, x, x2, y, y2, rn, t, d; in _ctansf() local
100 y2 = 1.0f; in _ctansf()
110 y2 *= y; in _ctansf()
111 t = y2 + x2; in _ctansf()
120 y2 *= y; in _ctansf()
121 t = y2 - x2; in _ctansf()
Ds_ctan.c93 double f, x, x2, y, y2, rn, t; in _ctans() local
104 y2 = 1.0; in _ctans()
114 y2 *= y; in _ctans()
115 t = y2 + x2; in _ctans()
124 y2 *= y; in _ctans()
125 t = y2 - x2; in _ctans()
Ds_ctanl.c95 long double f, x, x2, y, y2, rn, t; in ctansl() local
106 y2 = 1.0L; in ctansl()
116 y2 *= y; in ctansl()
117 t = y2 + x2; in ctansl()
126 y2 *= y; in ctansl()
127 t = y2 - x2; in ctansl()
De_hypotf.c22 float a=x,b=y,t1,t2,yy1,y2,w; in hypotf() local
70 y2 = b - yy1; in hypotf()
73 w = sqrtf(t1*yy1-(w*(-w)-(t1*y2+t2*b))); in hypotf()
De_hypot.c53 double a=x,b=y,t1,t2,yy1,y2,w; in hypot() local
109 y2 = b - yy1; in hypot()
113 w = sqrt(t1*yy1-(w*(-w)-(t1*y2+t2*b))); in hypot()
/openbsd/src/gnu/gcc/libgomp/testsuite/libgomp.c/
Datomic-10.c6 volatile int y6 = 9, y2, y3, y4, y5; variable
49 y2--; in f2()
59 y2 |= 1; in f2()
69 y2 /= 3; in f2()
127 if (y6 != 4 || y2 != 0 || y3 != 8 || y4 != -1 || y5 != 3) in main()
/openbsd/src/sys/arch/sparc64/fpu/
Dfpu_sqrt.c192 u_int y0, y1, y2, y3; in fpu_sqrt() local
324 y2 = 0; in fpu_sqrt()
339 t2 = y2 | bit; in fpu_sqrt()
346 y2 |= bit << 1; in fpu_sqrt()
354 #define t2 y2 in fpu_sqrt()
368 y2 |= 1; in fpu_sqrt()
Dfpu_div.c156 u_int r0, r1, r2, r3, d0, d1, d2, d3, y0, y1, y2, y3; in fpu_div() local
203 FPU_SUBS(d3, r3, y3); FPU_SUBCS(d2, r2, y2); \ in fpu_div()
242 y2 = y->fp_mant[2]; in fpu_div()
/openbsd/src/lib/libc/arch/sparc64/fpu/
Dfpu_sqrt.c196 u_int y0, y1, y2, y3; local
328 y2 = 0;
343 t2 = y2 | bit;
350 y2 |= bit << 1;
358 #define t2 y2
372 y2 |= 1;
Dfpu_div.c161 u_int r0, r1, r2, r3, d0, d1, d2, d3, y0, y1, y2, y3; local
208 FPU_SUBS(d3, r3, y3); FPU_SUBCS(d2, r2, y2); \
247 y2 = y->fp_mant[2];
/openbsd/src/lib/libcrypto/sm2/
Dsm2_crypt.c254 BIGNUM *k, *x1, *y1, *x2, *y2; in SM2_encrypt() local
332 if ((y2 = BN_CTX_get(ctx)) == NULL) { in SM2_encrypt()
369 if (!EC_POINT_get_affine_coordinates(group, kP, x2, y2, ctx)) { in SM2_encrypt()
375 (y2size = BN_num_bytes(y2)) > field_size) { in SM2_encrypt()
381 BN_bn2bin(y2, x2y2 + 2 * field_size - y2size); in SM2_encrypt()
470 BIGNUM *x2, *y2; in SM2_decrypt() local
521 if ((y2 = BN_CTX_get(ctx)) == NULL) { in SM2_decrypt()
557 if (!EC_POINT_get_affine_coordinates(group, C1, x2, y2, ctx)) { in SM2_decrypt()
563 (y2size = BN_num_bytes(y2)) > field_size) { in SM2_decrypt()
569 BN_bn2bin(y2, x2y2 + 2 * field_size - y2size); in SM2_decrypt()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
Dsynth4.C13 Y *y1, *y2 ; in f() local
14 *y1 = *y2; // gets bogus error - failed to synthesize op= in f()
/openbsd/src/lib/libm/src/ld128/
De_hypotl.c52 long double a,b,t1,t2,yy1,y2,w; in hypotl() local
109 y2 = b - yy1; in hypotl()
113 w = sqrtl(t1*yy1-(w*(-w)-(t1*y2+t2*b))); in hypotl()
/openbsd/src/lib/libm/src/ld80/
De_hypotl.c52 long double a,b,t1,t2,yy1,y2,w; in hypotl() local
109 y2 = b - yy1; in hypotl()
113 w = sqrtl(t1*yy1-(w*(-w)-(t1*y2+t2*b))); in hypotl()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.warn/
Dimpint2.C29 X y2 = 3.5f; // WARNING - float to int in fn() local
54 X y2 = -1; in foo() local
/openbsd/src/sys/dev/fdt/
Dssdfb.c450 uint8_t y1, uint8_t y2) in ssdfb_set_range() argument
455 y2 += sc->sc_pgoff; in ssdfb_set_range()
465 if (sc->sc_page_range[0] != y1 || sc->sc_page_range[1] != y2) { in ssdfb_set_range()
467 sc->sc_page_range[1] = y2; in ssdfb_set_range()
477 uint32_t y1, uint32_t y2) in ssdfb_partial() argument
484 if (x2 < x1 || y2 < y1) in ssdfb_partial()
487 if (x2 > sc->sc_width || y2 > sc->sc_height) in ssdfb_partial()
491 y2 = roundup(y2, 8); in ssdfb_partial()
494 height = y2 - y1; in ssdfb_partial()
511 ssdfb_set_range(sc, x1, x2 - 1, y1 / 8, (y2 / 8) - 1); in ssdfb_partial()
[all …]
/openbsd/src/gnu/gcc/gcc/config/soft-fp/
Dop-4.h527 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
536 r2 = x2 + y2 + _c2; \
541 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
550 r2 = x2 + y2; \
559 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
568 r2 = x2 - y2 - _c2; \
573 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
582 r2 = x2 - y2; \
585 _c3 |= _c2 && (y2 == x2); \
591 #define __FP_FRAC_DEC_3(x2,x1,x0,y2,y1,y0) \ argument
[all …]
/openbsd/src/gnu/usr.bin/perl/dist/Attribute-Handlers/t/
Dmulti.t82 my $y2 :Vokay(1,13);
83 my @y2 :Vokay(1,14);
84 my %y2 :Vokay(1,15);
/openbsd/src/gnu/usr.bin/binutils/gdb/testsuite/gdb.mi/
Dvar-cmd.c205 long y0, *y1, **y2, ***y3; in do_children_tests() local
250 y2 = &y1; in do_children_tests()
251 y3 = &y2; in do_children_tests()
/openbsd/src/sys/dev/pci/drm/i915/display/
Dintel_psr.c2340 val |= ADLP_PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR(crtc_state->psr2_su_area.y2 - 1); in psr2_man_trk_ctl_calc()
2344 crtc_state->psr2_su_area.y2 % 4); in psr2_man_trk_ctl_calc()
2349 crtc_state->psr2_su_area.y2 / 4 + 1); in psr2_man_trk_ctl_calc()
2378 overlap_damage_area->y2 = damage_area->y2; in clip_area_update()
2385 if (damage_area->y2 > overlap_damage_area->y2) in clip_area_update()
2386 overlap_damage_area->y2 = damage_area->y2; in clip_area_update()
2404 if (crtc_state->psr2_su_area.y2 % y_alignment) in intel_psr2_sel_fetch_pipe_alignment()
2405 crtc_state->psr2_su_area.y2 = ((crtc_state->psr2_su_area.y2 / in intel_psr2_sel_fetch_pipe_alignment()
2505 crtc_state->psr2_su_area.y2 = -1; in intel_psr2_sel_fetch_update()
2540 damaged_area.y2 = old_plane_state->uapi.dst.y2; in intel_psr2_sel_fetch_update()
[all …]
/openbsd/src/games/atc/
Dgrammar.y292 check_line(int x1, int y1, int x2, int y2) in check_line() argument
297 check_linepoint(x2, y2); in check_line()
300 d2 = ABS(y2 - y1); in check_line()
/openbsd/src/sbin/unwind/libunbound/sldns/
Dparseutil.c59 leap_days(int y1, int y2) in leap_days() argument
62 --y2; in leap_days()
63 return (LDNS_DIV(y2, 4) - LDNS_DIV(y1, 4)) - in leap_days()
64 (LDNS_DIV(y2, 100) - LDNS_DIV(y1, 100)) + in leap_days()
65 (LDNS_DIV(y2, 400) - LDNS_DIV(y1, 400)); in leap_days()

1234