Searched refs:hdr_size (Results 1 – 8 of 8) sorted by relevance
/external/tcpdump/ |
D | print-geonet.c | 115 int hdr_size = -1; in geonet_print() local 181 hdr_size = 0; in geonet_print() 184 hdr_size = 0; in geonet_print() 208 hdr_size = 0; in geonet_print() 211 hdr_size = 68 - 36; in geonet_print() 225 if (hdr_size >= 0) { in geonet_print() 226 if (length < (u_int)hdr_size) in geonet_print() 228 ND_TCHECK2(*bp, hdr_size); in geonet_print() 229 length -= hdr_size; in geonet_print() 230 bp += hdr_size; in geonet_print()
|
/external/fio/ |
D | verify.c | 181 static inline unsigned int hdr_size(struct verify_header *hdr) in hdr_size() function 328 return vc->io_u->buf + vc->hdr_num * hdr->len + hdr_size(hdr); in io_u_verify_off() 423 XXH32_update(state, p, hdr->len - hdr_size(hdr)); in verify_io_u_xxhash() 449 fio_sha512_update(&sha512_ctx, p, hdr->len - hdr_size(hdr)); in verify_io_u_sha512() 474 fio_sha256_update(&sha256_ctx, p, hdr->len - hdr_size(hdr)); in verify_io_u_sha256() 500 fio_sha1_update(&sha1_ctx, p, hdr->len - hdr_size(hdr)); in verify_io_u_sha1() 522 c = fio_crc7(p, hdr->len - hdr_size(hdr)); in verify_io_u_crc7() 543 c = fio_crc16(p, hdr->len - hdr_size(hdr)); in verify_io_u_crc16() 564 c = fio_crc64(p, hdr->len - hdr_size(hdr)); in verify_io_u_crc64() 585 c = fio_crc32(p, hdr->len - hdr_size(hdr)); in verify_io_u_crc32() [all …]
|
/external/elfutils/libdw/ |
D | dwarf_getcfi_elf.c | 73 parse_eh_frame_hdr (const uint8_t *hdr, size_t hdr_size, GElf_Addr hdr_vaddr, in parse_eh_frame_hdr() argument 79 if (hdr_size < 4 || *h++ != 1) /* version */ in parse_eh_frame_hdr() 92 .d = { .d_buf = (void *) hdr, .d_size = hdr_size } in parse_eh_frame_hdr()
|
/external/opencv3/3rdparty/libwebp/mux/ |
D | muxread.c | 94 const size_t hdr_size = (chunk->tag_ == kChunks[IDX_ANMF].tag) ? in MuxImageParse() local 96 const WebPData temp = { bytes, hdr_size }; in MuxImageParse() 99 if (size < hdr_size) goto Fail; in MuxImageParse()
|
/external/webp/src/enc/ |
D | vp8l.c | 830 int* const hdr_size, in EncodeImageInternal() argument 850 assert(hdr_size != NULL); in EncodeImageInternal() 976 *hdr_size = (int)(VP8LBitWriterNumBytes(bw) - init_byte_position); in EncodeImageInternal() 981 (int)(VP8LBitWriterNumBytes(bw) - init_byte_position - *hdr_size); in EncodeImageInternal() 1390 int hdr_size = 0; in VP8LEncodeStream() local 1478 &hdr_size, &data_size); in VP8LEncodeStream() 1493 stats->lossless_hdr_size = hdr_size; in VP8LEncodeStream()
|
/external/opencv3/modules/core/test/ |
D | test_ds.cpp | 557 int hdr_size = (cvtest::randInt(rng) % 10)*4 + sizeof(CvSeq); in test_multi_create() local 558 hdr_size = MIN( hdr_size, (int)(storage->block_size - sizeof(CvMemBlock)) ); in test_multi_create() 563 cvStartWriteSeq( 0, hdr_size, elem_size, storage, &writer[struct_idx] ); in test_multi_create() 568 s = cvCreateSeq( 0, hdr_size, elem_size, storage ); in test_multi_create()
|
D | test_math.cpp | 1223 int hdr_size = are_images ? sizeof(IplImage) : sizeof(CvMat); in prepare_test_case() local 1225 hdr_data.resize(count*hdr_size); in prepare_test_case() 1239 void* ptr = _hdr_data + i*hdr_size; in prepare_test_case()
|
/external/e2fsprogs/misc/ |
D | e2image.c | 197 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()
|