Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/lib/os/
Dutf8.c19 char *last_byte_p = utf8_str + strlen(utf8_str) - 1; in utf8_trunc() local
23 if ((*last_byte_p & ASCII_CHAR) == *last_byte_p) { in utf8_trunc()
30 while ((*last_byte_p & SEQUENCE_FIRST_MASK) != SEQUENCE_FIRST_MASK && in utf8_trunc()
31 last_byte_p > utf8_str) { in utf8_trunc()
32 last_byte_p--; in utf8_trunc()
41 seq_start_byte = *last_byte_p; in utf8_trunc()
57 *last_byte_p = '\0'; in utf8_trunc()