Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 48) sorted by relevance

12

/lvgl-latest/tests/src/test_cases/widgets/
Dtest_spinbox.c90 lv_obj_t * tmp; in test_spinbox_position_selection() local
91 tmp = lv_spinbox_create(active_screen); in test_spinbox_position_selection()
92 lv_spinbox_set_range(tmp, 0, 10); in test_spinbox_position_selection()
93 lv_spinbox_set_cursor_pos(tmp, 2); in test_spinbox_position_selection()
94 TEST_ASSERT_EQUAL(1, lv_spinbox_get_step(tmp)); in test_spinbox_position_selection()
95 lv_obj_clean(tmp); in test_spinbox_position_selection()
103 lv_obj_t * tmp; in test_spinbox_set_range() local
104 tmp = lv_spinbox_create(active_screen); in test_spinbox_set_range()
105 lv_spinbox_set_range(tmp, 0, 100); in test_spinbox_set_range()
106 lv_spinbox_set_value(tmp, 50); in test_spinbox_set_range()
[all …]
/lvgl-latest/src/stdlib/builtin/
Dlv_string_builtin.c155 char * tmp = (char *)dst + len - 1; in lv_memmove() local
159 *tmp-- = *s--; in lv_memmove()
163 char * tmp = (char *)dst; in lv_memmove() local
167 *tmp++ = *s++; in lv_memmove()
221 char * tmp = dst; in lv_strcpy() local
223 return tmp; in lv_strcpy()
269 char * tmp = dst; in lv_strncat() local
278 return tmp; in lv_strncat()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_mask.c61 static void circ_init(lv_point_t * c, int32_t * tmp, int32_t radius);
63 static void circ_next(lv_point_t * c, int32_t * tmp);
735 int32_t tmp = start_angle_last + dist - rel_x; in lv_draw_mask_angle() local
736 if(tmp > len) tmp = len; in lv_draw_mask_angle()
737 if(tmp > 0) { in lv_draw_mask_angle()
738 res1 = lv_draw_mask_line(&mask_buf[0], abs_x, abs_y, tmp, &p->start_line); in lv_draw_mask_angle()
740 lv_memzero(&mask_buf[0], tmp); in lv_draw_mask_angle()
744 if(tmp > len) tmp = len; in lv_draw_mask_angle()
745 if(tmp < 0) tmp = 0; in lv_draw_mask_angle()
746 res2 = lv_draw_mask_line(&mask_buf[tmp], abs_x + tmp, abs_y, len - tmp, &p->end_line); in lv_draw_mask_angle()
[all …]
Dlv_draw_sw_gradient.c167 lv_grad_color_t tmp; in lv_gradient_color_calculate() local
171 GRAD_CONV(tmp, dsc->stops[0].color); in lv_gradient_color_calculate()
172 *color_out = tmp; in lv_gradient_color_calculate()
179 GRAD_CONV(tmp, dsc->stops[dsc->stops_count - 1].color); in lv_gradient_color_calculate()
180 *color_out = tmp; in lv_gradient_color_calculate()
/lvgl-latest/src/libs/thorvg/
DtvgSwFill.cpp480 auto tmp = maskOp(src, *cmp, 0); in fillRadial() local
481 *dst = tmp + MULTIPLY(*dst, ~tmp); in fillRadial()
491 auto tmp = maskOp(src, *cmp, 0); in fillRadial() local
492 *dst = tmp + MULTIPLY(*dst, ~tmp); in fillRadial()
510 auto tmp = op(_pixel(fill, x0), *dst, 255); in fillRadial() local
511 *dst = op2(tmp, *dst, 255); in fillRadial()
518 auto tmp = op(_pixel(fill, x0), *dst, 255); in fillRadial() local
519 auto tmp2 = op2(tmp, *dst, 255); in fillRadial()
530 auto tmp = op(_pixel(fill, sqrtf(det) - b), *dst, 255); in fillRadial() local
531 *dst = op2(tmp, *dst, 255); in fillRadial()
[all …]
DtvgArray.h184 T tmp = arr[low]; in qsort() local
186 while (i < j && !COMPARE{}(arr[j], tmp)) --j; in qsort()
191 while (i < j && COMPARE{}(arr[i], tmp)) ++i; in qsort()
197 arr[i] = tmp; in qsort()
DtvgPaint.cpp50 Point tmp[4]; in _clipRect() local
55 tmp[i] = pts[i]; in _clipRect()
56 tmp[i] *= rm; in _clipRect()
57 tmp[i] *= pm; in _clipRect()
58 if (tmp[i].x < min.x) min.x = tmp[i].x; in _clipRect()
59 if (tmp[i].x > max.x) max.x = tmp[i].x; in _clipRect()
60 if (tmp[i].y < min.y) min.y = tmp[i].y; in _clipRect()
61 if (tmp[i].y > max.y) max.y = tmp[i].y; in _clipRect()
DtvgSwRaster.cpp360 auto tmp = maskOp(a, *cmp, 0); //not use alpha. in _rasterDirectMaskedRect() local
361 *dst = tmp + MULTIPLY(*dst, ~tmp); in _rasterDirectMaskedRect()
402 auto tmp = ALPHA_BLEND(color, alpha(cmp)); in _rasterMattedRect() local
403 *dst = tmp + ALPHA_BLEND(*dst, IA(tmp)); in _rasterMattedRect()
529 auto tmp = maskOp(src, *cmp, 0); //not use alpha in _rasterDirectMaskedRle() local
530 *dst = tmp + MULTIPLY(*dst, ~tmp); in _rasterDirectMaskedRle()
570 auto tmp = ALPHA_BLEND(src, alpha(cmp)); in _rasterMattedRle() local
571 *dst = tmp + ALPHA_BLEND(*dst, IA(tmp)); in _rasterMattedRle()
606 auto tmp = surface->blender(color, *dst, 255); in _rasterBlendingRle() local
607 *dst = INTERPOLATE(tmp, *dst, span->coverage); in _rasterBlendingRle()
[all …]
DtvgSwRasterTexmap.h187 auto tmp = maskOp(px, *cmp, 0); //not use alpha
188 *dst = tmp + MULTIPLY(*dst, ~tmp);
237 auto tmp = maskOp(MULTIPLY(px, opacity), *cmp, 0);
238 *dst = tmp + MULTIPLY(*dst, ~tmp);
241 auto tmp = MULTIPLY(px, opacity);
242 *cmp = maskOp(tmp, *cmp, ~px);
857 int32_t tmp; in _calcIrregularCoverage() local
859 tmp = y - ry - edgeDist; in _calcIrregularCoverage()
860 if (tmp < 0) return; in _calcIrregularCoverage()
861 lines[tmp].length[eidx] = 1; in _calcIrregularCoverage()
[all …]
DtvgSvgLoader.cpp676 char tmp[3] = { '\0', '\0', '\0' }; in _toColor() local
677 tmp[0] = str[1]; in _toColor()
678 tmp[1] = str[1]; in _toColor()
679 *r = strtol(tmp, nullptr, 16); in _toColor()
680 tmp[0] = str[2]; in _toColor()
681 tmp[1] = str[2]; in _toColor()
682 *g = strtol(tmp, nullptr, 16); in _toColor()
683 tmp[0] = str[3]; in _toColor()
684 tmp[1] = str[3]; in _toColor()
685 *b = strtol(tmp, nullptr, 16); in _toColor()
[all …]
DtvgLoader.cpp273 auto tmp = loader; in term() local
275 _activeLoaders.remove(tmp); in term()
276 if (ret) delete(tmp); in term()
DtvgLottieParser.cpp103 char tmp[3] = {'\0', '\0', '\0'}; in getColor() local
104 tmp[0] = str[1]; in getColor()
105 tmp[1] = str[2]; in getColor()
106 color.rgb[0] = uint8_t(strtol(tmp, nullptr, 16)); in getColor()
108 tmp[0] = str[3]; in getColor()
109 tmp[1] = str[4]; in getColor()
110 color.rgb[1] = uint8_t(strtol(tmp, nullptr, 16)); in getColor()
112 tmp[0] = str[5]; in getColor()
113 tmp[1] = str[6]; in getColor()
114 color.rgb[2] = uint8_t(strtol(tmp, nullptr, 16)); in getColor()
/lvgl-latest/examples/others/file_explorer/
Dlv_example_file_explorer_3.c11 const char * tmp; in exch_table_item() local
12 tmp = lv_table_get_cell_value(tb, i, 0); in exch_table_item()
13 lv_table_set_cell_value(tb, 0, 2, tmp); in exch_table_item()
17 tmp = lv_table_get_cell_value(tb, i, 1); in exch_table_item()
18 lv_table_set_cell_value(tb, 0, 2, tmp); in exch_table_item()
/lvgl-latest/src/libs/thorvg/rapidjson/internal/
Dswap.h34 T tmp = a; in Swap() local
36 b = tmp; in Swap()
Ddtoa.h90 uint64_t tmp = (static_cast<uint64_t>(p1) << -one.e) + p2; in DigitGen() local
91 if (tmp <= delta) { in DigitGen()
93 GrisuRound(buffer, *len, delta, tmp, kPow10[kappa] << -one.e, wp_w.f); in DigitGen()
Ddiyfp.h100 uint64_t tmp = (bd >> 32) + (ad & M32) + (bc & M32);
101 tmp += 1U << 31; /// mult_round
102 return DiyFp(ac + (ad >> 32) + (bc >> 32) + (tmp >> 32), e + rhs.e + 64);
/lvgl-latest/src/stdlib/rtthread/
Dlv_string_rtthread.c114 char * tmp = dst; in lv_strncat() local
121 return tmp; in lv_strncat()
/lvgl-latest/src/misc/
Dlv_rb.c445 lv_rb_node_t * tmp; in rb_insert_color() local
447 tmp = parent; in rb_insert_color()
449 node = tmp; in rb_insert_color()
469 lv_rb_node_t * tmp; in rb_insert_color() local
471 tmp = parent; in rb_insert_color()
473 node = tmp; in rb_insert_color()
Dlv_matrix.c124 lv_matrix_t tmp; in lv_matrix_multiply() local
128 tmp.m[y][x] = (matrix->m[y][0] * mul->m[0][x]) in lv_matrix_multiply()
134 lv_memcpy(matrix, &tmp, sizeof(lv_matrix_t)); in lv_matrix_multiply()
Dlv_color.c258 uint8_t * tmp = (uint8_t *) &c; in lv_color_to_int() local
259 return tmp[0] + (tmp[1] << 8) + (tmp[2] << 16); in lv_color_to_int()
Dlv_style.c255 …uint8_t * tmp = (lv_style_prop_t *)style->values_and_props + style->prop_cnt * sizeof(lv_style_val… in lv_style_remove_prop() local
256 uint8_t * old_props = (uint8_t *)tmp; in lv_style_remove_prop()
272 tmp = new_values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_remove_prop()
273 uint8_t * new_props = (uint8_t *)tmp; in lv_style_remove_prop()
/lvgl-latest/src/others/file_explorer/
Dlv_file_explorer.c652 const char * tmp; in exch_table_item() local
653 tmp = lv_table_get_cell_value(tb, i, 0); in exch_table_item()
654 lv_table_set_cell_value(tb, 0, 2, tmp); in exch_table_item()
658 tmp = lv_table_get_cell_value(tb, i, 1); in exch_table_item()
659 lv_table_set_cell_value(tb, 0, 2, tmp); in exch_table_item()
/lvgl-latest/src/core/
Dlv_refr.c1221 lv_area_t tmp; in get_max_row() local
1222 tmp.x1 = 0; in get_max_row()
1223 tmp.x2 = 0; in get_max_row()
1224 tmp.y1 = 0; in get_max_row()
1228 tmp.y2 = h_tmp - 1; in get_max_row()
1229 lv_display_send_event(disp_refr, LV_EVENT_INVALIDATE_AREA, &tmp); in get_max_row()
1232 if(lv_area_get_height(&tmp) <= max_row) break; in get_max_row()
1244 max_row = tmp.y2 + 1; in get_max_row()
/lvgl-latest/src/widgets/label/
Dlv_label.c447 uint32_t tmp = new_line_start; in lv_label_get_letter_on() local
449 letter = lv_text_encoded_prev(txt, &tmp); in lv_label_get_letter_on()
1012 int32_t tmp; in lv_label_refr_text() local
1013 tmp = a.start_value; in lv_label_refr_text()
1015 a.end_value = tmp; in lv_label_refr_text()
1054 int32_t tmp; in lv_label_refr_text() local
1055 tmp = a.start_value; in lv_label_refr_text()
1057 a.end_value = tmp; in lv_label_refr_text()
/lvgl-latest/docs/details/integration/os/yocto/
Dlvgl_recipe.rst191 tmp/deploy
216 tmp/sysroots-components
245 tmp/sysroots-uninative
254 tmp/work
257 The ``work`` folder in Yocto is a key directory in the ``tmp`` folder that
440 build/tmp/work/cortexa53-poky-linux/lvgl`` but these folders are empty since
453 In the ``lvgl_yocto_guide/build/tmp/work/cortexa53-poky-linux/lvgl/9.1.0``
489 So at the end of the task, in the ``lvgl_yocto_guide/build/tmp/work/
511 are available in ``lvgl_yocto_guide/build/tmp/work/ cortexa53-poky-linux/lvgl/9.1.0/build/lib``.
552 If everything went well, you should now found this file ``build/tmp/deploy/
[all …]

12