• Home
  • Raw
  • Download

Lines Matching refs:fop_fd

698 		if (wsi->http.fop_fd)  in lws_http_serve()
699 lws_vfs_file_close(&wsi->http.fop_fd); in lws_http_serve()
701 wsi->http.fop_fd = fops->LWS_FOP_OPEN(wsi->a.context->fops, in lws_http_serve()
703 if (!wsi->http.fop_fd) { in lws_http_serve()
717 if (fstat(wsi->http.fop_fd->fd, &st)) { in lws_http_serve()
739 wsi->http.fop_fd->mod_time = (uint32_t)st.st_mtime; in lws_http_serve()
766 (unsigned long long)lws_vfs_get_length(wsi->http.fop_fd), in lws_http_serve()
767 (unsigned long)lws_vfs_get_mod_time(wsi->http.fop_fd)); in lws_http_serve()
838 lws_vfs_file_close(&wsi->http.fop_fd); in lws_http_serve()
2418 wsi->http.fop_fd = NULL; in lws_handshake_server()
2639 wsi->http.fop_fd != NULL) in lws_http_transaction_completed()
2640 lws_vfs_file_close(&wsi->http.fop_fd); in lws_http_transaction_completed()
2745 if (!wsi->http.fop_fd) { in lws_serve_http_file()
2748 wsi->http.fop_fd = fops->LWS_FOP_OPEN(wsi->a.context->fops, in lws_serve_http_file()
2750 if (!wsi->http.fop_fd) { in lws_serve_http_file()
2764 wsi->http.filelen = lws_vfs_get_length(wsi->http.fop_fd); in lws_serve_http_file()
2785 lws_vfs_file_close(&wsi->http.fop_fd); in lws_serve_http_file()
2796 if ((wsi->http.fop_fd->flags & (LWS_FOP_FLAG_COMPR_ACCEPTABLE_GZIP | in lws_serve_http_file()
2997 lws_vfs_file_close(&wsi->http.fop_fd); in lws_serve_http_file()
3009 lws_vfs_file_close(&wsi->http.fop_fd); in lws_serve_http_file()
3081 if ((long long)lws_vfs_file_seek_cur(wsi->http.fop_fd, in lws_serve_http_file_fragment()
3177 if (lws_vfs_file_read(wsi->http.fop_fd, &amount, p, poss) < 0) in lws_serve_http_file_fragment()
3245 if (lws_vfs_file_seek_cur(wsi->http.fop_fd, in lws_serve_http_file_fragment()
3267 lws_vfs_file_close(&wsi->http.fop_fd); in lws_serve_http_file_fragment()
3309 lws_vfs_file_close(&wsi->http.fop_fd); in lws_serve_http_file_fragment()