Lines Matching +full:concat +full:- +full:map
60 ["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_freebsd()
71 header_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_freebsd()
73 trailer_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_freebsd()
93 let expected_string = header_strings.concat() in test_sendfile_freebsd()
95 + &trailer_strings.concat(); in test_sendfile_freebsd()
111 ["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_dragonfly()
122 header_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_dragonfly()
124 trailer_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_dragonfly()
142 let expected_string = header_strings.concat() in test_sendfile_dragonfly()
144 + &trailer_strings.concat(); in test_sendfile_dragonfly()
160 vec!["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_darwin()
171 header_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_darwin()
173 trailer_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_darwin()
191 let expected_string = header_strings.concat() in test_sendfile_darwin()
193 + &trailer_strings.concat(); in test_sendfile_darwin()
210 ["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfilev()
218 .write_all(header_strings.concat().as_bytes()) in test_sendfilev()
224 .write_all(trailer_strings.concat().as_bytes()) in test_sendfilev()
231 header_strings.iter().map(|s| s.len()).sum(), in test_sendfilev()
236 body.len() - body_offset, in test_sendfilev()
241 trailer_strings.iter().map(|s| s.len()).sum(), in test_sendfilev()
250 let expected_string = header_strings.concat() in test_sendfilev()
252 + &trailer_strings.concat(); in test_sendfilev()