Searched refs:to_copy (Results 1 – 7 of 7) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | modstruct.c | 198 mp_uint_t to_copy = cnt; in struct_pack_into_internal() local 199 if (bufinfo.len < to_copy) { in struct_pack_into_internal() 200 to_copy = bufinfo.len; in struct_pack_into_internal() 202 memcpy(p, bufinfo.buf, to_copy); in struct_pack_into_internal() 203 memset(p + to_copy, 0, cnt - to_copy); in struct_pack_into_internal()
|
/AliOS-Things-master/components/ble_host/bt_host/port/core/ |
A D | buf.c | 794 size_t to_copy; in net_buf_linearize() local 810 to_copy = MIN(len, frag->len - offset); in net_buf_linearize() 811 memcpy((u8_t *)dst + copied, frag->data + offset, to_copy); in net_buf_linearize() 813 copied += to_copy; in net_buf_linearize() 816 len -= to_copy; in net_buf_linearize()
|
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_canvas.h | 149 void lv_canvas_copy_buf(lv_obj_t * canvas, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coo…
|
A D | lv_canvas.c | 234 void lv_canvas_copy_buf(lv_obj_t * canvas, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coo… in lv_canvas_copy_buf() argument 244 uint8_t * to_copy8 = (uint8_t *)to_copy; in lv_canvas_copy_buf()
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/minizip/ |
A D | zip.c | 247 unsigned char* to_copy; in add_data_in_datablock() local 263 to_copy = &(ldi->data[ldi->filled_in_this_block]); in add_data_in_datablock() 266 *(to_copy+i)=*(from_copy+i); in add_data_in_datablock()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | cfg_cli.c | 49 size_t to_copy; in comp_data_status() local 73 to_copy = MIN(net_buf_simple_tailroom(param->comp), buf->len); in comp_data_status() 74 net_buf_simple_add_mem(param->comp, buf->data, to_copy); in comp_data_status()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | hci_core.c | 7621 size_t to_copy = MIN(*count, bt_dev.id_count); in bt_id_get() local 7623 memcpy(addrs, bt_dev.id_addr, to_copy * sizeof(bt_addr_le_t)); in bt_id_get() 7624 *count = to_copy; in bt_id_get()
|
Completed in 34 milliseconds