Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 25 of 994) sorted by relevance

12345678910>>...40

/external/epid-sdk/epid/member/tiny/math/src/
Dfq6.c26 Fq2Add(&result->y1, &left->y1, &right->y1); in Fq6Add()
32 Fq2Sub(&result->y1, &left->y1, &right->y1); in Fq6Sub()
48 Fq2Mul(temp_b, &left->y1, &right->y1); // temp_b = t1 in Fq6Mul()
50 Fq2Add(temp_d, &left->y1, &left->y2); // temp_d = t3 in Fq6Mul()
51 Fq2Add(temp_e, &right->y1, &right->y2); // temp_e = t4 in Fq6Mul()
56 Fq2Add(temp_d, &left->y0, &left->y1); in Fq6Mul()
57 Fq2Add(&result->y1, &right->y0, &right->y1); // &result->y1 = t4 in Fq6Mul()
58 Fq2Mul(temp_d, temp_d, &result->y1); in Fq6Mul()
59 Fq2MulXi(&result->y1, temp_c); // result->y1 = Fq2.mulXi(t2) in Fq6Mul()
60 Fq2Add(&result->y1, &result->y1, temp_d); in Fq6Mul()
[all …]
Dpairing.c74 Fq2Conj(&Pout->z0.y1, &Pin->z0.y1); in frob_op()
75 Fq2Conj(&Pout->z1.y1, &Pin->z1.y1); in frob_op()
81 Fq2Cp(&Pout->z0.y1, &Pin->z0.y1); in frob_op()
82 Fq2Cp(&Pout->z1.y1, &Pin->z1.y1); in frob_op()
87 Fq2Mul(&Pout->z0.y1, &Pout->z0.y1, &state->g[e - 1][1]); in frob_op()
88 Fq2Mul(&Pout->z1.y1, &Pout->z1.y1, &state->g[e - 1][2]); in frob_op()
152 Fq2Add(&f->z1.y1, X, &f->z0.y2); in pair_tangent()
153 Fq2Mul(&f->z1.y1, &f->z1.y1, &f->z1.y1); in pair_tangent()
154 Fq2Sub(&f->z1.y1, &f->z1.y1, &f->z0.y0); in pair_tangent()
155 Fq2Mul(&f->z0.y1, Y, Y); in pair_tangent()
[all …]
/external/fonttools/Lib/fontTools/pens/
DmomentsPen.py39 x1,y1 = p1
42 r1 = x1*y1
46 r5 = y0 - y1
49 r8 = y1**2
51 r10 = r4*y1
53 r12 = y1**3
55 self.area += -r0/2 - r1/2 + x0*(y0 + y1)/2
56 self.momentX += -r2*y0/6 - r2*y1/3 + r3*(r4 + y1)/6 - r6*x1/6
57 self.momentY += -r0*y1/6 - r7*x1/6 - r8*x1/6 + x0*(r7 + r8 + y0*y1)/6
58 self.momentXX += -r2*r6/12 - r3*r5*x1/12 - r9*y0/12 - r9*y1/4 + x0**3*(3*y0 + y1)/12
[all …]
/external/adhd/cras/src/dsp/
Deq.c50 float y1 = q->y1; in eq_process1() local
61 - a1*y1 - a2*y2; in eq_process1()
65 y2 = y1; in eq_process1()
66 y1 = y; in eq_process1()
70 q->y1 = y1; in eq_process1()
85 float y1 = q->y1; in eq_process() local
96 - a1*y1 - a2*y2; in eq_process()
100 y2 = y1; in eq_process()
101 y1 = y; in eq_process()
105 q->y1 = y1; in eq_process()
[all …]
Deq2.c60 float y1L = qL->y1; in eq2_process_one()
70 float y1R = qR->y1; in eq2_process_one()
105 qL->y1 = y1L; in eq2_process_one()
109 qR->y1 = y1R; in eq2_process_one()
125 float32x2_t y1 = {qL->y1, qR->y1}; in eq2_process_two_neon() local
133 float32x2_t z1 = {rL->y1, rR->y1}; in eq2_process_two_neon()
172 [y1]"+w"(y1), in eq2_process_two_neon()
193 qL->y1 = y1[0]; in eq2_process_two_neon()
195 rL->y1 = z1[0]; in eq2_process_two_neon()
199 qR->y1 = y1[1]; in eq2_process_two_neon()
[all …]
/external/libxcam/cl_kernel/
Dkernel_bi_filter.cl15 #define CALC_SUM(y1,y2,y3,dark1,dark2,dark3) \
16 cur_y = (float8)(y1, y2, y3); \
40 float8 y1, y2, dark1, dark2;
47y1 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x - 1, pos…
51 CALC_SUM (y1.s1234, y1.s567, y2.s0, dark1.s1234, dark1.s567, dark2.s0);
52 CALC_SUM (y1.s2345, y1.s67, y2.s01, dark1.s2345, dark1.s67, dark2.s01);
53 CALC_SUM (y1.s3456, y1.s7, y2.s012, dark1.s3456, dark1.s7, dark2.s012);
54 CALC_SUM (y1.s4567, y2.s01, y2.s23, dark1.s4567, dark2.s01, dark2.s23);
55 CALC_SUM (y1.s567, y2.s0123, y2.s4, dark1.s567, dark2.s0123, dark2.s4);
56 CALC_SUM (y1.s67, y2.s0123, y2.s45, dark1.s67, dark2.s0123, dark2.s45);
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_rect.h41 int y0, y1; member
53 a->y1 < b->y0 || in u_rect_test_intersection()
54 b->y1 < a->y0 || in u_rect_test_intersection()
56 a->y1 < a->y0 || in u_rect_test_intersection()
58 b->y1 < b->y0)); in u_rect_test_intersection()
72 if (b->y1 > a->y1) b->y1 = a->y1; in u_rect_find_intersection()
79 return (r->x1 - r->x0) * (r->y1 - r->y0); in u_rect_area()
95 b->x1 = b->y1 = -1; in u_rect_possible_intersection()
107 d->y1 = MAX2(a->y1, b->y1); in u_rect_union()
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dintegral_image.h110 inline uint32_t GetRegionSum(const int x1, const int y1, const int x2, in GetRegionSum() argument
112 SCHECK(x1 >= 0 && y1 >= 0 && in GetRegionSum()
113 x2 >= x1 && y2 >= y1 && x2 < GetWidth() && y2 < GetHeight(), in GetRegionSum()
115 x1, x2, GetWidth(), y1, y2, GetHeight()); in GetRegionSum()
120 if (x1 > 0 && y1 > 0) { in GetRegionSum()
123 const uint32_t top = (*this)[y1 - 1][x2]; in GetRegionSum()
124 const uint32_t top_left = (*this)[y1 - 1][x1 - 1]; in GetRegionSum()
128 everything, left, top, top_left, sum, x1, y1, x2, y2); in GetRegionSum()
135 } else if (y1 > 0) { in GetRegionSum()
138 const uint32_t left = (*this)[y1 - 1][x2]; in GetRegionSum()
[all …]
/external/libvpx/libvpx/vp8/encoder/x86/
Dquantize_sse4.c34 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1, dqcoeff0, in vp8_regular_quantize_b_sse4_1() local
82 y1 = _mm_mulhi_epi16(x1, quant1); in vp8_regular_quantize_b_sse4_1()
85 y1 = _mm_add_epi16(y1, x1); in vp8_regular_quantize_b_sse4_1()
90 y1 = _mm_mulhi_epi16(y1, quant_shift1); in vp8_regular_quantize_b_sse4_1()
94 y1 = _mm_xor_si128(y1, sz1); in vp8_regular_quantize_b_sse4_1()
96 y1 = _mm_sub_epi16(y1, sz1); in vp8_regular_quantize_b_sse4_1()
102 SELECT_EOB(4, 0, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1()
107 SELECT_EOB(9, 1, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1()
108 SELECT_EOB(10, 4, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1()
109 SELECT_EOB(11, 5, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1()
[all …]
Dvp8_quantize_sse2.c40 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1; in vp8_regular_quantize_b_sse2() local
90 y1 = _mm_mulhi_epi16(x1, quant1); in vp8_regular_quantize_b_sse2()
93 y1 = _mm_add_epi16(y1, x1); in vp8_regular_quantize_b_sse2()
98 y1 = _mm_mulhi_epi16(y1, quant_shift1); in vp8_regular_quantize_b_sse2()
102 y1 = _mm_xor_si128(y1, sz1); in vp8_regular_quantize_b_sse2()
104 y1 = _mm_sub_epi16(y1, sz1); in vp8_regular_quantize_b_sse2()
107 _mm_store_si128((__m128i *)(y + 8), y1); in vp8_regular_quantize_b_sse2()
130 y1 = _mm_load_si128((__m128i *)(d->qcoeff + 8)); in vp8_regular_quantize_b_sse2()
134 y1 = _mm_mullo_epi16(y1, dequant1); in vp8_regular_quantize_b_sse2()
137 _mm_store_si128((__m128i *)(d->dqcoeff + 8), y1); in vp8_regular_quantize_b_sse2()
[all …]
/external/virglrenderer/src/gallium/auxiliary/util/
Du_rect.h41 int y0, y1; member
52 a->y1 < b->y0 || in u_rect_test_intersection()
53 b->y1 < a->y0)); in u_rect_test_intersection()
67 if (b->y1 > a->y1) b->y1 = a->y1; in u_rect_find_intersection()
74 return (r->x1 - r->x0) * (r->y1 - r->y0); in u_rect_area()
85 b->x0 = b->x1 = b->y0 = b->y1 = 0; in u_rect_possible_intersection()
97 d->y1 = MAX2(a->y1, b->y1); in u_rect_union()
/external/skia/src/core/
DSkEdge.cpp38 SkFDot6 x0, y0, x1, y1; in setLine() local
45 y1 = SkScalarRoundToFDot6(p1.fY, shift); in setLine()
51 y1 = int(p1.fY * scale); in setLine()
57 if (y0 > y1) { in setLine()
60 swap(y0, y1); in setLine()
65 int bot = SkFDot6Round(y1); in setLine()
76 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine()
94 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument
101 y1 >>= 10; in updateLine()
103 SkASSERT(y0 <= y1); in updateLine()
[all …]
/external/skqp/src/core/
DSkEdge.cpp38 SkFDot6 x0, y0, x1, y1; in setLine() local
45 y1 = SkScalarRoundToFDot6(p1.fY, shift); in setLine()
51 y1 = int(p1.fY * scale); in setLine()
57 if (y0 > y1) { in setLine()
60 swap(y0, y1); in setLine()
65 int bot = SkFDot6Round(y1); in setLine()
76 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine()
94 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument
101 y1 >>= 10; in updateLine()
103 SkASSERT(y0 <= y1); in updateLine()
[all …]
/external/pdfium/third_party/agg23/
Dagg_basics.h67 T y1; member
72 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {} in rect_base()
81 if(y1 > y2) { in normalize()
82 t = y1; in normalize()
83 y1 = y2; in normalize()
99 if(y1 < r.y1) { in clip()
100 y1 = r.y1; in clip()
102 return x1 <= x2 && y1 <= y2; in clip()
106 return x1 <= x2 && y1 <= y2; in is_valid()
122 if(r.y1 < r2.y1) { in intersect_rectangles()
[all …]
Dagg_curves.h25 curve4_points(float x1, float y1, in curve4_points()
31 cp[1] = y1; in curve4_points()
39 void init(float x1, float y1, in init()
45 cp[1] = y1; in init()
68 curve4_div(float x1, float y1, in curve4_div() argument
74 init(x1, y1, x2, y2, x3, y3, x4, y4); in curve4_div()
86 void init(float x1, float y1,
124 void bezier(float x1, float y1,
128 void recursive_bezier(float x1, float y1,
142 curve4(float x1, float y1, in curve4() argument
[all …]
Dagg_clip_liang_barsky.h32 ((y < clip_box.y1) << 3); in clipping_flags()
35 inline unsigned clip_liang_barsky(T x1, T y1, T x2, T y2, in clip_liang_barsky() argument
46 height -= y1; in clip_liang_barsky()
66 deltay = (y1 > clip_box.y1) ? -nearzero : nearzero; in clip_liang_barsky()
70 yin = (float)clip_box.y1; in clip_liang_barsky()
74 yout = (float)clip_box.y1; in clip_liang_barsky()
76 float tiny = (yin - y1) / deltay; in clip_liang_barsky()
93 float touty = (yout - y1) / deltay; in clip_liang_barsky()
100 *y++ = (T)(y1 + (deltay * tinx)); in clip_liang_barsky()
110 *y++ = (T)(y1 + (deltay * toutx)); in clip_liang_barsky()
/external/libldac/src/
Dsigana_ldac.c37 SCALAR y0, y1, y2; in calc_mdct_pseudo_spectrum_ldac() local
40 y1 = p_spec[0]; in calc_mdct_pseudo_spectrum_ldac()
42 tmp = y1 * y1 + y2 * y2; in calc_mdct_pseudo_spectrum_ldac()
48 y0 = y1; in calc_mdct_pseudo_spectrum_ldac()
49 y1 = y2; in calc_mdct_pseudo_spectrum_ldac()
51 tmp = y1 * y1 + (y0-y2) * (y0-y2); in calc_mdct_pseudo_spectrum_ldac()
57 y0 = y1; in calc_mdct_pseudo_spectrum_ldac()
58 y1 = y2; in calc_mdct_pseudo_spectrum_ldac()
60 tmp = y1 * y1 + (y0-y2) * (y0-y2); in calc_mdct_pseudo_spectrum_ldac()
65 tmp = y1 * y1 + y2 * y2; in calc_mdct_pseudo_spectrum_ldac()
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp209 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearColor()
229 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearDepth()
246 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearStencil()
460 flipY = (sourceRect->y0 < sourceRect->y1) ^ (destRect->y0 < destRect->y1); in stretchRect()
465 flipY = (sourceRect->y0 > sourceRect->y1); in stretchRect()
470 flipY = (destRect->y0 > destRect->y1); in stretchRect()
481 sRect.y1 = sourceRect->y1; in stretchRect()
489 if(sRect.y0 > sRect.y1) in stretchRect()
491 swap(sRect.y0, sRect.y1); in stretchRect()
498 sRect.y1 = (float)sHeight; in stretchRect()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DSecantSolver.java173 double y1 = f.value(x1); in solve() local
176 if (y0 * y1 >= 0) { in solve()
178 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, min, max, y0, y1); in solve()
186 if (FastMath.abs(y2) < FastMath.abs(y1)) { in solve()
190 y0 = y1; in solve()
191 y1 = y2; in solve()
194 if (FastMath.abs(y1) <= functionValueAccuracy) { in solve()
204 if (FastMath.abs(y1) > FastMath.abs(y0)) { in solve()
208 delta = (x0 - x1) / (1 - y0 / y1); in solve()
216 y0 = y1; in solve()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/
Ddominates.ll15 %y1 = invoke i32 @g() to label %bb1 unwind label %bb2
19 %y2 = phi i32 [%y1, %bb0]
24 ; CHECK-NEXT: %y1 = invoke i32 @g()
26 ; CHECK-NEXT: %y2 = phi i32 [ %y1, %bb0 ]
31 %y1 = invoke i32 @g() to label %bb1 unwind label %bb2
39 %y3 = phi i32 [%y1, %bb2]
42 ; CHECK-NEXT: %y1 = invoke i32 @g()
44 ; CHECK-NEXT: %y3 = phi i32 [ %y1, %bb2 ]
51 %y3 = phi i32 [%y1, %bb0]
52 %y1 = add i32 %x, 1
[all …]
/external/llvm/test/Verifier/
Ddominates.ll15 %y1 = invoke i32 @g() to label %bb1 unwind label %bb2
19 %y2 = phi i32 [%y1, %bb0]
24 ; CHECK-NEXT: %y1 = invoke i32 @g()
26 ; CHECK-NEXT: %y2 = phi i32 [ %y1, %bb0 ]
31 %y1 = invoke i32 @g() to label %bb1 unwind label %bb2
39 %y3 = phi i32 [%y1, %bb2]
42 ; CHECK-NEXT: %y1 = invoke i32 @g()
44 ; CHECK-NEXT: %y3 = phi i32 [ %y1, %bb2 ]
51 %y3 = phi i32 [%y1, %bb0]
52 %y1 = add i32 %x, 1
[all …]
/external/python/cpython3/Tools/demo/
Dhanoi.py47 x1, y1 = (pegdist-pegwidth)//2, height*1//3
48 x2, y2 = x1+pegwidth, y1+pegheight
50 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
53 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
56 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
66 x1, y1 = (pegdist-maxpiecewidth)//2, y2-pieceheight-2
67 x2, y2 = x1+maxpiecewidth, y1+pieceheight
70 p = c.create_rectangle(x1, y1, x2, y2, fill='red')
74 y1, y2 = y1 - pieceheight-2, y2-pieceheight-2
98 x1, y1, x2, y2 = c.bbox(p)
[all …]
Dss1.py52 def multicellvalue(self, x1, y1, x2, y2): argument
55 if y1 > y2:
56 y1, y2 = y2, y1
58 for y in range(y1, y2+1):
77 def clearcells(self, x1, y1, x2, y2): argument
78 for xy in self.selectcells(x1, y1, x2, y2):
81 def clearrows(self, y1, y2): argument
82 self.clearcells(0, y1, sys.maxsize, y2)
87 def selectcells(self, x1, y1, x2, y2): argument
90 if y1 > y2:
[all …]
/external/python/cpython2/Demo/tkinter/guido/
Dhanoi.py46 x1, y1 = (pegdist-pegwidth)//2, height*1//3
47 x2, y2 = x1+pegwidth, y1+pegheight
49 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
52 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
55 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
65 x1, y1 = (pegdist-maxpiecewidth)//2, y2-pieceheight-2
66 x2, y2 = x1+maxpiecewidth, y1+pieceheight
69 p = c.create_rectangle(x1, y1, x2, y2, fill='red')
73 y1, y2 = y1 - pieceheight-2, y2-pieceheight-2
97 x1, y1, x2, y2 = c.bbox(p)
[all …]
Dss1.py49 def multicellvalue(self, x1, y1, x2, y2): argument
52 if y1 > y2:
53 y1, y2 = y2, y1
55 for y in range(y1, y2+1):
74 def clearcells(self, x1, y1, x2, y2): argument
75 for xy in self.selectcells(x1, y1, x2, y2):
78 def clearrows(self, y1, y2): argument
79 self.clearcells(0, y1, sys.maxint, y2)
84 def selectcells(self, x1, y1, x2, y2): argument
87 if y1 > y2:
[all …]

12345678910>>...40