Home
last modified time | relevance | path

Searched full:error (Results 1 – 25 of 240) sorted by relevance

12345678910

/lvgl-latest/src/libs/lodepng/
Dlodepng.c184 Often in case of an error a value is assigned to a variable and then it breaks
186 It makes the error handling code shorter and more readable.
195 /*version of CERROR_BREAK that assumes the common case where the error variable is named "error"*/
196 #define ERROR_BREAK(code) CERROR_BREAK(error, code)
198 /*Set error var to the error code, and return it.*/
204 /*Try the code, if it returns error, also return the error.*/
206 unsigned error = call;\
207 if(error) return error;\
210 /*Set error var to the error code, and return from the void function.*/
252 else return 0; /*error: not enough memory*/ in uivector_resize()
[all …]
Dlodepng.h83 /*ability to convert error numerical codes to English text string*/
154 Return value: LodePNG error code (0 means no error).
211 Return value: LodePNG error code (0 means no error).
313 /*Returns an English description of the numerical error code.*/
322 …unsigned ignore_adler32; /*if 1, continue and don't give an error message if the Adler32 checksum …
326 return an error, output a data size > max_output_size and all the data up to that point. This is
333 Should return 0 if success, any non-0 if error (numeric value not exposed).*/
339 Should return 0 if success, any non-0 if error (numeric value not exposed).*/
435 /*return value is error code (0 means no error)*/
615 …the ICC profile type matches your requested color type, else the encoder gives an error. If auto_c…
[all …]
Dlv_lodepng.c83 * @return LV_RESULT_OK: no error; LV_RESULT_INVALID: can't get the info
130 return LV_RESULT_INVALID; /*If didn't succeeded earlier then it's an error*/ in decoder_info()
137 * @return LV_RESULT_OK: no error; LV_RESULT_INVALID: can't open the image
150 unsigned error = lodepng_load_file((void *)&png_data, &png_data_size, fn); in decoder_open() local
151 if(error) { in decoder_open()
155 LV_LOG_WARN("error %u: %s\n", error, lodepng_error_text(error)); in decoder_open()
175 LV_LOG_WARN("Error decoding PNG"); in decoder_open()
228 * @return LV_RESULT_OK: no error; LV_RESULT_INVALID: can't open the image
245 …unsigned error = lodepng_decode32((unsigned char **)&decoded, &png_width, &png_height, png_data, p… in decode_png_data() local
246 if(error) { in decode_png_data()
/lvgl-latest/src/libs/thorvg/rapidjson/error/
Den.h18 #include "error.h"
28 //! Maps error code of parsing into error message.
31 \param parseErrorCode Error code obtained in parsing.
32 \return the error message.
34 Using switch-case is safer for future modification of error codes.
38 case kParseErrorNone: return RAPIDJSON_ERROR_STRING("No error."); in GetParseError_En()
61 …ation: return RAPIDJSON_ERROR_STRING("Terminate parsing due to Handler error."); in GetParseError_En()
62 …arseErrorUnspecificSyntaxError: return RAPIDJSON_ERROR_STRING("Unspecific syntax error."); in GetParseError_En()
64 … default: return RAPIDJSON_ERROR_STRING("Unknown error."); in GetParseError_En()
68 //! Maps error code of validation into error message.
[all …]
Derror.h25 /*! \file error.h */
27 /*! \defgroup RAPIDJSON_ERRORS RapidJSON error handling */
32 //! Character type of error messages.
60 //! Error code of parsing.
65 kParseErrorNone = 0, //!< No error.
89 kParseErrorUnspecificSyntaxError //!< Unspecific syntax error.
99 fprintf(stderr, "JSON parse error: %s (%u)",
110 //! Default constructor, no error.
112 //! Constructor to set an error.
115 //! Get the error code.
[all …]
/lvgl-latest/src/libs/fsdrv/
Dlv_fs_win32.c22 #error "Invalid drive letter"
39 static lv_fs_res_t fs_error_from_win32(DWORD error);
108 * Convert Win32 error code to error from lv_fs_res_t enum
109 * @param error Win32 error code
110 * @return LV_FS_RES_OK: no error, the file is read
111 * any error from lv_fs_res_t enum
113 static lv_fs_res_t fs_error_from_win32(DWORD error) in fs_error_from_win32() argument
117 switch(error) { in fs_error_from_win32()
242 * @return LV_FS_RES_OK: no error, the file is read
243 * any error from lv_fs_res_t enum
[all …]
Dlv_fs_littlefs.c8 #error "Invalid drive letter"
70 * @return a file descriptor or NULL on error
101 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
121 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
140 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
158 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
183 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
199 * @return a directory descriptor or NULL on error
223 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
244 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
Dlv_fs_uefi.c21 #error "LV_FS_UEFI_LETTER must be set to a valid value"
25 #error "LV_FS_UEFI_LETTER must be an upper case ASCII letter"
137 goto error; in lv_fs_uefi_open_cb()
143 goto error; in lv_fs_uefi_open_cb()
148 goto error; in lv_fs_uefi_open_cb()
171 goto error; in lv_fs_uefi_open_cb()
175 goto error; in lv_fs_uefi_open_cb()
180 error: in lv_fs_uefi_open_cb()
333 goto error; in lv_fs_uefi_dir_open_cb()
339 goto error; in lv_fs_uefi_dir_open_cb()
[all …]
Dlv_fs_arduino_esp_littlefs.cpp8 #error "Invalid drive letter"
66 * @return a file descriptor or NULL on error
97 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
116 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
134 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
151 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
176 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
Dlv_fs_arduino_sd.cpp9 #error "Invalid drive letter"
58 * @return a file descriptor or NULL on error
89 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
108 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
126 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
143 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
168 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
Dlv_fs_posix.c26 #error "Invalid drive letter"
132 * @return LV_FS_RES_OK: no error, the file is read
133 * any error from lv_fs_res_t enum
156 * @return LV_FS_RES_OK: no error, the file is read
157 * any error from lv_fs_res_t enum
181 * @return LV_FS_RES_OK or any error from lv_fs_res_t enum
203 * @return LV_FS_RES_OK: no error, the file is read
204 * any error from lv_fs_res_t enum
239 * @return LV_FS_RES_OK: no error, the file is read
240 * any error from lv_fs_res_t enum
[all …]
Dlv_fs_fatfs.c24 #error "Invalid drive letter"
137 * @return LV_FS_RES_OK: no error, the file is read
138 * any error from lv_fs_res_t enum
155 * @return LV_FS_RES_OK: no error, the file is read
156 * any error from lv_fs_res_t enum
173 * @return LV_FS_RES_OK or any error from lv_fs_res_t enum
189 * @return LV_FS_RES_OK: no error, the file is read
190 * any error from lv_fs_res_t enum
216 * @return LV_FS_RES_OK: no error, the file is read
217 * any error from lv_fs_res_t enum
[all …]
Dlv_fs_stdio.c26 #error "Invalid drive letter"
129 * @return LV_FS_RES_OK: no error, the file is read
130 * any error from lv_fs_res_t enum
146 * @return LV_FS_RES_OK: no error, the file is read
147 * any error from lv_fs_res_t enum
163 * @return LV_FS_RES_OK or any error from lv_fs_res_t enum
177 * @return LV_FS_RES_OK: no error, the file is read
178 * any error from lv_fs_res_t enum
207 * @return LV_FS_RES_OK: no error, the file is read
208 * any error from lv_fs_res_t enum
[all …]
/lvgl-latest/src/drivers/uefi/
Dlv_uefi.h24 #error Architecture is not supported
38 #error Architecture is not supported
42 #error Your compiler is not supported
48 #error No UEFI headers available
53 #error Missing support for EFI_LOADED_IMAGE_PROTOCOL
56 #error Missing support for EFI_SIMPLE_FILE_SYSTEM_PROTOCOL
59 #error Missing support for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL
62 #error Missing support for EFI_SIMPLE_TEXT_INPUT_PROTOCOL
65 #error Missing support for EFI_SIMPLE_POINTER_PROTOCOL
68 #error Missing support for EFI_ABSOLUTE_POINTER_PROTOCOL
[all …]
Dlv_uefi_display.c18 #error [lv_uefi] Unsupported LV_COLOR_DEPTH.
83 goto error; in lv_uefi_display_create()
102 error: in lv_uefi_display_create()
134 if(status != EFI_SUCCESS) goto error; in lv_uefi_display_get_active()
145 error: in lv_uefi_display_get_active()
171 if(status != EFI_SUCCESS) goto error; in lv_uefi_display_get_any()
181 error: in lv_uefi_display_get_any()
223 goto error; in _display_flush_cb()
228 goto error; in _display_flush_cb()
233 goto error; in _display_flush_cb()
[all …]
/lvgl-latest/examples/porting/
Dlv_port_fs_template.c103 * @return a file descriptor or NULL on error
131 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
149 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
167 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
184 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
199 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
214 * @return pointer to the directory read descriptor or NULL on error
231 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
246 * @return LV_FS_RES_OK: no error or any error from @lv_fs_res_t enum
/lvgl-latest/src/libs/freetype/
Dlv_freetype_image.c129 FT_Error error; in freetype_image_create_cb() local
135 error = FT_Set_Pixel_Sizes(face, 0, dsc->size); in freetype_image_create_cb()
138 error = FT_Select_Size(face, 0); in freetype_image_create_cb()
140 if(error) { in freetype_image_create_cb()
141 FT_ERROR_MSG("FT_Set_Pixel_Sizes", error); in freetype_image_create_cb()
145 error = FT_Load_Glyph(face, data->glyph_index, in freetype_image_create_cb()
147 if(error) { in freetype_image_create_cb()
148 FT_ERROR_MSG("FT_Load_Glyph", error); in freetype_image_create_cb()
153 error = FT_Render_Glyph(face->glyph, FT_RENDER_MODE_NORMAL); in freetype_image_create_cb()
154 if(error) { in freetype_image_create_cb()
[all …]
Dlv_freetype_outline.c307 FT_Error error; in outline_create() local
309 error = FT_Set_Pixel_Sizes(face, 0, size); in outline_create()
310 if(error) { in outline_create()
311 FT_ERROR_MSG("FT_Set_Char_Size", error); in outline_create()
320error = FT_Load_Glyph(face, glyph_index, FT_LOAD_DEFAULT | FT_LOAD_NO_BITMAP | FT_LOAD_NO_AUTOHINT… in outline_create()
321 if(error) { in outline_create()
322 FT_ERROR_MSG("FT_Load_Glyph", error); in outline_create()
328 error = FT_Outline_Embolden(&face->glyph->outline, FT_INT_TO_F26DOT6(strength)); in outline_create()
329 if(error) { in outline_create()
330 FT_ERROR_MSG("FT_Outline_Embolden", error); in outline_create()
[all …]
Dlv_freetype.c27 #error "LV_FREETYPE_CACHE_FT_GLYPH_CNT must be greater than 0"
83 FT_Error error; in lv_freetype_init() local
85 error = FT_Init_FreeType(&ctx->library); in lv_freetype_init()
86 if(error) { in lv_freetype_init()
87 FT_ERROR_MSG("FT_Init_FreeType", error); in lv_freetype_init()
163 FT_Error error; in lv_freetype_font_create() local
165 error = FT_Set_Pixel_Sizes(face, 0, size); in lv_freetype_font_create()
169 error = FT_Select_Size(face, 0); in lv_freetype_font_create()
171 if(error) { in lv_freetype_font_create()
172 FT_ERROR_MSG("FT_Set_Pixel_Sizes", error); in lv_freetype_font_create()
[all …]
/lvgl-latest/libs/nema_gfx/include/
Dnema_vg.h107 …* \return Error code. See NEMA_VG_ERR_* defines in "nema_vg_context.h" header file for the error c…
121 …* \return Error code. See NEMA_VG_ERR_* defines in "nema_vg_context.h" header file for the error c…
137 * \return Error code
155 …* \return Error code. See NEMA_VG_ERR_* defines in "nema_vg_context.h" header file for the error c…
172 …* \return Error code. See NEMA_VG_ERR_* defines in "nema_vg_context.h" header file for the error c…
187 …* \return Error code. See NEMA_VG_ERR_* defines in "nema_vg_context.h" header file for the error c…
206 …* \return Error code. See NEMA_VG_ERR_* defines in "nema_vg_context.h" header file for the error c…
225 …* \return Error code. See NEMA_VG_ERR_* defines in "nema_vg_context.h" header file for the error c…
/lvgl-latest/src/libs/thorvg/
DtvgLottieParserHandler.cpp66 Error(); in enterArray()
83 Error(); in nextArrayValue()
93 Error(); in getInt()
105 Error(); in getFloat()
117 Error(); in getString()
137 Error(); in getBool()
149 Error(); in getNull()
159 Error(); in parseNext()
163 Error(); in parseNext()
173 Error(); in enterObject()
[all …]
/lvgl-latest/src/misc/
Dlv_fs.h36 LV_FS_RES_HW_ERR, /*Low level hardware error*/
37 LV_FS_RES_FS_ERR, /*Error in the file system structure*/
47 LV_FS_RES_UNKNOWN, /*Other unknown error*/
140 * @return LV_FS_RES_OK or any error from lv_fs_res_t enum
156 * @return LV_FS_RES_OK or any error from lv_fs_res_t enum
166 * @return LV_FS_RES_OK or any error from lv_fs_res_t enum
176 * @return LV_FS_RES_OK or any error from lv_fs_res_t enum
185 * @return LV_FS_RES_OK or any error from lv_fs_res_t enum
193 * @return LV_FS_RES_OK or any error from 'fs_res_t'
201 * @return LV_FS_RES_OK or any error from lv_fs_res_t enum
[all …]
/lvgl-latest/tests/micropy_test/
D__init__.py125 log('---> ERROR: ', error_data.decode('utf-8'))
127 log('---> ERROR: ', error_data)
139 log('---> ERROR: ', error_data.decode('utf-8'))
141 log('---> ERROR: ', error_data)
335 except binascii.Error:
336 error = []
340 error.append(err.decode('utf-8'))
342 error.append(str(err))
344 error = '\n'.join(error)
345 if error:
[all …]
/lvgl-latest/src/osal/
Dlv_cmsis_rtos2.c66 LV_LOG_WARN("Error: Failed to create a cmsis-rtos2 thread."); in lv_thread_init()
93 LV_LOG_WARN("Error: failed to create cmsis-rtos mutex"); in lv_mutex_init()
105 LV_LOG_WARN("Error: failed to lock cmsis-rtos2 mutex %d", (int)status); in lv_mutex_lock()
116 LV_LOG_WARN("Error: failed to lock cmsis-rtos2 mutex in an ISR %d", (int)status); in lv_mutex_lock_isr()
127 LV_LOG_WARN("Error: failed to release cmsis-rtos2 mutex %d", (int)status); in lv_mutex_unlock()
138 LV_LOG_WARN("Error: failed to delete cmsis-rtos2 mutex %d", (int)status); in lv_mutex_delete()
149 LV_LOG_WARN("Error: failed to create a cmsis-rtos2 EventFlag"); in lv_thread_sync_init()
159 LV_LOG_WARN("Error: failed to wait a cmsis-rtos2 EventFlag %d", ret); in lv_thread_sync_wait()
170 LV_LOG_WARN("Error: failed to set a cmsis-rtos2 EventFlag %d", ret); in lv_thread_sync_signal()
186 LV_LOG_WARN("Error: failed to delete a cmsis-rtos2 EventFlag %d", (int)status); in lv_thread_sync_delete()
/lvgl-latest/src/libs/thorvg/rapidjson/
Dschema.h21 #include "error/en.h"
186 …ateContinueOnErrorFlag = 1, //!< Don't stop after first validation error.
888 …Must set valueSchema for when kValidateContinueOnErrorFlag is set, else reports spurious type error in BeginValue()
1152 …Must set valueSchema for when kValidateContinueOnErrorFlag is set, else reports spurious type error in Key()
1463 // Also a useful place to add type-independent error checks.
1958 //! Gets the error object.
1981 //! Default error method
1987 //! Method for error with single string value insert
1994 //! Method for error with invalid pointer
2030 void AddError(GValue& keyword, GValue& error) {
[all …]

12345678910