Home
last modified time | relevance | path

Searched refs:ax (Results 1 – 25 of 31) sorted by relevance

12

/AliOS-Things-master/components/freetype/src/autofit/
A Dafangles.c37 if ( ax < 0 )
38 ax = -ax;
41 d_in = ax + ay;
43 ax = x_out;
44 if ( ax < 0 )
45 ax = -ax;
52 if ( ax < 0 )
53 ax = -ax;
113 if ( ax < 0 )
114 ax = -ax;
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djmemdosa.asm60 xor ax,ax ; return zero for OK
92 xor ax,ax ; return zero for OK
123 mov ax,4200h ; absolute seek
126 xor ax,ax ; return zero for OK
164 read_ok: xor ax,ax ; return zero for OK
202 write_ok: xor ax,ax ; return zero for OK
235 xor ax,ax ; return a nil pointer
240 mov ax,bx
242 mov word ptr es:[bx],ax
282 mov word ptr es:[bx],ax ; put back ax,dx,bx
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/unused/
A Djmemdos.c354 if (ctx.ax != 1) in read_xms_store()
387 if (ctx.ax != 1) in write_xms_store()
406 ctx.ax = 0x0a00; in close_xms_store()
425 ctx.ax = 0x0000; in open_xms_store()
432 ctx.ax = 0x0900; in open_xms_store()
434 if (ctx.ax != 1) in open_xms_store()
545 ctx.ax = 0x4500; in close_ems_store()
564 ctx.ax = 0x4000; in open_ems_store()
570 ctx.ax = 0x4600; in open_ems_store()
572 if (HIBYTE(ctx.ax) != 0 || LOBYTE(ctx.ax) < 0x40) in open_ems_store()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/amd64/
A Damd64-match.S308 notw %ax
309 bsfw %ax, %ax
321 notw %ax
322 bsfw %ax, %ax
330 notw %ax
331 bsfw %ax, %ax
338 notw %ax
339 bsfw %ax, %ax
380 Check16: testw $0xFFFF, %ax
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/
A Dpow.c94 double z,ax,z_h,z_l,p_h,p_l; in pow() local
171 ax = fabs(x); in pow()
175 z = ax; in pow()
211 t = ax - 1.0; /* t has 20 trailing zeros */ in pow()
223 ax *= two53; in pow()
225 GET_HIGH_WORD(ix,ax); in pow()
240 SET_HIGH_WORD(ax, ix); in pow()
243 u = ax - bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in pow()
244 v = 1.0/(ax+bp[k]); in pow()
251 t_l = ax - (t_h-bp[k]); in pow()
/AliOS-Things-master/components/SDL2/src/libm/
A De_pow.c105 double z,ax,z_h,z_l,p_h,p_l; in __ieee754_pow() local
169 ax = fabs(x); in __ieee754_pow()
173 z = ax; /*x is +-0,+-inf,+-1*/ in __ieee754_pow()
211 {ax *= two53; n -= 53; GET_HIGH_WORD(ix,ax); } in __ieee754_pow()
219 SET_HIGH_WORD(ax,ix); in __ieee754_pow()
222 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in __ieee754_pow()
223 v = one/(ax+bp[k]); in __ieee754_pow()
230 t_l = ax - (t_h-bp[k]); in __ieee754_pow()
/AliOS-Things-master/components/amp/modules/
A Dmpu6050.js316 function get_Accelerometer(ax, ay, az) argument
322 ax = (buf[0] << 8) | buf[1];
325 if (ax > (1 << 15)) {
326 ax = ax - (1<<16)
335 arr[0] = ax;
/AliOS-Things-master/components/freetype/src/base/
A Dftcalc.c946 FT_Pos ax = in_x; in ft_corner_is_flat() local
968 if ( ax < 0 ) in ft_corner_is_flat()
969 ax = -ax; in ft_corner_is_flat()
972 d_in = ax + ay; /* d_in = || in || */ in ft_corner_is_flat()
974 ax = out_x; in ft_corner_is_flat()
975 if ( ax < 0 ) in ft_corner_is_flat()
976 ax = -ax; in ft_corner_is_flat()
980 d_out = ax + ay; /* d_out = || out || */ in ft_corner_is_flat()
982 ax = out_x + in_x; in ft_corner_is_flat()
983 if ( ax < 0 ) in ft_corner_is_flat()
[all …]
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/gyroscope/
A Dgyroscope.c61 short ax, ay; in gyroscope_task() local
68 ax = (short)(acc[1] * 6.6); in gyroscope_task()
77 OLED_FillCircle(66 + ax, 32 + ay, 8, 1); in gyroscope_task()
A Dgyroscope.md137 #### void MPU_Get_Accelerometer(short *ax, short *ay, short *az)
142 void MPU_Get_Accelerometer(short *ax, short *ay, short *az)
147 *ax = ((u16)buf[0] << 8) | buf[1];
/AliOS-Things-master/components/py_engine/framework/
A Dmpu6050.py223 ax = (buf[0] << 8) | buf[1]
227 if (ax > (1 << 15)):
228 ax = ax - (1<<16)
236 arr[0] = ax
/AliOS-Things-master/components/py_engine/engine/lib/libm/
A Dmath.c173 float z,ax,z_h,z_l,p_h,p_l; in powf() local
228 ax = fabsf(x); in powf()
231 z = ax; in powf()
260 t = ax - 1; /* t has 20 trailing zeros */ in powf()
273 ax *= two24; in powf()
275 GET_FLOAT_WORD(ix, ax); in powf()
290 SET_FLOAT_WORD(ax, ix); in powf()
293 u = ax - bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in powf()
294 v = 1.0f/(ax+bp[k]); in powf()
302 t_l = ax - (t_h - bp[k]); in powf()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/shakeshake/
A Dshakeshake.c18 short ax = 0, ay, az; variable
55 MPU_Get_Accelerometer(&ax, &ay, &az); in shakeshake_task()
A Dshakeshake.md55 MPU_Get_Accelerometer(&ax, &ay, &az);
/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_rotate.c234 int x, y, t1, t2, dx, dy, xd, yd, sdx, sdy, ax, ay, ex, ey, sw, sh; in _transformSurfaceRGBA() local
244 ax = (cx << 16) - (icos * cx); in _transformSurfaceRGBA()
257 sdx = (ax + (isin * dy)) + xd; in _transformSurfaceRGBA()
308 sdx = (ax + (isin * dy)) + xd; in _transformSurfaceRGBA()
348 int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay; in transformSurfaceY() local
357 ax = (cx << 16) - (icos * cx); in transformSurfaceY()
370 sdx = (ax + (isin * dy)) + xd; in transformSurfaceY()
/AliOS-Things-master/components/freetype/src/pshinter/
A Dpshalgo.c941 FT_Pos ax = x_in; in psh_corner_is_flat() local
947 if ( ax < 0 ) in psh_corner_is_flat()
948 ax = -ax; in psh_corner_is_flat()
951 d_in = ax + ay; in psh_corner_is_flat()
953 ax = x_out; in psh_corner_is_flat()
954 if ( ax < 0 ) in psh_corner_is_flat()
955 ax = -ax; in psh_corner_is_flat()
959 d_out = ax + ay; in psh_corner_is_flat()
962 if ( ax < 0 ) in psh_corner_is_flat()
963 ax = -ax; in psh_corner_is_flat()
[all …]
/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/
A Ddrv_acc_gyro_inv_mpu6050.c179 void MPU_Get_Accelerometer(short *ax, short *ay, short *az) in MPU_Get_Accelerometer() argument
184 *ax = ((u16)buf[0] << 8) | buf[1]; in MPU_Get_Accelerometer()
A Ddrv_acc_gyro_inv_mpu6050.h156 extern void MPU_Get_Accelerometer(short *ax, short *ay, short *az);
/AliOS-Things-master/components/SDL2/include/
A DSDL_endian.h106 parm [ax] \
107 modify [ax];
/AliOS-Things-master/components/SDL2/src/joystick/bsd/
A DSDL_sysjoystick.c385 int ax; local
386 for (ax = 0; ax < JOYAXE_count; ax++)
387 hw->axis_map[ax] = -1;
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_imageFilter.c1731 mov bx, ax /* copy AX into BX */ in SDL_imageFilterAddByteMMX()
1733 mov ax, bx /* copy BX into AX */ in SDL_imageFilterAddByteMMX()
2001 mov bx, ax /* copy AX into BX */ in SDL_imageFilterAddByteToHalfMMX()
2003 mov ax, bx /* copy BX into AX */ in SDL_imageFilterAddByteToHalfMMX()
2137 mov bx, ax /* copy AX into BX */ in SDL_imageFilterSubByteMMX()
2139 mov ax, bx /* copy BX into AX */ in SDL_imageFilterSubByteMMX()
2671 mov bx, ax /* copy AX into BX */ in SDL_imageFilterMultByByteMMX()
2673 mov ax, bx /* copy BX into AX */ in SDL_imageFilterMultByByteMMX()
2865 mov bx, ax /* copy AX into BX */ in SDL_imageFilterShiftRightAndMultByByteMMX()
2867 mov ax, bx /* copy BX into AX */ in SDL_imageFilterShiftRightAndMultByByteMMX()
[all …]
A DSDL_rotozoom.c640 int x, y, t1, t2, dx, dy, xd, yd, sdx, sdy, ax, ay, ex, ey, sw, sh; in _transformSurfaceRGBA() local
650 ax = (cx << 16) - (icos * cx); in _transformSurfaceRGBA()
663 sdx = (ax + (isin * dy)) + xd; in _transformSurfaceRGBA()
716 sdx = (ax + (isin * dy)) + xd; in _transformSurfaceRGBA()
757 int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay, sw, sh; in transformSurfaceY() local
766 ax = (cx << 16) - (icos * cx); in transformSurfaceY()
781 sdx = (ax + (isin * dy)) + xd; in transformSurfaceY()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/gcc_gvmat64/
A Dgvmat64.S476 or ax,ax
/AliOS-Things-master/hardware/board/haaseduk1/board_test/
A Dsensors_test.c111 short ax = 0, ay = 0, az = 0; in gyro_test() local
/AliOS-Things-master/components/SDL2/src/image/
A Dnanosvgrast.h460 float ax = cosf(a) * w, ay = sinf(a) * w; in nsvg__roundCap() local
461 float x = px - dlx*ax - dx*ay; in nsvg__roundCap()
462 float y = py - dly*ax - dy*ay; in nsvg__roundCap()
568 float ax = cosf(a) * w, ay = sinf(a) * w; in nsvg__roundJoin() local
569 float lx1 = p1->x - ax, ly1 = p1->y - ay; in nsvg__roundJoin()
570 float rx1 = p1->x + ax, ry1 = p1->y + ay; in nsvg__roundJoin()

Completed in 50 milliseconds

12