/AliOS-Things-master/components/SDL2/src/dynapi/ |
A D | SDL_dynapi_procs.h | 85 SDL_DYNAPI_PROC(int,SDL_Init,(Uint32 a),(a),return) 87 SDL_DYNAPI_PROC(void,SDL_QuitSubSystem,(Uint32 a),(a),) 115 SDL_DYNAPI_PROC(void,SDL_PauseAudio,(int a),(a),) 118 SDL_DYNAPI_PROC(void,SDL_FreeWAV,(Uint8 *a),(a),) 151 SDL_DYNAPI_PROC(void,SDL_FlushEvent,(Uint32 a),(a),) 408 SDL_DYNAPI_PROC(void,SDL_free,(void *a),(a),) 412 SDL_DYNAPI_PROC(int,SDL_abs,(int a),(a),return) 413 SDL_DYNAPI_PROC(int,SDL_isdigit,(int a),(a),return) 414 SDL_DYNAPI_PROC(int,SDL_isspace,(int a),(a),return) 515 SDL_DYNAPI_PROC(void,SDL_Delay,(Uint32 a),(a),) [all …]
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | unpack1.py | 3 a, = 1, ; print(a) variable 4 a, b = 2, 3 ; print(a, b) variable 7 a, = range(1); print(a) variable 8 a, b = range(2); print(a, b) variable 11 (a) = range(1); print(a) 12 (a,) = range(1); print(a) 20 [a] = range(1); print(a) 26 *a, = () ; print(a) 27 *a, = 4, ; print(a) 28 *a, = 5, 6 ; print(a) [all …]
|
A D | int_intbig.py | 5 print(a) 20 a += b 21 print(a) 28 a %= b 30 a ^= b 32 a |= b 34 a &= b 36 a <<= 5 38 a >>= 1 43 b = a [all …]
|
A D | int_big_and.py | 6 print(a & (1 << 80)) 12 print(a & -1) 13 print(a & -2) 15 print(a & (-a)) 16 print(a & (-a - 1)) 17 print(a & (-a + 1)) 21 print(-1 & a) 22 print(-2 & a) 24 print((-a) & a) 27 print((-a) & 2) [all …]
|
A D | int_big_or.py | 4 print(a | (1 << 200)) 13 print(a | (1 << 100)) 14 print(a | (1 << 200)) 15 print(a | a == 0) 16 print(bool(a | a)) 25 print((-a) | a == 0) 26 print(bool((-a) | a)) 35 print(a | (-a) == 0) 36 print(bool(a | (-a))) 44 print((-a) | (-a) == 0) [all …]
|
A D | io_stringio1.py | 6 a = io.StringIO() variable 9 print(a.read()) 13 print(a.read()) 14 print(a.read()) 17 a.write("foo") 21 a.write("12") 25 a.write("123") 33 a.write("foo") 38 a.write("foo") 42 a.close() [all …]
|
A D | int_big_xor.py | 8 print(a ^ (1 << 100)) 9 print(a ^ (1 << 200)) 10 print(a ^ a == 0) 11 print(bool(a ^ a)) 20 print((-a) ^ a == 0) 21 print(bool((-a) ^ a)) 30 print(a ^ (-1 << 100)) 32 print(a ^ (-a) == 0) 33 print(bool(a ^ (-a))) 41 print((-a) ^ (-a) == 0) [all …]
|
A D | int_small.py | 39 print(a) 41 print(a) 43 print(a) 45 print(a) 50 print(a) 52 print(a) 54 print(a) 56 print(a) 58 a -= 1 59 print(a) [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_anim.c | 183 if(a->time == a->act_time) { in lv_anim_path_linear() 208 if(a->time == a->act_time) in lv_anim_path_ease_in() 233 if(a->time == a->act_time) in lv_anim_path_ease_out() 258 if(a->time == a->act_time) in lv_anim_path_ease_in_out() 283 if(a->time == a->act_time) in lv_anim_path_overshoot() 307 if(a->time == a->act_time) in lv_anim_path_bounce() 363 if(a->act_time >= a->time) in lv_anim_path_step() 402 if(a->act_time > a->time) a->act_time = a->time; in anim_task() 408 if(a->exec_cb) a->exec_cb(a->var, new_value); in anim_task() 440 …if((a->repeat == 0 && a->playback == 0) || (a->repeat == 0 && a->playback == 1 && a->playback_now … in anim_ready_handler() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/gemmlowp/fixedpoint/ |
A D | fixedpoint_neon.h | 171 return vreinterpretq_s32_u32(vtstq_s32(a, a)); 221 a = vandq_s32(a, vextq_s32(a, a, 1)); 222 a = vandq_s32(a, vextq_s32(a, a, 2)); 228 a = vandq_s16(a, vextq_s16(a, a, 1)); 229 a = vandq_s16(a, vextq_s16(a, a, 2)); 230 a = vandq_s16(a, vextq_s16(a, a, 4)); 236 a = vorrq_s32(a, vextq_s32(a, a, 1)); 237 a = vorrq_s32(a, vextq_s32(a, a, 2)); 243 a = vorrq_s16(a, vextq_s16(a, a, 1)); 244 a = vorrq_s16(a, vextq_s16(a, a, 2)); [all …]
|
A D | fixedpoint_sse.h | 56 return _mm_and_si128(a, b); 66 return _mm_or_si128(a, b); 76 return _mm_xor_si128(a, b); 96 return _mm_add_epi32(a, b); 259 return _mm_testc_si128(a, a); 264 return _mm_testc_si128(a.v, a.v); 269 return !_mm_testz_si128(a, a); 274 return !_mm_testz_si128(a.v, a.v); 295 sum = Add(a, b); 325 saturation_mask = BitAnd(MaskIfEqual(a, b), MaskIfEqual(a, min)); [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/ |
A D | test_builtin.js | 72 a.x = 1; 81 a.z = 5; 96 a = {}; 143 assert(a.length === 2 && a[0] === 1 && a[1] === 2, true, "array3"); 147 assert(a.length === 2 && a[0] === 1 && a[1] === 2, true, "array4"); 177 var a; 494 assert(a.index === 2 && a[0] === "."); 500 assert(a.index === 1 && a[0] === "" && a[1] === "aaa"); 524 assert(a == a); 525 assert(a === a); [all …]
|
A D | test_op_overloading.js | 91 assert(a == a, true); 93 assert(a != a, false); 98 assert(a <= a, true); 99 assert(a >= a, true); 101 assert(a.x === 2 && a.y === 3); 103 assert(a.x === 3 && a.y === 4); 182 assert(a == a, true); 184 assert(a != a, false); 189 assert(a <= a, true); 190 assert(a >= a, true); [all …]
|
A D | test_language.js | 25 var r, a; 128 a = 1; 132 a = 1; 136 a = 1; 140 a = 1; 145 a.x++; 149 a.x--; 153 a[0]++; 191 a = {}; 226 a = { f() { delete super.a; } }; class in test_delete [all …]
|
/AliOS-Things-master/components/py_engine/tests/cmdline/ |
A D | cmd_showbc.py | 8 a = 0 9 a = 1000 13 a = 1 26 l = -a 45 a, *a = a 48 a, b = b, a 49 a, b, c = c, b, a 52 del a 65 a() 66 a(1) [all …]
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11sym.h | 36 SDL_X11_SYM(int,XAutoRepeatOn,(Display* a),(a),return) 37 SDL_X11_SYM(int,XAutoRepeatOff,(Display* a),(a),return) 62 SDL_X11_SYM(int,XFlush,(Display* a),(a),return) 63 SDL_X11_SYM(int,XFree,(void*a),(a),return) 70 SDL_X11_SYM(void,XFreeStringList,(char** a),(a),) 104 SDL_X11_SYM(int,XPending,(Display* a),(a),return) 154 SDL_X11_SYM(void,_XFlush,(Display* a),(a),) 198 SDL_X11_SYM(void,XDestroyIC,(XIC a),(a),) 200 SDL_X11_SYM(void,XSetICFocus,(XIC a),(a),) 201 SDL_X11_SYM(void,XUnsetICFocus,(XIC a),(a),) [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | qjscalc.js | 254 a = (a * a) % m; 400 a = -a; 411 a = Fraction(a); 416 a = Fraction(a); 421 a = Fraction(a); 426 a = Fraction(a); 436 a = Fraction(a); 442 a = Fraction(a); 471 a = Float(a); 963 a = [a]; [all …]
|
/AliOS-Things-master/components/py_engine/engine/lib/littlefs/ |
A D | lfs2_util.h | 98 return (a > b) ? a : b; in lfs2_max() 102 return (a < b) ? a : b; in lfs2_min() 107 return a - (a % alignment); in lfs2_aligndown() 121 a -= 1; in lfs2_npw2() 122 s = (a > 0xffff) << 4; a >>= s; r |= s; in lfs2_npw2() 123 s = (a > 0xff ) << 3; a >>= s; r |= s; in lfs2_npw2() 124 s = (a > 0xf ) << 2; a >>= s; r |= s; in lfs2_npw2() 125 s = (a > 0x3 ) << 1; a >>= s; r |= s; in lfs2_npw2() 136 return lfs2_npw2((a & -a) + 1) - 1; in lfs2_ctz() 145 a = a - ((a >> 1) & 0x55555555); in lfs2_popc() [all …]
|
A D | lfs1_util.h | 83 return (a > b) ? a : b; in lfs1_max() 87 return (a < b) ? a : b; in lfs1_min() 97 a -= 1; in lfs1_npw2() 98 s = (a > 0xffff) << 4; a >>= s; r |= s; in lfs1_npw2() 99 s = (a > 0xff ) << 3; a >>= s; r |= s; in lfs1_npw2() 100 s = (a > 0xf ) << 2; a >>= s; r |= s; in lfs1_npw2() 101 s = (a > 0x3 ) << 1; a >>= s; r |= s; in lfs1_npw2() 112 return lfs1_npw2((a & -a) + 1) - 1; in lfs1_ctz() 121 a = a - ((a >> 1) & 0x55555555); in lfs1_popc() 122 a = (a & 0x33333333) + ((a >> 2) & 0x33333333); in lfs1_popc() [all …]
|
/AliOS-Things-master/components/littlefs/src/littlefs-v220/include/ |
A D | lfs_util.h | 132 return (a > b) ? a : b; in lfs_max() 136 return (a < b) ? a : b; in lfs_min() 141 return a - (a % alignment); in lfs_aligndown() 155 a -= 1; in lfs_npw2() 156 s = (a > 0xffff) << 4; a >>= s; r |= s; in lfs_npw2() 157 s = (a > 0xff ) << 3; a >>= s; r |= s; in lfs_npw2() 158 s = (a > 0xf ) << 2; a >>= s; r |= s; in lfs_npw2() 159 s = (a > 0x3 ) << 1; a >>= s; r |= s; in lfs_npw2() 170 return lfs_npw2((a & -a) + 1) - 1; in lfs_ctz() 179 a = a - ((a >> 1) & 0x55555555); in lfs_popc() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/utils/ |
A D | common.h | 246 #define WPA_GET_BE16(a) ((u16) (((a)[0] << 8) | (a)[1])) argument 253 #define WPA_GET_LE16(a) ((u16) (((a)[1] << 8) | (a)[0])) argument 260 #define WPA_GET_BE24(a) ((((u32) (a)[0]) << 16) | (((u32) (a)[1]) << 8) | \ argument 269 #define WPA_GET_BE32(a) ((((u32) (a)[0]) << 24) | (((u32) (a)[1]) << 16) | \ argument 279 #define WPA_GET_LE32(a) ((((u32) (a)[3]) << 24) | (((u32) (a)[2]) << 16) | \ argument 289 #define WPA_GET_BE64(a) ((((u64) (a)[0]) << 56) | (((u64) (a)[1]) << 48) | \ argument 305 #define WPA_GET_LE64(a) ((((u64) (a)[7]) << 56) | (((u64) (a)[6]) << 48) | \ argument 403 #define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5] argument 476 return !(a[0] | a[1] | a[2] | a[3] | a[4] | a[5]); in is_zero_ether_addr() 481 return (a[0] & a[1] & a[2] & a[3] & a[4] & a[5]) == 0xff; in is_broadcast_ether_addr() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/netif/ppp/ |
A D | pppdebug.h | 54 #define MAINDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 55 #define SYSDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 56 #define FSMDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 57 #define LCPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 58 #define IPCPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 59 #define IPV6CPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 60 #define UPAPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 61 #define CHAPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 62 #define PPPDEBUG(a, b) LWIP_DEBUGF(a, b) argument 67 #define SYSDEBUG(a) argument [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/netif/ppp/ |
A D | pppdebug.h | 54 #define MAINDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 55 #define SYSDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 56 #define FSMDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 57 #define LCPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 58 #define IPCPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 59 #define IPV6CPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 60 #define UPAPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 61 #define CHAPDEBUG(a) LWIP_DEBUGF(LWIP_DBG_LEVEL_WARNING, a) argument 62 #define PPPDEBUG(a, b) LWIP_DEBUGF(a, b) argument 67 #define SYSDEBUG(a) argument [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/jansson/ |
A D | lookup3.h | 125 a -= c; a ^= rot(c, 4); c += b; \ 126 b -= a; b ^= rot(a, 6); a += c; \ 128 a -= c; a ^= rot(c,16); c += b; \ 129 b -= a; b ^= rot(a,19); a += c; \ 161 a ^= c; a -= rot(c,11); \ 162 b ^= a; b -= rot(a,25); \ 164 a ^= c; a -= rot(c,4); \ 165 b ^= a; b -= rot(a,14); \ 230 a += k[0]; in hashlittle() 342 a += k[0]; in hashlittle() [all …]
|
/AliOS-Things-master/components/py_engine/external/unzip/src/ |
A D | adler32.c | 28 if (a >= (BASE << 16)) a -= (BASE << 16); \ 29 if (a >= (BASE << 15)) a -= (BASE << 15); \ 35 if (a >= (BASE << 9)) a -= (BASE << 9); \ 36 if (a >= (BASE << 8)) a -= (BASE << 8); \ 37 if (a >= (BASE << 7)) a -= (BASE << 7); \ 38 if (a >= (BASE << 6)) a -= (BASE << 6); \ 39 if (a >= (BASE << 5)) a -= (BASE << 5); \ 44 if (a >= BASE) a -= BASE; \ 52 if (a >= BASE) a -= BASE; \ 55 # define MOD(a) a %= BASE argument [all …]
|