Home
last modified time | relevance | path

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

12345678910>>...19

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dyuv.h33 #define YUV411_Y00(y) (y).v[0].y0 argument
34 #define YUV411_Y01(y) (y).v[1].y0 argument
35 #define YUV411_Y02(y) (y).v[2].y0 argument
36 #define YUV411_Y03(y) (y).v[3].y0 argument
37 #define YUV411_Y10(y) (y).v[0].y1 argument
38 #define YUV411_Y11(y) (y).v[1].y1 argument
39 #define YUV411_Y12(y) (y).v[2].y1 argument
40 #define YUV411_Y13(y) (y).v[3].y1 argument
41 #define YUV411_U00(y) ((y).v[0].u0<<6|(y).v[1].u0<<4|(y).v[2].u0<<2|(y).v[3].u0) argument
42 #define YUV411_U01(y) YUV411_U00(y) argument
[all …]
Dimageop.c22 #define CHARP(cp, xmax, x, y) ((char *)(cp+y*xmax+x)) argument
23 #define SHORTP(cp, xmax, x, y) ((short *)(cp+2*(y*xmax+x))) argument
24 #define LONGP(cp, xmax, x, y) ((Py_Int32 *)(cp+4*(y*xmax+x))) argument
47 check_multiply_size(int product, int x, const char* xname, int y, const char* yname, int size) in check_multiply_size() argument
51 if ( !check_coordonnate(y, yname) ) in check_multiply_size()
53 if ( size == (product / y) / x ) in check_multiply_size()
64 check_multiply(int product, int x, int y) in check_multiply() argument
66 return check_multiply_size(product, x, "x", y, "y", 1); in check_multiply()
121 int len, size, x, y, newx1, newx2, newy1, newy2, nlen; in imageop_crop() local
125 if ( !PyArg_ParseTuple(args, "s#iiiiiii", &cp, &len, &size, &x, &y, in imageop_crop()
[all …]
/device/sample/skins/WVGAMedDpi/
Dlayout18 y 0
30 y 142
35 y 142
40 y 142
45 y 53
50 y 106
55 y 53
60 y 53
65 y 81
70 y 71
[all …]
/device/google/contexthub/firmware/lib/libm/
Def_rem_pio2.c99 __int32_t __ieee754_rem_pio2f(float x, float *y) in __ieee754_rem_pio2f() argument
101 __int32_t __ieee754_rem_pio2f(x,y) in __ieee754_rem_pio2f()
102 float x,y[]; in __ieee754_rem_pio2f()
113 {y[0] = x; y[1] = 0; return 0;}
118 y[0] = z - pio2_1t;
119 y[1] = (z-y[0])-pio2_1t;
122 y[0] = z - pio2_2t;
123 y[1] = (z-y[0])-pio2_2t;
129 y[0] = z + pio2_1t;
130 y[1] = (z-y[0])+pio2_1t;
[all …]
Dwf_pow.c24 float powf(float x, float y) /* wrapper powf */ in powf() argument
26 float powf(x,y) /* wrapper powf */ in powf()
27 float x,y; in powf()
31 return __ieee754_powf(x,y);
35 z=__ieee754_powf(x,y);
36 if(_LIB_VERSION == _IEEE_|| isnan(y)) return z;
38 if(y==(float)0.0) {
45 exc.arg2 = (double)y;
59 if(y==(float)0.0) {
66 exc.arg2 = (double)y;
[all …]
Dwf_fmod.c24 float fmodf(float x, float y) /* wrapper fmodf */ in fmodf() argument
26 float fmodf(x,y) /* wrapper fmodf */ in fmodf()
27 float x,y; in fmodf()
31 return __ieee754_fmodf(x,y);
35 z = __ieee754_fmodf(x,y);
36 if(_LIB_VERSION == _IEEE_ ||isnan(y)||isnan(x)) return z;
37 if(y==(float)0.0) {
43 exc.arg2 = (double)y;
64 double fmod(double x, double y) in fmod() argument
66 double fmod(x,y) in fmod()
[all …]
Dsf_sin.c25 float y[2],z=0.0; local
39 n = __ieee754_rem_pio2f(x,y);
41 case 0: return __kernel_sinf(y[0],y[1],1);
42 case 1: return __kernel_cosf(y[0],y[1]);
43 case 2: return -__kernel_sinf(y[0],y[1],1);
45 return -__kernel_cosf(y[0],y[1]);
Dsf_cos.c25 float y[2],z=0.0; local
39 n = __ieee754_rem_pio2f(x,y);
41 case 0: return __kernel_cosf(y[0],y[1]);
42 case 1: return -__kernel_sinf(y[0],y[1],1);
43 case 2: return -__kernel_cosf(y[0],y[1]);
45 return __kernel_sinf(y[0],y[1],1);
Dwf_atan2.c25 float atan2f(float y, float x) /* wrapper atan2f */ in atan2f() argument
27 float atan2f(y,x) /* wrapper atan2 */ in atan2f()
28 float y,x; in atan2f()
31 return __ieee754_atan2f(y,x);
37 double atan2(double y, double x) in atan2() argument
39 double atan2(y,x) in atan2()
40 double y,x; in atan2()
43 return (double) atan2f((float) y, (float) x);
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
De_rem_pio2.c76 __ieee754_rem_pio2(double x, double *y) in __ieee754_rem_pio2() argument
87 {y[0] = x; y[1] = 0; return 0;} in __ieee754_rem_pio2()
92 y[0] = z - pio2_1t; in __ieee754_rem_pio2()
93 y[1] = (z-y[0])-pio2_1t; in __ieee754_rem_pio2()
96 y[0] = z - pio2_2t; in __ieee754_rem_pio2()
97 y[1] = (z-y[0])-pio2_2t; in __ieee754_rem_pio2()
103 y[0] = z + pio2_1t; in __ieee754_rem_pio2()
104 y[1] = (z-y[0])+pio2_1t; in __ieee754_rem_pio2()
107 y[0] = z + pio2_2t; in __ieee754_rem_pio2()
108 y[1] = (z-y[0])+pio2_2t; in __ieee754_rem_pio2()
[all …]
Dw_pow.c29 pow(double x, double y) /* wrapper pow */ in pow() argument
32 return __ieee754_pow(x,y); in pow()
35 z=__ieee754_pow(x,y); in pow()
36 if(_LIB_VERSION == _IEEE_|| isnan(y)) return z; in pow()
38 if(y==0.0) in pow()
39 return __kernel_standard(x,y,42); /* pow(NaN,0.0) */ in pow()
44 if(y==0.0) in pow()
45 return __kernel_standard(x,y,20); /* pow(0.0,0.0) */ in pow()
46 if(finite(y)&&y<0.0) in pow()
47 return __kernel_standard(x,y,23); /* pow(0.0,negative) */ in pow()
[all …]
Ds_sin.c55 double y[2],z=0.0; in sin() local
70 n = __ieee754_rem_pio2(x,y); in sin()
72 case 0: return __kernel_sin(y[0],y[1],1); in sin()
73 case 1: return __kernel_cos(y[0],y[1]); in sin()
74 case 2: return -__kernel_sin(y[0],y[1],1); in sin()
76 return -__kernel_cos(y[0],y[1]); in sin()
Ds_cos.c55 double y[2],z=0.0; in cos() local
70 n = __ieee754_rem_pio2(x,y); in cos()
72 case 0: return __kernel_cos(y[0],y[1]); in cos()
73 case 1: return -__kernel_sin(y[0],y[1],1); in cos()
74 case 2: return -__kernel_cos(y[0],y[1]); in cos()
76 return __kernel_sin(y[0],y[1],1); in cos()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpymath.c10 volatile double y; in _Py_force_double() local
11 y = x; in _Py_force_double()
12 return y; in _Py_force_double()
35 double hypot(double x, double y) in hypot() argument
40 y = fabs(y); in hypot()
41 if (x < y) { in hypot()
43 x = y; in hypot()
44 y = temp; in hypot()
49 yx = y/x; in hypot()
57 copysign(double x, double y) in copysign() argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpymath.c10 volatile double y; in _Py_force_double() local
11 y = x; in _Py_force_double()
12 return y; in _Py_force_double()
35 double hypot(double x, double y) in hypot() argument
40 y = fabs(y); in hypot()
41 if (x < y) { in hypot()
43 x = y; in hypot()
44 y = temp; in hypot()
49 yx = y/x; in hypot()
57 copysign(double x, double y) in copysign() argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_copy.py22 y = copy.copy(x)
23 self.assertEqual(x, y)
32 y = copy.copy(x)
33 self.assertEqual(y.__class__, x.__class__)
34 self.assertEqual(y.foo, x.foo)
47 y = copy.copy(x)
56 y = copy.copy(x)
57 self.assertTrue(y is x)
64 y = copy.copy(x)
65 self.assertTrue(y is x)
[all …]
Dtest_long.py122 def check_division(self, x, y): argument
124 q, r = divmod(x, y)
125 q2, r2 = x//y, x%y
126 pab, pba = x*y, y*x
127 eq(pab, pba, Frm("multiplication does not commute for %r and %r", x, y))
128 eq(q, q2, Frm("divmod returns different quotient than / for %r and %r", x, y))
129 eq(r, r2, Frm("divmod returns different mod than %% for %r and %r", x, y))
130 eq(x, q*y + r, Frm("x != q*y + r after divmod on x=%r, y=%r", x, y))
131 if y > 0:
132 self.assertTrue(0 <= r < y, Frm("bad mod from divmod on %r and %r", x, y))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dqueens.py22 self.y = [None] * n # Where is the queen in column x
29 for y in range(self.n):
30 if self.safe(x, y):
31 self.place(x, y)
36 self.remove(x, y)
38 def safe(self, x, y): argument
39 return not self.row[y] and not self.up[x-y] and not self.down[x+y]
41 def place(self, x, y): argument
42 self.y[x] = y
43 self.row[y] = 1
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcopy.py128 y = x.__class__(*args)
130 y = _EmptyClass()
131 y.__class__ = x.__class__
136 if hasattr(y, '__setstate__'):
137 y.__setstate__(state)
139 y.__dict__.update(state)
140 return y
155 y = memo.get(d, _nil)
156 if y is not _nil:
157 return y
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcopy.py128 y = x.__class__(*args)
130 y = _EmptyClass()
131 y.__class__ = x.__class__
136 if hasattr(y, '__setstate__'):
137 y.__setstate__(state)
139 y.__dict__.update(state)
140 return y
155 y = memo.get(d, _nil)
156 if y is not _nil:
157 return y
[all …]
/device/generic/goldfish/camera/
DConverters.cpp44 for (int y = 0; y < height; y++) { in _YUV420SToRGB565() local
45 Y = Y_pos + y_stride * y; in _YUV420SToRGB565()
46 U = U_pos + uv_stride * (y / 2); in _YUV420SToRGB565()
47 V = V_pos + uv_stride * (y / 2); in _YUV420SToRGB565()
73 for (int y = 0; y < height; y++) { in _YUV420SToRGB32() local
74 Y = Y_pos + y_stride * y; in _YUV420SToRGB32()
75 U = U_pos + uv_stride * (y / 2); in _YUV420SToRGB32()
76 V = V_pos + uv_stride * (y / 2); in _YUV420SToRGB32()
173 const uint8_t* y = reinterpret_cast<const uint8_t*>(nv12); in NV12ToRGB565() local
174 _NVXXToRGB565(y, y + pix_total, y + pix_total + 1, in NV12ToRGB565()
[all …]
/device/google/contexthub/firmware/os/algos/common/math/
Dvec.h49 float x, y, z; member
53 float x, y, z, w; member
57 static inline void initVec3(struct Vec3 *v, float x, float y, float z) { in initVec3() argument
60 v->y = y; in initVec3()
69 v->y += w->y; in vec3Add()
78 v->y -= w->y; in vec3Sub()
86 v->y *= c; in vec3ScalarMul()
94 return v->x * w->x + v->y * w->y + v->z * w->z; in vec3Dot()
119 v->y *= invNorm; in vec3Normalize()
130 u->x = v->y * w->z - v->z * w->y; in vec3Cross()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Dmisc.c112 (y) ULong *y; in lo0bits() argument
114 (ULong *y)
118 ULong x = *y;
124 *y = x >> 1;
127 *y = x >> 2;
153 *y = x;
168 ULLong carry, y; local
170 ULong carry, *x, y; local
183 y = *x * (ULLong)m + carry;
184 carry = y >> 32;
[all …]
Ddmisc.c119 ULLong borrow, carry, y, ys; local
121 ULong borrow, carry, y, ys; local
151 y = *bx - (ys & 0xffffffffUL) - borrow;
152 borrow = y >> 32 & 1UL;
154 *bx++ = (UINT32)(y & 0xffffffffUL);
161 y = (*bx & 0xffff) - (ys & 0xffff) - borrow;
162 borrow = (y & 0x10000) >> 16;
165 Storeinc(bx, z, y);
169 y = *bx - (ys & 0xffff) - borrow;
170 borrow = (y & 0x10000) >> 16;
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/Arm/machine/
Dasm.h52 # define __CONCAT(x,y) x ## y argument
55 # define __CONCAT(x,y) x/**/y argument
86 #define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE argument
87 #define ENTRY_NP(y) _ENTRY(_C_LABEL(y)) argument
88 #define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE argument
89 #define ASENTRY_NP(y) _ENTRY(_ASM_LABEL(y)) argument
95 #define PIC_SYM(x,y) x ## ( ## y ## ) argument
97 #define PIC_SYM(x,y) x/**/(/**/y/**/) argument
100 #define PIC_SYM(x,y) x argument

12345678910>>...19