Lines Matching defs:nva
289 void add_header(Headers &nva, const uint8_t *name, size_t namelen,
301 nva.push_back(to_header(name, namelen, value, valuelen, no_index, token));
304 const Headers::value_type *get_header(const Headers &nva, const char *name) {
306 for (auto &nv : nva) {
369 void copy_headers_to_nva_internal(std::vector<nghttp2_nv> &nva,
462 nva.push_back(
468 void copy_headers_to_nva(std::vector<nghttp2_nv> &nva,
470 copy_headers_to_nva_internal(nva, headers, NGHTTP2_NV_FLAG_NONE, flags);
473 void copy_headers_to_nva_nocopy(std::vector<nghttp2_nv> &nva,
476 nva, headers,
601 void dump_nv(FILE *out, const nghttp2_nv *nva, size_t nvlen) {
602 auto end = nva + nvlen;
603 for (; nva != end; ++nva) {
604 fprintf(out, "%s: %s\n", nva->name, nva->value);
610 void dump_nv(FILE *out, const Headers &nva) {
611 for (auto &nv : nva) {
618 void dump_nv(FILE *out, const HeaderRefs &nva) {
619 for (auto &nv : nva) {
989 const Headers &nva) {
994 return &nva[i];
998 Headers &nva) {
1003 return &nva[i];