Home
last modified time | relevance | path

Searched full:while (Results 1 – 25 of 136) sorted by relevance

123456

/lvgl-latest/src/misc/
Dlv_mem.c377 while(len > 32) { in lv_memcpy()
384 while(len) { in lv_memcpy()
394 while(d_align && len) { in lv_memcpy()
403 while(len > 32) { in lv_memcpy()
408 while(len > 4) { in lv_memcpy()
415 while(len) { in lv_memcpy()
439 while(d_align && len) { in lv_memset()
450 while(len > 32) { in lv_memset()
455 while(len > 4) { in lv_memset()
461 while(len) { in lv_memset()
[all …]
Dlv_printf.c161 while(_is_digit(**str)) { in _atoi()
182 while(len) { in _out_rev()
188 while(idx - start_idx < width) { in _out_rev()
205 while((len < prec) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
208 while((flags & FLAGS_ZEROPAD) && (len < width) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
268 } while(value && (len < PRINTF_NTOA_BUFFER_SIZE)); in _ntoa_long()
293 } while(value && (len < PRINTF_NTOA_BUFFER_SIZE)); in _ntoa_long_long()
350 while((len < PRINTF_FTOA_BUFFER_SIZE) && (prec > 9U)) { in _ftoa()
386 while(len < PRINTF_FTOA_BUFFER_SIZE) { in _ftoa()
394 while((len < PRINTF_FTOA_BUFFER_SIZE) && (count-- > 0U)) { in _ftoa()
[all …]
Dlv_log.h93 # define LV_LOG_TRACE(...) do {}while(0)
101 # define LV_LOG_INFO(...) do {}while(0)
109 # define LV_LOG_WARN(...) do {}while(0)
117 # define LV_LOG_ERROR(...) do {}while(0)
125 # define LV_LOG_USER(...) do {}while(0)
133 # define LV_LOG(...) do {} while(0)
141 #define LV_LOG_TRACE(...) do {}while(0)
142 #define LV_LOG_INFO(...) do {}while(0)
143 #define LV_LOG_WARN(...) do {}while(0)
144 #define LV_LOG_ERROR(...) do {}while(0)
[all …]
Dlv_bidi.c84 while(str_in[par_start] == '\n' || str_in[par_start] == '\r') { in _lv_bidi_process()
89 while(str_in[par_start] != '\0') { in _lv_bidi_process()
94 while(str_in[par_start] == '\n' || str_in[par_start] == '\r') { in _lv_bidi_process()
112 while(txt[i] != '\0') { in _lv_bidi_detect_base_dir()
245 while(rd < len) { in _lv_bidi_process_paragraph()
279 while(rd < len && str_in[rd]) { in _lv_bidi_process_paragraph()
333 while(txt[i] != '\0' && txt[i] != '\n' && txt[i] != '\r') { in lv_bidi_get_next_paragraph()
368 } while(weaks[i] != '\0'); in lv_bidi_letter_is_weak()
414 while(i < max_len && txt[i] != '\0') { in get_txt_len()
444 while(dir == LV_BASE_DIR_NEUTRAL || dir == LV_BASE_DIR_WEAK) { in get_next_run()
[all …]
Dlv_lru.c112 while(item) { in lv_lru_del()
126 while(item) { in lv_lru_del()
150 while(item && lv_lru_cmp_keys(item, key, key_length)) { in lv_lru_set()
182 while(cache->free_memory < (size_t) required) in lv_lru_set()
198 while(item && lv_lru_cmp_keys(item, key, key_size)) in lv_lru_get()
222 while(item && lv_lru_cmp_keys(item, key, key_size)) { in lv_lru_remove()
245 while(item) { in lv_lru_remove_lru_item()
273 while(key_length >= 4) { in lv_lru_hash()
Dlv_txt.c107 while(text[line_start] != '\0') { in lv_txt_get_size()
111 LV_LOG_WARN("lv_txt_get_size: integer overflow while calculating text height"); in lv_txt_get_size()
193 while(txt[i] != '\0') { in lv_txt_get_next_word()
307 while(txt[i] != '\0' && max_width > 0) { in _lv_txt_get_next_line()
355 while(i < length) { in lv_txt_get_width()
684 } while(c_size == 0); in lv_txt_utf8_prev()
724 while(i < byte_id) { in lv_txt_utf8_get_char_id()
743 while(txt[i] != '\0') { in lv_txt_utf8_get_length()
/lvgl-latest/tests/unity/
Dunity.c117 while (*pch && (*pch != 'm')) in UnityPrintAnsiEscapeString()
137 while (*pch) in UnityPrint()
159 while (*pch && ((UNITY_UINT32)(pch - string) < length)) in UnityPrintLen()
262 while (number / divisor > 9) in UnityPrintNumberUnsigned()
272 } while (divisor > 0); in UnityPrintNumberUnsigned()
286 while (nibbles > 0) in UnityPrintNumberHex()
389 while (number < (UNITY_DOUBLE)max_scaled / 1e10f) { number *= 1e10f; exponent -= 10; } in UnityPrintFloat()
390 while (number * factor < (UNITY_DOUBLE)min_scaled) { factor *= 10.0f; exponent--; } in UnityPrintFloat()
398while (number > (UNITY_DOUBLE)min_scaled * 1e10f) { number /= 1e10f; exponent += 10; } in UnityPrintFloat()
399 while (number / divisor > (UNITY_DOUBLE)max_scaled) { divisor *= 10.0f; exponent++; } in UnityPrintFloat()
[all …]
/lvgl-latest/src/extra/libs/tiny_ttf/
Dstb_rect_pack.h112 // while this function is running, as the function temporarily reorders
113 // the array while it executes.
301 while(node->next->x <= x0) in stbrp__skyline_find_min_y()
312 while(node->x < x1) { in stbrp__skyline_find_min_y()
365 while(node->x + width <= c->width) { in stbrp__skyline_find_best_pos()
414 while(tail->x < width) in stbrp__skyline_find_best_pos()
416 while(tail) { in stbrp__skyline_find_best_pos()
421 while(node->next->x <= xpos) { in stbrp__skyline_find_best_pos()
487 while(cur->next && cur->next->x <= res.x + width) { in stbrp__skyline_pack_rectangle()
503 while(cur->x < context->width) { in stbrp__skyline_pack_rectangle()
[all …]
Dstb_truetype_htcw.h308 while(*text) {
394 while(text[ch]) {
719 // collection (.ttc) files may contain multiple fonts, while TrueType font
1308 while(b->cursor < b->size) { in stbtt__cff_skip_operand()
1322 while(b->cursor < b->size) { in stbtt__dict_get()
1324 while(stbtt__buf_peek8(b) >= 28) in stbtt__dict_get()
1734 while(entrySelector) {
1766 while(low < high) {
2034 while(more) {
2260 while(b.cursor < b.size) {
[all …]
/lvgl-latest/src/extra/libs/png/
Dlodepng.c135 while(*a) a++; in lodepng_strlen()
1048 while(!frequencies[numcodes - 1] && numcodes > mincodes) --numcodes; /*trim zeroes*/ in HuffmanTree_makeFromFrequencies()
1156 while(!error) { in getTreeInflateDynamic()
1181 while(i < HLIT + HDIST) { in getTreeInflateDynamic()
1250 break; /*end of error-while*/ in getTreeInflateDynamic()
1274 while(!error) /*decode all symbols until end reached, breaks at end code*/ { in inflateHuffmanBlock()
1396 while(!BFINAL) { in lodepng_inflatev()
1456 while(left <= right) { in searchCodeIndex()
1567 while(data != end && *data == 0) ++data; in countZeros()
1663while(foreptr != lastptr && *backptr == *foreptr) /*maximum supported length by deflate is max len… in encodeLZ77()
[all …]
/lvgl-latest/src/widgets/
Dlv_btnmatrix.c130while(map_row[btn_cnt] && strcmp(map_row[btn_cnt], "\n") != 0 && map_row[btn_cnt][0] != '\0') { in lv_btnmatrix_set_map()
340 while(btn_i != btn_id) { in lv_btnmatrix_get_btn_text()
561while(button_is_hidden(btnm->ctrl_bits[b]) || button_is_inactive(btnm->ctrl_bits[b]) || in lv_btnmatrix_event()
565while(button_is_hidden(btnm->ctrl_bits[b]) || button_is_inactive(btnm->ctrl_bits[b])) b++; in lv_btnmatrix_event()
590while(button_is_hidden(btnm->ctrl_bits[btnm->btn_id_sel]) || button_is_inactive(btnm->ctrl_bits[bt… in lv_btnmatrix_event()
607while(button_is_hidden(btnm->ctrl_bits[btnm->btn_id_sel]) || button_is_inactive(btnm->ctrl_bits[bt… in lv_btnmatrix_event()
622while(button_is_hidden(btnm->ctrl_bits[btnm->btn_id_sel]) || button_is_inactive(btnm->ctrl_bits[bt… in lv_btnmatrix_event()
653while(button_is_hidden(btnm->ctrl_bits[btnm->btn_id_sel]) || button_is_inactive(btnm->ctrl_bits[bt… in lv_btnmatrix_event()
740 while(strcmp(btnm->map_p[txt_i], "\n") == 0) { in draw_main()
862 while(map[i] && map[i][0] != '\0') { in allocate_btn_areas_and_controls()
[all …]
Dlv_label.c331 while(txt[new_line_start] != '\0') { in lv_label_get_letter_pos()
432 while(txt[line_start] != '\0') { in lv_label_get_letter_on()
477 while(i + line_start < new_line_start) { in lv_label_get_letter_on()
550 while(txt[line_start] != '\0') { in lv_label_is_char_under_pos()
581 while(i <= new_line_start - 1) { in lv_label_is_char_under_pos()
1136 while(byte_id + LV_LABEL_DOT_NUM > txt_len) { in lv_label_refr_text()
1182 while(label->text[byte_i + i] != '\0') { in lv_label_revert_dots()
/lvgl-latest/src/draw/nxp/vglite/
Dlv_vglite_utils.h134 } while(0)
144 } while (0)
151 }while(0)
158 } while (0)
164 } while (0)
168 } while (0)
172 }while(0)
/lvgl-latest/src/core/
Dlv_refr.c123 while(d) { in lv_refr_now()
545 while(sync_area != NULL) { in refr_sync_areas()
705 …* In full double buffered mode wait here while the buffers are swapped and a buffer becomes availa… in refr_area_part()
709 while(draw_buf->flushing) { in refr_area_part()
863 while(parent != NULL) { in refr_obj_and_children()
1026 while(layer_ctx->area_act.y1 <= layer_area_full.y2) { in refr_obj()
1072 } while(h_tmp > 0); in get_max_row()
1095 while(i > j) { in draw_buf_rotate_180()
1210 while(row < area_h) { in draw_buf_rotate()
1253 while(draw_buf->flushing) { in draw_buf_rotate()
[all …]
Dlv_obj_tree.c88 while(child) { in lv_obj_clean()
202 while(i > index) { in lv_obj_move_to_index()
208 while(i < index) { in lv_obj_move_to_index()
259 } while(par != NULL); in lv_obj_get_screen()
361 while(child) { in obj_del_core()
370 while(indev) { in obj_del_core()
425 while(disp) { in walk_core()
Dlv_obj_style.c115 while(i < obj->style_cnt) { in lv_obj_remove_style()
158 while(d) { in lv_obj_report_style_change()
228 while(obj) { in lv_obj_get_style_prop()
246 while(cls) { in lv_obj_get_style_prop()
514 while(obj) { in lv_obj_get_style_opa_recursive()
723 while(tr != NULL) { in trans_del()
726 /*'tr' might be deleted, so get the next object while 'tr' is valid*/ in trans_del()
Dlv_indev_scroll.c68 while(parent) { in _lv_indev_scroll_handler()
237 while(v) { in lv_indev_scroll_throw_predict()
278 while(obj_act) { in find_scroll_obj()
284 while(parent) { in find_scroll_obj()
584 while(y) { in scroll_throw_predict_y()
599 while(x) { in scroll_throw_predict_x()
/lvgl-latest/src/extra/widgets/span/
Dlv_span.c244 while(cur_node != NULL) { in lv_spangroup_get_child()
377 while(cur_txt[j] != '\0') { in lv_spangroup_get_expand_width()
421 while(cur_span) { in lv_spangroup_get_expand_height()
426 while(1) { in lv_spangroup_get_expand_height()
520 while(cur_span) { in lv_spangroup_destructor()
801 while(cur_span) { in lv_draw_span()
809 while(1) { in lv_draw_span()
951 while(j < txt_bytes) { in lv_draw_span()
/lvgl-latest/src/extra/libs/sjpg/
Dtjpgd.c169 while (ndata) { /* Process all tables in the segment */ in create_qt_tbl()
206 while (ndata) { /* Process all tables in the segment */ in create_huffman_tbl()
224 while (b--) ph[j++] = hc++; in create_huffman_tbl()
334 } while (bl); in huffext()
343 while (wbit < 16) { /* Prepare 16 bits into the working register */ in huffext()
408 } while (--nc); in huffext()
461 } while (nbit); in bitext()
471 while (wbit < nbit) { /* Prepare nbit bits into the working register */ in bitext()
759 } while (++z < 64); /* Next AC element */ in mcu_load()
945 } while (--n); in mcu_output()
[all …]
/lvgl-latest/src/draw/nxp/pxp/
Dlv_gpu_nxp_pxp.h134 } while(0)
141 } while (0)
146 }while(0)
153 } while (0)
157 } while (0)
/lvgl-latest/src/draw/stm32_dma2d/
Dlv_gpu_stm32_dma2d.c189 while(draw_height > 0) { in lv_draw_stm32_dma2d_blend()
637 while((DMA2D->CR & DMA2D_CR_START) != 0U) { in _lv_gpu_stm32_dma2d_await_dma_transfer_finish()
642 while((DMA2D->CR & DMA2D_CR_START) != 0U); in _lv_gpu_stm32_dma2d_await_dma_transfer_finish()
677 while(h < height) { in _lv_gpu_stm32_dma2d_invalidate_cache()
683 while(a < e) { in _lv_gpu_stm32_dma2d_invalidate_cache()
706 while(h < height) { in _lv_gpu_stm32_dma2d_clean_cache()
712 while(a < e) { in _lv_gpu_stm32_dma2d_clean_cache()
/lvgl-latest/src/extra/others/ime/
Dlv_ime_pinyin.c919 while(count--) { in pinyin_search_matching()
1014 while(index != -1) { in pinyin_k9_get_legal_py()
1070 while(count--) { in pinyin_k9_is_valid_py()
1105 while(ll_index) { in pinyin_k9_fill_cand()
1137 while(ll_index) { in pinyin_k9_cand_page_proc()
1153 while(ll_index) { in pinyin_k9_cand_page_proc()
1168 while(ll_index) { in pinyin_k9_cand_page_proc()
/lvgl-latest/src/draw/arm2d/
Dlv_gpu_arm2d.c328 } while(0); \
332 } while(0); \
366 } while(0); \
370 } while(0); \
406 } while(0)
762 } while(0); in lv_draw_arm2d_blend()
1373 if(!is_accelerated) while(blend_area.y1 <= y_last) { in lv_draw_arm2d_img_decoded()
/lvgl-latest/docs/porting/
Dtimer-handler.md4 - *while(1)* of *main()* function
12 while(1) {
21 while(1) {
31 while (1) {
Dos.md22 while(1) {
32 /* You must always hold the mutex while using LVGL APIs */
37 while(1) {
48 …ed to do this you have to disable the interrupt which uses LVGL functions while `lv_timer_handler`…

123456