Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 826) sorted by relevance

12345678910>>...34

/AliOS-Things-master/components/linkkit/dev_sign/
A Ddev_sign_mqtt.c70 memcpy(clientid_string, device_id, strlen(device_id)); in _sign_get_clientid()
71 memcpy(clientid_string + strlen(clientid_string), "|", 1); in _sign_get_clientid()
87 memcpy(clientid_string + strlen(clientid_string), "=", 1); in _sign_get_clientid()
126 memcpy(signsource, "clientId", strlen("clientId")); in _iotx_generate_sign_string()
133 memcpy(signsource + strlen(signsource), TIMESTAMP_VALUE, in _iotx_generate_sign_string()
159 memcpy(signsource, "clientId", strlen("clientId")); in _iotx_generate_sign_string()
166 memcpy(signsource + strlen(signsource), TIMESTAMP_VALUE, in _iotx_generate_sign_string()
192 memcpy(device_id + strlen(device_id), ".", strlen(".")); in IOT_Sign_MQTT()
193 memcpy(device_id + strlen(device_id), meta->device_name, in IOT_Sign_MQTT()
223 memcpy(signout->hostname, g_infra_mqtt_domain[region], in IOT_Sign_MQTT()
[all …]
/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/
A Dconnect_ap.c23 memcpy(buff + org_token_len, bssid, bssid_len); in awss_complete_token()
27 memcpy(buff + org_token_len, token_in, token_len); in awss_complete_token()
31 memcpy(buff + org_token_len, passwd, pwd_len); in awss_complete_token()
36 memcpy(token_out, gen_token, AWSS_TOKEN_LEN); in awss_complete_token()
39 memcpy(token_out, token_in, AWSS_TOKEN_LEN); in awss_complete_token()
67 memcpy(final_bssid, zc_bssid, 6); in awss_connect()
72 memcpy(final_bssid, bssid, 6); in awss_connect()
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_triple.c31 memcpy(data, p_pid, GENIE_TRIPLE_PID_SIZE); in genie_triple_write()
32 memcpy(data + GENIE_TRIPLE_PID_SIZE, p_key, GENIE_TRIPLE_KEY_SIZE); in genie_triple_write()
33 memcpy(data + GENIE_TRIPLE_PID_SIZE + GENIE_TRIPLE_KEY_SIZE, p_mac, GENIE_TRIPLE_MAC_SIZE); in genie_triple_write()
36memcpy(data + GENIE_TRIPLE_PID_SIZE + GENIE_TRIPLE_KEY_SIZE + GENIE_TRIPLE_MAC_SIZE, (unsigned cha… in genie_triple_write()
109 memcpy(p_pid, data, GENIE_TRIPLE_PID_SIZE); in genie_triple_read()
110 memcpy(p_key, data + GENIE_TRIPLE_PID_SIZE, GENIE_TRIPLE_KEY_SIZE); in genie_triple_read()
111 memcpy(p_mac, data + GENIE_TRIPLE_PID_SIZE + GENIE_TRIPLE_KEY_SIZE, GENIE_TRIPLE_MAC_SIZE); in genie_triple_read()
149 memcpy(p_pid, &pid, GENIE_TRIPLE_PID_SIZE); in genie_triple_read()
150 memcpy(p_key, device_secret, GENIE_TRIPLE_KEY_SIZE); in genie_triple_read()
151 memcpy(p_mac, mac, GENIE_TRIPLE_MAC_SIZE); in genie_triple_read()
/AliOS-Things-master/components/mqtt/example/
A Daiot_mqtt_sign.c53 memcpy(deviceId, deviceName, strlen(deviceName)); in aiotMqttSign()
54 memcpy(deviceId + strlen(deviceId), "&", strlen("&")); in aiotMqttSign()
58 memcpy(clientId, deviceId, strlen(deviceId)); in aiotMqttSign()
63 memcpy(username, deviceId, strlen(deviceId)); in aiotMqttSign()
67 memcpy(macSrc, "clientId", strlen("clientId")); in aiotMqttSign()
68 memcpy(macSrc + strlen(macSrc), deviceId, strlen(deviceId)); in aiotMqttSign()
70 memcpy(macSrc + strlen(macSrc), deviceName, strlen(deviceName)); in aiotMqttSign()
271 memcpy((void *)(ctx->buffer + left), input, fill); in utils_sha256_update()
285 memcpy((void *)(ctx->buffer + left), input, ilen); in utils_sha256_update()
357 memcpy(k_ipad, key, key_len); in utils_hmac_sha256()
[all …]
/AliOS-Things-master/components/linkkit/dynamic_register/
A Ddynreg.c138 memcpy(random, "8Ygb7ULYh53B6OA", strlen("8Ygb7ULYh53B6OA")); in _calc_dynreg_sign()
268 memcpy(device_secret, &response_payload[data_start + 1 + start], in _fetch_dynreg_http_resp()
357 memcpy(signsource, "deviceName", strlen("deviceName")); in _mqtt_dynreg_sign_password()
358 memcpy(signsource + strlen(signsource), meta_info->device_name, in _mqtt_dynreg_sign_password()
361 memcpy(signsource + strlen(signsource), meta_info->product_key, in _mqtt_dynreg_sign_password()
364 memcpy(signsource + strlen(signsource), rand, strlen(rand)); in _mqtt_dynreg_sign_password()
388 memcpy(signout->clientid, meta_info->product_key, in _mqtt_dynreg_sign_clientid()
391 memcpy(signout->clientid + strlen(signout->clientid), in _mqtt_dynreg_sign_clientid()
393 memcpy(signout->clientid + strlen(signout->clientid), clientid1, in _mqtt_dynreg_sign_clientid()
463 memcpy(signout.hostname, g_infra_mqtt_domain[region], in _mqtt_dynamic_register()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/DSP/Include/
A Darm_math_memory.h81 memcpy (&val, pQ15, 4); in read_q15x2()
100 memcpy (&val, *pQ15, 4); in read_q15x2_ia()
120 memcpy (&val, *pQ15, 4); in read_q15x2_da()
141 memcpy (*pQ15, &val, 4); in write_q15x2_ia()
163 memcpy (pQ15, &val, 4); in write_q15x2()
183 memcpy (&val, *pQ7, 4); in read_q7x4_ia()
203 memcpy (&val, *pQ7, 4); in read_q7x4_da()
224 memcpy (*pQ7, &val, 4); in write_q7x4_ia()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/DSP/Include/
A Darm_math_memory.h81 memcpy (&val, pQ15, 4); in read_q15x2()
100 memcpy (&val, *pQ15, 4); in read_q15x2_ia()
120 memcpy (&val, *pQ15, 4); in read_q15x2_da()
141 memcpy (*pQ15, &val, 4); in write_q15x2_ia()
163 memcpy (pQ15, &val, 4); in write_q15x2()
183 memcpy (&val, *pQ7, 4); in read_q7x4_ia()
203 memcpy (&val, *pQ7, 4); in read_q7x4_da()
224 memcpy (*pQ7, &val, 4); in write_q7x4_ia()
/AliOS-Things-master/kernel/rhino/
A Dk_ringbuf.c39 memcpy(p_ringbuf->tail, data, p_ringbuf->blk_size); in ringbuf_push()
54 memcpy(c_len, &len, RING_BUF_LEN); in ringbuf_push()
64 memcpy(p_ringbuf->tail, &c_len[0], split_len); in ringbuf_push()
73 memcpy(p_ringbuf->tail, &c_len[split_len], len_bytes); in ringbuf_push()
88 memcpy(p_ringbuf->tail, data, split_len); in ringbuf_push()
95 memcpy(p_ringbuf->tail, data, len); in ringbuf_push()
116 memcpy(pdata, p_ringbuf->head, p_ringbuf->blk_size); in ringbuf_pop()
134 memcpy(&c_len[0], p_ringbuf->head, split_len); in ringbuf_pop()
147 memcpy(&len, c_len, RING_BUF_LEN); in ringbuf_pop()
156 memcpy(pdata, p_ringbuf->head, split_len); in ringbuf_pop()
[all …]
/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/utils/
A Dawss_crypt.c28 memcpy(passwd_src, key, key_len); in cal_passwd()
30 memcpy(passwd_src + key_len, random, RANDOM_MAX_LEN); in cal_passwd()
35 memcpy(passwd, digest, AES128_KEY_LEN); in cal_passwd()
62 memcpy(decoded, cipher, len); in aes_decrypt_string()
70 memcpy(random, rand, sizeof(random)); in aes_decrypt_string()
81 memcpy(iv, random, sizeof(random)); in aes_decrypt_string()
89 memcpy(iv, random, sizeof(random)); in aes_decrypt_string()
/AliOS-Things-master/components/ble_host/bt_host/host/
A Duuid.c45 memcpy(dst, src, sizeof(*dst)); in uuid_to_uuid128()
93 memcpy(&BT_UUID_128(uuid)->val, data, 16); in bt_uuid_create()
115 memcpy(&tmp0, &BT_UUID_128(uuid)->val[0], sizeof(tmp0)); in bt_uuid_to_str()
116 memcpy(&tmp1, &BT_UUID_128(uuid)->val[2], sizeof(tmp1)); in bt_uuid_to_str()
117 memcpy(&tmp2, &BT_UUID_128(uuid)->val[6], sizeof(tmp2)); in bt_uuid_to_str()
118 memcpy(&tmp3, &BT_UUID_128(uuid)->val[8], sizeof(tmp3)); in bt_uuid_to_str()
119 memcpy(&tmp4, &BT_UUID_128(uuid)->val[10], sizeof(tmp4)); in bt_uuid_to_str()
120 memcpy(&tmp5, &BT_UUID_128(uuid)->val[12], sizeof(tmp5)); in bt_uuid_to_str()
/AliOS-Things-master/components/csi/csi1/src/
A Ddev_ringbuf.c95 memcpy((void*)&fifo->buffer[fifo->write], (void*)datptr, writelen); in dev_ringbuf_in()
99 memcpy((void*)&fifo->buffer[fifo->write], (void*)datptr, writelen); in dev_ringbuf_in()
101 memcpy((void*)&fifo->buffer[fifo->write], (void*)datptr, tmplen); in dev_ringbuf_in()
102 memcpy((void*)fifo->buffer, (uint8_t*)datptr + tmplen, writelen - tmplen); in dev_ringbuf_in()
135 memcpy((void*)outbuf, (void*)&fifo->buffer[fifo->read], readlen); in dev_ringbuf_out()
137 memcpy((void*)outbuf,(void*)&fifo->buffer[fifo->read], tmplen); in dev_ringbuf_out()
138 memcpy((uint8_t*)outbuf + tmplen,(void*)fifo->buffer,readlen - tmplen); in dev_ringbuf_out()
/AliOS-Things-master/components/websocket/src/
A Drws_frame.c88 memcpy(frame->mask, &udata[mask_pos], 4); in rws_frame_create_with_recv_data()
146 memcpy(header, f->mask, 4); in rws_frame_create_header()
196 memcpy(header, f->mask, 4); in litews_frame_create_bin_header()
216 memcpy(frame, header, f->header_size); in rws_frame_fill_with_send_data()
220 memcpy(frame, data, data_size); in rws_frame_fill_with_send_data()
223 memcpy(mask, &f->mask, 4); in rws_frame_fill_with_send_data()
255 memcpy(frame, header, f->header_size); in litews_frame_fill_with_send_bin_data()
260 memcpy(frame, data, data_size); in litews_frame_fill_with_send_bin_data()
264 memcpy(mask, &f->mask, 4); in litews_frame_fill_with_send_bin_data()
287 memcpy(comb_data, to->data, to->data_size); in rws_frame_combine_datas()
[all …]
/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_log.c16 memcpy(buffer + strlen(buffer), "[LK-", strlen("[LK-")); in _core_log_append_code()
17 memcpy(buffer + strlen(buffer), code_str, strlen(code_str)); in _core_log_append_code()
18 memcpy(buffer + strlen(buffer), "] ", strlen("] ")); in _core_log_append_code()
62 memcpy(buffer + strlen(buffer), time, strlen(time)); in _core_log_append_date()
80 memcpy(buffer + strlen(buffer), "[", strlen("[")); in _core_log_append_prefix()
82 memcpy(buffer + strlen(buffer), "]", strlen("]")); in _core_log_append_prefix()
95 memcpy(buffer + strlen(buffer), "[", strlen("[")); in _core_log_append_prefix()
97 memcpy(buffer + strlen(buffer), "]", strlen("]")); in _core_log_append_prefix()
129 memcpy(buffer + strlen(buffer), value, copy_len); in _core_log()
137 memcpy(buffer + strlen(buffer), value, copy_len); in _core_log()
[all …]
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/
A Dctr_prng.c96 memcpy(&(temp[len]), output_block, blocklen); in tc_ctr_prng_update()
113 memcpy(ctx->V, &(temp[TC_AES_KEY_SIZE]), TC_AES_BLOCK_SIZE); in tc_ctr_prng_update()
137 memcpy(personalization_buf, personalization, len); in tc_ctr_prng_init()
142 memcpy(seed_material, entropy, sizeof seed_material); in tc_ctr_prng_init()
183 memcpy(additional_input_buf, additional_input, len); in tc_ctr_prng_reseed()
189 memcpy(seed_material, entropy, sizeof seed_material); in tc_ctr_prng_reseed()
231 memcpy(additional_input_buf, additional_input, len); in tc_ctr_prng_generate()
253 memcpy(&(out[len]), output_block, blocklen); in tc_ctr_prng_generate()
/AliOS-Things-master/hardware/chip/haas1000/hal/2ndboot/
A Dboot_ringbuffer.c74 memcpy(rb->wr_ptr, buffer, size); in boot_ringbuff_fill()
83 memcpy(rb->wr_ptr, buffer, temp); in boot_ringbuff_fill()
85 memcpy(rb->wr_ptr, buffer + temp, size - temp); in boot_ringbuff_fill()
108 memcpy(buffer, rb->rd_ptr, size); in boot_ringbuff_read()
114 memcpy(buffer, rb->rd_ptr, size); in boot_ringbuff_read()
122 memcpy(buffer, rb->rd_ptr, temp); in boot_ringbuff_read()
124 memcpy(buffer + temp, rb->rd_ptr, size - temp); in boot_ringbuff_read()
/AliOS-Things-master/components/mbedtls/library/
A Dcamellia.c596 memcpy( temp, input, 16 ); in mbedtls_camellia_crypt_cbc()
602 memcpy( iv, temp, 16 ); in mbedtls_camellia_crypt_cbc()
617 memcpy( iv, output, 16 ); in mbedtls_camellia_crypt_cbc()
970 memcpy( dst, camellia_test_ecb_plain[i], 16 ); in mbedtls_camellia_self_test()
1008 memcpy( src, camellia_test_cbc_iv, 16 ); in mbedtls_camellia_self_test()
1009 memcpy( dst, camellia_test_cbc_iv, 16 ); in mbedtls_camellia_self_test()
1021 memcpy( iv , src, 16 ); in mbedtls_camellia_self_test()
1025 memcpy( iv , dst, 16 ); in mbedtls_camellia_self_test()
1063 memcpy( key, camellia_test_ctr_key[u], 16 ); in mbedtls_camellia_self_test()
1071 memcpy( buf, camellia_test_ctr_ct[u], len ); in mbedtls_camellia_self_test()
[all …]
A Dnist_kw.c224 memcpy( output, NIST_KW_ICV1, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap()
252 memcpy( output, NIST_KW_ICV2, KW_SEMIBLOCK_LENGTH / 2 ); in mbedtls_nist_kw_wrap()
256 memcpy( output + KW_SEMIBLOCK_LENGTH, input, in_len ); in mbedtls_nist_kw_wrap()
266 memcpy( inbuff, output, 16 ); in mbedtls_nist_kw_wrap()
286 memcpy( inbuff, A, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap()
294 memcpy( A, outbuff, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap()
345 memcpy( A, input, KW_SEMIBLOCK_LENGTH ); in unwrap()
353 memcpy( inbuff, A, KW_SEMIBLOCK_LENGTH ); in unwrap()
354 memcpy( inbuff + KW_SEMIBLOCK_LENGTH, R, KW_SEMIBLOCK_LENGTH ); in unwrap()
361 memcpy( A, outbuff, KW_SEMIBLOCK_LENGTH ); in unwrap()
[all …]
A Dpadlock.c93 memcpy( blk, input, 16 ); in mbedtls_padlock_xcryptecb()
112 memcpy( output, blk, 16 ); in mbedtls_padlock_xcryptecb()
140 memcpy( iw, iv, 16 ); in mbedtls_padlock_xcryptcbc()
163 memcpy( iv, iw, 16 ); in mbedtls_padlock_xcryptcbc()
/AliOS-Things-master/components/linkkit/dev_model/
A Ddm_msg_process.c316 memcpy(*data, "{}", strlen("{}")); in dm_msg_proc_thing_service_property_get()
447 memcpy(int_id, response.id.value, response.id.value_length); in dm_msg_proc_thing_event_post_reply()
479 memcpy(int_id, response.id.value, response.id.value_length); in dm_msg_proc_thing_property_desired_get_reply()
511 memcpy(int_id, response.id.value, response.id.value_length); in dm_msg_proc_thing_property_desired_delete_reply()
543 memcpy(int_id, response.id.value, response.id.value_length); in dm_msg_proc_thing_deviceinfo_update_reply()
574 memcpy(int_id, response.id.value, response.id.value_length); in dm_msg_proc_thing_deviceinfo_delete_reply()
605 memcpy(int_id, response.id.value, response.id.value_length); in dm_msg_proc_thing_dynamictsl_get_reply()
892 memcpy(int_id, response.id.value, response.id.value_length); in dm_msg_proc_thing_sub_register_reply()
926 memcpy(int_id, response.id.value, response.id.value_length); in dm_msg_proc_thing_proxy_product_register_reply()
961 memcpy(int_id, response.id.value, response.id.value_length); in dm_msg_proc_thing_sub_unregister_reply()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/profiler/
A Dinstrumentation.cc113 memcpy(dst, &stack.id, sizeof(stack.id)); in CopyToBuffer()
115 memcpy(dst, &stack.size, sizeof(stack.size)); in CopyToBuffer()
117 memcpy(dst, stack.labels, stack.size * sizeof(stack.labels[0])); in CopyToBuffer()
121 memcpy(&stack->id, src, sizeof(stack->id)); in ReadFromBuffer()
123 memcpy(&stack->size, src, sizeof(stack->size)); in ReadFromBuffer()
125 memcpy(stack->labels, src, stack->size * sizeof(stack->labels[0])); in ReadFromBuffer()
/AliOS-Things-master/components/littlevgl/src/lv_themes/
A Dlv_theme.c63 memcpy(&current_theme->group, &th->group, sizeof(th->group)); in lv_theme_set_current()
78 memcpy(&cur_th_style_p[i], &adr, sizeof(lv_style_t *)); in lv_theme_set_current()
88 if(s) memcpy(&th_styles[i], (void *)s, sizeof(lv_style_t)); in lv_theme_set_current()
93 memcpy(&current_theme.group, &th->group, sizeof(th->group)); in lv_theme_set_current()
/AliOS-Things-master/components/linkkit/infra/
A Dinfra_preauth.c66 memcpy(request_buff + strlen(request_buff), kv[i][0], strlen(kv[i][0])); in _preauth_assemble_auth_req_string()
67 memcpy(request_buff + strlen(request_buff), "=", 1); in _preauth_assemble_auth_req_string()
68 memcpy(request_buff + strlen(request_buff), kv[i][1], strlen(kv[i][1])); in _preauth_assemble_auth_req_string()
69 memcpy(request_buff + strlen(request_buff), "&", 1); in _preauth_assemble_auth_req_string()
104 memcpy(value_buff, p_start, len); in _preauth_get_string_value()
188 memcpy(response->payload + strlen(response->payload), ptr, length); in _preauth_recv_callback()
224 memcpy(http_url + strlen(http_url), g_infra_http_domain[region], in preauth_get_connection_info()
226 memcpy(http_url + strlen(http_url), http_url_frag, sizeof(http_url_frag)); in preauth_get_connection_info()
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_provisioner/
A Dmesh_provisioner.c99 memcpy(node.dev_addr, addr, sizeof(node.dev_addr)); in provisioner_unprovisioned_dev_found()
101 memcpy(node.uuid, dev_uuid, sizeof(node.uuid)); in provisioner_unprovisioned_dev_found()
269 memcpy(node.uuid, device_uuid, 16); in provisioner_complete()
430 memcpy(unprov_dev.addr, node->dev_addr, 6); in ble_mesh_provisioner_dev_add()
431 memcpy(unprov_dev.uuid, node->uuid, sizeof(unprov_dev.uuid)); in ble_mesh_provisioner_dev_add()
471 memcpy(del_dev.addr, addr, sizeof(del_dev.addr)); in ble_mesh_provisioner_dev_del()
472 memcpy(del_dev.uuid, uuid, sizeof(del_dev.uuid)); in ble_mesh_provisioner_dev_del()
494 memcpy(prov_input, str, input_length); in ble_mesh_provisioner_OOB_input_string()
525 memcpy(g_static_oob_data, oob, oob_size); in ble_mesh_provisioner_static_OOB_set()
551 memcpy(g_node_info.uuid, node->dev_uuid, 16); in ble_mesh_provisioner_get_node_info()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dupsampling_msa.c337 memcpy(temp, y, length * sizeof(*temp)); in YuvToRgbLine()
343 memcpy(temp, y, length * sizeof(*temp)); in YuvToRgbLine()
364 memcpy(temp, y, length * sizeof(*temp)); in YuvToBgrLine()
370 memcpy(temp, y, length * sizeof(*temp)); in YuvToBgrLine()
393 memcpy(temp, y, length * sizeof(*temp)); in YuvToRgbaLine()
399 memcpy(temp, y, length * sizeof(*temp)); in YuvToRgbaLine()
421 memcpy(temp, y, length * sizeof(*temp)); in YuvToBgraLine()
427 memcpy(temp, y, length * sizeof(*temp)); in YuvToBgraLine()
450 memcpy(temp, y, length * sizeof(*temp)); in YuvToArgbLine()
456 memcpy(temp, y, length * sizeof(*temp)); in YuvToArgbLine()
[all …]
/AliOS-Things-master/components/py_engine/engine/py/
A Dobjclosure.c48 memcpy(args2, self->closed, self->n_closed * sizeof(mp_obj_t)); in closure_call()
49 memcpy(args2 + self->n_closed, args, (n_args + 2 * n_kw) * sizeof(mp_obj_t)); in closure_call()
54 memcpy(args2, self->closed, self->n_closed * sizeof(mp_obj_t)); in closure_call()
55 memcpy(args2 + self->n_closed, args, (n_args + 2 * n_kw) * sizeof(mp_obj_t)); in closure_call()
96 memcpy(o->closed, closed, n_closed_over * sizeof(mp_obj_t)); in mp_obj_new_closure()

Completed in 275 milliseconds

12345678910>>...34