Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_txt_ap.c115 uint32_t ch_enc; in _lv_txt_ap_calc_bytes_cnt() local
122 ch_enc = _lv_txt_encoded_next(txt, &j); in _lv_txt_ap_calc_bytes_cnt()
123 current_ap_idx = lv_ap_get_char_index(ch_enc); in _lv_txt_ap_calc_bytes_cnt()
126 ch_enc = ap_chars_map[current_ap_idx].char_end_form; in _lv_txt_ap_calc_bytes_cnt()
128 if(ch_enc < 0x80) in _lv_txt_ap_calc_bytes_cnt()
130 else if(ch_enc < 0x0800) in _lv_txt_ap_calc_bytes_cnt()
132 else if(ch_enc < 0x010000) in _lv_txt_ap_calc_bytes_cnt()
147 uint32_t * ch_enc; in _lv_txt_ap_proc() local
153 ch_enc = (uint32_t *)lv_mem_alloc(sizeof(uint32_t) * (txt_length + 1)); in _lv_txt_ap_proc()
159 ch_enc[j++] = _lv_txt_encoded_next(txt, &i); in _lv_txt_ap_proc()
[all …]