/lvgl-latest/src/libs/fsdrv/ |
D | lv_fs_posix.c | 103 * @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR 132 * @return LV_FS_RES_OK: no error, the file is read 150 * Read data from an opened file 153 * @param buf pointer to a memory block where to store the read data 154 * @param btr number of Bytes To Read 155 * @param br the real number of read bytes (Byte Read) 156 * @return LV_FS_RES_OK: no error, the file is read 164 ssize_t ret = read(fd, buf, btr); in fs_read() 166 LV_LOG_WARN("Could not read file: %d, errno: %d", fd, errno); in fs_read() 199 * Set the read write pointer. Also expand the file size if necessary. [all …]
|
D | lv_fs_memfs.c | 6 …* This driver allows using a memory area as a file that can be read by normal file operations. It … 120 * @param mode read: FS_MODE_RD (currently only reading from the buffer is supported) 134 * @return LV_FS_RES_OK: no error, the file is read 145 * Read data from an opened file 148 * @param buf pointer to a memory block where to store the read data 149 * @param btr number of Bytes To Read 150 * @param br the real number of read bytes (Byte Read) 151 * @return LV_FS_RES_OK: no error, the file is read 165 * Set the read pointer. 168 * @param pos the new position of read pointer [all …]
|
D | lv_fs_win32.c | 110 * @return LV_FS_RES_OK: no error, the file is read 206 * @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR 242 * @return LV_FS_RES_OK: no error, the file is read 254 * Read data from an opened file 257 * @param buf pointer to a memory block where to store the read data 258 * @param btr number of Bytes To Read 259 * @param br the real number of read bytes (Byte Read) 260 * @return LV_FS_RES_OK: no error, the file is read 289 * Set the read write pointer. Also expand the file size if necessary. 292 * @param pos the new position of read write pointer [all …]
|
D | lv_fs_fatfs.c | 105 * @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR 137 * @return LV_FS_RES_OK: no error, the file is read 149 * Read data from an opened file 152 * @param buf pointer to a memory block where to store the read data 153 * @param btr number of Bytes To Read 154 * @param br the real number of read bytes (Byte Read) 155 * @return LV_FS_RES_OK: no error, the file is read 184 * Set the read write pointer. Also expand the file size if necessary. 187 * @param pos the new position of read write pointer 189 * @return LV_FS_RES_OK: no error, the file is read [all …]
|
D | lv_fs_stdio.c | 104 * @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR 129 * @return LV_FS_RES_OK: no error, the file is read 140 * Read data from an opened file 143 * @param buf pointer to a memory block where to store the read data 144 * @param btr number of Bytes To Read 145 * @param br the real number of read bytes (Byte Read) 146 * @return LV_FS_RES_OK: no error, the file is read 173 * Set the read write pointer. Also expand the file size if necessary. 176 * @param pos the new position of read write pointer 177 * @return LV_FS_RES_OK: no error, the file is read [all …]
|
D | lv_fs_arduino_esp_littlefs.cpp | 65 * @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR 110 * Read data from an opened file 113 * @param buf pointer to a memory block where to store the read data 114 * @param btr number of Bytes To Read 115 * @param br the real number of read bytes (Byte Read) 122 *br = lf->file.read((uint8_t *)buf, btr); in fs_read() 146 * Set the read write pointer. Also expand the file size if necessary. 149 * @param pos the new position of read write pointer 172 * Give the position of the read write pointer
|
D | lv_fs_arduino_sd.cpp | 57 * @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR 102 * Read data from an opened file 105 * @param buf pointer to a memory block where to store the read data 106 * @param btr number of Bytes To Read 107 * @param br the real number of read bytes (Byte Read) 114 *br = lf->file.read((uint8_t *)buf, btr); in fs_read() 138 * Set the read write pointer. Also expand the file size if necessary. 141 * @param pos the new position of read write pointer 164 * Give the position of the read write pointer
|
D | lv_fs_littlefs.c | 69 * @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR 115 * Read data from an opened file 118 * @param buf pointer to a memory block where to store the read data 119 * @param btr number of Bytes To Read 120 * @param br the real number of read bytes (Byte Read) 153 * Set the read write pointer. Also expand the file size if necessary. 156 * @param pos the new position of read write pointer 179 * Give the position of the read write pointer 239 * Read data from an opened directory
|
/lvgl-latest/docs/details/main-components/ |
D | fs.rst | 113 drv.read_cb = my_read_cb; /* Callback to read a file */ 118 drv.dir_open_cb = my_dir_open_cb; /* Callback to open directory to read its content */ 119 drv.dir_read_cb = my_dir_read_cb; /* Callback to read a directory's content */ 231 The example below shows how to read from a file: 251 This example shows how to read a directory's content. It's up to the 270 /* fn is empty if there are no more files to read. */ 292 - read 310 It has the potential to call the driver's ``read`` fewer 312 \>= the size of the file, ``read`` will only be called once. This strategy is good 314 since data will be buffered that will be discarded after the next seek and read. [all …]
|
D | indev.rst | 41 category. Here is an example of a simple input-device Read Callback function: 173 The driver or application collects touch events until the indev read callback 238 - Register a Read Callback function for your device and set its type to 508 in ``lv_conf.h`` sets the default read period. 529 read and it should call ``read_cb`` again. 534 Normally an Input Device is read every :c:macro:`LV_DEF_REFR_PERIOD` 536 need more control over when to read the input device. For example, you 537 might need to read it by polling a file descriptor (fd). 548 /* Call this anywhere you want to read the input device */
|
D | image.rst | 45 a *Drive* is a collection of functions (*open*, *read*, *close*, etc.) 48 system to read data from an SPI Flash memory. In every case, a *Drive* 49 is just an abstraction to read and/or write data to memory. See the 53 must be read into RAM before being drawn. As a result, they are not as 116 …``.bin`` file that must be stored separately and read using the :ref:`file support <overview_image… 194 - set it to ``NULL`` to indicate the image can be read line-by-line. 264 /* Read the PNG header and find `width` and `height` */
|
/lvgl-latest/examples/porting/ |
D | lv_port_fs_template.c | 102 * @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR 116 /*Open a file for read*/ 120 /*Open a file for read and write*/ 143 * Read data from an opened file 146 * @param buf pointer to a memory block where to store the read data 147 * @param btr number of Bytes To Read 148 * @param br the real number of read bytes (Byte Read) 179 * Set the read write pointer. Also expand the file size if necessary. 182 * @param pos the new position of read write pointer 195 * Give the position of the read write pointer [all …]
|
/lvgl-latest/src/libs/thorvg/rapidjson/ |
D | stream.h | 30 For read-only stream, no need to implement PutBegin(), Put(), Flush() and PutEnd(). 38 //! Read the current character from stream without moving the read cursor. 41 //! Read the current character from stream and moving the read cursor to next character. 44 //! Get the current read cursor. 45 //! \return Number of characters read from start. 48 //! Begin writing operation at the current read pointer. 150 //! Read-only string stream. 168 const Ch* src_; //!< Current read position. 183 //! A read-write string stream. 193 // Read
|
D | istreamwrapper.h | 55 \param stream stream opened for read. in RAPIDJSON_DIAG_OFF() 58 Read(); in RAPIDJSON_DIAG_OFF() 63 \param stream stream opened for read. in RAPIDJSON_DIAG_OFF() 69 Read(); in RAPIDJSON_DIAG_OFF() 73 Ch Take() { Ch c = *current_; Read(); return c; } in RAPIDJSON_DIAG_OFF() 92 void Read() { in RAPIDJSON_DIAG_OFF() 101 if (!stream_.read(buffer_, static_cast<std::streamsize>(bufferSize_))) { in RAPIDJSON_DIAG_OFF() 115 size_t count_; //!< Number of characters read in RAPIDJSON_DIAG_OFF()
|
D | filereadstream.h | 40 \param fp File pointer opened for read. in RAPIDJSON_DIAG_OFF() 47 Read(); in RAPIDJSON_DIAG_OFF() 51 Ch Take() { Ch c = *current_; Read(); return c; } in RAPIDJSON_DIAG_OFF() 66 void Read() { in RAPIDJSON_DIAG_OFF() 89 size_t count_; //!< Number of characters read in RAPIDJSON_DIAG_OFF()
|
/lvgl-latest/src/libs/bin_decoder/ |
D | lv_bin_decoder.c | 134 LV_LOG_WARN("Read file header failed: %d", res); in lv_bin_decoder_info() 149 /*File is always read to buf, thus data can be modified.*/ in lv_bin_decoder_info() 331 if(dsc->decoded == NULL) return LV_RESULT_OK; /*Need to read via get_area_cb*/ in lv_bin_decoder_open() 423 /*We only support read line by line for now*/ in lv_bin_decoder_get_area() 586 /*read palette for indexed image*/ in decode_indexed() 596 LV_LOG_WARN("Read palette failed: %d", res); in decode_indexed() 624 LV_LOG_WARN("Read indexed image failed: %d", res); in decode_indexed() 682 /*It needs to be read by get_area_cb later*/ in decode_indexed() 747 LV_LOG_WARN("Read palette failed: %d", res); in load_indexed() 765 LV_LOG_WARN("Read indexed image failed: %d", res); in load_indexed() [all …]
|
/lvgl-latest/src/misc/ |
D | lv_fs.h | 139 * @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR 161 * Read from a file 163 * @param buf pointer to a buffer where the read bytes are stored 164 * @param btr Bytes To Read 165 * @param br the number of real read bytes (Bytes Read). NULL if unused. 181 * Set the position of the 'cursor' (read write pointer) in a file 190 * Give the position of the read write pointer 192 * @param pos pointer to store the position of the read write pointer 206 * Read the next filename form a directory.
|
D | lv_fs.c | 547 /* Data can be read from cache buffer */ in lv_fs_read_cached() 558 /*Data is in cache buffer, and buffer end not reached, no need to read from FS*/ in lv_fs_read_cached() 563 /*First part of data is in cache buffer, but we need to read rest of data from FS*/ in lv_fs_read_cached() 571 …ing data chuck is bigger than buffer size, then do not use cache, instead read it directly from FS… in lv_fs_read_cached() 576 /*If remaining data chunk is smaller than buffer size, then read into cache buffer*/ in lv_fs_read_cached() 593 /*If bigger data is requested, then do not use cache, instead read it directly*/ in lv_fs_read_cached() 597 /*If small data is requested, then read from FS into cache buffer*/ in lv_fs_read_cached()
|
/lvgl-latest/src/indev/ |
D | lv_indev.h | 66 int16_t enc_diff; /**< For LV_INDEV_TYPE_ENCODER number of steps since the previous read*/ 69 …bool continue_reading; /**< If set to true, the read callback is invoked again, unless the device… 103 * Read data from an input device. 109 * Called periodically to read the input devices 110 * @param timer pointer to a timer to read 136 * Set a callback function to read input device data to the indev 138 * @param read_cb pointer to callback function to read input device data 199 * Get the callback function to read input device data to the indev 201 * @return Pointer to callback function to read input device data or NULL if indev is NULL 364 * Get a pointer to the indev read timer to [all …]
|
/lvgl-latest/src/libs/libjpeg_turbo/ |
D | lv_libjpeg_turbo.c | 241 /*Read file to buffer*/ in read_file() 254 LV_LOG_WARN("read file failed"); in read_file() 288 * requires it in order to read binary files. in decode_jpeg_file() 322 LV_LOG_WARN("read jpeg orientation failed."); in decode_jpeg_file() 332 /* read file parameters with jpeg_read_header() */ in decode_jpeg_file() 375 /* while (scan lines remain to be read) */ in decode_jpeg_file() 433 LV_LOG_WARN("read jpeg size failed."); in get_jpeg_head_info() 437 LV_LOG_WARN("read jpeg orientation failed."); in get_jpeg_head_info() 454 LV_LOG_WARN("read jpeg head failed"); in get_jpeg_size() 470 LV_LOG_WARN("read jpeg head failed: %d", ret); in get_jpeg_size() [all …]
|
/lvgl-latest/tests/src/test_cases/ |
D | test_circle_buf.c | 44 * Read 1 value from the buffer. in test_circle_buf_read_write_peek_values() 55 * Peek values will not advance the read and write cursors. in test_circle_buf_read_write_peek_values() 69 * Read values from the circle buffer. The max size of the buffer is circle_buf_CAPACITY. in test_circle_buf_read_write_peek_values() 70 * When the buffer is empty, the read operation should return LV_RESULT_INVALID. in test_circle_buf_read_write_peek_values() 126 * Read 1 value from the buffer. in test_circle_buf_read_after_read_and_write() 150 * Read values from the circle buffer. The max size of the buffer is circle_buf_CAPACITY. in test_circle_buf_read_after_read_and_write() 151 * When the buffer is empty, the read operation should return LV_RESULT_INVALID. in test_circle_buf_read_after_read_and_write()
|
/lvgl-latest/src/core/ |
D | lv_obj_property.h | 178 * Read property value from Widget. 181 * @param id ID of property to read 182 … @return return property value read. The returned property ID is set to `LV_PROPERTY_ID_I… 187 * Read style property value from Widget 191 … @return return property value read. The returned property ID is set to `LV_PROPERTY_ID_I…
|
/lvgl-latest/docs/intro/ |
D | basics.rst | 275 Read the Widget's documentation to learn which parts it uses. 432 recommended order of documents to read and things to play with while you are 435 1. If not already read, start with :ref:`introduction` page of 438 3. If not already done, read the :ref:`lvgl_basics` (above). (15 minutes) 443 7. Read the :ref:`main_components` pages to get a better understanding of the library. (2-3 hours) 446 10. Read the :ref:`contributing` guide to see how you can help to improve LVGL. (15 minutes)
|
/lvgl-latest/src/libs/freetype/ |
D | lv_ftsystem.c | 102 stream->read = NULL; in FT_Stream_Open() 139 stream->read = ft_lv_fs_stream_io; in FT_Stream_Open() 258 * @param buffer The address of buffer to store the read data. 259 * @param count The number of bytes to read from the stream. 260 * @return The number of bytes actually read. If `count' is zero (this is,
|
/lvgl-latest/src/libs/libpng/ |
D | lv_libpng.c | 97 /* Read the width and height from the file. They have a constant location: in decoder_info() 239 /*Read file to buffer*/ in alloc_file() 252 LV_LOG_WARN("read file failed"); in alloc_file() 288 /*Ready to read file*/ in decode_png() 291 LV_LOG_ERROR("png read failed: %d", ret); in decode_png()
|