Searched refs:hdr_size (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/net/dns/
H A Ddns_response.cc179 const size_t hdr_size = sizeof(dns_protocol::Header); local
181 if (question != base::StringPiece(io_buffer_->data() + hdr_size,
189 hdr_size + question.size());
196 size_t hdr_size = sizeof(dns_protocol::Header); local
198 if (nbytes < static_cast<int>(hdr_size) || nbytes >= io_buffer_->size())
202 io_buffer_->data(), nbytes, hdr_size);
244 const size_t hdr_size = sizeof(dns_protocol::Header); local
245 const size_t qname_size = parser_.GetOffset() - 2 * sizeof(uint16) - hdr_size;
246 return base::StringPiece(io_buffer_->data() + hdr_size, qname_size);
/external/chromium_org/third_party/ots/src/
H A Dcff.cc905 uint8_t hdr_size = 0; local
913 if (!table.ReadU8(&hdr_size)) {
925 (hdr_size != 4)) {
928 if (hdr_size >= length) {
933 table.set_offset(hdr_size);

Completed in 124 milliseconds