Home
last modified time | relevance | path

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

12

/lvgl-latest/src/misc/
Dlv_text_ap.c115 uint32_t i, j; in lv_text_ap_calc_bytes_count() local
121 j = 0; in lv_text_ap_calc_bytes_count()
123 ch_enc = lv_text_encoded_next(txt, &j); in lv_text_ap_calc_bytes_count()
147 uint32_t index_current, idx_next, idx_previous, i, j; in lv_text_ap_proc() local
158 j = 0; in lv_text_ap_proc()
159 while(j < txt_length) in lv_text_ap_proc()
160 ch_enc[j++] = lv_text_encoded_next(txt, &i); in lv_text_ap_proc()
162 ch_enc[j] = 0; in lv_text_ap_proc()
165 j = 0; in lv_text_ap_proc()
172 ch_fin[j] = ch_enc[i]; in lv_text_ap_proc()
[all …]
Dlv_style.c276 uint32_t j; in lv_style_remove_prop() local
277 for(i = j = 0; j <= style->prop_cnt; in lv_style_remove_prop()
278j++) { /*<=: because prop_cnt already reduced but all the old props. needs to be checked.*/ in lv_style_remove_prop()
279 if(old_props[j] != prop) { in lv_style_remove_prop()
280 new_values[i] = old_values[j]; in lv_style_remove_prop()
281 new_props[i++] = old_props[j]; in lv_style_remove_prop()
/lvgl-latest/tests/src/test_cases/
Dtest_margin_grid.c77 for(int j = 0; j < N; ++j) { in test_grid() local
78 obj0s[i][j] = obj_create(obj0, in test_grid()
79 … lv_palette_main(colors[(i * M + j) % ((sizeof colors) / (sizeof(lv_palette_t)))])); in test_grid()
85 for(int j = 0; j < N; ++j) { in test_grid() local
86 o = obj0s[i][j]; in test_grid()
92 lv_obj_set_grid_cell(o, LV_GRID_ALIGN_CENTER, j, 1, LV_GRID_ALIGN_STRETCH, i, 1); in test_grid()
95 lv_obj_set_style_margin_left(o, i * 5 + j * 5, LV_PART_MAIN); in test_grid()
97 lv_obj_set_style_margin_bottom(o, i * 5 + j * 5, LV_PART_MAIN); in test_grid()
Dtest_circle_buf.c58 for(int32_t i = 0, j = 1; i < circle_buf_CAPACITY * 10; i++, j++) { in test_circle_buf_read_write_peek_values() local
63 TEST_ASSERT_EQUAL_INT32(j, value); in test_circle_buf_read_write_peek_values()
65 if(j == 3) j = 0; in test_circle_buf_read_write_peek_values()
Dtest_hover.c46 for(uint8_t j = 0; j < TEST_HOVER_COUNTS; j++) { in test_move_mouse() local
Dtest_fs.c232 for(uint32_t j = 0; j < 20; j++) { in test_write_read_random() local
233 int8_t action = actions[i][j][0]; in test_write_read_random()
234 int8_t amount = actions[i][j][1]; in test_write_read_random()
/lvgl-latest/src/libs/thorvg/
DtvgArray.h183 int32_t j = high; in qsort() local
185 while (i < j) { in qsort()
186 while (i < j && !COMPARE{}(arr[j], tmp)) --j; in qsort()
187 if (i < j) { in qsort()
188 arr[i] = arr[j]; in qsort()
191 while (i < j && COMPARE{}(arr[i], tmp)) ++i; in qsort()
192 if (i < j) { in qsort()
193 arr[j] = arr[i]; in qsort()
194 --j; in qsort()
DtvgSwFill.cpp169 for (uint32_t j = 0; j < cnt - 1; ++j) { in _updateColorTable() local
170 if (repeat && j == cnt - 2 && iAAEnd == 0) { in _updateColorTable()
175 auto curr = colors + j; in _updateColorTable()
197 if (repeat && j == 0) _adjustAAMargin(iAABegin, i - 1); in _updateColorTable()
575 for (uint32_t j = 0; j < len; ++j, ++dst, cmp += csize) { in fillLinear() local
606 for (uint32_t j = 0; j < len; ++j, ++dst, cmp += csize) { in fillLinear() local
648 for (uint32_t j = 0; j < len; ++j, ++dst) { in fillLinear() local
692 for (uint32_t j = 0; j < len; ++j, ++dst, ++cmp) { in fillLinear() local
737 for (uint32_t j = 0; j < len; ++j, ++dst) { in fillLinear() local
787 for (uint32_t j = 0; j < len; ++j, ++dst) { in fillLinear() local
[all …]
/lvgl-latest/src/libs/qrcode/
Dqrcodegen.c245 for(int j = 0; j < seg->bitLength; j++) in qrcodegen_encodeSegmentsAdvanced() local
246 appendBitsToBuffer((seg->data[j >> 3] >> (7 - (j & 7))) & 1, 1, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
320 for(int j = 0, k = i; j < datLen; j++, k += numBlocks) { // Copy data in addEccAndInterleave() local
321 if(j == shortBlockDataLen) in addEccAndInterleave()
323 result[k] = dat[j]; in addEccAndInterleave()
325 for(int j = 0, k = dataLen + i; j < blockEccLen; j++, k += numBlocks) // Copy ECC in addEccAndInterleave() local
326 result[k] = ecc[j]; in addEccAndInterleave()
378 for(int j = 0; j < degree; j++) { in calcReedSolomonGenerator() local
379 result[j] = finiteFieldMultiply(result[j], root); in calcReedSolomonGenerator()
380 if(j + 1 < degree) in calcReedSolomonGenerator()
[all …]
/lvgl-latest/examples/others/file_explorer/
Dlv_example_file_explorer_3.c9 static void exch_table_item(lv_obj_t * tb, int16_t i, int16_t j) in exch_table_item() argument
14 lv_table_set_cell_value(tb, i, 0, lv_table_get_cell_value(tb, j, 0)); in exch_table_item()
15 lv_table_set_cell_value(tb, j, 0, lv_table_get_cell_value(tb, 0, 2)); in exch_table_item()
19 lv_table_set_cell_value(tb, i, 1, lv_table_get_cell_value(tb, j, 1)); in exch_table_item()
20 lv_table_set_cell_value(tb, j, 1, lv_table_get_cell_value(tb, 0, 2)); in exch_table_item()
/lvgl-latest/src/core/
Dlv_obj_style.c129 uint32_t j; in lv_obj_add_style() local
130 for(j = obj->style_cnt - 1; j > i ; j--) { in lv_obj_add_style()
131 obj->styles[j] = obj->styles[j - 1]; in lv_obj_add_style()
237 uint32_t j; in lv_obj_remove_style() local
238 for(j = i; j < (uint32_t)obj->style_cnt - 1 ; j++) { in lv_obj_remove_style()
239 obj->styles[j] = obj->styles[j + 1]; in lv_obj_remove_style()
1007 uint32_t j; in full_cache_refresh() local
1010 for(j = 0; props[j].prop != LV_STYLE_PROP_INV; j++) { in full_cache_refresh()
1011 obj->style_main_prop_is_set |= STYLE_PROP_SHIFTED(props[j].prop); in full_cache_refresh()
1016 for(j = 0; j < style->prop_cnt; j++) { in full_cache_refresh()
[all …]
/lvgl-latest/docs/
Dconfig_builder.py39 for j, item in enumerate(line):
41 line[j] = '1'
/lvgl-latest/src/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;
3198 int j = x1 >> STBTT_FIXSHIFT; local
[all …]
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_util.c267 for(uint32_t j = 0; j < STYLE_TYPE_COUNT; j++) { in lv_demo_high_res_base_obj_create() local
268 lv_style_init(&c->styles[i][j]); in lv_demo_high_res_base_obj_create()
544 for(uint32_t j = 0; j < STYLE_TYPE_COUNT; j++) { in theme_observer_cb() local
545 lv_obj_report_style_change(&c->styles[i][j]); in theme_observer_cb()
562 for(uint32_t j = 0; j < STYLE_TYPE_COUNT; j++) { in free_ctx_event_cb() local
563 lv_style_reset(&c->styles[i][j]); in free_ctx_event_cb()
/lvgl-latest/src/others/file_explorer/
Dlv_file_explorer.c48 static void exch_table_item(lv_obj_t * tb, int16_t i, int16_t j);
417 for(uint32_t j = 0; j < list_ch_cnt; j++) { in init_style() local
418 lv_obj_t * list_child = lv_obj_get_child(child, j); in init_style()
648 static void exch_table_item(lv_obj_t * tb, int16_t i, int16_t j) in exch_table_item() argument
650 if(i == j) return; in exch_table_item()
655 lv_table_set_cell_value(tb, i, 0, lv_table_get_cell_value(tb, j, 0)); in exch_table_item()
656 lv_table_set_cell_value(tb, j, 0, lv_table_get_cell_value(tb, 0, 2)); in exch_table_item()
660 lv_table_set_cell_value(tb, i, 1, lv_table_get_cell_value(tb, j, 1)); in exch_table_item()
661 lv_table_set_cell_value(tb, j, 1, lv_table_get_cell_value(tb, 0, 2)); in exch_table_item()
/lvgl-latest/src/libs/freetype/
Dlv_freetype_outline.c353 for(int j = 0; j < tag_size; j++) { in outline_create() local
354 if((face->glyph->outline.tags[j] & 0x1) == 0x1) { in outline_create()
359 int jj = j + 1 < tag_size ? j + 1 : 0; in outline_create()
/lvgl-latest/.devcontainer/
D__build_all.sh__3 emmake make -j$(nproc)
/lvgl-latest/src/stdlib/builtin/
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/others/ime/
Dlv_ime_pinyin.c795 for(uint8_t j = 0; j < 3; j++) { in pinyin_input_proc() local
796 lv_pinyin_cand_str[i][j] = pinyin_ime->cand_str[i * 3 + j]; in pinyin_input_proc()
838 for(uint8_t j = 0; j < 3; j++) { in pinyin_page_proc() local
839 lv_pinyin_cand_str[i][j] = pinyin_ime->cand_str[offset + (i * 3) + j]; in pinyin_page_proc()
/lvgl-latest/src/libs/lodepng/
Dlodepng.c774 unsigned j; in HuffmanTree_makeTable() local
775 for(j = 0; j < num; ++j) { in HuffmanTree_makeTable()
777 unsigned index = reverse | (j << l); in HuffmanTree_makeTable()
792 unsigned j; in HuffmanTree_makeTable() local
794 for(j = 0; j < num; ++j) { in HuffmanTree_makeTable()
796 unsigned index2 = start + (reverse2 | (j << (l - FIRSTBITS))); in HuffmanTree_makeTable()
961 size_t i = p, j = q, k; in bpmnode_sort() local
963 if(i < q && (j >= r || a[i].weight <= a[j].weight)) b[k] = a[i++]; in bpmnode_sort()
964 else b[k] = a[j++]; in bpmnode_sort()
2012 unsigned j = 0; /*amount of repetitions*/ in deflateDynamic() local
[all …]
/lvgl-latest/src/libs/gif/
Dgifdec.c669 int j, k; in render_frame_rect() local
672 for(j = 0; j < gif->fh; j++) { in render_frame_rect()
674 index = gif->frame[(gif->fy + j) * gif->width + gif->fx + k]; in render_frame_rect()
704 int j, k; in dispose() local
705 for(j = 0; j < gif->fh; j++) { in dispose()
/lvgl-latest/tests/micropy_test/
D__init__.py313 item for j in range(0, len(frame), 3)
314 for item in [frame[j + 2], frame[j + 1], frame[j]]
/lvgl-latest/src/libs/thorvg/rapidjson/internal/
Dregex.h457 for (SizeType j = 0; j < count; j++) { in RAPIDJSON_DIAG_OFF() local
458 if (s[j].out != kRegexInvalidState) in RAPIDJSON_DIAG_OFF()
459 s[j].out += count; in RAPIDJSON_DIAG_OFF()
460 if (s[j].out1 != kRegexInvalidState) in RAPIDJSON_DIAG_OFF()
461 s[j].out1 += count; in RAPIDJSON_DIAG_OFF()
Ditoa.h245 const uint32_t j = (a % 100) << 1; in u64toa() local
248 *buffer++ = cDigitsLut[j]; in u64toa()
249 *buffer++ = cDigitsLut[j + 1]; in u64toa()
/lvgl-latest/scripts/gdb/lvglgdb/
Dlvgl.py118 for j in range(prop_cnt):
119 prop = values_and_props[j].prop
122 yield values_and_props[j]

12