Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 13 of 13) sorted by relevance

/lvgl-3.7.0/src/misc/
Dlv_printf.c116 typedef void (*out_fct_type)(char character, void * buffer, size_t idx, size_t maxlen);
125 static inline void _out_buffer(char character, void * buffer, size_t idx, size_t maxlen) in _out_buffer() argument
127 if(idx < maxlen) { in _out_buffer()
128 ((char *)buffer)[idx] = character; in _out_buffer()
133 static inline void _out_null(char character, void * buffer, size_t idx, size_t maxlen) in _out_null() argument
137 LV_UNUSED(idx); in _out_null()
168 static size_t _out_rev(out_fct_type out, char * buffer, size_t idx, size_t maxlen, const char * buf… in _out_rev() argument
171 const size_t start_idx = idx; in _out_rev()
177 out(' ', buffer, idx++, maxlen); in _out_rev()
183 out(buf[--len], buffer, idx++, maxlen); in _out_rev()
[all …]
/lvgl-3.7.0/tests/src/test_cases/
Dtest_snapshot.c12 uint32_t idx = 0; in test_snapshot_should_not_leak_memory() local
22 for(idx = 0; idx < NUM_SNAPSHOTS; idx++) { in test_snapshot_should_not_leak_memory()
23 snapshots[idx] = lv_snapshot_take(lv_scr_act(), LV_IMG_CF_TRUE_COLOR_ALPHA); in test_snapshot_should_not_leak_memory()
24 TEST_ASSERT_NOT_NULL(snapshots[idx]); in test_snapshot_should_not_leak_memory()
27 for(idx = 0; idx < NUM_SNAPSHOTS; idx++) { in test_snapshot_should_not_leak_memory()
28 lv_snapshot_free(snapshots[idx]); in test_snapshot_should_not_leak_memory()
Dtest_switch.c51 size_t idx = 0; in test_switch_should_not_leak_memory_after_deletion() local
60 for(idx = 0; idx < SWITCHES_CNT; idx++) { in test_switch_should_not_leak_memory_after_deletion()
61 switches[idx] = lv_switch_create(scr); in test_switch_should_not_leak_memory_after_deletion()
64 for(idx = 0; idx < SWITCHES_CNT; idx++) { in test_switch_should_not_leak_memory_after_deletion()
65 lv_obj_del(switches[idx]); in test_switch_should_not_leak_memory_after_deletion()
/lvgl-3.7.0/src/extra/widgets/calendar/
Dlv_calendar_header_dropdown.c72 uint32_t idx = 0; in lv_calendar_header_dropdown_set_year_list() local
78 for(idx = 0; idx < calendar_child_count; idx++) { in lv_calendar_header_dropdown_set_year_list()
79 child = lv_obj_get_child(parent, idx); in lv_calendar_header_dropdown_set_year_list()
92 for(idx = 0; idx < header_child_count; idx++) { in lv_calendar_header_dropdown_set_year_list()
93 child = lv_obj_get_child(child, idx); in lv_calendar_header_dropdown_set_year_list()
/lvgl-3.7.0/src/draw/nxp/vglite/
Dlv_draw_vglite_arc.c548 int idx = *pidx; in add_split_arc_path() local
551 arc_path[idx++] = VLC_OP_LINE; in add_split_arc_path()
552 arc_path[idx++] = q_arc->p1x + center->x; in add_split_arc_path()
553 arc_path[idx++] = q_arc->p1y + center->y; in add_split_arc_path()
554 arc_path[idx++] = VLC_OP_LINE; in add_split_arc_path()
555 arc_path[idx++] = q_arc->p2x + center->x; in add_split_arc_path()
556 arc_path[idx++] = q_arc->p2y + center->y; in add_split_arc_path()
557 arc_path[idx++] = VLC_OP_LINE; in add_split_arc_path()
558 arc_path[idx++] = q_arc->p3x + center->x; in add_split_arc_path()
559 arc_path[idx++] = q_arc->p3y + center->y; in add_split_arc_path()
[all …]
/lvgl-3.7.0/src/extra/widgets/animimg/
Dlv_animimg.c130 lv_coord_t idx; in index_change() local
133 idx = index % animimg->pic_count; in index_change()
135 lv_img_set_src(obj, animimg->dsc[idx]); in index_change()
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_composite.c269 const size_t idx = y * pitch + x * 4; in dump_masks() local
270 pixels[idx] = line_buf[x]; in dump_masks()
271 pixels[idx + 1] = pixels[idx + 2] = pixels[idx + 3] = 0xFF; in dump_masks()
/lvgl-3.7.0/tests/unity/
Dgenerate_test_runner.rb355 test[:args].each.with_index(1) do |args, idx|
356 output.puts("static void runner_args#{idx}_#{test[:test]}(void)")
413 test[:args].each.with_index(1) do |args, idx|
414 wrapper = "runner_args#{idx}_#{test[:test]}"
/lvgl-3.7.0/demos/music/
Dlv_demo_music_list.c224 uint32_t idx = lv_obj_get_child_id(btn); in btn_click_event_cb() local
226 _lv_demo_music_play(idx); in btn_click_event_cb()
/lvgl-3.7.0/src/widgets/
Dlv_table.c284 uint32_t idx = old_col_start + min_col_cnt + i; in lv_table_set_col_cnt() local
286 if(table->cell_data[idx]->user_data) { in lv_table_set_col_cnt()
287 lv_mem_free(table->cell_data[idx]->user_data); in lv_table_set_col_cnt()
288 table->cell_data[idx]->user_data = NULL; in lv_table_set_col_cnt()
291 lv_mem_free(table->cell_data[idx]); in lv_table_set_col_cnt()
292 table->cell_data[idx] = NULL; in lv_table_set_col_cnt()
/lvgl-3.7.0/docs/overview/
Dlayer.md41 - Use `lv_obj_move_to_index(obj, idx)` to move an object to a given index in the order of children.…
/lvgl-3.7.0/docs/widgets/
Dobj.md50 To get a specific child of a parent use `lv_obj_get_child(parent, idx)`. Some examples for `idx`:
/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h2205 static stbtt__buf stbtt__get_subr(stbtt__buf idx, int n) argument
2207 int count = stbtt__cff_index_count(&idx);
2216 return stbtt__cff_index_get(idx, n);