D | lv_font_loader.c | 70 static int read_bits_signed(bit_iterator_t * it, int n_bits, lv_fs_res_t * res); 71 static unsigned int read_bits(bit_iterator_t * it, int n_bits, lv_fs_res_t * res); 99 * When `lvgl_load_font` fails it can leak some pointers. in lv_font_load() 187 bit_iterator_t it; in init_bit_iterator() local 188 it.fp = fp; in init_bit_iterator() 189 it.bit_pos = -1; in init_bit_iterator() 190 it.byte_value = 0; in init_bit_iterator() 191 return it; in init_bit_iterator() 194 static unsigned int read_bits(bit_iterator_t * it, int n_bits, lv_fs_res_t * res) in read_bits() argument 198 it->byte_value = it->byte_value << 1; in read_bits() [all …]
|