/lvgl-3.7.0/src/misc/ |
D | lv_printf.c | 116 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/ |
D | test_snapshot.c | 12 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()
|
D | test_switch.c | 51 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/ |
D | lv_calendar_header_dropdown.c | 72 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/ |
D | lv_draw_vglite_arc.c | 548 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/ |
D | lv_animimg.c | 130 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/ |
D | lv_draw_sdl_composite.c | 269 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/ |
D | generate_test_runner.rb | 355 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/ |
D | lv_demo_music_list.c | 224 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/ |
D | lv_table.c | 284 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/ |
D | layer.md | 41 - 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/ |
D | obj.md | 50 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/ |
D | stb_truetype_htcw.h | 2205 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);
|