Lines Matching refs:path
336 FileEntry *get_cached_fd(const std::string &path) {
337 auto range = fd_cache_.equal_range(path);
370 FileEntry *cache_fd(const std::string &path, const FileEntry &ent) {
372 auto rv = fd_cache_.emplace(path, std::make_unique<FileEntry>(ent));
376 std::make_pair(path, std::make_unique<FileEntry>(ent)));
482 nghttp2_rcbuf_decref(rcbuf.path);
1026 http2::make_nv_ls_nocopy(":path", push_path),
1042 promised_header.path = push_path;
1202 auto path = std::string("echo:") + tempfn;
1204 sessions->cache_fd(path, FileEntry(path, 0, 0, fd, nullptr, {}, true));
1212 const StringRef &path, int status) {
1221 stream->balloc, scheme, StringRef::from_lit("://"), authority, path);
1237 auto reqpath = stream->header.path;
1268 StringRef path;
1271 path = raw_path;
1273 path = util::percent_decode(stream->balloc, raw_path);
1276 path = http2::path_join(stream->balloc, StringRef{}, StringRef{}, path,
1279 if (std::find(std::begin(path), std::end(path), '\\') != std::end(path)) {
1289 auto push_itr = hd->get_config()->push.find(path.str());
1303 auto len = hd->get_config()->htdocs.size() + path.size();
1305 auto trailing_slash = path[path.size() - 1] == '/';
1316 p = std::copy(std::begin(path), std::end(path), p);
1462 header.path = StringRef{valuebuf.base, valuebuf.len};
1463 header.rcbuf.path = value;