Home
last modified time | relevance | path

Searched refs:hdr_name (Results 1 – 6 of 6) sorted by relevance

/external/scapy/scapy/contrib/
Dhttp2.uts509 assert(isinstance(p.hdr_name, h2.HPackHdrString))
510 assert(p.hdr_name.type == 0)
511 assert(p.hdr_name.len == 4)
512 assert(p.hdr_name.getfieldval('data').origin() == 'Test')
524 assert(p.hdr_name is None)
535 hdr_name=h2.HPackHdrString(data=h2.HPackLiteralString('Test')),
558 assert(isinstance(p.hdr_name, h2.HPackHdrString))
559 assert(p.hdr_name.type == 0)
560 assert(p.hdr_name.len == 4)
561 assert(isinstance(p.hdr_name.getfieldval('data'), h2.HPackLiteralString))
[all …]
Dhttp2.py2354 hdr_name = hdr.hdr_name.getfieldval('data').origin()
2357 hdr_name = self[idx].name()
2363 entry = HPackHdrEntry(hdr_name, hdr_value)
2452 name = hdr.hdr_name.getfieldval('data').origin()
2483 def _convert_a_header_to_a_h2_header(self, hdr_name, hdr_value, is_sensitive, should_index): argument
2494 idx = self.get_idx_by_name_and_value(hdr_name, hdr_value)
2503 idx = self.get_idx_by_name(hdr_name)
2506 hdr_name,
2519 if should_index(hdr_name):
2539 hdr_name = self._optimize_header_length_and_packetify(hdr_name)
[all …]
/external/perfetto/src/trace_processor/rpc/
Dhttpd.cc244 auto hdr_name = buf_view.substr(pos, col - pos); in ParseOneHttpRequest() local
246 if (hdr_name.CaseInsensitiveEq("content-length")) { in ParseOneHttpRequest()
248 } else if (hdr_name.CaseInsensitiveEq("origin")) { in ParseOneHttpRequest()
250 } else if (hdr_name.CaseInsensitiveEq("x-seq-id")) { in ParseOneHttpRequest()
/external/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/
DObjectFilePECOFF.cpp580 llvm::StringRef hdr_name(sect.name, llvm::array_lengthof(sect.name)); in GetSectionName() local
581 hdr_name = hdr_name.split('\0').first; in GetSectionName()
582 if (hdr_name.consume_front("/")) { in GetSectionName()
584 if (!to_integer(hdr_name, stroff, 10)) in GetSectionName()
592 return hdr_name; in GetSectionName()
/external/python/cpython2/Lib/test/
Dtest_cookielib.py252 def _interact(cookiejar, url, set_cookie_hdrs, hdr_name): argument
260 headers.append("%s: %s" % (hdr_name, hdr))
/external/python/cpython3/Lib/test/
Dtest_http_cookiejar.py316 def _interact(cookiejar, url, set_cookie_hdrs, hdr_name): argument
323 headers.append("%s: %s" % (hdr_name, hdr))