Home
last modified time | relevance | path

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

/lvgl-latest/src/font/
Dlv_font_fmt_txt.c449 uint32_t byte_pos = bit_pos >> 3; in get_bits() local
453 uint16_t in16 = (in[byte_pos] << 8) + in[byte_pos + 1]; in get_bits()
457 return (in[byte_pos] >> (8 - bit_pos - len)) & bit_mask; in get_bits()
501 uint16_t byte_pos = bit_pos >> 3; in bits_write() local
506 out[byte_pos] &= ((~bit_mask) << bit_pos); in bits_write()
507 out[byte_pos] |= (val << bit_pos); in bits_write()
/lvgl-latest/src/widgets/
Dlv_textarea.c1059 uint32_t byte_pos = _lv_txt_encoded_get_byte_id(txt, cur_pos); in refr_cursor_area() local
1060 uint32_t letter = _lv_txt_encoded_next(&txt[byte_pos], NULL); in refr_cursor_area()
1084 byte_pos += _lv_txt_encoded_size(&txt[byte_pos]); in refr_cursor_area()
1085 letter = _lv_txt_encoded_next(&txt[byte_pos], NULL); in refr_cursor_area()
1096 ta->cursor.txt_byte_pos = byte_pos; in refr_cursor_area()