/lk-master/external/lib/libm/ |
A D | e_rem_pio2.c | 66 {y[0] = x; y[1] = 0; return 0;} in __ieee754_rem_pio2() 75 y[1] = (z-y[0])-pio2_1t; in __ieee754_rem_pio2() 80 y[1] = (z-y[0])+pio2_1t; in __ieee754_rem_pio2() 87 y[1] = (z-y[0])-2*pio2_1t; in __ieee754_rem_pio2() 92 y[1] = (z-y[0])+2*pio2_1t; in __ieee754_rem_pio2() 104 y[1] = (z-y[0])-3*pio2_1t; in __ieee754_rem_pio2() 109 y[1] = (z-y[0])+3*pio2_1t; in __ieee754_rem_pio2() 118 y[1] = (z-y[0])-4*pio2_1t; in __ieee754_rem_pio2() 123 y[1] = (z-y[0])+4*pio2_1t; in __ieee754_rem_pio2() 163 y[1] = (r-y[0])-w; in __ieee754_rem_pio2() [all …]
|
A D | s_cos.c | 57 double y[2],z=0.0; in cos() local 76 n = __ieee754_rem_pio2(x,y); in cos() 79 return __kernel_cos(y[0],y[1]); in cos() 81 return -__kernel_sin(y[0],y[1],1); in cos() 83 return -__kernel_cos(y[0],y[1]); in cos() 85 return __kernel_sin(y[0],y[1],1); in cos()
|
A D | s_sin.c | 57 double y[2],z=0.0; in sin() local 76 n = __ieee754_rem_pio2(x,y); in sin() 79 return __kernel_sin(y[0],y[1],1); in sin() 81 return __kernel_cos(y[0],y[1]); in sin() 83 return -__kernel_sin(y[0],y[1],1); in sin() 85 return -__kernel_cos(y[0],y[1]); in sin()
|
A D | s_cosf.c | 41 double y; in cosf() local 78 n = __ieee754_rem_pio2f(x,&y); in cosf() 81 return __kernel_cosdf(y); in cosf() 83 return __kernel_sindf(-y); in cosf() 85 return -__kernel_cosdf(y); in cosf() 87 return __kernel_sindf(y); in cosf()
|
A D | s_sinf.c | 41 double y; in sinf() local 76 n = __ieee754_rem_pio2f(x,&y); in sinf() 79 return __kernel_sindf(y); in sinf() 81 return __kernel_cosdf(y); in sinf() 83 return __kernel_sindf(-y); in sinf() 85 return -__kernel_cosdf(y); in sinf()
|
A D | k_tan.c | 79 __kernel_tan(double x, double y, int iy) in __kernel_tan() argument 89 y = -y; in __kernel_tan() 92 w = pio4lo - y; in __kernel_tan() 94 y = 0.0; in __kernel_tan() 108 r = y + z * (s * (r + v) + y); in __kernel_tan()
|
A D | e_atan2.c | 61 __ieee754_atan2(double y, double x) in __ieee754_atan2() argument 69 EXTRACT_WORDS(hy,ly,y); in __ieee754_atan2() 73 return x+y; in __ieee754_atan2() 74 if((hx-0x3ff00000|lx)==0) return atan(y); /* x=1.0 */ in __ieee754_atan2() 81 case 1: return y; /* atan(+-0,+anything)=+-0 */ in __ieee754_atan2() 117 else z=atan(fabs(y/x)); /* safe to do y/x */ in __ieee754_atan2()
|
A D | e_rem_pio2f.c | 47 __ieee754_rem_pio2f(float x, double *y) in __ieee754_rem_pio2f() argument 68 *y = r-w; in __ieee754_rem_pio2f() 75 *y=x-x; in __ieee754_rem_pio2f() 83 if (hx<0) {*y = -ty[0]; return -n;} in __ieee754_rem_pio2f() 84 *y = ty[0]; in __ieee754_rem_pio2f()
|
A D | s_tan.c | 56 double y[2],z=0.0; in tan() local 75 n = __ieee754_rem_pio2(x,y); in tan() 76 return __kernel_tan(y[0],y[1],1-((n&1)<<1)); /* 1 -- n even in tan()
|
/lk-master/external/platform/pico/rp2_common/pico_float/ |
A D | float_math.c | 47 #define check_nan_f2(x,y) if (fisnan((x))) return (x); else if (fisnan((y))) return (y); argument 339 if(y<0) x=1.0f/x,y=-y; in fpowint_1() 352 if(y>=256) y= 255; // avoid overflow in fpowint_0() 353 if(y<-256) y=-256; in fpowint_0() 358 if(y>=-32&&y<=32) return fpowint_1(x,y); in fpowint_0() 446 if(fisint(y)) return fpow_0(x,y); in WRAPPER_FUNC() 456 x=fldexp(x,-70),y=fldexp(y,-70); in WRAPPER_FUNC() 457 return fldexp(sqrtf(x*x+y*y), 70); in WRAPPER_FUNC() 460 x=fldexp(x, 70),y=fldexp(y, 70); in WRAPPER_FUNC() 461 return fldexp(sqrtf(x*x+y*y),-70); in WRAPPER_FUNC() [all …]
|
/lk-master/external/platform/pico/rp2_common/pico_double/ |
A D | double_math.c | 50 #define check_nan_d2(x,y) if (disnan((x))) return (x); else if (disnan((y))) return (y); argument 381 if(y<0) x=1/x,y=-y; 394 if(y>=2048) y= 2047; // avoid overflow 395 if(y<-2048) y=-2048; 400 if(y>=-32&&y<=32) return dpowint_1(x,y); 490 if(disint(y)) return dpow_0(x,y); 500 x=dldexp(x,-600),y=dldexp(y,-600); 501 return dldexp(sqrt(x*x+y*y), 600); 504 x=dldexp(x, 600),y=dldexp(y, 600); 505 return dldexp(sqrt(x*x+y*y),-600); [all …]
|
/lk-master/platform/mediatek/mt6735/include/platform/ |
A D | mt_typedefs.h | 113 #define OUTREG8(x, y) WRITE_REGISTER_UINT8((unsigned char *)(x), (unsigned char)(y)) argument 114 #define SETREG8(x, y) OUTREG8(x, INREG8(x)|(y)) argument 115 #define CLRREG8(x, y) OUTREG8(x, INREG8(x)&~(y)) argument 116 #define MASKREG8(x, y, z) OUTREG8(x, (INREG8(x)&~(y))|(z)) argument 120 #define SETREG16(x, y) OUTREG16(x, INREG16(x)|(y)) argument 121 #define CLRREG16(x, y) OUTREG16(x, INREG16(x)&~(y)) argument 122 #define MASKREG16(x, y, z) OUTREG16(x, (INREG16(x)&~(y))|(z)) argument 125 #define OUTREG32(x, y) WRITE_REGISTER_UINT32((unsigned int *)(x), (unsigned int )(y)) argument 126 #define SETREG32(x, y) OUTREG32(x, INREG32(x)|(y)) argument 127 #define CLRREG32(x, y) OUTREG32(x, INREG32(x)&~(y)) argument [all …]
|
/lk-master/platform/mediatek/mt6797/include/platform/ |
A D | mt_typedefs.h | 114 #define OUTREG8(x, y) WRITE_REGISTER_UINT8((unsigned char *)(x), (unsigned char)(y)) argument 115 #define SETREG8(x, y) OUTREG8(x, INREG8(x)|(y)) argument 116 #define CLRREG8(x, y) OUTREG8(x, INREG8(x)&~(y)) argument 117 #define MASKREG8(x, y, z) OUTREG8(x, (INREG8(x)&~(y))|(z)) argument 121 #define SETREG16(x, y) OUTREG16(x, INREG16(x)|(y)) argument 122 #define CLRREG16(x, y) OUTREG16(x, INREG16(x)&~(y)) argument 123 #define MASKREG16(x, y, z) OUTREG16(x, (INREG16(x)&~(y))|(z)) argument 126 #define OUTREG32(x, y) WRITE_REGISTER_UINT32((unsigned int *)(x), (unsigned int )(y)) argument 127 #define SETREG32(x, y) OUTREG32(x, INREG32(x)|(y)) argument 128 #define CLRREG32(x, y) OUTREG32(x, INREG32(x)&~(y)) argument [all …]
|
/lk-master/platform/pc/ |
A D | console.c | 85 void place(int x,int y) { in place() argument 97 curr_y = y; in place() 161 register int x,y; in _scroll() local 165 for (y = y1+1; y <= y2; y++) { in _scroll() 186 y = curr_y; in cputc() 196 y++; in cputc() 217 y++; in cputc() 227 *(v + 2*(x + y*80)) = c; in cputc() 235 y++; in cputc() 240 place(x, y); in cputc() [all …]
|
/lk-master/dev/fbcon/ |
A D | fbcon.c | 39 int y; member 58 unsigned x, y, data; in fbcon_drawglyph() local 62 for (y = 0; y < (FONT_HEIGHT / 2); ++y) { in fbcon_drawglyph() 73 for (y = 0; y < (FONT_HEIGHT / 2); y++) { in fbcon_drawglyph() 115 cur_pos.y = 0; in fbcon_clear() 145 pixels += cur_pos.y * FONT_HEIGHT * config->width; in fbcon_putc() 155 cur_pos.y++; in fbcon_putc() 157 if (cur_pos.y >= max_pos.y) { in fbcon_putc() 158 cur_pos.y = max_pos.y - 1; in fbcon_putc() 190 cur_pos.y = 0; in fbcon_setup() [all …]
|
/lk-master/external/lib/libm/include/ |
A D | math.h | 108 #define isgreater(x, y) __builtin_isgreater((x), (y)) argument 110 #define isless(x, y) __builtin_isless((x), (y)) argument 111 #define islessequal(x, y) __builtin_islessequal((x), (y)) argument 113 #define isunordered(x, y) __builtin_isunordered((x), (y)) argument 115 #define isgreater(x, y) (!isunordered((x), (y)) && (x) > (y)) argument 116 #define isgreaterequal(x, y) (!isunordered((x), (y)) && (x) >= (y)) argument 117 #define isless(x, y) (!isunordered((x), (y)) && (x) < (y)) argument 118 #define islessequal(x, y) (!isunordered((x), (y)) && (x) <= (y)) argument 119 #define islessgreater(x, y) (!isunordered((x), (y)) && \ argument 120 ((x) > (y) || (y) > (x))) [all …]
|
/lk-master/lib/tga/ |
A D | tga.c | 65 gfx_putpixel(surface, x, y, 0xff000000 | r << 16 | g << 8 | b); in decode_2byte() 82 gfx_putpixel(surface, x, y, 0); in decode_4byte() 145 uint x, y; in tga_decode() local 148 for (y = 0; y < header->height; y++) { in tga_decode() 151 surfacey = (surface->height - 1) - y; in tga_decode() 153 surfacey = y; in tga_decode() 164 uint x, y; in tga_decode() local 168 y = header->height - 1; in tga_decode() 170 y = 0; in tga_decode() 192 y--; in tga_decode() [all …]
|
/lk-master/lib/bytes/include/lib/ |
A D | bytes.h | 17 #define bytes_write_u16(x, y) bytes_write_u16_be(x, y) argument 18 #define bytes_write_u24(x, y) bytes_write_u24_be(x, y) argument 19 #define bytes_write_u32(x, y) bytes_write_u32_be(x, y) argument 24 #define bytes_write_u16(x, y) bytes_write_u16_le(x, y) argument 25 #define bytes_write_u24(x, y) bytes_write_u24_le(x, y) argument 26 #define bytes_write_u32(x, y) bytes_write_u32_le(x, y) argument
|
/lk-master/lib/gfx/ |
A D | gfx.c | 682 uint x, y; in gfx_draw_pattern() local 683 for (y = 0; y < surface->height; y++) { in gfx_draw_pattern() 710 uint x, y; in gfx_draw_pattern_white() local 711 for (y = 0; y < surface->height; y++) { in gfx_draw_pattern_white() 738 for (y = 0; y < surface->height; y++) { in gfx_draw_mandelbrot() 761 if (y > 0) { in gfx_draw_mandelbrot() 762 gfx_flush_rows(surface, y - 1, y); in gfx_draw_mandelbrot() 772 uint x, y; in gfx_draw_rgb_bars() local 777 for (y = 0; y < surface->height; y++) { in gfx_draw_rgb_bars() 829 uint x, y; in cmd_gfx() local [all …]
|
/lk-master/external/lib/libm/include/sys/ |
A D | cdefs.h | 111 #define __GNUC_PREREQ__(x, y) \ argument 112 ((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || \ 115 #define __GNUC_PREREQ__(x, y) 0 argument 121 #define __static_cast(x,y) static_cast<x>(y) argument 125 #define __static_cast(x,y) (x)y argument
|
/lk-master/external/platform/pico/rp2_common/pico_divider/ |
A D | divider.S | 279 @ y -ve, x +ve 316 @ y +ve, x -ve 458 @ r0:r1 y 521 @ r0 y 559 b 2b @ while(y>=x) y-=x,qu++; 562 @ r0:r1 y 680 @ r0:r1 y 755 @ r0:r1 y 778 sbcs r1,r5 @ while(y>=x) y-=x,qu++; 785 @ r0:r1 y [all …]
|
/lk-master/external/lib/lwip/include/lwip/ |
A D | stats.h | 155 #define STATS_INC_USED(x, y) do { lwip_stats.x.used += y; \ argument 232 #define MEM_STATS_AVAIL(x, y) lwip_stats.mem.x = y argument 234 #define MEM_STATS_INC_USED(x, y) STATS_INC_USED(mem, y) argument 235 #define MEM_STATS_DEC_USED(x, y) lwip_stats.mem.x -= y argument 238 #define MEM_STATS_AVAIL(x, y) argument 240 #define MEM_STATS_INC_USED(x, y) argument 241 #define MEM_STATS_DEC_USED(x, y) argument 246 #define MEMP_STATS_AVAIL(x, i, y) lwip_stats.memp[i].x = y argument 252 #define MEMP_STATS_AVAIL(x, i, y) argument
|
/lk-master/platform/rp20xx/include/sys/ |
A D | cdefs.h | 4 #define __CONCAT1(x,y) x ## y argument 5 #define __CONCAT(x,y) __CONCAT1(x,y) argument
|
/lk-master/lib/gfxconsole/ |
A D | gfxconsole.c | 39 uint x, y; member 53 gfxconsole.y++; in gfxconsole_putc() 58 …font_draw_char(gfxconsole.surface, c, gfxconsole.x * FONT_X, gfxconsole.y * FONT_Y, gfxconsole.fro… in gfxconsole_putc() 74 …font_draw_char(gfxconsole.surface, c, gfxconsole.x * FONT_X, gfxconsole.y * FONT_Y, gfxconsole.fro… in gfxconsole_putc() 84 gfxconsole.y++; in gfxconsole_putc() 86 if (gfxconsole.y >= gfxconsole.rows) { in gfxconsole_putc() 89 gfxconsole.y--; in gfxconsole_putc() 128 gfxconsole.y = 0; in gfxconsole_start()
|
/lk-master/lib/text/ |
A D | text.c | 40 int x, y; member 46 void text_draw(int x, int y, const char *string) { in text_draw() argument 51 line->y = y; in text_draw() 74 font_draw_char(surface, *c, x, line->y, TEXT_COLOR); in text_update()
|