Home
last modified time | relevance | path

Searched refs:hdr_size (Results 1 – 7 of 7) sorted by relevance

/external/tcpdump/
Dprint-geonet.c124 int hdr_size = -1; in geonet_print() local
175 hdr_size = 0; in geonet_print()
178 hdr_size = 0; in geonet_print()
202 hdr_size = 0; in geonet_print()
205 hdr_size = 68 - 36; in geonet_print()
219 if (hdr_size >= 0) { in geonet_print()
220 length -= hdr_size; in geonet_print()
221 bp += hdr_size; in geonet_print()
/external/chromium_org/net/dns/
Ddns_response.cc179 const size_t hdr_size = sizeof(dns_protocol::Header); in InitParse() local
181 if (question != base::StringPiece(io_buffer_->data() + hdr_size, in InitParse()
189 hdr_size + question.size()); in InitParse()
196 size_t hdr_size = sizeof(dns_protocol::Header); in InitParseWithoutQuery() local
198 if (nbytes < static_cast<int>(hdr_size) || nbytes >= io_buffer_->size()) in InitParseWithoutQuery()
202 io_buffer_->data(), nbytes, hdr_size); in InitParseWithoutQuery()
244 const size_t hdr_size = sizeof(dns_protocol::Header); in qname() local
245 const size_t qname_size = parser_.GetOffset() - 2 * sizeof(uint16) - hdr_size; in qname()
246 return base::StringPiece(io_buffer_->data() + hdr_size, qname_size); in qname()
/external/fio/
Dverify.c196 static inline unsigned int hdr_size(struct verify_header *hdr) in hdr_size() function
343 return vc->io_u->buf + vc->hdr_num * hdr->len + hdr_size(hdr); in io_u_verify_off()
437 XXH32_update(state, p, hdr->len - hdr_size(hdr)); in verify_io_u_xxhash()
463 fio_sha512_update(&sha512_ctx, p, hdr->len - hdr_size(hdr)); in verify_io_u_sha512()
488 fio_sha256_update(&sha256_ctx, p, hdr->len - hdr_size(hdr)); in verify_io_u_sha256()
513 fio_sha1_update(&sha1_ctx, p, hdr->len - hdr_size(hdr)); in verify_io_u_sha1()
534 c = fio_crc7(p, hdr->len - hdr_size(hdr)); in verify_io_u_crc7()
555 c = fio_crc16(p, hdr->len - hdr_size(hdr)); in verify_io_u_crc16()
576 c = fio_crc64(p, hdr->len - hdr_size(hdr)); in verify_io_u_crc64()
597 c = fio_crc32(p, hdr->len - hdr_size(hdr)); in verify_io_u_crc32()
[all …]
/external/chromium_org/third_party/ots/src/
Dcff.cc905 uint8_t hdr_size = 0; in ots_cff_parse() local
913 if (!table.ReadU8(&hdr_size)) { in ots_cff_parse()
925 (hdr_size != 4)) { in ots_cff_parse()
928 if (hdr_size >= length) { in ots_cff_parse()
933 table.set_offset(hdr_size); in ots_cff_parse()
/external/elfutils/0.153/libdw/
Ddwarf_getcfi_elf.c94 parse_eh_frame_hdr (const uint8_t *hdr, size_t hdr_size, GElf_Addr hdr_vaddr, in parse_eh_frame_hdr() argument
113 .d = { .d_buf = (void *) hdr, .d_size = hdr_size } in parse_eh_frame_hdr()
/external/chromium_org/third_party/brotli/src/brotli/enc/
Dencode.cc990 size_t hdr_size = (storage_ix_ + 7) >> 3; in WriteMetaBlock() local
991 memcpy(encoded_buffer, storage_, hdr_size); in WriteMetaBlock()
992 memcpy(encoded_buffer + hdr_size, input_buffer, input_size); in WriteMetaBlock()
993 *encoded_size = hdr_size + input_size; in WriteMetaBlock()
/external/e2fsprogs/misc/
De2image.c197 static void write_header(int fd, void *hdr, int hdr_size, int wrt_size) in write_header() argument
203 if (hdr_size > wrt_size) { in write_header()
218 memcpy(header_buf, hdr, hdr_size); in write_header()