/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/ |
A D | byteorder.h | 171 #define sys_le16_to_cpu(val) (val) argument 172 #define sys_cpu_to_le16(val) (val) argument 173 #define sys_le24_to_cpu(val) (val) argument 174 #define sys_cpu_to_le24(val) (val) argument 175 #define sys_le32_to_cpu(val) (val) argument 176 #define sys_cpu_to_le32(val) (val) argument 177 #define sys_le48_to_cpu(val) (val) argument 178 #define sys_cpu_to_le48(val) (val) argument 179 #define sys_le64_to_cpu(val) (val) argument 180 #define sys_cpu_to_le64(val) (val) argument [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/ |
A D | hal_btpcmip.h | 22 uint32_t val = 0; in btpcmip_w_enable_btpcmip() local 35 uint32_t val = 0; in btpcmip_flush_rx_fifo() local 47 uint32_t val = 0; in btpcmip_flush_tx_fifo() local 65 uint32_t val = 0; in btpcmip_w_shortsync() local 76 uint32_t val = 0; in btpcmip_w_length() local 85 uint32_t val = 0; in btpcmip_w_slot_sel() local 88 val |= v; in btpcmip_w_slot_sel() 94 uint32_t val = 0; in btpcmip_pcm_clk_open_en() local 103 uint32_t val = 0; in btpcmip_w_mask1mask2() local 115 uint32_t val = 0; in btpcmip_w_signextin() local [all …]
|
A D | hal_i2cip.h | 22 uint32_t val = 0; in i2cip_w_enable() local 38 uint32_t val = 0; in i2cip_w_10bit_master() local 53 uint32_t val = 0; in i2cip_w_10bit_slave() local 64 uint32_t val = 0; in i2cip_w_restart() local 75 uint32_t val = 0; in i2cip_w_speed() local 78 val |= speed; in i2cip_w_speed() 84 uint32_t val = 0; in i2cip_w_standard_speed_hcnt() local 91 uint32_t val = 0; in i2cip_w_fast_speed_hcnt() local 178 val = mask; in i2cip_init_int_mask() 186 val |= mask; in i2cip_set_int_mask() [all …]
|
A D | hal_spdifip.h | 22 uint32_t val = 0; in spdifip_w_enable_spdifip() local 52 uint32_t val = 0; in spdifip_w_sample_en() local 64 uint32_t val = 0; in spdifip_w_enable_rx() local 76 uint32_t val = 0; in spdifip_w_rx_format_cfg_reg() local 105 uint32_t val = 0; in spdifip_w_enable_tx() local 117 uint32_t val = 0; in spdifip_w_tx_valid() local 130 uint32_t val = 0; in spdifip_w_tx_ratio() local 141 uint32_t val = 0; in spdifip_w_tx_chnst_en() local 152 uint32_t val = 0; in spdifip_w_tx_userdata_en() local 163 uint32_t val = 0; in spdifip_w_tx_format_cfg_reg() local [all …]
|
A D | hal_psramip_v1.h | 61 uint32_t val = 0; in psramip_w_exit_sleep() local 71 uint32_t val = 0; in psramip_w_wrap_mode_enable() local 78 val |= (PSRIP_KEY); in psramip_w_wrap_mode_enable() 85 uint32_t val = 0; in psramip_w_1kwrap_mode() local 96 uint32_t val = 0; in psramip_w_32bytewrap_mode() local 108 uint32_t val = 0; in psramip_w_dqs_wr_sel() local 118 uint32_t val = 0; in psramip_w_dqs_rd_sel() local 128 uint32_t val = 0; in psramip_w_enable_and_trigger_calib() local 137 uint32_t val = 0; 145 uint32_t val = 0; [all …]
|
A D | hal_i2sip.h | 22 uint32_t val = 0; in i2sip_w_enable_i2sip() local 26 val |= I2SIP_ENABLE_REG_I2S_ENABLE_MASK; in i2sip_w_enable_i2sip() 28 val &= ~I2SIP_ENABLE_REG_I2S_ENABLE_MASK; in i2sip_w_enable_i2sip() 35 uint32_t val = 0; in i2sip_w_enable_slave_mode() local 39 val |= I2SIP_ENABLE_REG_SLAVE_MODE_MASK; in i2sip_w_enable_slave_mode() 130 uint32_t val = 0; in i2sip_w_enable_tx_dma() local 133 val |= I2SIP_DMA_CTRL_TX_ENABLE_MASK; in i2sip_w_enable_tx_dma() 141 uint32_t val = 0; in i2sip_w_enable_rx_dma() local 153 uint32_t val = 0; in i2sp_w_enable_rx_dma_block() local 164 uint32_t val = 0; in i2sip_w_rx_dma_blk_size() local [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/arm/ |
A D | filter_neon_intrinsics.c | 93 vdest.val[0] = vadd_u8(vdest.val[3], vrp.val[0]); in png_read_filter_row_sub3_neon() 138 vdest.val[0] = vadd_u8(vdest.val[3], vrp.val[0]); in png_read_filter_row_sub4_neon() 139 vdest.val[1] = vadd_u8(vdest.val[0], vrp.val[1]); in png_read_filter_row_sub4_neon() 140 vdest.val[2] = vadd_u8(vdest.val[1], vrp.val[2]); in png_read_filter_row_sub4_neon() 141 vdest.val[3] = vadd_u8(vdest.val[2], vrp.val[3]); in png_read_filter_row_sub4_neon() 184 vdest.val[0] = vhadd_u8(vdest.val[3], vpp.val[0]); in png_read_filter_row_avg3_neon() 185 vdest.val[0] = vadd_u8(vdest.val[0], vrp.val[0]); in png_read_filter_row_avg3_neon() 247 vdest.val[0] = vadd_u8(vdest.val[0], vrp.val[0]); in png_read_filter_row_avg4_neon() 386 vdest.val[1] = paeth(vdest.val[0], vpp.val[1], vpp.val[0]); in png_read_filter_row_paeth4_neon() 388 vdest.val[2] = paeth(vdest.val[1], vpp.val[2], vpp.val[1]); in png_read_filter_row_paeth4_neon() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/ |
A D | neon.h | 54 row01.val[0] = vreinterpretq_u64_s32(rows.val[0]); in Transpose4x4_NEON() 55 row01.val[1] = vreinterpretq_u64_s32(rows.val[1]); in Transpose4x4_NEON() 56 row23.val[0] = vreinterpretq_u64_s32(rows.val[2]); in Transpose4x4_NEON() 57 row23.val[1] = vreinterpretq_u64_s32(rows.val[3]); in Transpose4x4_NEON() 64 row01.val[0] = vcombine_u64(vget_low_u64(row01.val[0]), row2l); in Transpose4x4_NEON() 65 row23.val[0] = vcombine_u64(row0h, vget_high_u64(row23.val[0])); in Transpose4x4_NEON() 66 row01.val[1] = vcombine_u64(vget_low_u64(row01.val[1]), row3l); in Transpose4x4_NEON() 75 out.val[0] = out01.val[0]; in Transpose4x4_NEON() 76 out.val[1] = out01.val[1]; in Transpose4x4_NEON() 77 out.val[2] = out23.val[0]; in Transpose4x4_NEON() [all …]
|
A D | enc_neon.c | 93 *out = vzipq_s16(tmp0.val[0], tmp0.val[1]); in Transpose8x2_NEON() 128 Add4x4_NEON(rows.val[0], rows.val[1], ref, dst); in ITransformOne_NEON() 514 const int32x4_t a0 = vaddl_s16(in.val[0], in.val[2]); in FTransformWHT_NEON() 515 const int32x4_t a1 = vaddl_s16(in.val[1], in.val[3]); in FTransformWHT_NEON() 516 const int32x4_t a2 = vsubl_s16(in.val[1], in.val[3]); in FTransformWHT_NEON() 517 const int32x4_t a3 = vsubl_s16(in.val[0], in.val[2]); in FTransformWHT_NEON() 529 const int32x4_t a0 = vaddq_s32(tmp1.val[0], tmp1.val[2]); in FTransformWHT_NEON() 575 q4_in.val[0] = vreinterpretq_s16_s32(q2_tmp2.val[0]); in DistoTranspose4x4S16_NEON() 576 q4_in.val[2] = vreinterpretq_s16_s32(q2_tmp2.val[1]); in DistoTranspose4x4S16_NEON() 577 q4_in.val[1] = vreinterpretq_s16_s32(q2_tmp3.val[0]); in DistoTranspose4x4S16_NEON() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/DSP/Include/ |
A D | arm_math_memory.h | 78 q31_t val; in read_q15x2() local 86 return (val); in read_q15x2() 97 q31_t val; in read_q15x2_ia() local 106 return (val); in read_q15x2_ia() 117 q31_t val; in read_q15x2_da() local 126 return (val); in read_q15x2_da() 139 q31_t val = value; in write_q15x2_ia() local 179 q31_t val; in read_q7x4_ia() local 190 return (val); in read_q7x4_ia() 201 q31_t val; in read_q7x4_da() local [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/DSP/Include/ |
A D | arm_math_memory.h | 78 q31_t val; in read_q15x2() local 86 return (val); in read_q15x2() 97 q31_t val; in read_q15x2_ia() local 106 return (val); in read_q15x2_ia() 117 q31_t val; in read_q15x2_da() local 126 return (val); in read_q15x2_da() 139 q31_t val = value; in write_q15x2_ia() local 179 q31_t val; in read_q7x4_ia() local 190 return (val); in read_q7x4_ia() 201 q31_t val; in read_q7x4_da() local [all …]
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | binary.c | 148 mp_int_t val = 0; in mp_binary_get_val_array() local 207 val = -1; in mp_binary_get_int() 210 val <<= 8; in mp_binary_get_int() 211 val |= *src; in mp_binary_get_int() 215 return val; in mp_binary_get_int() 246 } fpu = {val}; in mp_binary_get_val() 251 } fpu = {val}; in mp_binary_get_val() 255 if ((long long)MP_SMALL_INT_MIN <= val && val <= (long long)MP_SMALL_INT_MAX) { in mp_binary_get_val() 304 mp_uint_t val; in mp_binary_set_val() local 315 val = fp_sp.i; in mp_binary_set_val() [all …]
|
A D | objint_longlong.c | 63 long long val = self->val; in mp_obj_int_to_bytes_impl() local 67 *--b = val; in mp_obj_int_to_bytes_impl() 68 val >>= 8; in mp_obj_int_to_bytes_impl() 72 *buf++ = val; in mp_obj_int_to_bytes_impl() 73 val >>= 8; in mp_obj_int_to_bytes_impl() 84 val = self->val; in mp_obj_int_sign() 86 if (val < 0) { in mp_obj_int_sign() 119 self->val = -self->val; in mp_obj_int_unary_op() 248 o->val = val; in mp_obj_new_int_from_ll() 259 o->val = val; in mp_obj_new_int_from_ull() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/common/api/ |
A D | co_math.h | 49 #define CO_ALIGN4_HI(val) (((val)+3)&~3) argument 59 #define CO_ALIGN4_LO(val) ((val)&~3) argument 68 #define CO_ALIGN2_HI(val) (((val)+1)&~1) argument 78 #define CO_ALIGN2_LO(val) ((val)&~1) argument 92 __STATIC __INLINE uint32_t co_clz(uint32_t val) in co_clz() argument 95 return __builtin_clz(val); in co_clz() 97 if (val == 0) in co_clz() 101 return __builtin_clz(val); in co_clz() 106 if (val & CO_BIT(31 - i)) in co_clz() 185 __STATIC __INLINE int co_abs(int val) in co_abs() argument [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/ |
A D | dwc_otg_core_if.h | 98 int32_t val); 348 int32_t val); 353 int32_t val); 415 int32_t val); 423 int32_t val); 431 int32_t val); 439 int32_t val); 447 int32_t val); 455 int32_t val); 463 int32_t val); [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | uuid.c | 27 .val = { BT_UUID_128_ENCODE( 36 sys_put_le16(BT_UUID_16(src)->val, in uuid_to_uuid128() 37 &dst->val[UUID_16_BASE_OFFSET]); in uuid_to_uuid128() 41 sys_put_le32(BT_UUID_32(src)->val, in uuid_to_uuid128() 42 &dst->val[UUID_16_BASE_OFFSET]); in uuid_to_uuid128() 57 return memcmp(uuid1.val, uuid2.val, 16); in uuid128_cmp() 69 return (int)BT_UUID_16(u1)->val - (int)BT_UUID_16(u2)->val; in bt_uuid_cmp() 71 return (int)BT_UUID_32(u1)->val - (int)BT_UUID_32(u2)->val; in bt_uuid_cmp() 73 return memcmp(BT_UUID_128(u1)->val, BT_UUID_128(u2)->val, 16); in bt_uuid_cmp() 85 BT_UUID_16(uuid)->val = sys_get_le16(data); in bt_uuid_create() [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/port/core/ |
A D | buf.c | 907 *u8 = val; in net_buf_simple_add_u8() 916 sys_put_le16(val, net_buf_simple_add(buf, sizeof(val))); in net_buf_simple_add_le16() 923 sys_put_be16(val, net_buf_simple_add(buf, sizeof(val))); in net_buf_simple_add_be16() 944 sys_put_le32(val, net_buf_simple_add(buf, sizeof(val))); in net_buf_simple_add_le32() 1011 *data = val; in net_buf_simple_push_u8() 1096 u8_t val; in net_buf_simple_pull_u8() local 1101 return val; in net_buf_simple_pull_u8() 1106 u16_t val; in net_buf_simple_pull_le16() local 1116 u16_t val; in net_buf_simple_pull_be16() local 1194 u64_t val; in net_buf_simple_pull_le64() local [all …]
|
/AliOS-Things-master/components/linkkit/iot_coap/server/ |
A D | CoAPPlatform.c | 12 unsigned int val = 0; in platform_aton() local 26 val = 0; in platform_aton() 39 val = (val * base) + (int)(c - '0'); in platform_aton() 42 val = (val << 4) | (int)(c + 10 - (islower(c) ? 'a' : 'A')); in platform_aton() 57 *pp++ = val; in platform_aton() 78 if (val > 0xffffffUL) in platform_aton() 80 val |= parts[0] << 24; in platform_aton() 83 if (val > 0xffff) in platform_aton() 85 val |= (parts[0] << 24) | (parts[1] << 16); in platform_aton() 88 if (val > 0xff) in platform_aton() [all …]
|
/AliOS-Things-master/components/posix/src/ |
A D | enviro.c | 180 char *val = NULL; in getenv() local 202 return val; in getenv() 347 long val = 0; in sysconf() local 357 val = _POSIX_VERSION; in sysconf() 363 val = _POSIX_FSYNC; in sysconf() 385 val = 1; in sysconf() 387 val = 0; in sysconf() 397 val = _POSIX_TIMERS; in sysconf() 433 val = _POSIX_SPAWN; in sysconf() 448 val = -1; in sysconf() [all …]
|
/AliOS-Things-master/components/jsoncpp/src/test_lib_json/ |
A D | main.cpp | 543 Json::Value val; in JSONTEST_FIXTURE_LOCAL() local 649 val = Json::Value(0); in JSONTEST_FIXTURE_LOCAL() 677 val = Json::Value(0u); in JSONTEST_FIXTURE_LOCAL() 705 val = Json::Value(0.0); in JSONTEST_FIXTURE_LOCAL() 733 val = Json::Value(1 << 20); in JSONTEST_FIXTURE_LOCAL() 1281 Json::Value val; in JSONTEST_FIXTURE_LOCAL() local 1284 val = Json::Value(1.5); in JSONTEST_FIXTURE_LOCAL() 1312 val = Json::Value(-1.5); in JSONTEST_FIXTURE_LOCAL() 1841 Json::Value val; // fill val in JSONTEST_FIXTURE_LOCAL() local 1857 val.swapPayload(other); in JSONTEST_FIXTURE_LOCAL() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/ |
A D | rdswitch.c | 45 register long val; in read_text_integer() local 61 val = ch - '0'; in read_text_integer() 65 val *= 10; in read_text_integer() 66 val += ch - '0'; in read_text_integer() 68 *result = val; in read_text_integer() 88 long val; in read_quant_tables() local 179 long val; in read_scan_script() local 215 scanptr->Ss = (int) val; in read_scan_script() 218 scanptr->Se = (int) val; in read_scan_script() 221 scanptr->Ah = (int) val; in read_scan_script() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/rtc/ |
A D | module_rtc.c | 87 JSValue val; in native_rtc_set_time() local 107 if (JS_IsException(val) || JS_IsUndefined(val)) in native_rtc_set_time() 121 JS_FreeValue(ctx, val); in native_rtc_set_time() 125 if (JS_IsException(val) || JS_IsUndefined(val)) in native_rtc_set_time() 140 JS_FreeValue(ctx, val); in native_rtc_set_time() 144 if (JS_IsException(val) || JS_IsUndefined(val)) in native_rtc_set_time() 159 JS_FreeValue(ctx, val); in native_rtc_set_time() 163 if (JS_IsException(val) || JS_IsUndefined(val)) in native_rtc_set_time() 178 JS_FreeValue(ctx, val); in native_rtc_set_time() 182 if (JS_IsException(val) || JS_IsUndefined(val)) in native_rtc_set_time() [all …]
|
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_option.c | 69 option->no_auto_window_update = val; in nghttp2_option_set_no_auto_window_update() 73 uint32_t val) in nghttp2_option_set_peer_max_concurrent_streams() argument 76 option->peer_max_concurrent_streams = val; in nghttp2_option_set_peer_max_concurrent_streams() 82 option->no_recv_client_magic = val; in nghttp2_option_set_no_recv_client_magic() 88 option->no_http_messaging = val; in nghttp2_option_set_no_http_messaging() 95 option->max_reserved_remote_streams = val; in nghttp2_option_set_max_reserved_remote_streams() 130 option->no_auto_ping_ack = val; in nghttp2_option_set_no_auto_ping_ack() 134 size_t val) in nghttp2_option_set_max_send_header_block_length() argument 137 option->max_send_header_block_length = val; in nghttp2_option_set_max_send_header_block_length() 144 option->max_deflate_dynamic_table_size = val; in nghttp2_option_set_max_deflate_dynamic_table_size() [all …]
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | string_format_modulo_int.py | 34 for val in (-12, 12): 35 print(">%8.4d<" % val) 36 print(">% 8.4d<" % val) 37 print(">%+8.4d<" % val) 38 print(">%08.4d<" % val) 39 print(">%-8.4d<" % val) 40 print(">%-08.4d<" % val) 41 print(">%-+08.4d<" % val) 46 for val in (-1, 0, 1): 47 print(('%+' + pad + str(n) + 'd') % val)
|
/AliOS-Things-master/components/csi/csi2/include/drv/ |
A D | io.h | 30 (((val) << PER_REG_FIELD##_SHIFT) & PER_REG_FIELD##_MASK) 39 | HAL_FMK(PER_REG_FIELD, val)) 68 static inline void putreg8(uint8_t val, volatile void *addr) in putreg8() argument 70 *(volatile uint8_t *)addr = val; in putreg8() 78 static inline void putreg16(uint16_t val, volatile void *addr) in putreg16() argument 80 *(volatile uint16_t *)addr = val; in putreg16() 88 static inline void putreg32(uint32_t val, volatile void *addr) in putreg32() argument 90 *(volatile uint32_t *)addr = val; in putreg32() 100 *(volatile uint64_t *)addr = val; in putreg64() 108 static inline void outl(uint32_t val, void *addr) in outl() argument [all …]
|