Searched refs:to_copy (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/components/esp_hw_support/ |
D | hw_random.c | 74 uint32_t to_copy = MIN(sizeof(word), len); in esp_fill_random() local 75 memcpy(buf_bytes, &word, to_copy); in esp_fill_random() 76 buf_bytes += to_copy; in esp_fill_random() 77 len -= to_copy; in esp_fill_random()
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/ |
D | mesh_buf.c | 694 size_t to_copy = 0U; in net_buf_linearize() local 710 to_copy = MIN(len, frag->len - offset); in net_buf_linearize() 711 memcpy((uint8_t *)dst + copied, frag->data + offset, to_copy); in net_buf_linearize() 713 copied += to_copy; in net_buf_linearize() 716 len -= to_copy; in net_buf_linearize()
|
/hal_espressif-3.6.0/components/esptool_py/esptool/flasher_stub/ |
D | miniz.c | 5025 size_t to_copy = MZ_MIN( (buf_size - copied_to_caller), pState->out_blk_remain ); in mz_zip_reader_extract_iter_read() local 5028 memcpy( (uint8_t*)pvBuf + copied_to_caller, pWrite_buf_cur, to_copy ); in mz_zip_reader_extract_iter_read() 5032 … pState->file_crc32 = (mz_uint32)mz_crc32(pState->file_crc32, pWrite_buf_cur, to_copy); in mz_zip_reader_extract_iter_read() 5036 pState->out_blk_remain -= to_copy; in mz_zip_reader_extract_iter_read() 5039 if ((pState->out_buf_ofs += to_copy) > pState->file_stat.m_uncomp_size) in mz_zip_reader_extract_iter_read() 5047 copied_to_caller += to_copy; in mz_zip_reader_extract_iter_read()
|