Searched refs:st_size (Results 1 – 13 of 13) sorted by relevance
| /lighttpd1.4/src/ |
| H A D | mod_deflate.c | 918 z->avail_in = st_size; in stream_deflate_compress() 919 hctx->bytes_in += st_size; in stream_deflate_compress() 1033 bz->avail_in = st_size; in stream_bzip2_compress() 1034 hctx->bytes_in += st_size; in stream_bzip2_compress() 1154 hctx->bytes_in += st_size; in stream_br_compress() 1157 ? (size_t)st_size in stream_br_compress() 1163 st_size -= (st_size - (off_t)insz); in stream_br_compress() 1246 hctx->bytes_in += st_size; in stream_zstd_compress() 1325 if (0 == st_size) return 0; in mod_deflate_compress() 1338 return stream_br_compress(hctx, start, st_size); in mod_deflate_compress() [all …]
|
| H A D | http_chunk.c | 94 if (sce->st.st_size - offset < len) in http_chunk_append_file_ref_range() 95 len = sce->st.st_size - offset; in http_chunk_append_file_ref_range() 142 const off_t sz = sce->st.st_size; in http_chunk_append_file_ref()
|
| H A D | fdevent.c | 618 if ((sizeof(off_t) > sizeof(size_t) && st.st_size >= (off_t)~(size_t)0u) in fdevent_load_file() 619 || (*lim != 0 && st.st_size >= *lim)) { in fdevent_load_file() 624 sz = st.st_size; in fdevent_load_file()
|
| H A D | http_etag.c | 80 x[len++] = (uint64_t)st->st_size; in http_etag_create()
|
| H A D | http-header-glue.c | 322 || (__builtin_expect( (sce->fd < 0), 0) && 0 != sce->st.st_size)) { in http_response_send_file() 330 if (sce->fd < 0 && __builtin_expect( (0 != sce->st.st_size), 0)) { in http_response_send_file() 410 if (0 == sce->st.st_size || 0 == http_chunk_append_file_ref(r, sce)) { in http_response_send_file() 417 sce->st.st_size); in http_response_send_file() 559 end_range = sce->st.st_size - 1; in http_response_xsendfile2()
|
| H A D | mod_magnet_cache.c | 63 const off_t sz = sce->st.st_size; in script_cache_load_script()
|
| H A D | mod_magnet.c | 653 lua_pushinteger(L, sce->st.st_size); in magnet_stat_field() 2232 if (sce && (sce->fd >= 0 || sce->st.st_size == 0)) { in magnet_respbody_add() 2235 if (off > sce->st.st_size) in magnet_respbody_add() 2236 off = sce->st.st_size; in magnet_respbody_add() 2238 off = sce->st.st_size - off; in magnet_respbody_add() 2241 if (len < 0 || sce->st.st_size - off < len) in magnet_respbody_add() 2242 len = sce->st.st_size - off; in magnet_respbody_add() 2580 if (sce && (sce->fd >= 0 || sce->st.st_size == 0)) { in magnet_attach_content() 2581 if (len == -1 || sce->st.st_size - off < len) in magnet_attach_content() 2582 len = sce->st.st_size - off; in magnet_attach_content()
|
| H A D | mod_ssi.c | 976 off_t s = stb.st_size; in process_ssi_stmt() 983 buffer_append_int(tb, stb.st_size); in process_ssi_stmt() 999 chunkqueue_append_file_fd(cq, p->stat_fn, fd, 0, stb.st_size); in process_ssi_stmt() 1167 stb.st_size = 0; in process_ssi_stmt() 1188 chunkqueue_update_file(cq, c, stb.st_size); in process_ssi_stmt()
|
| H A D | mod_dirlisting.c | 599 if (NULL == sce || sce->fd < 0 || 0 == sce->st.st_size) in http_list_directory_include_file() 616 buffer * const out = sce->st.st_size <= 32768 in http_list_directory_include_file() 1110 ,{ sstr, li_itostrn(sstr, sizeof(sstr), st.st_size) } in http_read_directory() 1126 tmp->size = st.st_size; in http_read_directory()
|
| H A D | stat_cache.c | 1094 && sta->st_size == stb->st_size in stat_cache_stat_eq() 1398 if (sce->st.st_size > 0) { in stat_cache_get_entry_open()
|
| H A D | mod_rrdtool.c | 270 if (st.st_size > 0) { in mod_rrdtool_create_rrd()
|
| H A D | mod_webdav.c | 2769 if (0 == st.st_size) in webdav_copytmp_rename() 2776 off_t ilen = st.st_size; in webdav_copytmp_rename() 2837 rc = webdav_fcopyfile_sz(ifd, ofd, st.st_size); in webdav_copytmp_rename() 3467 buffer_append_int(b, pb->st.st_size); in webdav_propfind_live_props() 4786 || 0 != fstat(ifd,&st) || st.st_size != offset || st.st_nlink > 1)){ in mod_webdav_put_range()
|
| H A D | chunk.c | 1353 if (c->file.length > st.st_size) { in chunk_open_file_chunk()
|