Lines Matching defs:value

261 bool lws(const char *value) {
262 for (; *value; ++value) {
263 switch (*value) {
282 const uint8_t *value, size_t valuelen,
285 std::string(reinterpret_cast<const char *>(value), valuelen),
290 const uint8_t *value, size_t valuelen, bool no_index,
294 for (i = 0; i < valuelen && (value[i] == ' ' || value[i] == '\t'); ++i)
296 for (j = valuelen - 1; j > i && (value[j] == ' ' || value[j] == '\t'); --j)
298 value += i;
301 nva.push_back(to_header(name, namelen, value, valuelen, no_index, token));
315 return nv && !nv->value.empty();
319 nghttp2_nv make_nv_internal(const std::string &name, const std::string &value,
326 return {(uint8_t *)name.c_str(), (uint8_t *)value.c_str(), name.size(),
327 value.size(), flags};
332 nghttp2_nv make_nv_internal(const StringRef &name, const StringRef &value,
339 return {(uint8_t *)name.c_str(), (uint8_t *)value.c_str(), name.size(),
340 value.size(), flags};
344 nghttp2_nv make_nv(const std::string &name, const std::string &value,
346 return make_nv_internal(name, value, no_index, NGHTTP2_NV_FLAG_NONE);
349 nghttp2_nv make_nv(const StringRef &name, const StringRef &value,
351 return make_nv_internal(name, value, no_index, NGHTTP2_NV_FLAG_NONE);
354 nghttp2_nv make_nv_nocopy(const std::string &name, const std::string &value,
356 return make_nv_internal(name, value, no_index,
361 nghttp2_nv make_nv_nocopy(const StringRef &name, const StringRef &value,
363 return make_nv_internal(name, value, no_index,
463 make_nv_internal(kv->name, kv->value, kv->no_index, nv_flags));
568 buf->append(kv->value);
604 fprintf(out, "%s: %s\n", nva->name, nva->value);
612 fprintf(out, "%s: %s\n", nv.name.c_str(), nv.value.c_str());
620 fprintf(out, "%s: %s\n", nv.name.c_str(), nv.value.c_str());
1089 // |patlen| or it has empty value (""). |pat| should be parmname
1300 // link-param without value is acceptable (see link-extension) if
1310 // now parsing link-param value
1314 // empty value is not acceptable
1336 // empty value
1600 // we happened to use same value for method with llhttp.