/third_party/libwebsockets/include/libwebsockets/ |
D | lws-vfs.h | 78 lws_filepos_t pos; 80 lws_filepos_t len; 113 int (*LWS_FOP_READ)(lws_fop_fd_t fop_fd, lws_filepos_t *amount, 114 uint8_t *buf, lws_filepos_t len); 116 int (*LWS_FOP_WRITE)(lws_fop_fd_t fop_fd, lws_filepos_t *amount, 117 uint8_t *buf, lws_filepos_t len); 144 LWS_VISIBLE LWS_EXTERN lws_filepos_t LWS_WARN_UNUSED_RESULT 151 LWS_VISIBLE LWS_EXTERN lws_filepos_t LWS_WARN_UNUSED_RESULT 232 lws_vfs_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in lws_vfs_file_read() 233 uint8_t *buf, lws_filepos_t len) in lws_vfs_file_read() [all …]
|
D | lws-http.h | 647 lws_filepos_t content_length, 677 #define LWS_ILLEGAL_HTTP_CONTENT_LEN ((lws_filepos_t)-1ll) 707 const char *content_type, lws_filepos_t content_len,
|
D | lws-mqtt.h | 264 lws_read_mqtt(struct lws *wsi, unsigned char *buf, lws_filepos_t len);
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-file.c | 103 fop_fd->len = (lws_filepos_t)stat_buf.st_size; in _lws_plat_file_open() 139 fop_fd->pos = (lws_filepos_t)r; in _lws_plat_file_seek_cur() 148 _lws_plat_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_read() 149 uint8_t *buf, lws_filepos_t len) in _lws_plat_file_read() 158 fop_fd->pos = (lws_filepos_t)(fop_fd->pos + (lws_filepos_t)n); in _lws_plat_file_read() 162 *amount = (lws_filepos_t)n; in _lws_plat_file_read() 168 _lws_plat_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_write() 169 uint8_t *buf, lws_filepos_t len) in _lws_plat_file_write() 179 fop_fd->pos = (lws_filepos_t)(fop_fd->pos + (lws_filepos_t)n); in _lws_plat_file_write() 180 *amount = (lws_filepos_t)n; in _lws_plat_file_write()
|
/third_party/libwebsockets/lib/roles/http/ |
D | private-lib-roles-http.h | 236 lws_filepos_t filepos; 237 lws_filepos_t filelen; 265 lws_filepos_t tx_content_length; 266 lws_filepos_t tx_content_remain; 267 lws_filepos_t rx_content_length; 268 lws_filepos_t rx_content_remain; 317 lws_read_h1(struct lws *wsi, unsigned char *buf, lws_filepos_t len);
|
D | header.c | 155 lws_filepos_t content_length, in lws_add_http_header_content_length() 178 const char *content_type, lws_filepos_t content_len, in lws_add_http_common_headers()
|
/third_party/libwebsockets/lib/roles/cgi/ |
D | private-lib-roles-cgi.h | 74 lws_filepos_t post_in_expected; 75 lws_filepos_t content_length; 76 lws_filepos_t content_length_seen;
|
D | cgi-server.c | 354 wsi->http.cgi->post_in_expected = (lws_filepos_t) in lws_cgi() 717 (lws_filepos_t)atoll(wsi->http.cgi->l); in lws_cgi_write_split_stdout_headers()
|
/third_party/libwebsockets/lib/plat/optee/ |
D | lws-plat-optee.c | 180 _lws_plat_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_read() 181 uint8_t *buf, lws_filepos_t len) in _lws_plat_file_read() 188 _lws_plat_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_write() 189 uint8_t *buf, lws_filepos_t len) in _lws_plat_file_write()
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-file.c | 120 _lws_plat_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_read() 121 uint8_t *buf, lws_filepos_t len) in _lws_plat_file_read() 138 _lws_plat_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_write() 139 uint8_t* buf, lws_filepos_t len) in _lws_plat_file_write()
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-file.c | 84 _lws_plat_file_read(lws_fop_fd_t fops_fd, lws_filepos_t *amount, in _lws_plat_file_read() 85 uint8_t *buf, lws_filepos_t len) in _lws_plat_file_read() 101 _lws_plat_file_write(lws_fop_fd_t fops_fd, lws_filepos_t *amount, in _lws_plat_file_write() 102 uint8_t *buf, lws_filepos_t len) in _lws_plat_file_write()
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | fops-zip.c | 57 lws_filepos_t filename_start; 76 lws_filepos_t content_start; 77 lws_filepos_t exp_uncomp_pos; 169 lws_filepos_t amount; in lws_fops_zip_scan() 491 fd->pos = (lws_filepos_t)((lws_fileofs_t)fd->pos + offset_from_cur_pos); in lws_fops_zip_seek_cur() 497 lws_fops_zip_read(lws_fop_fd_t fd, lws_filepos_t *amount, uint8_t *buf, in lws_fops_zip_read() 498 lws_filepos_t len) in lws_fops_zip_read() 501 lws_filepos_t ramount, rlen, cur = lws_vfs_tell(fd); in lws_fops_zip_read()
|
D | server.c | 1655 (lws_filepos_t)atoll(content_length_str); in lws_http_action() 2041 m = lws_read_h1(wsi, ebuf.token, (lws_filepos_t)ebuf.len); in lws_http_action() 2727 lws_filepos_t total_content_length; in lws_serve_http_file() 2858 total_content_length = (lws_filepos_t)rp->agg + in lws_serve_http_file() 2868 (lws_filepos_t)( in lws_serve_http_file() 2882 total_content_length = (lws_filepos_t)rp->agg; in lws_serve_http_file() 3022 lws_filepos_t amount, poss; in lws_serve_http_file_fragment() 3120 poss > (lws_filepos_t)nwsi->h2.h2n->peer_set.s[H2SET_MAX_FRAME_SIZE]) in lws_serve_http_file_fragment() 3121 poss = (lws_filepos_t)nwsi->h2.h2n->peer_set.s[H2SET_MAX_FRAME_SIZE]; in lws_serve_http_file_fragment() 3123 poss = poss - (lws_filepos_t)(n + LWS_H2_FRAME_HEADER_LENGTH); in lws_serve_http_file_fragment() [all …]
|
/third_party/libwebsockets/lib/tls/ |
D | tls.c | 224 lws_filepos_t *amount) in alloc_file() 258 lws_filepos_t *amount) in alloc_file() 324 const char *inbuf, lws_filepos_t inlen, in lws_tls_alloc_pem_to_der_file() 325 uint8_t **buf, lws_filepos_t *amount) in lws_tls_alloc_pem_to_der_file() 328 lws_filepos_t len; in lws_tls_alloc_pem_to_der_file()
|
D | private-lib-tls.h | 175 const char *inbuf, lws_filepos_t inlen, 176 uint8_t **buf, lws_filepos_t *amount);
|
/third_party/libwebsockets/lib/core/ |
D | vfs.c | 33 lws_filepos_t 39 lws_filepos_t
|
/third_party/libwebsockets/lib/roles/h2/ |
D | private-lib-roles-h2.h | 331 lws_h2_parser(struct lws *wsi, unsigned char *in, lws_filepos_t inlen, 332 lws_filepos_t *inused); 382 lws_read_h2(struct lws *wsi, unsigned char *buf, lws_filepos_t len);
|
D | http2.c | 2002 lws_h2_parser(struct lws *wsi, unsigned char *in, lws_filepos_t _inlen, in lws_h2_parser() 2003 lws_filepos_t *inused) in lws_h2_parser() 2426 *inused = (lws_filepos_t)lws_ptr_diff_size_t(in, oldin); in lws_h2_parser() 2483 *inused = (lws_filepos_t)lws_ptr_diff_size_t(in, oldin); in lws_h2_parser() 2495 *inused = (lws_filepos_t)lws_ptr_diff_size_t(in, oldin); in lws_h2_parser() 2500 *inused = (lws_filepos_t)lws_ptr_diff_size_t(in, oldin); in lws_h2_parser() 2805 lws_read_h2(struct lws *wsi, unsigned char *buf, lws_filepos_t len) in lws_read_h2() 2808 lws_filepos_t body_chunk_len; in lws_read_h2()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-client.c | 177 lws_filepos_t flen; in lws_ssl_client_bio_create() 414 lws_filepos_t len; in lws_tls_client_create_vhost_context() 445 lws_filepos_t amount; in lws_tls_client_create_vhost_context() 490 lws_filepos_t amount; in lws_tls_client_create_vhost_context()
|
D | mbedtls-server.c | 110 lws_filepos_t flen; in lws_tls_server_certs_load() 190 lws_filepos_t flen; in lws_tls_server_vhost_backend_init()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-custom-headers/ |
D | minimal-http-server-custom-headers.c | 78 "text/html", (lws_filepos_t)pss->len, &p, end)) in callback_http()
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-client.c | 986 lws_filepos_t amount = 0; 1054 lws_filepos_t flen; 1105 lws_filepos_t flen;
|
/third_party/libwebsockets/lib/roles/h1/ |
D | ops-h1.c | 42 lws_read_h1(struct lws *wsi, unsigned char *buf, lws_filepos_t len) in lws_read_h1() 45 lws_filepos_t body_chunk_len; in lws_read_h1()
|
/third_party/libwebsockets/include/ |
D | libwebsockets.h | 558 typedef unsigned long long lws_filepos_t; typedef
|
/third_party/libwebsockets/lib/roles/mqtt/client/ |
D | client-mqtt.c | 91 lws_read_mqtt(struct lws *wsi, unsigned char *buf, lws_filepos_t len) in lws_read_mqtt()
|