Home
last modified time | relevance | path

Searched refs:cpy_len (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/subsys/logging/
Dlog_core.c808 size_t cpy_len = MIN(len, CONFIG_LOG_TAG_MAX_LEN); in log_set_tag() local
810 memcpy(tag, str, cpy_len); in log_set_tag()
811 tag[cpy_len] = '\0'; in log_set_tag()
813 if (cpy_len < len) { in log_set_tag()
814 tag[cpy_len - 1] = '~'; in log_set_tag()
/Zephyr-Core-3.5.0/drivers/serial/
Duart_nrfx_uarte.c865 int cpy_len = MIN(len, data->async->rx_flush_cnt); in uarte_nrfx_rx_enable() local
867 memcpy(buf, data->async->rx_flush_buffer, cpy_len); in uarte_nrfx_rx_enable()
868 buf += cpy_len; in uarte_nrfx_rx_enable()
869 len -= cpy_len; in uarte_nrfx_rx_enable()
875 data->async->rx_flush_cnt -= cpy_len; in uarte_nrfx_rx_enable()
876 notify_uart_rx_rdy(dev, cpy_len); in uarte_nrfx_rx_enable()