Searched refs:cpy_len (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/subsys/logging/ |
D | log_core.c | 870 size_t cpy_len = MIN(len, CONFIG_LOG_TAG_MAX_LEN); in log_set_tag() local 872 memcpy(tag, str, cpy_len); in log_set_tag() 873 tag[cpy_len] = '\0'; in log_set_tag() 875 if (cpy_len < len) { in log_set_tag() 876 tag[cpy_len - 1] = '~'; in log_set_tag()
|
/Zephyr-latest/drivers/serial/ |
D | uart_nrfx_uarte.c | 1083 int cpy_len = MIN(len, async_rx->flush_cnt); in uarte_nrfx_rx_enable() local 1087 sys_cache_data_invd_range(cfg->rx_flush_buf, cpy_len); in uarte_nrfx_rx_enable() 1090 memcpy(buf, cfg->rx_flush_buf, cpy_len); in uarte_nrfx_rx_enable() 1094 sys_cache_data_flush_range(buf, cpy_len); in uarte_nrfx_rx_enable() 1097 buf += cpy_len; in uarte_nrfx_rx_enable() 1098 len -= cpy_len; in uarte_nrfx_rx_enable() 1104 async_rx->flush_cnt -= cpy_len; in uarte_nrfx_rx_enable() 1105 memmove(cfg->rx_flush_buf, &cfg->rx_flush_buf[cpy_len], in uarte_nrfx_rx_enable()
|