Searched refs:lws_fileofs_t (Results 1 – 12 of 12) sorted by relevance
/third_party/libwebsockets/lib/core/ |
D | vfs.c | 51 lws_fileofs_t 52 lws_vfs_file_seek_set(lws_fop_fd_t fop_fd, lws_fileofs_t offset) in lws_vfs_file_seek_set() 54 lws_fileofs_t ofs; in lws_vfs_file_seek_set() 57 offset - (lws_fileofs_t)fop_fd->pos); in lws_vfs_file_seek_set() 63 lws_fileofs_t 64 lws_vfs_file_seek_end(lws_fop_fd_t fop_fd, lws_fileofs_t offset) in lws_vfs_file_seek_end() 67 (lws_fileofs_t)fop_fd->len + (lws_fileofs_t)fop_fd->pos + offset); in lws_vfs_file_seek_end()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-vfs.h | 110 lws_fileofs_t (*LWS_FOP_SEEK_CUR)(lws_fop_fd_t fop_fd, 111 lws_fileofs_t offset_from_cur_pos); 166 LWS_VISIBLE LWS_EXTERN lws_fileofs_t 167 lws_vfs_file_seek_set(lws_fop_fd_t fop_fd, lws_fileofs_t offset); 174 LWS_VISIBLE LWS_EXTERN lws_fileofs_t 175 lws_vfs_file_seek_end(lws_fop_fd_t fop_fd, lws_fileofs_t offset); 218 static LWS_INLINE lws_fileofs_t 219 lws_vfs_file_seek_cur(lws_fop_fd_t fop_fd, lws_fileofs_t offset) in lws_vfs_file_seek_cur() 261 LWS_VISIBLE LWS_EXTERN lws_fileofs_t 262 _lws_plat_file_seek_cur(lws_fop_fd_t fop_fd, lws_fileofs_t offset);
|
D | lws-writeable.h | 224 LWS_VISIBLE LWS_EXTERN lws_fileofs_t
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-file.c | 124 lws_fileofs_t 125 _lws_plat_file_seek_cur(lws_fop_fd_t fop_fd, lws_fileofs_t offset) in _lws_plat_file_seek_cur() 127 lws_fileofs_t r; in _lws_plat_file_seek_cur() 130 offset > (lws_fileofs_t)fop_fd->len - (lws_fileofs_t)fop_fd->pos) in _lws_plat_file_seek_cur() 131 offset = (lws_fileofs_t)(fop_fd->len - fop_fd->pos); in _lws_plat_file_seek_cur() 133 if ((lws_fileofs_t)fop_fd->pos + offset < 0) in _lws_plat_file_seek_cur() 134 offset = (lws_fileofs_t)(-fop_fd->pos); in _lws_plat_file_seek_cur()
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | fops-zip.c | 270 (lws_fileofs_t)priv->content_start) < 0) in lws_fops_zip_scan() 281 (lws_fileofs_t)priv->content_start + in lws_fops_zip_scan() 309 if (lws_vfs_file_seek_set(priv->zip_fop_fd, (lws_fileofs_t)priv->content_start) < 0) in lws_fops_zip_reset_inflate() 488 static lws_fileofs_t 489 lws_fops_zip_seek_cur(lws_fop_fd_t fd, lws_fileofs_t offset_from_cur_pos) in lws_fops_zip_seek_cur() 491 fd->pos = (lws_filepos_t)((lws_fileofs_t)fd->pos + offset_from_cur_pos); in lws_fops_zip_seek_cur() 493 return (lws_fileofs_t)fd->pos; in lws_fops_zip_seek_cur()
|
D | server.c | 3082 (lws_fileofs_t)wsi->http.range.start - in lws_serve_http_file_fragment() 3083 (lws_fileofs_t)wsi->http.filepos) < 0) in lws_serve_http_file_fragment() 3247 (lws_fileofs_t)-1) in lws_serve_http_file_fragment()
|
/third_party/libwebsockets/lib/plat/optee/ |
D | lws-plat-optee.c | 173 lws_fileofs_t 174 _lws_plat_file_seek_cur(lws_fop_fd_t fop_fd, lws_fileofs_t offset) in _lws_plat_file_seek_cur()
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-file.c | 94 lws_fileofs_t 95 _lws_plat_file_seek_cur(lws_fop_fd_t fop_fd, lws_fileofs_t offset) in _lws_plat_file_seek_cur()
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-file.c | 77 lws_fileofs_t IRAM_ATTR 78 _lws_plat_file_seek_cur(lws_fop_fd_t fops_fd, lws_fileofs_t offset) in _lws_plat_file_seek_cur()
|
/third_party/libwebsockets/include/ |
D | libwebsockets.h | 559 typedef long long lws_fileofs_t; typedef
|
/third_party/libwebsockets/READMEs/ |
D | README.coding.md | 631 `lws_plat_file_seek_cur`(lws_fop_fd_t fop_fd, lws_fileofs_t offset) 655 lws_fileofs_t 656 lws_vfs_file_seek_set(lws_fop_fd_t fop_fd, lws_fileofs_t offset); 658 lws_fileofs_t 659 lws_vfs_file_seek_end(lws_fop_fd_t fop_fd, lws_fileofs_t offset);
|
/third_party/libwebsockets/lib/core-net/ |
D | wsi.c | 649 lws_fileofs_t
|