Home
last modified time | relevance | path

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

/lvgl-latest/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.c265 uint32_t j; in lv_style_remove_prop() local
266 for(i = j = 0; j <= style->prop_cnt; in lv_style_remove_prop()
267j++) { /*<=: because prop_cnt already reduced but all the old props. needs to be checked.*/ in lv_style_remove_prop()
268 if(old_props[j] != prop) { in lv_style_remove_prop()
269 new_values[i] = old_values[j]; in lv_style_remove_prop()
270 new_props[i++] = old_props[j]; in lv_style_remove_prop()
Dlv_tlsf.c796 int i, j; in control_constructor() local
804 for(j = 0; j < SL_INDEX_COUNT; ++j) { in control_constructor()
805 control->blocks[i][j] = &control->block_null; in control_constructor()
840 int i, j; in lv_tlsf_check() local
847 for(j = 0; j < SL_INDEX_COUNT; ++j) { in lv_tlsf_check()
850 const int sl_map = sl_list & (1U << j); in lv_tlsf_check()
851 const block_header_t * block = control->blocks[i][j]; in lv_tlsf_check()
876 tlsf_insist(fli == i && sli == j && "block size indexed in wrong list"); in lv_tlsf_check()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_dither.c53 for(lv_coord_t j = 0; j < w; j++) { in lv_dither_ordered_hor() local
54 int8_t factor = dither_ordered_threshold_matrix[(y & 7) * 8 + ((j) & 7)] - 32; in lv_dither_ordered_hor()
55 lv_color32_t tmp = grad->hmap[LV_CLAMP(0, j - 4, grad->size)]; in lv_dither_ordered_hor()
61 grad->map[j] = lv_color_hex(t.full); in lv_dither_ordered_hor()
79 for(lv_coord_t j = 0; j < 8; j++) { in lv_dither_ordered_ver() local
80 int8_t factor = dither_ordered_threshold_matrix[(y & 7) * 8 + ((j + x) & 7)] - 32; in lv_dither_ordered_ver()
86 grad->map[j] = lv_color_hex(t.full); in lv_dither_ordered_ver()
89 lv_coord_t j = 8; in lv_dither_ordered_ver() local
90 for(; j < w - 8; j += 8) { in lv_dither_ordered_ver()
91 lv_memcpy(grad->map + j, grad->map, 8 * sizeof(*grad->map)); in lv_dither_ordered_ver()
[all …]
/lvgl-latest/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-latest/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h343 int w, h, i, j, c = (argc > 1 ? atoi(argv[1]) : 'a'), s = (argc > 2 ? atoi(argv[2]) : 20);
350 for(j = 0; j < h; ++j) {
352 putchar(" .:ioVM@"[bitmap[j * w + i] >> 5]);
383 int i, j, ascent, baseline, ch = 0;
411 for(j = 0; j < 20; ++j) {
413 putchar(" .:ioVM@"[screen[j][i] >> 5]);
1899 stbtt_int32 ins, i, j = 0, m, n, next_move, was_off = 0, off, start_off = 0; local
2006 next_move = 1 + ttUSHORT(data, endPtsOfContours + j * 2);
2007 ++j;
3158 int j = x1 >> STBTT_FIXSHIFT; local
[all …]
/lvgl-latest/src/core/
Dlv_refr.c536 int8_t res_c, j; in refr_sync_areas() local
555 for(j = 0; j < res_c; j++) { in refr_sync_areas()
557 *new_area = res[j]; in refr_sync_areas()
1094 uint32_t i = total - 1, j = 0; in draw_buf_rotate_180() local
1095 while(i > j) { in draw_buf_rotate_180()
1097 color_p[i] = color_p[j]; in draw_buf_rotate_180()
1098 color_p[j] = tmp; in draw_buf_rotate_180()
1100 j++; in draw_buf_rotate_180()
1151 for(lv_coord_t j = 0; j < (w + 1) / 2; j++) { in draw_buf_rotate_90_sqr() local
1153 lv_coord_t inv_j = (w - 1) - j; in draw_buf_rotate_90_sqr()
[all …]
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_obj.c912 uint32_t j; in lv_obj_set_state() local
913 for(j = 0; tr->props[j] != 0 && tsi < STYLE_TRANSITION_MAX; j++) { in lv_obj_set_state()
919 … if(ts[t].prop == tr->props[j] && part_ts == part_act && state_ts >= state_act) break; in lv_obj_set_state()
927 ts[tsi].prop = tr->props[j]; in lv_obj_set_state()
/lvgl-latest/src/extra/others/ime/
Dlv_ime_pinyin.c806 for(uint8_t j = 0; j < 3; j++) { in pinyin_input_proc() local
807 lv_pinyin_cand_str[i][j] = pinyin_ime->cand_str[i * 3 + j]; in pinyin_input_proc()
847 for(uint8_t j = 0; j < 3; j++) { in pinyin_page_proc() local
848 lv_pinyin_cand_str[i][j] = pinyin_ime->cand_str[offset + (i * 3) + j]; in pinyin_page_proc()
/lvgl-latest/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-latest/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-latest/src/extra/widgets/calendar/
Dlv_calendar.c258 uint8_t j = 0; in lv_calendar_constructor() local
268 calendar->nums[j][0] = 'x'; in lv_calendar_constructor()
269 calendar->map[i] = calendar->nums[j]; in lv_calendar_constructor()
270 j++; in lv_calendar_constructor()
/lvgl-latest/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-latest/demos/benchmark/
Dlv_demo_benchmark.c1097 uint32_t j; in line_create() local
1098 for(j = 1; j < LINE_POINT_NUM; j++) { in line_create()
1099 … points[i][j].x = points[i][j - 1].x + rnd_next(LINE_POINT_DIFF_MIN, LINE_POINT_DIFF_MAX); in line_create()
1100 points[i][j].y = rnd_next(LINE_POINT_DIFF_MIN, LINE_POINT_DIFF_MAX); in line_create()
/lvgl-latest/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-latest/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-latest/src/draw/sdl/
Dlv_draw_sdl_img.c348 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-latest/docs/libs/
Drlottie.md19 make -j
/lvgl-latest/demos/music/
Dlv_demo_music_main.c832 uint32_t j = (i + bar_rot + rnd_array[bar_ofs % 10]) % BAR_CNT; in spectrum_draw_event_cb() local
835 uint32_t v = (r[k] * animv + r[j] * (amax - animv)) / amax; in spectrum_draw_event_cb()