Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/AliOS-Things-master/components/amp/modules/
A Dspl06.js236 tmp = (tmp << 8) | tmp_XLSB;
253 tmp = (tmp << 8) | tmp_XLSB;
278 tmp = tmp - (1<<16)
302 tmp = tmp - (1<<16)
320 tmp = (tmp << 4) | tmp_XLSB;
344 tmp = (tmp << 8) | tmp_XLSB;
365 tmp = tmp - (1<<16)
380 tmp = tmp - (1<<16)
395 tmp = tmp - (1<<16)
410 tmp = tmp - (1<<16)
[all …]
/AliOS-Things-master/components/py_engine/framework/
A Dspl06.py171 tmp = (tmp << 8) | tmp_XLSB;
185 tmp = (tmp << 8) | tmp_XLSB;
188 tmp = -((2 << 23) - tmp)
206 tmp = tmp - (1<<16)
225 tmp = tmp - (1<<16)
264 tmp = tmp - (1<<16);
274 tmp = tmp - (1<<16);
283 tmp = tmp - (1<<16);
292 tmp = tmp - (1<<16);
301 tmp = tmp - (1<<16);
[all …]
/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/
A Ddrv_baro_goertek_spl06.c147 int32_t tmp; in get_traw() local
154 tmp = (tmp << 8) | tmp_XLSB; in get_traw()
159 return tmp; in get_traw()
164 int32_t tmp; in get_praw() local
171 tmp = (tmp << 8) | tmp_XLSB; in get_praw()
176 return tmp; in get_praw()
196 return tmp; in get_c0()
215 return tmp; in get_c1()
230 tmp = (tmp << 4) | tmp_XLSB; in get_c00()
239 return tmp; in get_c00()
[all …]
/AliOS-Things-master/components/osal_aos/rhino/
A Daos_memory.c20 void *tmp = NULL; in aos_zalloc() local
33 if (tmp) { in aos_zalloc()
34 memset(tmp, 0, size); in aos_zalloc()
37 return tmp; in aos_zalloc()
42 void *tmp = NULL; in aos_malloc() local
55 return tmp; in aos_malloc()
60 void *tmp = NULL; in aos_calloc() local
74 if (tmp) { in aos_calloc()
78 return tmp; in aos_calloc()
83 void *tmp = NULL; in aos_realloc() local
[all …]
/AliOS-Things-master/kernel/rhino/
A Dk_cfs.c18 while (*tmp) { in node_insert()
20 parent = *tmp; in node_insert()
22 tmp = &((*tmp)->rbt_left); in node_insert()
24 tmp = &((*tmp)->rbt_right); in node_insert()
30 k_rbtree_link_node(&node->rbt_node, parent, tmp); in node_insert()
46 struct k_rbtree_node_t *tmp; in cfs_node_min_get() local
49 tmp = k_rbtree_first(&cfs_root); in cfs_node_min_get()
50 if (tmp == NULL) { in cfs_node_min_get()
60 struct k_rbtree_node_t *tmp; in cfs_preferred_task_get() local
64 tmp = k_rbtree_first(&cfs_root); in cfs_preferred_task_get()
[all …]
A Dk_rbtree.c35 tmp = gparent->rbt_right; in rbtree_insert()
36 if (parent != tmp) { in rbtree_insert()
37 if (tmp && K_RBTREE_IS_RED(tmp)) { in rbtree_insert()
46 tmp = parent->rbt_right; in rbtree_insert()
47 if (node == tmp) { in rbtree_insert()
50 if (tmp){ in rbtree_insert()
62 if (tmp){ in rbtree_insert()
70 if (tmp && K_RBTREE_IS_RED(tmp)) { in rbtree_insert()
80 if (node == tmp) { in rbtree_insert()
83 if (tmp){ in rbtree_insert()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dpicture_rescale_enc.c128 WebPPicture tmp; in WebPPictureCrop() local
134 tmp.width = width; in WebPPictureCrop()
142 tmp.y, tmp.y_stride, width, height); in WebPPictureCrop()
144 tmp.u, tmp.uv_stride, HALVE(width), HALVE(height)); in WebPPictureCrop()
146 tmp.v, tmp.uv_stride, HALVE(width), HALVE(height)); in WebPPictureCrop()
151 tmp.a, tmp.a_stride, width, height); in WebPPictureCrop()
160 *pic = tmp; in WebPPictureCrop()
199 WebPPicture tmp; in WebPPictureRescale() local
226 tmp.a, width, height, tmp.a_stride, work, 1); in WebPPictureRescale()
233 tmp.y, width, height, tmp.y_stride, work, 1); in WebPPictureRescale()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/
A Dcheck_tag.c37 uint16 tmp = 123; in CheckShortField() local
39 if (!TIFFGetField(tif, field, &tmp)) { in CheckShortField()
44 if (tmp != value) { in CheckShortField()
56 uint16 tmp[2] = { 123, 456 }; in CheckShortPairedField() local
58 if (!TIFFGetField(tif, field, tmp, tmp + 1)) { in CheckShortPairedField()
63 if (tmp[0] != values[0] || tmp[1] != values[1]) { in CheckShortPairedField()
75 uint32 tmp = 123; in CheckLongField() local
77 if (!TIFFGetField(tif, field, &tmp)) { in CheckLongField()
82 if (tmp != value) { in CheckLongField()
/AliOS-Things-master/components/SDL2/src/locale/unix/
A DSDL_syslocale.c74 char *tmp; in SDL_SYS_GetPreferredLocales() local
77 tmp = SDL_small_alloc(char, buflen, &isstack); in SDL_SYS_GetPreferredLocales()
78 if (!tmp) { in SDL_SYS_GetPreferredLocales()
83 *tmp = '\0'; in SDL_SYS_GetPreferredLocales()
88 SDL_strlcpy(tmp, envr, buflen); in SDL_SYS_GetPreferredLocales()
94 if (*tmp) { in SDL_SYS_GetPreferredLocales()
95 SDL_strlcat(tmp, ":", buflen); in SDL_SYS_GetPreferredLocales()
97 SDL_strlcat(tmp, envr, buflen); in SDL_SYS_GetPreferredLocales()
100 if (*tmp == '\0') { in SDL_SYS_GetPreferredLocales()
103 normalize_locales(buf, tmp, buflen); in SDL_SYS_GetPreferredLocales()
[all …]
/AliOS-Things-master/components/mbedtls/programs/test/
A Dbenchmark.c363 memset( tmp, 0xBB, sizeof( tmp ) ); in main()
436 memset( tmp, 0, sizeof( tmp ) ); in main()
459 memset( tmp, 0, sizeof( tmp ) ); in main()
480 memset( tmp, 0, sizeof( tmp ) ); in main()
503 memset( tmp, 0, sizeof( tmp ) ); in main()
526 memset( tmp, 0, sizeof( tmp ) ); in main()
544 memset( tmp, 0, sizeof( tmp ) ); in main()
572 memset( tmp, 0, sizeof( tmp ) ); in main()
582 memset( tmp, 0, sizeof( tmp ) ); in main()
601 memset( tmp, 0, sizeof( tmp ) ); in main()
[all …]
/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_info.c44 char tmp[64] = {0x00}; in board_getDeviceInfo() local
49 ret = aos_kv_get(DEVICE_KEY_TAG, tmp, &len); in board_getDeviceInfo()
51 tmp[len] = 0x00; in board_getDeviceInfo()
52 *productKey = strdup(tmp); in board_getDeviceInfo()
60 ret = aos_kv_get(DEVICE_NAME_TAG, tmp, &len); in board_getDeviceInfo()
62 tmp[len] = 0x00; in board_getDeviceInfo()
63 *deviceName = strdup(tmp); in board_getDeviceInfo()
70 ret = aos_kv_get(DEVICE_SECRET_TAG, tmp, &len); in board_getDeviceInfo()
72 tmp[len] = 0x00; in board_getDeviceInfo()
73 *deviceSecret = strdup(tmp); in board_getDeviceInfo()
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/
A Decc.c530 tmp[0] = tmp[1] = tmp[2] = 0; in vli_mmod_fast_secp256r1()
536 carry = uECC_vli_add(tmp, tmp, tmp, NUM_ECC_WORDS); in vli_mmod_fast_secp256r1()
544 tmp[7] = 0; in vli_mmod_fast_secp256r1()
545 carry += uECC_vli_add(tmp, tmp, tmp, NUM_ECC_WORDS); in vli_mmod_fast_secp256r1()
549 tmp[0] = product[8]; in vli_mmod_fast_secp256r1()
552 tmp[3] = tmp[4] = tmp[5] = 0; in vli_mmod_fast_secp256r1()
572 tmp[3] = tmp[4] = tmp[5] = 0; in vli_mmod_fast_secp256r1()
582 tmp[4] = tmp[5] = 0; in vli_mmod_fast_secp256r1()
594 tmp[6] = 0; in vli_mmod_fast_secp256r1()
601 tmp[2] = 0; in vli_mmod_fast_secp256r1()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/
A Drtl8721dhp_sdio_host.c69 u32 tmp; in SDIOH_WaitTxDone() local
163 u32 tmp; in SDIOH_CheckBusState() local
168 if(tmp == idle_level) in SDIOH_CheckBusState()
171 if(tmp == 0) in SDIOH_CheckBusState()
203 u8 tmp; in SDIOH_SetBusWidth() local
220 u32 tmp= 0; in SDIOH_DMAConfig() local
240 tmp = SDIOH_DAT64_SEL; in SDIOH_DMAConfig()
242 tmp = SDIOH_RSP17_SEL; in SDIOH_DMAConfig()
252 tmp |= SDIOH_DMA_XFER; in SDIOH_DMAConfig()
379 tmp |= cmd_code; in SDIOH_SendCommand()
[all …]
/AliOS-Things-master/components/epoll/src/
A Drbtree_wrapper.c30 struct k_rbtree_node_t **tmp = &(root->rbt_node), *parent = NULL; in rbt_insert() local
33 while (*tmp) { in rbt_insert()
34 epoll_item_t *my = k_rbtree_entry(*tmp, epoll_item_t, tree_node); in rbt_insert()
38 parent = *tmp; in rbt_insert()
40 tmp = &((*tmp)->rbt_left); in rbt_insert()
42 tmp = &((*tmp)->rbt_right); in rbt_insert()
49 k_rbtree_link_node(&item->tree_node, parent, tmp); in rbt_insert()
/AliOS-Things-master/kernel/rhino/include/
A Dk_rbtree.h97 if (!tmp) { in rbtree_erase_augmented()
106 tmp = parent; in rbtree_erase_augmented()
112 tmp = parent; in rbtree_erase_augmented()
115 tmp = child->rbt_left; in rbtree_erase_augmented()
116 if (!tmp) { in rbtree_erase_augmented()
123 successor = tmp; in rbtree_erase_augmented()
124 tmp = tmp->rbt_left; in rbtree_erase_augmented()
125 } while (tmp); in rbtree_erase_augmented()
137 tmp = __rbtree_parent(pc); in rbtree_erase_augmented()
148 tmp = successor; in rbtree_erase_augmented()
[all …]
/AliOS-Things-master/components/cli/src/
A Dcli_console.c48 cli_console *tmp; in remove_cli_console_from_list() local
70 cli_console *tmp; in cli_console_check_is_in_list() local
93 cli_console *tmp; in get_alive_console_num() local
332 wraper_task *tmp; in cli_console_remove_task_list_node() local
341 if (tmp && tmp->task == task) { in cli_console_remove_task_list_node()
343 free(tmp); in cli_console_remove_task_list_node()
358 wraper_task *tmp; in cli_console_check_task_list_node() local
369 if (tmp && tmp->task == task) { in cli_console_check_task_list_node()
384 wraper_task *tmp; in cli_console_clear_task_list() local
393 if (tmp && tmp->task) { in cli_console_clear_task_list()
[all …]
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_provision.c194 uint8_t tmp[48]; in genie_provision_ultra_prov_recv_random() local
222 BT_DBG("string %s\n", tmp); in genie_provision_ultra_prov_recv_random()
250 memcpy(tmp, buf + 8, 8); in genie_provision_ultra_prov_recv_random()
251 memcpy(tmp + 8, buf, 8); in genie_provision_ultra_prov_recv_random()
256 BT_DBG("tmp %s\n", tmp); in genie_provision_ultra_prov_recv_random()
280 sprintf((char *)tmp + 32, "DeviceKey"); in genie_provision_ultra_prov_recv_random()
281 BT_DBG("tmp %s\n", tmp); in genie_provision_ultra_prov_recv_random()
304 memcpy(tmp, buf, 16); in genie_provision_ultra_prov_recv_random()
307 tmp[0] = p_genie_triple->mac[4]; in genie_provision_ultra_prov_recv_random()
308 tmp[1] = p_genie_triple->mac[5]; in genie_provision_ultra_prov_recv_random()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dadler32.c29 unsigned long tmp = a >> 16; \
31 a += (tmp << 4) - tmp; \
45 z_off64_t tmp = a >> 32; \
47 a += (tmp << 8) - (tmp << 5) + tmp; \
48 tmp = a >> 16; \
50 a += (tmp << 4) - tmp; \
51 tmp = a >> 16; \
53 a += (tmp << 4) - tmp; \
/AliOS-Things-master/components/littlevgl/src/lv_misc/
A Dlv_circ.c43 void lv_circ_init(lv_point_t * c, lv_coord_t * tmp, lv_coord_t radius) in lv_circ_init() argument
47 *tmp = 1 - radius; in lv_circ_init()
65 void lv_circ_next(lv_point_t * c, lv_coord_t * tmp) in lv_circ_next() argument
69 if(*tmp <= 0) { in lv_circ_next()
70 (*tmp) += 2 * c->y + 1; /*Change in decision criterion for y -> y+1*/ in lv_circ_next()
73 (*tmp) += 2 * (c->y - c->x) + 1; /*Change for y -> y+1, x -> x-1*/ in lv_circ_next()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/lightmeter/
A Dlightmeter.c32 uint16_t tmp[3]; in lightmeter_task() local
38 tmp[0] = ap3216c_read_ambient_light(); in lightmeter_task()
39 tmp[1] = ap3216c_read_ir_data(); in lightmeter_task()
40 tmp[2] = ap3216c_read_ps_data(); in lightmeter_task()
42 sprintf(als, "ALS: %d", tmp[0]); in lightmeter_task()
43 sprintf(ir, "IR : %d", tmp[1]); in lightmeter_task()
50 if ((tmp[2] >> 15) & 1) in lightmeter_task()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Denc.c120 tmp = C; in ITransformOne()
176 const int a1 = (tmp[4 + i] + tmp[ 8 + i]); in FTransform_C()
177 const int a2 = (tmp[4 + i] - tmp[ 8 + i]); in FTransform_C()
178 const int a3 = (tmp[0 + i] - tmp[12 + i]); in FTransform_C()
210 const int a1 = (tmp[4 + i] + tmp[12+ i]); in FTransformWHT_C()
211 const int a2 = (tmp[4 + i] - tmp[12+ i]); in FTransformWHT_C()
212 const int a3 = (tmp[0 + i] - tmp[8 + i]); in FTransformWHT_C()
607 const int a0 = tmp[0 + i] + tmp[8 + i]; in TTransform()
608 const int a1 = tmp[4 + i] + tmp[12+ i]; in TTransform()
609 const int a2 = tmp[4 + i] - tmp[12+ i]; in TTransform()
[all …]
A Dssim_sse2.c51 int32_t tmp[4]; in AccumulateSSE_SSE2() local
72 _mm_storeu_si128((__m128i*)tmp, sum); in AccumulateSSE_SSE2()
73 sse2 += (tmp[3] + tmp[2] + tmp[1] + tmp[0]); in AccumulateSSE_SSE2()
87 uint16_t tmp[8]; in HorizontalAdd16b_SSE2() local
90 _mm_storeu_si128((__m128i*)tmp, b); in HorizontalAdd16b_SSE2()
91 return (uint32_t)tmp[3] + tmp[2] + tmp[1] + tmp[0]; in HorizontalAdd16b_SSE2()
/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/ieee80211/
A Dzconfig_ieee80211.c56 return (fc & tmp) == tmp; in ieee80211_has_a4()
203 uint16_t tmp = in ieee80211_has_frags() local
206 return !!tmp; in ieee80211_has_frags()
361 const uint8_t *tmp; in cfg80211_get_bss_channel() local
365 if (tmp && tmp[1] == 1) { in cfg80211_get_bss_channel()
369 if (tmp && tmp[1] >= sizeof(struct ieee80211_ht_operation)) { in cfg80211_get_bss_channel()
612 const uint8_t *tmp; in cfg80211_get_cipher_info() local
616 if (tmp && tmp[1]) { in cfg80211_get_cipher_info()
617 ret = cfg80211_parse_wpa2_info(tmp, tmp[1] + 2, &group_cipher, in cfg80211_get_cipher_info()
629 if (tmp) { in cfg80211_get_cipher_info()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dtiffmedian.c655 tmp = MAX_COLOR/C_LEN-1 - tmp; in create_colorcell()
656 dist = tmp*tmp; in create_colorcell()
660 dist += tmp*tmp; in create_colorcell()
664 dist += tmp*tmp; in create_colorcell()
680 dist += tmp*tmp; in create_colorcell()
683 dist += tmp*tmp; in create_colorcell()
686 dist += tmp*tmp; in create_colorcell()
744 d2 += tmp*tmp; in map_colortable()
746 d2 += tmp*tmp; in map_colortable()
867 d2 += tmp*tmp; in quant_fsdither()
[all …]
/AliOS-Things-master/components/trace/Config/
A DSEGGER_SYSVIEW_AliOSThings.c69 klist_t *tmp; in _cbSendTaskList() local
73 for (tmp = taskhead->next; tmp != taskend; tmp = tmp->next) { in _cbSendTaskList()
74 task = krhino_list_entry(tmp, ktask_t, task_stats_item); in _cbSendTaskList()

Completed in 66 milliseconds

12345678910>>...15