Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 29) sorted by relevance

12

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dnetwork_writev.c182 abs_offset == (off_t)(c->file.mmap.offset + c->file.mmap.length)) { in network_write_chunkqueue_writev()
211 munmap(c->file.mmap.start, c->file.mmap.length); in network_write_chunkqueue_writev()
223 we_want_to_send = c->file.length - c->offset; in network_write_chunkqueue_writev()
224 to_mmap = (c->file.start + c->file.length) - c->file.mmap.offset; in network_write_chunkqueue_writev()
252 c->file.mmap.length = to_mmap; in network_write_chunkqueue_writev()
258 if (c->file.mmap.length > (64 KByte)) { in network_write_chunkqueue_writev()
263 madvise(c->file.mmap.start, c->file.mmap.length, MADV_WILLNEED); in network_write_chunkqueue_writev()
272 toSend = (c->file.mmap.offset + c->file.mmap.length) - (abs_offset); in network_write_chunkqueue_writev()
278 c->file.mmap.length, in network_write_chunkqueue_writev()
313 if (c->offset == c->file.length) { in network_write_chunkqueue_writev()
[all …]
H A Dnetwork_mtcp_writev.c211 munmap(c->file.mmap.start, c->file.mmap.length);
223 we_want_to_send = c->file.length - c->offset;
224 to_mmap = (c->file.start + c->file.length) - c->file.mmap.offset;
252 c->file.mmap.length = to_mmap;
258 if (c->file.mmap.length > (64 KByte)) {
263 madvise(c->file.mmap.start, c->file.mmap.length, MADV_WILLNEED);
278 c->file.mmap.length,
313 if (c->offset == c->file.length) {
318 munmap(c->file.mmap.start, c->file.mmap.length);
420 toSend = c->file.length - c->offset; in network_write_chunkqueue_mtcp_writev()
[all …]
H A Dchunk.c73 munmap(c->file.mmap.start, c->file.mmap.length); in chunk_reset()
151 c->offset = c->file.length; in chunkqueue_reset()
174 c->file.length = len; in chunkqueue_append_file()
313 c->file.length = 0; in chunkqueue_get_append_tempfile()
333 len += c->file.length; in chunkqueue_length()
376 if (c->offset == c->file.length) is_finished = 1; in chunkqueue_remove_finished_chunks()
H A Dcrc32.c73 uint32_t generate_crc32c(char *buffer, size_t length) { in generate_crc32c() argument
77 for (i = 0; i < length; i++){ in generate_crc32c()
H A Dchunk.h17 off_t length; /* octets to send from the starting offset */ member
22 size_t length; /* size of the mmap'ed area */ member
H A Dnetwork_write.c101 toSend = c->file.length - c->offset; in network_write_chunkqueue_write()
190 if (c->offset == c->file.length) { in network_write_chunkqueue_write()
H A Dnetwork_freebsd_sendfile.c144 toSend = c->file.length - c->offset; in network_write_chunkqueue_freebsdsendfile()
198 if (c->offset == c->file.length) { in network_write_chunkqueue_freebsdsendfile()
H A Dnetwork_solaris_sendfilev.c153 toSend = c->file.length - c->offset; in network_write_chunkqueue_solarissendfilev()
190 if (c->offset == c->file.length) { in network_write_chunkqueue_solarissendfilev()
H A Dcrc32.h16 uint32_t generate_crc32c(char *string, size_t length);
H A Dnetwork_openssl.c178 off_t toSend = c->file.length - c->offset; in network_write_chunkqueue_openssl()
265 if (c->offset == c->file.length) { in network_write_chunkqueue_openssl()
H A Dnetwork_linux_sendfile.c134 toSend = c->file.length - c->offset; in network_write_chunkqueue_linuxsendfile()
216 if (c->offset == c->file.length) { in network_write_chunkqueue_linuxsendfile()
H A Dmod_webdav.c1009 weHave = c->file.length - c->offset; in webdav_parse_chunkqueue()
1022 …if (MAP_FAILED == (c->file.mmap.start = mmap(0, c->file.length, PROT_READ, MAP_SHARED, c->file.fd,… in webdav_parse_chunkqueue()
1034 c->file.mmap.length = c->file.length; in webdav_parse_chunkqueue()
1724 …if (MAP_FAILED == (c->file.mmap.start = mmap(NULL, c->file.length, PROT_READ, MAP_SHARED, c->file.… in URIHANDLER_FUNC()
1733 c->file.mmap.length = c->file.length; in URIHANDLER_FUNC()
1741 if ((r = write(fd, c->file.mmap.start + c->offset, c->file.length - c->offset)) < 0) { in URIHANDLER_FUNC()
H A Dmod_cgi.c1100 c->file.mmap.length = c->file.length; in cgi_create_env()
1102 …if (MAP_FAILED == (c->file.mmap.start = mmap(NULL, c->file.mmap.length, PROT_READ, MAP_SHARED, c-… in cgi_create_env()
1117 … if ((r = write(to_cgi_fds[1], c->file.mmap.start + c->offset, c->file.length - c->offset)) < 0) { in cgi_create_env()
H A Dconnections.c1100 if (dst_cq->last->file.length < 1 * 1024 * 1024) {
1160 dst_c->file.length += toRead;
H A Dresponse.c172 (const char *)xe->value->data, xe->value->length in https_add_ssl_entries()
H A Dnetwork.c777 dh->length = 160;
H A Dmod_fastcgi.c2081 weHave = req_c->file.length - req_c->offset; in fcgi_create_env()
2088 req_c->offset, "/", req_c->file.length, ")", in fcgi_create_env()
2114 if (req_c->offset == req_c->file.length) { in fcgi_create_env()
H A Dmod_proxy.c506 weHave = req_c->file.length - req_c->offset; in proxy_create_env()
/mOS-networking-stack/core/src/include/
H A Dmtcp_util.h110 unsigned int XXH32 (const void* input, size_t length, unsigned seed);
111 unsigned long long XXH64 (const void* input, size_t length, unsigned long long seed);
H A Dnetmap_user.h520 win32_mmap_emulated(void *addr, size_t length, int prot, int flags, int fd, int32_t offset) in win32_mmap_emulated() argument
525 return mmap(addr, length, prot, flags, fd, offset); in win32_mmap_emulated()
/mOS-networking-stack/core/include/
H A Dmtcp_util.h110 unsigned int XXH32 (const void* input, size_t length, unsigned seed);
111 unsigned long long XXH64 (const void* input, size_t length, unsigned long long seed);
/mOS-networking-stack/scripts/
H A Dconfigure4716 len = length(field[1])
4719 keylen = length(key)
4723 len += length(value) + length(field[++i])
5874 len = length(field[1])
5877 keylen = length(key)
5881 len += length(value) + length(field[++i])
7033 len = length(field[1])
7040 len += length(value) + length(field[++i])
8200 len += length(value) + length(field[++i])
9361 len += length(value) + length(field[++i])
[all …]
/mOS-networking-stack/samples/lighttpd-1.4.32/
H A Dconfig.h.in262 zero-length file name argument. */
H A Dltmain.sh6372 size_t length;
6378 length = 0;
6381 length++;
6386 length += backslashes + 1;
6387 length++;
/mOS-networking-stack/samples/lighttpd-1.4.32/doc/outdated/
H A Dmagnet.txt145 * length = <number> [default: size of the file - offset]

12