Lines Matching refs:size
382 while (fd_cache_.size() > FILE_ENTRY_EVICT_THRES) {
639 while ((nread = read(fd_, buf.data(), buf.size())) == -1 && errno == EINTR)
757 auto rv = SSL_read(ssl_, buf.data(), buf.size());
968 nva.reserve(4 + headers.size());
983 int r = nghttp2_submit_response(session_, stream_id, nva.data(), nva.size(),
1011 nva.data(), nva.size(), nullptr);
1032 nva.size(), nullptr);
1112 nva.reserve(config->trailer.size());
1116 rv = nghttp2_submit_trailer(session, stream_id, nva.data(), nva.size());
1303 auto len = hd->get_config()->htdocs.size() + path.size();
1305 auto trailing_slash = path[path.size() - 1] == '/';
1307 len += DEFAULT_HTML.size();
1360 auto ext = file_path.c_str() + file_path.size() - 1;
1966 while ((nwrite = write(fd, body.c_str(), body.size())) == -1 &&
2005 *len = next_proto->size();