| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | network_writev.c | 182 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 D | network_mtcp_writev.c | 211 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 D | chunk.c | 73 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 D | crc32.c | 73 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 D | chunk.h | 17 off_t length; /* octets to send from the starting offset */ member 22 size_t length; /* size of the mmap'ed area */ member
|
| H A D | network_write.c | 101 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 D | network_freebsd_sendfile.c | 144 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 D | network_solaris_sendfilev.c | 153 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 D | crc32.h | 16 uint32_t generate_crc32c(char *string, size_t length);
|
| H A D | network_openssl.c | 178 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 D | network_linux_sendfile.c | 134 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 D | mod_webdav.c | 1009 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 D | mod_cgi.c | 1100 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 D | connections.c | 1100 if (dst_cq->last->file.length < 1 * 1024 * 1024) { 1160 dst_c->file.length += toRead;
|
| H A D | response.c | 172 (const char *)xe->value->data, xe->value->length in https_add_ssl_entries()
|
| H A D | network.c | 777 dh->length = 160;
|
| H A D | mod_fastcgi.c | 2081 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 D | mod_proxy.c | 506 weHave = req_c->file.length - req_c->offset; in proxy_create_env()
|
| /mOS-networking-stack/core/src/include/ |
| H A D | mtcp_util.h | 110 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 D | netmap_user.h | 520 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 D | mtcp_util.h | 110 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 D | configure | 4716 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 D | config.h.in | 262 zero-length file name argument. */
|
| H A D | ltmain.sh | 6372 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 D | magnet.txt | 145 * length = <number> [default: size of the file - offset]
|