Lines Matching refs:rd
221 uint32_t rd = 0; in _lv_bidi_process_paragraph() local
245 while(rd < len) { in _lv_bidi_process_paragraph()
246 uint32_t letter = _lv_txt_encoded_next(str_in, &rd); in _lv_bidi_process_paragraph()
249 if(dir == LV_BASE_DIR_NEUTRAL) dir = bracket_process(str_in, rd, len, letter, base_dir); in _lv_bidi_process_paragraph()
253 if(rd && str_in[rd] != '\0') { in _lv_bidi_process_paragraph()
254 _lv_txt_encoded_prev(str_in, &rd); in _lv_bidi_process_paragraph()
258 if(rd) { in _lv_bidi_process_paragraph()
261 lv_memcpy(&str_out[wr], str_in, rd); in _lv_bidi_process_paragraph()
262 wr += rd; in _lv_bidi_process_paragraph()
270 wr -= rd; in _lv_bidi_process_paragraph()
272 …rtl_reverse(str_out ? &str_out[wr] : NULL, str_in, rd, pos_conv_out ? &pos_conv_out[pos_conv_wr] :… in _lv_bidi_process_paragraph()
279 while(rd < len && str_in[rd]) { in _lv_bidi_process_paragraph()
280 run_dir = get_next_run(&str_in[rd], base_dir, len - rd, &run_len, &pos_conv_run_len); in _lv_bidi_process_paragraph()
284 if(str_out) lv_memcpy(&str_out[wr], &str_in[rd], run_len); in _lv_bidi_process_paragraph()
287 …else rtl_reverse(str_out ? &str_out[wr] : NULL, &str_in[rd], run_len, pos_conv_out ? &pos_conv_out… in _lv_bidi_process_paragraph()
296 if(str_out) lv_memcpy(&str_out[wr], &str_in[rd], run_len); in _lv_bidi_process_paragraph()
299 …else rtl_reverse(str_out ? &str_out[wr] : NULL, &str_in[rd], run_len, pos_conv_out ? &pos_conv_out… in _lv_bidi_process_paragraph()
303 rd += run_len; in _lv_bidi_process_paragraph()