Searched refs:max_len (Results 1 – 1 of 1) sorted by relevance
/lvgl-2.7.6/src/lv_misc/ |
D | lv_bidi.c | 44 static lv_bidi_dir_t get_next_run(const char * txt, lv_bidi_dir_t base_dir, uint32_t max_len, uint3… 52 static uint32_t get_txt_len(const char * txt, uint32_t max_len); 396 static uint32_t get_txt_len(const char * txt, uint32_t max_len) in get_txt_len() argument 401 while(i < max_len && txt[i] != '\0') { in get_txt_len() 418 static lv_bidi_dir_t get_next_run(const char * txt, lv_bidi_dir_t base_dir, uint32_t max_len, uint3… in get_next_run() argument 428 if(dir == LV_BIDI_DIR_NEUTRAL) dir = bracket_process(txt, 0, max_len, letter, base_dir); in get_next_run() 435 if(dir == LV_BIDI_DIR_NEUTRAL) dir = bracket_process(txt, i, max_len, letter, base_dir); in get_next_run() 437 if(i >= max_len || txt[i] == '\0' || txt[i] == '\n' || txt[i] == '\r') { in get_next_run() 453 while(i_prev < max_len && txt[i] != '\0' && txt[i] != '\n' && txt[i] != '\r') { in get_next_run() 457 …if(next_dir == LV_BIDI_DIR_NEUTRAL) next_dir = bracket_process(txt, i, max_len, letter, base_dir); in get_next_run()
|