/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | def.h | 55 #define LWIP_MAX(x , y) (((x) > (y)) ? (x) : (y)) argument 56 #define LWIP_MIN(x , y) (((x) < (y)) ? (x) : (y)) argument 59 #define LWIP_ARRAYSIZE(x) (sizeof(x)/sizeof((x)[0])) argument 77 #define lwip_htons(x) (x) argument 78 #define lwip_ntohs(x) (x) argument 79 #define lwip_htonl(x) (x) argument 80 #define lwip_ntohl(x) (x) argument 81 #define PP_HTONS(x) (x) argument 82 #define PP_NTOHS(x) (x) argument 83 #define PP_HTONL(x) (x) argument [all …]
|
A D | stats.h | 309 #define STATS_INC(x) ++lwip_stats.x argument 310 #define STATS_DEC(x) --lwip_stats.x argument 316 #define STATS_GET(x) lwip_stats.x argument 325 #define TCP_STATS_INC(x) STATS_INC(x) argument 333 #define UDP_STATS_INC(x) STATS_INC(x) argument 341 #define ICMP_STATS_INC(x) STATS_INC(x) argument 349 #define IGMP_STATS_INC(x) STATS_INC(x) argument 357 #define IP_STATS_INC(x) STATS_INC(x) argument 381 #define LINK_STATS_INC(x) STATS_INC(x) argument 425 #define IP6_STATS_INC(x) STATS_INC(x) argument [all …]
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | int_big1.py | 8 print(x) 10 print('%#X' % (x - x)) # print prefix 14 print(x + 1) 15 print(x + y) 20 print(x - 1) 23 print(x - x == 0) 24 print(bool(x - x)) 35 print(~x) 41 x = x << 1 variable 47 x = x >> 1 variable [all …]
|
A D | list_slice_3arg.py | 1 x = list(range(10)) variable 2 print(x[::-1]) 3 print(x[::2]) 4 print(x[::-2]) 7 print(x[::-1]) 8 print(x[::2]) 9 print(x[::-2]) 12 print(x[:0:-1]) 13 print(x[:1:-1]) 14 print(x[:2:-1]) [all …]
|
A D | for_range.py | 5 print(x) 7 print(x) 19 print(x) 24 print(x) 29 print(x) 36 print(x) 41 print(x) 46 print(x) 51 print(x) 58 print(x) [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | def.h | 54 #define LWIP_MAX(x , y) (((x) > (y)) ? (x) : (y)) argument 55 #define LWIP_MIN(x , y) (((x) < (y)) ? (x) : (y)) argument 58 #define LWIP_ARRAYSIZE(x) (sizeof(x)/sizeof((x)[0])) argument 76 #define lwip_htons(x) (x) argument 77 #define lwip_ntohs(x) (x) argument 78 #define lwip_htonl(x) (x) argument 79 #define lwip_ntohl(x) (x) argument 80 #define PP_HTONS(x) (x) argument 81 #define PP_NTOHS(x) (x) argument 82 #define PP_HTONL(x) (x) argument [all …]
|
A D | stats.h | 309 #define STATS_INC(x) ++lwip_stats.x argument 310 #define STATS_DEC(x) --lwip_stats.x argument 316 #define STATS_GET(x) lwip_stats.x argument 325 #define TCP_STATS_INC(x) STATS_INC(x) argument 333 #define UDP_STATS_INC(x) STATS_INC(x) argument 341 #define ICMP_STATS_INC(x) STATS_INC(x) argument 349 #define IGMP_STATS_INC(x) STATS_INC(x) argument 357 #define IP_STATS_INC(x) STATS_INC(x) argument 381 #define LINK_STATS_INC(x) STATS_INC(x) argument 425 #define IP6_STATS_INC(x) STATS_INC(x) argument [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/example/ble_central/ |
A D | ble_central_client_app.h | 31 #define BD_ADDR_ARG(x) (x)[5],(x)[4],(x)[3],(x)[2],(x)[1],(x)[0] argument 32 #define UUID_128_FORMAT 0x%2X:0x%2X:0x%2X:0x%2X:0x%2X:0x%2X:0x%2X:0x%2X:0x%2X:0x%2X:0x%2X:0x%2X:0x%… 33 #define UUID_128(x) (x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14… argument
|
/AliOS-Things-master/components/amp-utility/python/ |
A D | math2.py | 12 def acos(x): argument 19 def acosh(x): argument 26 def asin(x): argument 33 def asinh(x): argument 39 def atan(x): argument 51 def atanh(x): argument 57 def ceil(x): argument 68 def cos(x): argument 73 def cosh(x): argument 84 def erf(x): argument [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/multimedia/speech/inc/ |
A D | ae_math.h | 18 #define AE_CLAMP(x,lo,hi) ((x) < (lo) ? (lo) : (x) > (hi) ? (hi) : (x)) argument 28 #define AE_ABS(x) ((x) > 0 ? (x) : (-(x))) argument 30 #define AE_FLOOR(x) (floorf(x)) argument 32 #define AE_ROUND(x) (roundf(x)) argument 34 #define AE_INT(x) ((int)(x)) argument 37 #define AE_SIGN(x) ((AE_INT(x) == 0 && (x) < 0) ? "-" : "") argument 39 #define AE_FRAC(x) ((int)(((x) > 0 ? ((x) - AE_INT(x)) : (AE_INT(x) - (x))) * 1000000)) argument 45 #define SQUARE(x) ((x) * (x)) argument 50 #define AE_SIN(x) sinf(x) argument 51 #define AE_COS(x) cosf(x) argument [all …]
|
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/ |
A D | tgamma.c | 36 x = x * 0.5; in sinpi() 37 x = 2 * (x - floor(x)); in sinpi() 40 n = 4 * x; in sinpi() 44 x *= pi; in sinpi() 95 if (x < 8) in S() 126 if (x == floor(x)) { in tgamma() 138 if (floor(x) * 0.5 == floor(x * 0.5)) in tgamma() 146 absx = sign ? -x : x; in tgamma() 183 return x*x; in __lgamma_r() 186 if (x == floor(x) && x <= 2) { in __lgamma_r() [all …]
|
A D | atan.c | 73 if (isnan(x)) in atan() 74 return x; in atan() 83 return x; in atan() 87 x = fabs(x); in atan() 91 x = (2.0*x-1.0)/(2.0+x); in atan() 94 x = (x-1.0)/(x+1.0); in atan() 99 x = (x-1.5)/(1.0+1.5*x); in atan() 102 x = -1.0/x; in atan() 107 z = x*x; in atan() 113 return x - x*(s1+s2); in atan() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/ |
A D | endian_inl_utils.h | 26 #define HToLE32(x) (x) argument 27 #define HToLE16(x) (x) argument 44 return __builtin_bswap16(x); in BSwap16() 46 return _byteswap_ushort(x); in BSwap16() 49 return (x >> 8) | ((x & 0xff) << 8); in BSwap16() 60 : [x]"r"(x) in BSwap32() 72 return (x >> 24) | ((x >> 8) & 0xff00) | ((x << 8) & 0xff0000) | (x << 24); in BSwap32() 86 x = ((x & 0xffffffff00000000ull) >> 32) | ((x & 0x00000000ffffffffull) << 32); in BSwap64() 87 x = ((x & 0xffff0000ffff0000ull) >> 16) | ((x & 0x0000ffff0000ffffull) << 16); in BSwap64() 88 x = ((x & 0xff00ff00ff00ff00ull) >> 8) | ((x & 0x00ff00ff00ff00ffull) << 8); in BSwap64() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/DSP/Include/dsp/ |
A D | none.h | 137 q63_t x) in clip_q63_to_q31() argument 139 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q31() 147 q63_t x) in clip_q63_to_q15() argument 149 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q15() 157 q31_t x) in clip_q31_to_q7() argument 159 return ((q31_t) (x >> 24) != ((q31_t) x >> 23)) ? in clip_q31_to_q7() 160 ((0x7F ^ ((q7_t) (x >> 31)))) : (q7_t) x; in clip_q31_to_q7() 167 q31_t x) in clip_q31_to_q15() argument 169 return ((q31_t) (x >> 16) != ((q31_t) x >> 15)) ? in clip_q31_to_q15() 170 ((0x7FFF ^ ((q15_t) (x >> 31)))) : (q15_t) x; in clip_q31_to_q15() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/DSP/Include/dsp/ |
A D | none.h | 137 q63_t x) in clip_q63_to_q31() argument 139 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q31() 147 q63_t x) in clip_q63_to_q15() argument 149 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q15() 157 q31_t x) in clip_q31_to_q7() argument 159 return ((q31_t) (x >> 24) != ((q31_t) x >> 23)) ? in clip_q31_to_q7() 160 ((0x7F ^ ((q7_t) (x >> 31)))) : (q7_t) x; in clip_q31_to_q7() 167 q31_t x) in clip_q31_to_q15() argument 169 return ((q31_t) (x >> 16) != ((q31_t) x >> 15)) ? in clip_q31_to_q15() 170 ((0x7FFF ^ ((q15_t) (x >> 31)))) : (q15_t) x; in clip_q31_to_q15() [all …]
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_endian.h | 76 __asm__("xchgb %b0,%h0": "=q"(x):"0"(x)); in SDL_Swap16() 77 return x; in SDL_Swap16() 83 __asm__("xchgb %b0,%h0": "=Q"(x):"0"(x)); 84 return x; 99 __asm__("rorw #8,%0": "=d"(x): "0"(x):"cc"); 100 return x; 120 __asm__("bswap %0": "=r"(x):"0"(x)); in SDL_Swap32() 121 return x; in SDL_Swap32() 127 __asm__("bswapl %0": "=r"(x):"0"(x)); in SDL_Swap32() 184 v.u = x; in SDL_Swap64() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | picture_tools_enc.c | 27 for (x = 0; x < size; ++x) { in IsTransparentARGBArea() 48 for (x = 0; x < size; ++x) ptr[x] = v; in FlattenARGB() 62 for (x = 0; x < width; ++x) { in SmoothenBlock() 76 for (x = 0; x < width; ++x) { in SmoothenBlock() 97 for (x = 0; x < w; ++x) { in WebPCleanupTransparentArea() 126 for (x = 0; x + SIZE <= width; x += SIZE) { in WebPCleanupTransparentArea() 153 for (x = 0; x + SIZE <= width; x += SIZE) { in WebPCleanupTransparentArea() 177 for (x = 0; x < w; ++x) { in WebPCleanupTransparentAreaLossless() 218 for (x = 0; x < pic->width; ++x) { in WebPBlendAlpha() 228 for (x = 0; x < uv_width; ++x) { in WebPBlendAlpha() [all …]
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | fttrigon.c | 121 x = vec->x; in ft_trig_prenorm() 135 vec->x = x >> shift; in ft_trig_prenorm() 153 x = vec->x; in ft_trig_pseudo_rotate() 194 vec->x = x; in ft_trig_pseudo_rotate() 208 x = vec->x; in ft_trig_pseudo_polarize() 224 x = -x; in ft_trig_pseudo_polarize() 270 vec->x = x; in ft_trig_pseudo_polarize() 369 v.x = vec->x; in FT_Vector_Rotate() 384 vec->x = ( v.x + half + FT_SIGN_LONG( v.x ) ) >> shift; in FT_Vector_Rotate() 422 v.x = ft_trig_downscale( v.x ); in FT_Vector_Length() [all …]
|
/AliOS-Things-master/components/py_engine/engine/lib/libm/ |
A D | atanf.c | 58 return x; in atanf() 66 FORCE_EVAL(x*x); in atanf() 67 return x; in atanf() 71 x = fabsf(x); in atanf() 75 x = (2.0f*x - 1.0f)/(2.0f + x); in atanf() 78 x = (x - 1.0f)/(x + 1.0f); in atanf() 83 x = (x - 1.5f)/(1.0f + 1.5f*x); in atanf() 86 x = -1.0f/x; in atanf() 91 z = x*x; in atanf() 97 return x - x*(s1+s2); in atanf() [all …]
|
A D | math.c | 63 x = -x; in tanhf() 65 x = expm1f(-2 * x); in tanhf() 66 x = x / (x + 2); in tanhf() 67 return sign ? x : -x; in tanhf() 220 return hy >= 0 ? x : 1.0f/x; in powf() 222 return x*x; in powf() 246 return (x-x)/(x-x); in powf() 462 xx = x*x; in expf() 545 FORCE_EVAL(x*x); in expm1f() 557 return x - (x*e-hxs); in expm1f() [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_draw/ |
A D | lv_draw_triangle.c | 54 if(points[0].x == points[1].x && points[1].x == points[2].x) return; in lv_draw_triangle() 97 tri[0].x = points[0].x; in lv_draw_polygon() 100 tri[1].x = points[i].x; in lv_draw_polygon() 102 tri[2].x = points[i + 1].x; in lv_draw_polygon() 160 edge1.x = tri[0].x; in tri_draw_flat() 162 edge2.x = tri[0].x; in tri_draw_flat() 264 edge1.x = tri[0].x; in tri_draw_tall() 266 edge2.x = tri[0].x; in tri_draw_tall() 336 tmp.x = p1->x; in point_swap() 339 p1->x = p2->x; in point_swap() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/ |
A D | gatt.h | 125 #define GATT_PERM_READ_AUTHEN_GET(x) (x & 0x03) argument 126 #define GATT_PERM_READ_AUTHOR_GET(x) (x & 0x04) argument 127 #define GATT_PERM_READ_ENCRYPT_GET(x) (x & 0x08) argument 128 #define GATT_PERM_READ_AUTHEN_SC_GET(x) (x & 0x00010000) argument 138 #define GATT_PERM_WRITE_AUTHEN_GET(x) ((x >> 4) & 0x03) argument 139 #define GATT_PERM_WRITE_AUTHOR_GET(x) ((x >> 4) & 0x04) argument 140 #define GATT_PERM_WRITE_ENCRYPT_GET(x) ((x >> 4) & 0x08) argument 141 #define GATT_PERM_WRITE_AUTHEN_SC_GET(x) ((x>>4) & 0x00010000) argument 151 #define GATT_PERM_NOTIF_IND_AUTHEN_GET(x) ((x >> 8) & 0x03) argument 210 #define HI_WORD(x) ((uint8_t)((x & 0xFF00) >> 8)) argument [all …]
|
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_blendpoint.c | 40 DRAW_SETPIXELXY_ADD_RGB555(x, y); in SDL_BlendPoint_RGB555() 43 DRAW_SETPIXELXY_MOD_RGB555(x, y); in SDL_BlendPoint_RGB555() 49 DRAW_SETPIXELXY_RGB555(x, y); in SDL_BlendPoint_RGB555() 75 DRAW_SETPIXELXY_RGB565(x, y); in SDL_BlendPoint_RGB565() 101 DRAW_SETPIXELXY_RGB888(x, y); in SDL_BlendPoint_RGB888() 230 if (x < dst->clip_rect.x || y < dst->clip_rect.y || in SDL_BlendPoint() 231 x >= (dst->clip_rect.x + dst->clip_rect.w) || in SDL_BlendPoint() 284 int x, y; in SDL_BlendPoints() local 343 minx = dst->clip_rect.x; in SDL_BlendPoints() 349 x = points[i].x; in SDL_BlendPoints() [all …]
|
/AliOS-Things-master/components/SDL2/src/libm/ |
A D | s_atan.c | 71 double atan(double x) in atan() argument 83 return x+x; /* NaN */ in atan() 88 if(huge+x>one) return x; /* raise inexact */ in atan() 92 x = fabs(x); in atan() 95 id = 0; x = (2.0*x-one)/(2.0+x); in atan() 97 id = 1; x = (x-one)/(x+one); in atan() 101 id = 2; x = (x-1.5)/(one+1.5*x); in atan() 103 id = 3; x = -1.0/x; in atan() 107 z = x*x; in atan() 112 if (id<0) return x - x*(s1+s2); in atan() [all …]
|
A D | e_exp.c | 111 GET_HIGH_WORD(hx,x); in __ieee754_exp() 119 GET_LOW_WORD(lx,x); in __ieee754_exp() 121 return x+x; /* NaN */ in __ieee754_exp() 143 x = hi - lo; in __ieee754_exp() 146 if(huge+x>one) return one+x;/* trigger inexact */ in __ieee754_exp() 151 t = x*x; in __ieee754_exp() 153 if(k==0) return one-((x*c)/(c-2.0)-x); in __ieee754_exp() 172 double exp(double x) in exp() argument 180 if (isfinite(x)) { in exp() 182 return __kernel_standard(x, x, 6); /* exp overflow */ in exp() [all …]
|