Searched refs:cpy_len (Results 1 – 2 of 2) sorted by relevance
826 size_t cpy_len = MIN(len, CONFIG_LOG_TAG_MAX_LEN); in log_set_tag() local828 memcpy(tag, str, cpy_len); in log_set_tag()829 tag[cpy_len] = '\0'; in log_set_tag()831 if (cpy_len < len) { in log_set_tag()832 tag[cpy_len - 1] = '~'; in log_set_tag()
871 int cpy_len = MIN(len, data->async->rx_flush_cnt); in uarte_nrfx_rx_enable() local873 memcpy(buf, data->async->rx_flush_buffer, cpy_len); in uarte_nrfx_rx_enable()874 buf += cpy_len; in uarte_nrfx_rx_enable()875 len -= cpy_len; in uarte_nrfx_rx_enable()881 data->async->rx_flush_cnt -= cpy_len; in uarte_nrfx_rx_enable()882 notify_uart_rx_rdy(dev, cpy_len); in uarte_nrfx_rx_enable()