Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 21 of 21) sorted by relevance

/lvgl-3.7.0/tests/src/test_cases/
Dtest_slider.c91 lv_slider_t * ptr = (lv_slider_t *) sliderRangeMode; in test_slider_range_mode_should_leave_edit_mode_if_released() local
101 TEST_ASSERT_FALSE(ptr->dragging); in test_slider_range_mode_should_leave_edit_mode_if_released()
102 TEST_ASSERT_NULL(ptr->value_to_set); in test_slider_range_mode_should_leave_edit_mode_if_released()
103 TEST_ASSERT_EQUAL(0U, ptr->left_knob_focus); in test_slider_range_mode_should_leave_edit_mode_if_released()
111 lv_slider_t * ptr = (lv_slider_t *) sliderRangeMode; in test_slider_range_mode_should_not_leave_edit_mode_if_released_with_no_left_knob_focus() local
122 TEST_ASSERT_FALSE(ptr->dragging); in test_slider_range_mode_should_not_leave_edit_mode_if_released_with_no_left_knob_focus()
123 TEST_ASSERT_NULL(ptr->value_to_set); in test_slider_range_mode_should_not_leave_edit_mode_if_released_with_no_left_knob_focus()
130 lv_slider_t * ptr = (lv_slider_t *) sliderNormalMode; in test_slider_normal_mode_should_leave_edit_mode_if_released() local
131 ptr->left_knob_focus = 1; in test_slider_normal_mode_should_leave_edit_mode_if_released()
141 TEST_ASSERT_FALSE(ptr->dragging); in test_slider_normal_mode_should_leave_edit_mode_if_released()
[all …]
/lvgl-3.7.0/src/misc/
Dlv_tlsf.h68 void * lv_tlsf_realloc(lv_tlsf_t tlsf, void * ptr, size_t size);
69 size_t lv_tlsf_free(lv_tlsf_t tlsf, const void * ptr);
72 size_t lv_tlsf_block_size(void * ptr);
83 typedef void (*lv_tlsf_walker)(void * ptr, size_t size, int used, void * user);
Dlv_tlsf.c427 static block_header_t * block_from_ptr(const void * ptr) in block_from_ptr() argument
430 tlsf_cast(unsigned char *, ptr) - block_start_offset); in block_from_ptr()
440 static block_header_t * offset_to_block(const void * ptr, size_t size) in offset_to_block() argument
442 return tlsf_cast(block_header_t *, tlsf_cast(tlsfptr_t, ptr) + size); in offset_to_block()
496 static void * align_ptr(const void * ptr, size_t align) in align_ptr() argument
499 (tlsf_cast(tlsfptr_t, ptr) + (align - 1)) & ~(align - 1); in align_ptr()
821 static void integrity_walker(void * ptr, size_t size, int used, void * user) in integrity_walker() argument
823 block_header_t * block = block_from_ptr(ptr); in integrity_walker()
887 static void default_walker(void * ptr, size_t size, int used, void * user) in default_walker() argument
890 …printf("\t%p %s size: %x (%p)\n", ptr, used ? "used" : "free", (unsigned int)size, (void *)block_f… in default_walker()
[all …]
Dlv_style_gen.c238 .ptr = value in lv_style_set_bg_grad()
254 .ptr = value in lv_style_set_bg_img_src()
518 .ptr = value in lv_style_set_arc_img_src()
542 .ptr = value in lv_style_set_text_font()
614 .ptr = value in lv_style_set_color_filter_dsc()
630 .ptr = value in lv_style_set_anim()
654 .ptr = value in lv_style_set_transition()
Dlv_style_gen.h234 .prop = LV_STYLE_BG_GRAD, .value = { .ptr = val } \
244 .prop = LV_STYLE_BG_IMG_SRC, .value = { .ptr = val } \
409 .prop = LV_STYLE_ARC_IMG_SRC, .value = { .ptr = val } \
424 .prop = LV_STYLE_TEXT_FONT, .value = { .ptr = val } \
469 .prop = LV_STYLE_COLOR_FILTER_DSC, .value = { .ptr = val } \
479 .prop = LV_STYLE_ANIM, .value = { .ptr = val } \
494 .prop = LV_STYLE_TRANSITION, .value = { .ptr = val } \
Dlv_mem.c50 static void lv_mem_walker(void * ptr, size_t size, int used, void * user);
550 static void lv_mem_walker(void * ptr, size_t size, int used, void * user) in lv_mem_walker() argument
552 LV_UNUSED(ptr); in lv_mem_walker()
Dlv_style.c352 value.ptr = LV_FONT_DEFAULT; in lv_style_prop_get_default()
359 value.ptr = NULL; in lv_style_prop_get_default()
Dlv_style.h169 const void * ptr; /**< Constant pointers (font, cone text, etc)*/ member
/lvgl-3.7.0/src/core/
Dlv_obj_style.c337 if(v1.ptr == v2.ptr && v1.num == v2.num && v1.color.full == v2.color.full) return; in _lv_obj_style_create_transition()
771 if(v < 255) value_final.ptr = tr->start_value.ptr; in trans_anim_cb()
772 else value_final.ptr = tr->end_value.ptr; in trans_anim_cb()
775 if(tr->start_value.ptr == NULL) value_final.ptr = tr->end_value.ptr; in trans_anim_cb()
776 else if(tr->end_value.ptr == NULL) value_final.ptr = tr->start_value.ptr; in trans_anim_cb()
777 else if(v < 128) value_final.ptr = tr->start_value.ptr; in trans_anim_cb()
778 else value_final.ptr = tr->end_value.ptr; in trans_anim_cb()
802 if(value_final.ptr == old_value.ptr && value_final.color.full == old_value.color.full && in trans_anim_cb()
Dlv_obj_style_gen.c238 .ptr = value in lv_obj_set_style_bg_grad()
254 .ptr = value in lv_obj_set_style_bg_img_src()
518 .ptr = value in lv_obj_set_style_arc_img_src()
542 .ptr = value in lv_obj_set_style_text_font()
614 .ptr = value in lv_obj_set_style_color_filter_dsc()
630 .ptr = value in lv_obj_set_style_anim()
654 .ptr = value in lv_obj_set_style_transition()
Dlv_obj_style_gen.h190 return (const lv_grad_dsc_t *)v.ptr; in lv_obj_get_style_bg_grad()
202 return (const void *)v.ptr; in lv_obj_get_style_bg_img_src()
442 return (const void *)v.ptr; in lv_obj_get_style_arc_img_src()
466 return (const lv_font_t *)v.ptr; in lv_obj_get_style_text_font()
520 return (const lv_color_filter_dsc_t *)v.ptr; in lv_obj_get_style_color_filter_dsc()
532 return (const lv_anim_t *)v.ptr; in lv_obj_get_style_anim()
550 return (const lv_style_transition_dsc_t *)v.ptr; in lv_obj_get_style_transition()
Dlv_obj.c909 const lv_style_transition_dsc_t * tr = v.ptr; in lv_obj_set_state()
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_img.c210 … lv_draw_sdl_dec_dsc_userdata_t * ptr = (lv_draw_sdl_dec_dsc_userdata_t *) dsc->user_data; in lv_draw_sdl_img_load_texture() local
211 *texture = ptr->texture; in lv_draw_sdl_img_load_texture()
212 rect = ptr->rect; in lv_draw_sdl_img_load_texture()
213 if(ptr->texture_managed) { in lv_draw_sdl_img_load_texture()
216 ptr->texture_referenced = true; in lv_draw_sdl_img_load_texture()
/lvgl-3.7.0/src/extra/layouts/grid/
Dlv_grid.h124 return (const lv_coord_t *)v.ptr; in lv_obj_get_style_grid_row_dsc_array()
130 return (const lv_coord_t *)v.ptr; in lv_obj_get_style_grid_column_dsc_array()
Dlv_grid.c176 .ptr = (const void *)value in lv_style_set_grid_row_dsc_array()
184 .ptr = (const void *)value in lv_style_set_grid_column_dsc_array()
256 .ptr = (const void *)value in lv_obj_set_style_grid_row_dsc_array()
264 .ptr = (const void *)value in lv_obj_set_style_grid_column_dsc_array()
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_gradient.c60 const void * ptr; member
67 v.ptr = g; in compute_key()
/lvgl-3.7.0/src/extra/libs/sjpg/
Dtjpgd.c959 #define LDB_WORD(ptr) (uint16_t)(((uint16_t)*((uint8_t*)(ptr))<<8)|(uint16_t)*(uint8_t*)((ptr)+1)) argument
/lvgl-3.7.0/docs/overview/
Ddrawing.md90 …er to the draw engine with `int16_t mask_id = lv_draw_mask_add(&param, ptr)`. `ptr` can be any poi…
92 …k from the draw engine with `lv_draw_mask_remove_id(mask_id)` or `lv_draw_mask_remove_custom(ptr)`.
Dstyle.md167 - `ptr` for pointer properties
/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c82 static void* lodepng_realloc(void* ptr, size_t new_size) { in lodepng_realloc() argument
86 return lv_mem_realloc(ptr, new_size); in lodepng_realloc()
89 static void lodepng_free(void* ptr) { in lodepng_free() argument
90 lv_mem_free(ptr); in lodepng_free()
95 void* lodepng_realloc(void* ptr, size_t new_size);
96 void lodepng_free(void* ptr);
/lvgl-3.7.0/src/extra/widgets/span/
Dlv_span.c655 font = (const lv_font_t *)value.ptr; in lv_span_get_style_text_font()