Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 30) sorted by relevance

12

/lvgl-3.7.0/scripts/
Djpg_to_sjpg.py36 print("\tRES = " + str(width) + " x " + str(height) + '\n')
57 crop.save(str(i)+".jpg", quality=90)
63 f = open(str(i)+".jpg", "rb")
100 os.remove(str(i) + ".jpg")
109 c_code = c_code + "\t" + str(hex(sjpeg[i])) + ","
119 c_code = c_code + "\t.header.w = " + str(width) + ",\n"
120 c_code = c_code + "\t.header.h = " + str(height) + ",\n"
121 c_code = c_code + "\t.data_size = " + str(len(sjpeg)) + ",\n"
134 print("\tTime taken = " + str(round(time_taken,2)) + " sec")
135 print("\tbin size = " + str(round(len(sjpeg)/1024, 1)) + " KB" )
Dstyle_api_gen.py455 d = str(p["default"])
/lvgl-3.7.0/scripts/release/
Dcom.py15 print("### Error: " + str(r))
23 s = r'^ *# *define +' + str(name).rstrip() + ' +'
40 s = "v" + str(ver[0]) + "." + str(ver[1]) + "." + str(ver[2])
102 define_set("./lvgl.h", "LVGL_VERSION_MAJOR", str(ver[0]))
103 define_set("./lvgl.h", "LVGL_VERSION_MINOR", str(ver[1]))
104 define_set("./lvgl.h", "LVGL_VERSION_PATCH", str(ver[2]))
Dpatch.py32 branches = str(branches)
58 ver_new[2] = str(int(ver_new[2]) + 1)
69 ver_new[2] = str(int(ver_new[2]) + 1)
/lvgl-3.7.0/examples/widgets/table/
Dlv_example_table_2.py79 table.set_cell_value(i, 0, "Item " + str(i+1))
92 label.set_text(str(ITEM_CNT) + " items were created in " + str(elaps) + " ms\n using " + str(mem_us…
/lvgl-3.7.0/examples/layouts/grid/
Dlv_example_grid_1.py27 label.set_text("c" +str(col) + "r" +str(row))
/lvgl-3.7.0/examples/widgets/bar/
Dlv_example_bar_4.py6 … sdl_filename = "../../assets/" + filename + "_" + str(xres) + "x" + str(yres) + "_argb8888.fnt"
Dlv_example_bar_6.py15 value_txt = str(obj.get_value())
Dtest.py18 value_txt = str(obj.get_value())
/lvgl-3.7.0/src/misc/
Dlv_txt.c31 static uint8_t lv_txt_utf8_size(const char * str);
40 static uint8_t lv_txt_iso8859_1_size(const char * str);
509 static uint8_t lv_txt_utf8_size(const char * str) in lv_txt_utf8_size() argument
511 if(LV_IS_ASCII(str[0])) in lv_txt_utf8_size()
513 else if(LV_IS_2BYTES_UTF8_CODE(str[0])) in lv_txt_utf8_size()
515 else if(LV_IS_3BYTES_UTF8_CODE(str[0])) in lv_txt_utf8_size()
517 else if(LV_IS_4BYTES_UTF8_CODE(str[0])) in lv_txt_utf8_size()
761 static uint8_t lv_txt_iso8859_1_size(const char * str) in lv_txt_iso8859_1_size() argument
763 LV_UNUSED(str); /*Unused*/ in lv_txt_iso8859_1_size()
Dlv_printf.c143 static inline unsigned int _strnlen_s(const char * str, size_t maxsize) in _strnlen_s() argument
146 for(s = str; *s && maxsize--; ++s); in _strnlen_s()
147 return (unsigned int)(s - str); in _strnlen_s()
158 static unsigned int _atoi(const char ** str) in _atoi() argument
161 while(_is_digit(**str)) { in _atoi()
162 i = i * 10U + (unsigned int)(*((*str)++) - '0'); in _atoi()
/lvgl-3.7.0/tests/
Dmain.py111 '--parallel', str(os.cpu_count())])
126 ['ctest', '--timeout', '30', '--parallel', str(os.cpu_count()), '--output-on-failure'])
148 '-j', str(os.cpu_count()), '--print-summary',
/lvgl-3.7.0/examples/others/snapshot/
Dlv_example_snapshot_1.py17 label.set_text(" memory free:" + str(mem_free/1024) + " kB")
44 label.set_text("memory used:" + str(mem_used/1024) + " kB")
/lvgl-3.7.0/examples/layouts/flex/
Dlv_example_flex_4.py14 label.set_text("Item: " + str(i))
Dlv_example_flex_6.py17 label.set_text(str(i))
Dlv_example_flex_5.py22 label.set_text(str(i))
/lvgl-3.7.0/examples/get_started/
Dlv_example_get_started_3.py5 label.set_text(str(slider.get_value()))
Dlv_example_get_started_1.py25 label.set_text("Button: " + str(self.cnt))
/lvgl-3.7.0/examples/event/
Dlv_example_event_1.py22 label.set_text(str(self.cnt))
Dlv_example_event_3.py29 label.set_text(str(i))
/lvgl-3.7.0/demos/music/assets/
Dspectrum.py28 fout.write(str(int(v)) + ", ")
/lvgl-3.7.0/examples/scroll/
Dlv_example_scroll_6.py61 label.set_text("Button " + str(i))
/lvgl-3.7.0/demos/widgets/
Dlv_demo_widgets.py71 … slider.set_style_local_value_str(lv.slider.PART.KNOB, lv.STATE.DEFAULT, str(slider_value))
75 slider_string = str(slider_left) + '-' + str(slider_right)
82 label.set_text(str(value))
88 label.set_text(str(val))
124 label.set_text(str(val))
130 label.set_text(str(val))
/lvgl-3.7.0/examples/widgets/chart/
Dlv_example_chart_4.py20 buf = lv.SYMBOL.DUMMY + "$" + str(value)
Dlv_example_chart_6.py62 value_txt = str(v)

12