Home
last modified time | relevance | path

Searched refs:lv_strcmp (Results 1 – 25 of 32) sorted by relevance

12

/lvgl-latest/tests/src/test_cases/
Dtest_file_explorer.c43 …if(lv_strcmp(lv_table_get_cell_value(file_explorer->file_table, i, 0), LV_SYMBOL_LEFT " Back") ==… in test_file_explorer_read_dir()
46 …if(lv_strcmp(lv_table_get_cell_value(file_explorer->file_table, i, 0), LV_SYMBOL_DIRECTORY " dev"… in test_file_explorer_read_dir()
49 …if(lv_strcmp(lv_table_get_cell_value(file_explorer->file_table, i, 0), LV_SYMBOL_DIRECTORY " home… in test_file_explorer_read_dir()
62 …if(lv_strcmp(lv_table_get_cell_value(file_explorer->file_table, i, 0), LV_SYMBOL_DIRECTORY " shm"… in test_file_explorer_read_dir()
88 …if(lv_strcmp(lv_table_get_cell_value(file_explorer->file_table, i, 0), LV_SYMBOL_DIRECTORY " web_… in test_file_explorer_read_dir()
/lvgl-latest/src/widgets/keyboard/
Dlv_keyboard.c321 if(lv_strcmp(txt, "abc") == 0) { in lv_keyboard_def_event_cb()
328 else if(lv_strcmp(txt, "أب") == 0) { in lv_keyboard_def_event_cb()
335 else if(lv_strcmp(txt, "ABC") == 0) { in lv_keyboard_def_event_cb()
341 else if(lv_strcmp(txt, "1#") == 0) { in lv_keyboard_def_event_cb()
347 else if(lv_strcmp(txt, LV_SYMBOL_CLOSE) == 0 || lv_strcmp(txt, LV_SYMBOL_KEYBOARD) == 0) { in lv_keyboard_def_event_cb()
357 else if(lv_strcmp(txt, LV_SYMBOL_OK) == 0) { in lv_keyboard_def_event_cb()
371 if(lv_strcmp(txt, "Enter") == 0 || lv_strcmp(txt, LV_SYMBOL_NEW_LINE) == 0) { in lv_keyboard_def_event_cb()
378 else if(lv_strcmp(txt, LV_SYMBOL_LEFT) == 0) { in lv_keyboard_def_event_cb()
381 else if(lv_strcmp(txt, LV_SYMBOL_RIGHT) == 0) { in lv_keyboard_def_event_cb()
384 else if(lv_strcmp(txt, LV_SYMBOL_BACKSPACE) == 0) { in lv_keyboard_def_event_cb()
[all …]
/lvgl-latest/src/libs/fsdrv/
Dlv_fs_stdio.c248 if(lv_strcmp(fdata.cFileName, ".") == 0 || lv_strcmp(fdata.cFileName, "..") == 0) { in fs_dir_open()
297 } while(lv_strcmp(fn, "/.") == 0 || lv_strcmp(fn, "/..") == 0); in fs_dir_read()
306 if(lv_strcmp(fdata.cFileName, ".") == 0 || lv_strcmp(fdata.cFileName, "..") == 0) { in fs_dir_read()
Dlv_fs_fatfs.c278 } while(lv_strcmp(fn, "/.") == 0 || lv_strcmp(fn, "/..") == 0); in fs_dir_read()
Dlv_fs_littlefs.c272 } while(lv_strcmp(fn, "/.") == 0 || lv_strcmp(fn, "/..") == 0); in fs_dir_read()
Dlv_fs_posix.c304 } while(lv_strcmp(fn, "/.") == 0 || lv_strcmp(fn, "/..") == 0); in fs_dir_read()
/lvgl-latest/src/stdlib/
Dlv_string.h120 int lv_strcmp(const char * s1, const char * s2);
139 return lv_strcmp(s1, s2) == 0; in lv_streq()
/lvgl-latest/examples/widgets/textarea/
Dlv_example_textarea_1.c17 if(lv_strcmp(txt, LV_SYMBOL_BACKSPACE) == 0) lv_textarea_delete_char(ta); in btnm_event_handler()
18 else if(lv_strcmp(txt, LV_SYMBOL_NEW_LINE) == 0) lv_obj_send_event(ta, LV_EVENT_READY, NULL); in btnm_event_handler()
/lvgl-latest/src/others/ime/
Dlv_ime_pinyin.c647 if(lv_strcmp(txt, "Enter") == 0 || lv_strcmp(txt, LV_SYMBOL_NEW_LINE) == 0) { in lv_ime_pinyin_kb_event()
651 else if(lv_strcmp(txt, LV_SYMBOL_BACKSPACE) == 0) { in lv_ime_pinyin_kb_event()
680 …else if((lv_strcmp(txt, "ABC") == 0) || (lv_strcmp(txt, "abc") == 0) || (lv_strcmp(txt, "1#") == 0… in lv_ime_pinyin_kb_event()
681 (lv_strcmp(txt, LV_SYMBOL_OK) == 0)) { in lv_ime_pinyin_kb_event()
685 else if(lv_strcmp(txt, "123") == 0) { in lv_ime_pinyin_kb_event()
695 else if(lv_strcmp(txt, LV_SYMBOL_KEYBOARD) == 0) { in lv_ime_pinyin_kb_event()
718 if((lv_strcmp(txt, k9_py_map[i]) == 0) || (lv_strcmp(txt, "abc ") == 0)) { in lv_ime_pinyin_kb_event()
719 … if(lv_strcmp(txt, "abc ") == 0) pinyin_ime->k9_input_str_len += lv_strlen(k9_py_map[i]) + 1; in lv_ime_pinyin_kb_event()
731 else if(lv_strcmp(txt, LV_SYMBOL_LEFT) == 0) { in lv_ime_pinyin_kb_event()
734 else if(lv_strcmp(txt, LV_SYMBOL_RIGHT) == 0) { in lv_ime_pinyin_kb_event()
/lvgl-latest/src/others/font_manager/
Dlv_font_manager_utils.c47 && lv_strcmp(ft_info_1->name, ft_info_2->name) == 0); in lv_freetype_info_is_equal()
Dlv_font_manager.c153 if(lv_strcmp(name, font_path->name) == 0) { in lv_font_manager_remove_path()
411 if(lv_strcmp(name, font_path->name) == 0) { in lv_font_manager_get_path()
/lvgl-latest/src/others/file_explorer/
Dlv_file_explorer.c443 if((lv_strcmp(label_text, LV_SYMBOL_HOME " HOME") == 0)) { in quick_access_event_handler()
446 else if((lv_strcmp(label_text, LV_SYMBOL_VIDEO " Video") == 0)) { in quick_access_event_handler()
449 else if((lv_strcmp(label_text, LV_SYMBOL_IMAGE " Pictures") == 0)) { in quick_access_event_handler()
452 else if((lv_strcmp(label_text, LV_SYMBOL_AUDIO " Music") == 0)) { in quick_access_event_handler()
455 else if((lv_strcmp(label_text, LV_SYMBOL_FILE " Documents") == 0)) { in quick_access_event_handler()
458 else if((lv_strcmp(label_text, LV_SYMBOL_DRIVE " File System") == 0)) { in quick_access_event_handler()
509 navigate_to_parent_dir = (lv_strcmp(selected_text, LV_FILE_NAVIGATION_PARENT_DIR) == 0); in browser_file_event_handler()
695 int strcmp_result = lv_strcmp(lv_table_get_cell_value(tb, i, 1), v); in sort_by_file_kind()
/lvgl-latest/src/libs/tjpgd/
Dlv_tjpgd.c109 if((lv_strcmp(ext, "jpg") == 0) || (lv_strcmp(ext, "jpeg") == 0)) { in decoder_info()
177 … if((lv_strcmp(lv_fs_get_ext(fn), "jpg") == 0) || (lv_strcmp(lv_fs_get_ext(fn), "jpeg") == 0)) { in decoder_open()
/lvgl-latest/demos/ebike/translations/
Dlv_i18n.c197 if(lv_strcmp(current_lang_pack[i]->locale_name, l_name) == 0) { in lv_i18n_set_locale()
211 if(lv_strcmp(trans[i].msg_id, msg_id) == 0) { in __lv_i18n_get_text_core()
/lvgl-latest/demos/
Dlv_demos.c105 if(lv_strcmp(name, demos_entry_info[i].name) == 0) { in lv_demos_create()
/lvgl-latest/src/libs/bmp/
Dlv_bmp.c101 if(lv_strcmp(lv_fs_get_ext(fn), "bmp") == 0) { /*Check the extension*/ in decoder_info()
155 if(lv_strcmp(lv_fs_get_ext(fn), "bmp") != 0) { in decoder_open()
/lvgl-latest/src/stdlib/clib/
Dlv_string_clib.c84 int lv_strcmp(const char * s1, const char * s2) in lv_strcmp() function
/lvgl-latest/src/stdlib/rtthread/
Dlv_string_rtthread.c84 int lv_strcmp(const char * s1, const char * s2) in lv_strcmp() function
/lvgl-latest/examples/others/observer/
Dlv_example_observer_2.c62 if(lv_strcmp(lv_textarea_get_text(ta), "hello") == 0) { in textarea_event_cb()
/lvgl-latest/src/misc/cache/
Dlv_image_header_cache.c123 int32_t cmp_res = lv_strcmp(lhs_src, rhs_src); in image_cache_common_compare()
Dlv_image_cache.c128 int32_t cmp_res = lv_strcmp(lhs_src, rhs_src); in image_cache_common_compare()
/lvgl-latest/src/widgets/buttonmatrix/
Dlv_buttonmatrix.c137 … while(map_row[btn_cnt] && lv_strcmp(map_row[btn_cnt], "\n") != 0 && map_row[btn_cnt][0] != '\0') { in lv_buttonmatrix_set_map()
332 if(lv_strcmp(btnm->map_p[txt_i], "\n") == 0) txt_i++; in lv_buttonmatrix_get_button_text()
715 while(lv_strcmp(btnm->map_p[txt_i], "\n") == 0) { in draw_main()
836 if(lv_strcmp(map[i], "\n") != 0) { /*Do not count line breaks*/ in allocate_button_areas_and_controls()
1047 … while(map_row[btn_cnt] && lv_strcmp(map_row[btn_cnt], "\n") != 0 && map_row[btn_cnt][0] != '\0') { in has_popovers_in_top_row()
/lvgl-latest/src/libs/libjpeg_turbo/
Dlv_libjpeg_turbo.c125 bool is_jpeg_ext = (lv_strcmp(ext, "jpg") == 0) in decoder_info()
126 || (lv_strcmp(ext, "jpeg") == 0); in decoder_info()
/lvgl-latest/src/drivers/display/drm/
Dlv_linux_drm.c189 if(!lv_strcmp(drm_dev->plane_props[i]->name, name)) in get_plane_property_id()
204 if(!lv_strcmp(drm_dev->crtc_props[i]->name, name)) in get_crtc_property_id()
219 if(!lv_strcmp(drm_dev->conn_props[i]->name, name)) in get_conn_property_id()
/lvgl-latest/src/stdlib/builtin/
Dlv_string_builtin.c226 int lv_strcmp(const char * s1, const char * s2) in lv_strcmp() function

12