Lines Matching refs:StringRef
73 HeaderRef(const StringRef &name, const StringRef &value,
87 StringRef name;
88 StringRef value;
100 StringRef get_reason_phrase(unsigned int status_code);
103 StringRef stringify_status(BlockAllocator &balloc, unsigned int status_code);
105 void capitalize(DefaultMemchunks *buf, const StringRef &s);
142 nghttp2_nv make_nv(const StringRef &name, const StringRef &value,
148 nghttp2_nv make_nv_nocopy(const StringRef &name, const StringRef &value,
186 nghttp2_nv make_nv_ls_nocopy(const char (&name)[N], const StringRef &value) { in make_nv_ls_nocopy()
286 StringRef rewrite_location_uri(BlockAllocator &balloc, const StringRef &uri,
288 const StringRef &match_host,
289 const StringRef &request_authority,
290 const StringRef &upstream_scheme);
293 int parse_http_status_code(const StringRef &src);
346 int lookup_token(const StringRef &name);
363 StringRef uri;
370 std::vector<LinkHeader> parse_link_header(const StringRef &src);
377 std::string path_join(const StringRef &base, const StringRef &base_query,
378 const StringRef &rel_path, const StringRef &rel_query);
380 StringRef path_join(BlockAllocator &balloc, const StringRef &base_path,
381 const StringRef &base_query, const StringRef &rel_path,
382 const StringRef &rel_query);
396 int lookup_method_token(const StringRef &name);
402 StringRef to_method_string(int method_token);
404 StringRef normalize_path(BlockAllocator &balloc, const StringRef &path,
405 const StringRef &query);
410 StringRef normalize_path_colon(BlockAllocator &balloc, const StringRef &path,
411 const StringRef &query);
413 std::string normalize_path(const StringRef &path, const StringRef &query);
415 StringRef rewrite_clean_path(BlockAllocator &balloc, const StringRef &src);
420 StringRef get_pure_path_component(const StringRef &uri);
427 int construct_push_component(BlockAllocator &balloc, StringRef &scheme,
428 StringRef &authority, StringRef &path,
429 const StringRef &base, const StringRef &uri);
432 StringRef copy_lower(BlockAllocator &balloc, const StringRef &src);
435 bool contains_trailers(const StringRef &s);
441 StringRef make_websocket_accept_token(uint8_t *dest, const StringRef &key);