Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 51) sorted by relevance

123

/lvgl-3.6.0/tests/unity/
Dunity_internals.h530 void UnityPrintF(const UNITY_LINE_TYPE line, const char* format, ...);
622 void UnityFail(const char* message, const UNITY_LINE_TYPE line) UNITY_FUNCTION_ATTR(noreturn);
623 void UnityIgnore(const char* message, const UNITY_LINE_TYPE line) UNITY_FUNCTION_ATTR(noreturn);
625 void UnityFail(const char* message, const UNITY_LINE_TYPE line);
626 void UnityIgnore(const char* message, const UNITY_LINE_TYPE line);
629 void UnityMessage(const char* message, const UNITY_LINE_TYPE line);
718 #define RUN_TEST_AT_LINE(func, line, ...) UnityDefaultTestRun(func, #func, line) argument
769 #define UNITY_TEST_FAIL(line, message) UnityFail( (message), (UNITY_LINE_TYPE)(line)) argument
770 #define UNITY_TEST_IGNORE(line, message) UnityIgnore( (message), (UNITY_LINE_TYPE)(line)) argument
776 …T(condition, line, message) do {if (condition) {} els… argument
[all …]
Dunity_support.c268 uint8_t * line = raw_img8 + y * width * 4; in write_png_file() local
270 row_pointers[y][x * 3 + 0] = line[x * 4 + 2]; in write_png_file()
271 row_pointers[y][x * 3 + 1] = line[x * 4 + 1]; in write_png_file()
272 row_pointers[y][x * 3 + 2] = line[x * 4 + 0]; in write_png_file()
Dgenerate_test_runner.rb129 ….map { |line| line.gsub(substring_unre, substring_unsubs) } # unhide the problematic characters pr…
131 lines.each_with_index do |line, _index|
133 …next unless line =~ /^((?:\s*(?:TEST_CASE|TEST_RANGE)\s*\(.*?\)\s*)*)\s*void\s+((?:#{@options[:tes…
169 source_lines[source_index..-1].each_with_index do |line, index|
170 next unless line =~ /\s+#{tests_and_line_numbers[i][:test]}(?:\s|\()/
Dunity.c491 static void UnityTestResultsBegin(const char* file, const UNITY_LINE_TYPE line) in UnityTestResultsBegin() argument
497 UnityPrintNumber((UNITY_INT)line); in UnityTestResultsBegin()
505 UnityPrintNumber((UNITY_INT)line); in UnityTestResultsBegin()
517 UnityPrintNumber((UNITY_INT)line); in UnityTestResultsBegin()
524 UnityPrintNumber((UNITY_INT)line); in UnityTestResultsBegin()
534 static void UnityTestResultsFailBegin(const UNITY_LINE_TYPE line) in UnityTestResultsFailBegin() argument
536 UnityTestResultsBegin(Unity.TestFile, line); in UnityTestResultsFailBegin()
1737 void UnityPrintF(const UNITY_LINE_TYPE line, const char* format, ...) in UnityPrintF() argument
1739 UnityTestResultsBegin(Unity.TestFile, line); in UnityPrintF()
1759 void UnityFail(const char* msg, const UNITY_LINE_TYPE line) in UnityFail() argument
[all …]
/lvgl-3.6.0/tests/src/test_cases/
Dtest_line.c7 static lv_obj_t * line = NULL; variable
16 line = lv_line_create(active_screen); in setUp()
26 lv_line_t * line_ptr = (lv_line_t *) line; in test_line_should_have_valid_documented_default_values()
29 TEST_ASSERT_FALSE(lv_line_get_y_invert(line)); in test_line_should_have_valid_documented_default_values()
30 TEST_ASSERT_FALSE(lv_obj_has_flag(line, LV_OBJ_FLAG_CLICKABLE)); in test_line_should_have_valid_documented_default_values()
32 TEST_ASSERT_EQUAL_UINT16(0U, lv_obj_get_self_width(line)); in test_line_should_have_valid_documented_default_values()
33 TEST_ASSERT_EQUAL_UINT16(0U, lv_obj_get_self_height(line)); in test_line_should_have_valid_documented_default_values()
38 lv_line_set_y_invert(line, true); in test_line_should_return_valid_y_invert()
39 TEST_ASSERT_TRUE(lv_line_get_y_invert(line)); in test_line_should_return_valid_y_invert()
46 lv_line_set_points(line, points, point_cnt); in test_line_size_should_be_updated_after_adding_points()
[all …]
/lvgl-3.6.0/src/widgets/
Dlv_line.c70 lv_line_t * line = (lv_line_t *)obj; in lv_line_set_points() local
71 line->point_array = points; in lv_line_set_points()
72 line->point_num = point_num; in lv_line_set_points()
83 lv_line_t * line = (lv_line_t *)obj; in lv_line_set_y_invert() local
84 if(line->y_inv == en) return; in lv_line_set_y_invert()
86 line->y_inv = en ? 1U : 0U; in lv_line_set_y_invert()
99 lv_line_t * line = (lv_line_t *)obj; in lv_line_get_y_invert() local
101 return line->y_inv == 1U; in lv_line_get_y_invert()
113 lv_line_t * line = (lv_line_t *)obj; in lv_line_constructor() local
115 line->point_num = 0; in lv_line_constructor()
[all …]
/lvgl-3.6.0/scripts/
Dlv_conf_internal_gen.py84 for line in fin.read().splitlines():
86 if '#define LV_CONF_H' in line:
92 if '/*--END OF LV_CONF_H--*/' in line: break
95 …r = re.search(r'^([\s]*)#[\s]*(undef|define)[\s]+([^\s]+).*$', line) # \s means any white space …
103 line = re.sub('[\s]*', '', line, 1) variable
107 is_one = re.search(r'#[\s]*define[\s]*[A-Z0-9_]+[\s]+1([\s]*$|[\s]+)', line)
141 elif re.search('^ *typedef .*;.*$', line):
Dgenexamplelist.sh7 cat $TMPFILE | while read -r line; do
8 echo "extern void ${line}(void);"
11 cat $TMPFILE | while read -r line; do
12 echo " { \"$line\", $line },";
/lvgl-3.6.0/docs/
Dexample_list.py9 line=""
11 line = fp.readline()
13 while line:
14 if line[0:3] == '"""':
16 elif line[0:15] ==".. lv_example::":
17 name = line[16:].strip()
20 last_line = line
21 line = fp.readline()
/lvgl-3.6.0/src/misc/
Dlv_log.c66 void _lv_log_add(lv_log_level_t level, const char * file, int line, const char * func, const char *… in _lv_log_add() argument
92 printf(" \t(in %s line #%d)\n", &file[p], line); in _lv_log_add()
100 … lvl_prefix[level], t / 1000, t % 1000, t - last_log_time, func, msg, &file[p], line); in _lv_log_add()
104 … lvl_prefix[level], t / 1000, t % 1000, t - last_log_time, func, (void *)&vaf, &file[p], line); in _lv_log_add()
Dlv_log.h83 void _lv_log_add(lv_log_level_t level, const char * file, int line,
140 #define _lv_log_add(level, file, line, ...) argument
/lvgl-3.6.0/docs/widgets/extra/
Dmeter.md8 - `LV_PART_TICK` The tick lines a labels using the *line* and *text* style properties.
9 - `LV_PART_INDICATOR` The needle line or image using the *line* and *img* style properties, as well…
25 …s with `label_gap` distance from the ticks with text proportionally to the values of the tick line.
35 #### Needle line
37 …ale, line_width, line_color, r_mod)` adds a needle line to a Scale. By default, the length of the
71 - `p1`, `p2` points of the line
76 - `p1`, `p2` points of the line
81 - `value`: the value of the line
85 - `id`: the index of the line
Dchart.md15 - `LV_PART_MAIN` The background of the chart. Uses all the typical background and *line* (for the d…
17 - `LV_PART_ITEMS` Refers to the line or bar series.
18 …- Line chart: The *line* properties are used by the lines. `width`, `height`, `bg_color` and `radi…
20 - `LV_PART_INDICATOR` Refers to the points on line and scatter chart (small circles or squares).
64 Use `LV_CHART_POINT_NONE` as value to make the library skip drawing that point, column, or line seg…
81 On line charts, if the number of points is greater than the pixels horizontally, the Chart will dra…
93 If there is a visible border on a side and no padding on that side, the division line would be draw…
136 - `id`: index of the line
137 - `p1`, `p2`: points of the line
139 - `LV_CHART_DRAW_PART_LINE_AND_POINT` Used on line and scatter charts for lines and points.
[all …]
Dspan.md42 - `LV_SPAN_MODE_EXPAND` Expand the object size to the text size but stay on a single line.
54 ### first line indent
55 Use `lv_spangroup_set_indent(spangroup, 20)` to set the indent of the first line. all modes support…
/lvgl-3.6.0/docs/widgets/core/
Dline.md7 - `LV_PART_MAIN` uses all the typical background properties and line style properties.
15 …ts size to fit all the points. If the size is set explicitly, parts on the line may not be visible.
18 …ome cases so the y coordinates can be inverted with `lv_line_set_y_invert(line, true)`. In this ca…
37 .. include:: ../../../examples/widgets/line/index.rst
Dtextarea.md9 One line mode and password modes are supported.
16 …ound color and background opacity to `LV_PART_CURSOR`'s style. The create line cursor leave the cu…
59 ### One line mode
60 The Text area can be configured to be on a single line with `lv_textarea_set_one_line(textarea, tru…
61 In this mode the height is set automatically to show only one line, line break characters are ignor…
95 - `LV_EVENT_READY` Sent when `LV_KEY_ENTER` is pressed (or sent) to a one line text area.
Dindex.md17 line
/lvgl-3.6.0/src/draw/
Dlv_draw_img.c318 lv_area_t line; local
319 lv_area_copy(&line, &mask_com);
320 lv_area_set_height(&line, 1);
327 union_ok = _lv_area_intersect(&mask_line, clip_area_ori, &line);
341 lv_draw_img_decoded(draw_ctx, draw_dsc, &line, buf, cf);
342 line.y1++;
343 line.y2++;
/lvgl-3.6.0/scripts/release/
Dpatch.py43 for line in f:
44 commits.insert(0, line)
/lvgl-3.6.0/examples/widgets/line/
Dindex.rst5 .. lv_example:: widgets/line/lv_example_line_1
Dlv_example_line_1.py16 line1 = lv.line(lv.scr_act())
/lvgl-3.6.0/examples/styles/
Dlv_example_style_9.py13 obj = lv.line(lv.scr_act())
/lvgl-3.6.0/examples/widgets/chart/
Dindex.rst9 Faded area line chart with custom division lines
/lvgl-3.6.0/src/draw/renesas/
Dlv_gpu_d2_ra6m3.c38 int line; member
45 static void lv_port_gpu_log_error(d2_s32 status, const char * func, int line);
722 static void lv_port_gpu_log_error(d2_s32 status, const char * func, int line) argument
727 log_error_list[error_list_index].line = line;
732 log_error_list[error_list_index].line);
/lvgl-3.6.0/docs/overview/
Ddrawing.md60 E.g. in case of a "line mask" according to the parameters of the mask, keep one side of the buffer …
64 - `LV_DRAW_MASK_TYPE_LINE` Removes a side from a line (top, bottom, left or right). `lv_draw_line` …
65 Essentially, every (skew) line is bounded with four line masks forming a rectangle.
73 - **line** Created from four "line masks" to mask out the left, right, top and bottom part of the l…
117 Sent before starting to draw an object. This is a good place to add masks manually. E.g. add a line
165 …A draw descriptor that can be modified to changed what LVGL will draw. Set only for line-like parts
175 int32_t value; // A value calculated during drawing. E.g. Chart's tick line va…

123