Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/misc/
Dlv_txt_ap.c114 uint32_t i, j; in _lv_txt_ap_calc_bytes_cnt() local
120 j = 0; in _lv_txt_ap_calc_bytes_cnt()
122 ch_enc = _lv_txt_encoded_next(txt, &j); in _lv_txt_ap_calc_bytes_cnt()
146 uint32_t index_current, idx_next, idx_previous, i, j; in _lv_txt_ap_proc() local
157 j = 0; in _lv_txt_ap_proc()
158 while(j < txt_length) in _lv_txt_ap_proc()
159 ch_enc[j++] = _lv_txt_encoded_next(txt, &i); in _lv_txt_ap_proc()
161 ch_enc[j] = 0; in _lv_txt_ap_proc()
164 j = 0; in _lv_txt_ap_proc()
171 ch_fin[j] = ch_enc[i]; in _lv_txt_ap_proc()
[all …]
Dlv_style.c264 uint32_t j; in lv_style_remove_prop() local
265 for(i = j = 0; j <= style->prop_cnt; in lv_style_remove_prop()
266j++) { /*<=: because prop_cnt already reduced but all the old props. needs to be checked.*/ in lv_style_remove_prop()
267 if(old_props[j] != prop) { in lv_style_remove_prop()
268 new_values[i] = old_values[j]; in lv_style_remove_prop()
269 new_props[i++] = old_props[j]; in lv_style_remove_prop()
Dlv_tlsf.c797 int i, j; in control_constructor() local
805 for(j = 0; j < SL_INDEX_COUNT; ++j) { in control_constructor()
806 control->blocks[i][j] = &control->block_null; in control_constructor()
841 int i, j; in lv_tlsf_check() local
848 for(j = 0; j < SL_INDEX_COUNT; ++j) { in lv_tlsf_check()
851 const int sl_map = sl_list & (1U << j); in lv_tlsf_check()
852 const block_header_t * block = control->blocks[i][j]; in lv_tlsf_check()
877 tlsf_insist(fli == i && sli == j && "block size indexed in wrong list"); in lv_tlsf_check()
/lvgl-3.5.0/src/draw/sw/
Dlv_draw_sw_dither.c55 for(lv_coord_t j = 0; j < w; j++) { in lv_dither_ordered_hor() local
56 int8_t factor = dither_ordered_threshold_matrix[(y & 7) * 8 + ((j) & 7)] - 32; in lv_dither_ordered_hor()
57 lv_color32_t tmp = grad->hmap[LV_CLAMP(0, j - 4, grad->size)]; in lv_dither_ordered_hor()
63 grad->map[j] = lv_color_hex(t.full); in lv_dither_ordered_hor()
80 for(lv_coord_t j = 0; j < 8; j++) { in lv_dither_ordered_ver() local
81 int8_t factor = dither_ordered_threshold_matrix[(y & 7) * 8 + ((j + x) & 7)] - 32; in lv_dither_ordered_ver()
87 grad->map[j] = lv_color_hex(t.full); in lv_dither_ordered_ver()
90 lv_coord_t j = 8; in lv_dither_ordered_ver() local
91 for(; j < w - 8; j += 8) { in lv_dither_ordered_ver()
92 lv_memcpy(grad->map + j, grad->map, 8 * sizeof(*grad->map)); in lv_dither_ordered_ver()
[all …]
/lvgl-3.5.0/src/extra/libs/qrcode/
Dqrcodegen.c236 for (int j = 0; j < seg->bitLength; j++) in qrcodegen_encodeSegmentsAdvanced() local
237 appendBitsToBuffer((seg->data[j >> 3] >> (7 - (j & 7))) & 1, 1, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
310 for (int j = 0, k = i; j < datLen; j++, k += numBlocks) { // Copy data in addEccAndInterleave() local
311 if (j == shortBlockDataLen) in addEccAndInterleave()
313 result[k] = dat[j]; in addEccAndInterleave()
315 for (int j = 0, k = dataLen + i; j < blockEccLen; j++, k += numBlocks) // Copy ECC in addEccAndInterleave() local
316 result[k] = ecc[j]; in addEccAndInterleave()
365 for (int j = 0; j < degree; j++) { in calcReedSolomonGenerator() local
366 result[j] = finiteFieldMultiply(result[j], root); in calcReedSolomonGenerator()
367 if (j + 1 < degree) in calcReedSolomonGenerator()
[all …]
/lvgl-3.5.0/src/extra/others/ime/
Dlv_ime_pinyin.c809 for(uint8_t j = 0; j < 3; j++) { in pinyin_input_proc() local
810 lv_pinyin_cand_str[i][j] = pinyin_ime->cand_str[i * 3 + j]; in pinyin_input_proc()
850 for(uint8_t j = 0; j < 3; j++) { in pinyin_page_proc() local
851 lv_pinyin_cand_str[i][j] = pinyin_ime->cand_str[offset + (i * 3) + j]; in pinyin_page_proc()
/lvgl-3.5.0/src/extra/libs/gif/
Dgifdec.c493 int i, j, k; in render_frame_rect() local
496 for (j = 0; j < gif->fh; j++) { in render_frame_rect()
498 index = gif->frame[(gif->fy + j) * gif->width + gif->fx + k]; in render_frame_rect()
529 int i, j, k; in dispose() local
539 for (j = 0; j < gif->fh; j++) { in dispose()
/lvgl-3.5.0/src/extra/libs/png/
Dlodepng.c747 unsigned j; in HuffmanTree_makeTable() local
748 for(j = 0; j < num; ++j) { in HuffmanTree_makeTable()
750 unsigned index = reverse | (j << l); in HuffmanTree_makeTable()
764 unsigned j; in HuffmanTree_makeTable() local
766 for(j = 0; j < num; ++j) { in HuffmanTree_makeTable()
768 unsigned index2 = start + (reverse2 | (j << (l - FIRSTBITS))); in HuffmanTree_makeTable()
928 size_t i = p, j = q, k; in bpmnode_sort() local
930 if(i < q && (j >= r || a[i].weight <= a[j].weight)) b[k] = a[i++]; in bpmnode_sort()
931 else b[k] = a[j++]; in bpmnode_sort()
1910 unsigned j = 0; /*amount of repetitions*/ in deflateDynamic() local
[all …]
/lvgl-3.5.0/src/core/
Dlv_obj_style.c94 uint32_t j; in lv_obj_add_style() local
95 for(j = obj->style_cnt - 1; j > i ; j--) { in lv_obj_add_style()
96 obj->styles[j] = obj->styles[j - 1]; in lv_obj_add_style()
136 uint32_t j; in lv_obj_remove_style() local
137 for(j = i; j < (uint32_t)obj->style_cnt - 1 ; j++) { in lv_obj_remove_style()
138 obj->styles[j] = obj->styles[j + 1]; in lv_obj_remove_style()
Dlv_refr.c1013 uint32_t i = total - 1, j = 0; in draw_buf_rotate_180() local
1014 while(i > j) { in draw_buf_rotate_180()
1016 color_p[i] = color_p[j]; in draw_buf_rotate_180()
1017 color_p[j] = tmp; in draw_buf_rotate_180()
1019 j++; in draw_buf_rotate_180()
1070 for(lv_coord_t j = 0; j < (w + 1) / 2; j++) { in draw_buf_rotate_90_sqr() local
1072 lv_coord_t inv_j = (w - 1) - j; in draw_buf_rotate_90_sqr()
1075 &color_p[i * w + j], in draw_buf_rotate_90_sqr()
1078 &color_p[j * w + inv_i] in draw_buf_rotate_90_sqr()
1083 &color_p[i * w + j], in draw_buf_rotate_90_sqr()
[all …]
Dlv_obj.c885 uint32_t j; in lv_obj_set_state() local
886 for(j = 0; tr->props[j] != 0 && tsi < STYLE_TRANSITION_MAX; j++) { in lv_obj_set_state()
892 … if(ts[t].prop == tr->props[j] && part_ts == part_act && state_ts >= state_act) break; in lv_obj_set_state()
900 ts[tsi].prop = tr->props[j]; in lv_obj_set_state()
/lvgl-3.5.0/src/extra/widgets/calendar/
Dlv_calendar.c259 uint8_t j = 0; in lv_calendar_constructor() local
269 calendar->nums[j][0] = 'x'; in lv_calendar_constructor()
270 calendar->map[i] = calendar->nums[j]; in lv_calendar_constructor()
271 j++; in lv_calendar_constructor()
/lvgl-3.5.0/src/extra/widgets/span/
Dlv_span.c374 uint32_t j = 0; in lv_spangroup_get_expand_width() local
377 while(cur_txt[j] != '\0') { in lv_spangroup_get_expand_width()
381 uint32_t letter = _lv_txt_encoded_next(cur_txt, &j); in lv_spangroup_get_expand_width()
382 uint32_t letter_next = _lv_txt_encoded_next(&cur_txt[j], NULL); in lv_spangroup_get_expand_width()
950 uint32_t j = 0; in lv_draw_span() local
951 while(j < txt_bytes) { in lv_draw_span()
956 uint32_t letter = _lv_txt_encoded_next(bidi_txt, &j); in lv_draw_span()
957 uint32_t letter_next = _lv_txt_encoded_next(&bidi_txt[j], NULL); in lv_draw_span()
/lvgl-3.5.0/demos/benchmark/
Dlv_demo_benchmark.c1102 uint32_t j; in line_create() local
1103 for(j = 1; j < LINE_POINT_NUM; j++) { in line_create()
1104 … points[i][j].x = points[i][j - 1].x + rnd_next(LINE_POINT_DIFF_MIN, LINE_POINT_DIFF_MAX); in line_create()
1105 points[i][j].y = rnd_next(LINE_POINT_DIFF_MIN, LINE_POINT_DIFF_MAX); in line_create()
/lvgl-3.5.0/src/extra/libs/sjpg/
Dtjpgd.c200 unsigned int i, j, b, cls, num; in create_huffman_tbl() local
222 for (j = i = 0; i < 16; i++) { /* Re-build huffman code word table */ in create_huffman_tbl()
224 while (b--) ph[j++] = hc++; in create_huffman_tbl()
256 for (j = pb[b]; j; j--) { in create_huffman_tbl()
/lvgl-3.5.0/tests/unity/
Dunity.c1433 UNITY_UINT32 j = 0; in UnityAssertEqualStringArray() local
1462 act = actual[j]; in UnityAssertEqualStringArray()
1465 expd = ((const char* const*)expected)[j]; in UnityAssertEqualStringArray()
1494 UnityPrintNumberUnsigned(j); in UnityAssertEqualStringArray()
1500 } while (++j < num_elements); in UnityAssertEqualStringArray()
/lvgl-3.5.0/src/draw/sdl/
Dlv_draw_sdl_img.c333 for(int i = w > h ? ROUNDED_IMG_PART_LEFT : ROUNDED_IMG_PART_TOP, j = i + 3; i <= j; i++) { in draw_img_rounded() local
/lvgl-3.5.0/docs/libs/
Drlottie.md19 make -j
/lvgl-3.5.0/demos/music/
Dlv_demo_music_main.c825 uint32_t j = (i + bar_rot + rnd_array[bar_ofs % 10]) % BAR_CNT; in spectrum_draw_event_cb() local
828 uint32_t v = (r[k] * animv + r[j] * (amax - animv)) / amax; in spectrum_draw_event_cb()