/third_party/libwebsockets/include/libwebsockets/ |
H A 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 le in lws_vfs_file_read() [all...] |
H A D | lws-http.h | 645 lws_filepos_t content_length, 675 #define LWS_ILLEGAL_HTTP_CONTENT_LEN ((lws_filepos_t)-1ll) 705 const char *content_type, lws_filepos_t content_len,
|
H A D | lws-mqtt.h | 288 lws_read_mqtt(struct lws *wsi, unsigned char *buf, lws_filepos_t len);
|
/third_party/libwebsockets/lib/plat/unix/ |
H A 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_f in _lws_plat_file_write() [all...] |
/third_party/libwebsockets/lib/roles/http/ |
H A 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);
|
H A D | header.c | 160 lws_filepos_t content_length, in lws_add_http_header_content_length() 183 const char *content_type, lws_filepos_t content_len, in lws_add_http_common_headers()
|
/third_party/libwebsockets/lib/roles/cgi/ |
H A 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;
|
H A D | cgi-server.c | 356 wsi->http.cgi->post_in_expected = (lws_filepos_t) in lws_cgi() 719 (lws_filepos_t)atoll(wsi->http.cgi->l); in lws_cgi_write_split_stdout_headers()
|
/third_party/libwebsockets/lib/plat/optee/ |
H A 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/freertos/ |
H A 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/plat/windows/ |
H A D | windows-file.c | 119 _lws_plat_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_read() 120 uint8_t *buf, lws_filepos_t len) in _lws_plat_file_read() 137 _lws_plat_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_write() 138 uint8_t* buf, lws_filepos_t len) in _lws_plat_file_write()
|
/third_party/libwebsockets/lib/roles/http/server/ |
H A 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()
|
H A D | server.c | 1666 (lws_filepos_t)atoll(content_length_str); in lws_http_action() 2052 m = lws_read_h1(wsi, ebuf.token, (lws_filepos_t)ebuf.len); in lws_http_action() 2738 lws_filepos_t total_content_length; in lws_serve_http_file() 2869 total_content_length = (lws_filepos_t)rp->agg + in lws_serve_http_file() 2879 (lws_filepos_t)( in lws_serve_http_file() 2893 total_content_length = (lws_filepos_t)rp->agg; in lws_serve_http_file() 3033 lws_filepos_t amount, poss; in lws_serve_http_file_fragment() 3131 poss > (lws_filepos_t)nwsi->h2.h2n->peer_set.s[H2SET_MAX_FRAME_SIZE]) in lws_serve_http_file_fragment() 3132 poss = (lws_filepos_t)nwsi->h2.h2n->peer_set.s[H2SET_MAX_FRAME_SIZE]; in lws_serve_http_file_fragment() 3134 poss = poss - (lws_filepos_t)( in lws_serve_http_file_fragment() [all...] |
/third_party/libwebsockets/lib/tls/ |
H A 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()
|
H A 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/ |
H A D | vfs.c | 33 lws_filepos_t 39 lws_filepos_t
|
H A D | private-lib-core.h | 960 uint8_t **buf, lws_filepos_t *amount);
|
/third_party/libwebsockets/lib/roles/h2/ |
H A 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);
|
H A D | http2.c | 2008 lws_h2_parser(struct lws *wsi, unsigned char *in, lws_filepos_t _inlen, 2009 lws_filepos_t *inused) 2432 *inused = (lws_filepos_t)lws_ptr_diff_size_t(in, oldin); 2489 *inused = (lws_filepos_t)lws_ptr_diff_size_t(in, oldin); 2501 *inused = (lws_filepos_t)lws_ptr_diff_size_t(in, oldin); 2506 *inused = (lws_filepos_t)lws_ptr_diff_size_t(in, oldin); 2811 lws_read_h2(struct lws *wsi, unsigned char *buf, lws_filepos_t len) 2829 lws_filepos_t body_chunk_len = 0;
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
H A D | mbedtls-client.c | 177 lws_filepos_t flen; in lws_ssl_client_bio_create() 415 lws_filepos_t len; in lws_tls_client_create_vhost_context() 446 lws_filepos_t amount; in lws_tls_client_create_vhost_context() 491 lws_filepos_t amount; in lws_tls_client_create_vhost_context()
|
H A 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/ |
H A 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/ |
H A D | openssl-client.c | 1037 lws_filepos_t amount = 0; 1105 lws_filepos_t flen; 1156 lws_filepos_t flen;
|
/third_party/libwebsockets/lib/roles/h1/ |
H A 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/lib/roles/mqtt/client/ |
H A D | client-mqtt.c | 91 lws_read_mqtt(struct lws *wsi, unsigned char *buf, lws_filepos_t len) in lws_read_mqtt()
|