/third_party/uboot/u-boot-2020.01/common/ |
D | bloblist.c | 18 if (hdr->alloced <= hdr->hdr_size) in bloblist_first_blob() 20 return (struct bloblist_rec *)((void *)hdr + hdr->hdr_size); in bloblist_first_blob() 29 offset += rec->hdr_size + ALIGN(rec->size, BLOBLIST_ALIGN); in bloblist_next_blob() 74 rec->hdr_size = sizeof(*rec); in bloblist_addrec() 112 return (void *)rec + rec->hdr_size; in bloblist_find() 133 *blobp = (void *)rec + rec->hdr_size; in bloblist_ensure_size() 145 return (void *)rec + rec->hdr_size; in bloblist_ensure() 156 chksum = crc32(chksum, (void *)rec, rec->hdr_size); in bloblist_calc_chksum() 157 chksum = crc32(chksum, (void *)rec + rec->hdr_size, rec->size); in bloblist_calc_chksum() 174 hdr->hdr_size = sizeof(*hdr); in bloblist_new() [all …]
|
D | lcd.c | 566 int hdr_size; in lcd_display_bitmap() local 580 hdr_size = get_unaligned_le16(&bmp->header.size); in lcd_display_bitmap() 581 debug("hdr_size=%d, bmp_bpix=%d\n", hdr_size, bmp_bpix); in lcd_display_bitmap()
|
/third_party/ffmpeg/libavformat/ |
D | dtsdec.c | 44 int marker, wide_hdr, hdr_size, framesize; in dts_probe() local 67 hdr_size = get_bits(&gb, 8 + 4 * wide_hdr) + 1; in dts_probe() 69 if (hdr_size & 3 || framesize & 3) in dts_probe() 71 if (hdr_size < 16 || framesize < hdr_size) in dts_probe() 73 if (pos - 2 + hdr_size > p->buf_size) in dts_probe() 75 if (av_crc(av_crc_get_table(AV_CRC_16_CCITT), 0xffff, buf + 3, hdr_size - 5)) in dts_probe()
|
D | rtpenc_jpeg.c | 190 int hdr_size = 8; in ff_rtp_send_jpeg() local 193 hdr_size += 4 + 64 * nb_qtables; in ff_rtp_send_jpeg() 196 len = FFMIN(size, s->max_payload_size - hdr_size); in ff_rtp_send_jpeg() 220 ff_rtp_send_data(s1, s->buf, len + hdr_size, size == len); in ff_rtp_send_jpeg()
|
D | rtpdec_jpeg.c | 37 int hdr_size; ///< size of the current frame header member 331 jpeg->hdr_size = jpeg_create_header(hdr, sizeof(hdr), type, width, in jpeg_parse_packet() 336 avio_write(jpeg->frame, hdr, jpeg->hdr_size); in jpeg_parse_packet() 353 if (off != avio_tell(jpeg->frame) - jpeg->hdr_size) { in jpeg_parse_packet()
|
D | wtvenc.c | 265 int hdr_size = 0; in write_stream_codec_info() local 295 hdr_size = avio_tell(pb) - hdr_pos_start; in write_stream_codec_info() 298 avio_seek(pb, -(hdr_size + 4), SEEK_CUR); in write_stream_codec_info() 299 avio_wl32(pb, hdr_size + 32); in write_stream_codec_info() 300 avio_seek(pb, hdr_size, SEEK_CUR); in write_stream_codec_info()
|
/third_party/ffmpeg/libavcodec/ |
D | 8svx.c | 93 int hdr_size = 2; in eightsvx_decode_frame() local 97 int chan_size = avpkt->size / avctx->channels - hdr_size; in eightsvx_decode_frame() 102 if (avpkt->size < (hdr_size + 1) * avctx->channels) { in eightsvx_decode_frame() 121 memcpy(esc->data[0], &avpkt->data[hdr_size], chan_size); in eightsvx_decode_frame() 123 memcpy(esc->data[1], &avpkt->data[2*hdr_size+chan_size], chan_size); in eightsvx_decode_frame() 151 return ((avctx->frame_number == 0)*hdr_size + buf_size)*avctx->channels; in eightsvx_decode_frame()
|
D | proresdec2.c | 202 int hdr_size, width, height, flags; in decode_frame_header() local 206 hdr_size = AV_RB16(buf); in decode_frame_header() 207 ff_dlog(avctx, "header size %d\n", hdr_size); in decode_frame_header() 208 if (hdr_size > data_size) { in decode_frame_header() 295 return hdr_size; in decode_frame_header() 301 int i, hdr_size, slice_count; in decode_picture_header() local 307 hdr_size = buf[0] >> 3; in decode_picture_header() 308 if (hdr_size < 8 || hdr_size > buf_size) { in decode_picture_header() 350 if (hdr_size + slice_count*2 > buf_size) { in decode_picture_header() 356 index_ptr = buf + hdr_size; in decode_picture_header() [all …]
|
D | proresenc_anatoliy.c | 541 int hdr_size = 6 + (ctx->need_alpha * 2); /* v data size is write when there is alpha */ in encode_slice() local 592 mb_count, buf + hdr_size, data_size - hdr_size, in encode_slice() 607 mb_count, buf + hdr_size, data_size - hdr_size, in encode_slice() 615 mb_count, buf + hdr_size, data_size - hdr_size, in encode_slice() 624 mb_count, buf + hdr_size, data_size - hdr_size, in encode_slice() 631 buf[0] = hdr_size << 3; in encode_slice() 643 buf + hdr_size + slice_size, in encode_slice() 644 data_size - hdr_size - slice_size, &a_data_size); in encode_slice() 650 return hdr_size + y_data_size + u_data_size + v_data_size + a_data_size; in encode_slice() 658 int hdr_size, sl_size, i; in prores_encode_picture() local [all …]
|
/third_party/libcoap/src/ |
D | pdu.c | 45 pdu->hdr_size = 0; in coap_pdu_clear() 176 if (!coap_pdu_resize(pdu, length + old_pdu->hdr_size)) in coap_pdu_duplicate() 826 uint8_t *hdr = pdu->token - pdu->hdr_size; in coap_pdu_parse_header() 828 assert(pdu->hdr_size == 4); in coap_pdu_parse_header() 838 assert(pdu->hdr_size >= 2 && pdu->hdr_size <= 6); in coap_pdu_parse_header() 841 pdu->code = hdr[pdu->hdr_size-1]; in coap_pdu_parse_header() 1107 size_t hdr_size; in coap_pdu_parse() local 1111 hdr_size = coap_pdu_parse_header_size(proto, data); in coap_pdu_parse() 1112 if (!hdr_size || hdr_size > length) in coap_pdu_parse() 1114 if (hdr_size > pdu->max_hdr_size) in coap_pdu_parse() [all …]
|
D | net.c | 768 assert(pdu->hdr_size > 0); in coap_session_send_pdu() 771 bytes_written = coap_session_send(session, pdu->token - pdu->hdr_size, in coap_session_send_pdu() 772 pdu->used_size + pdu->hdr_size); in coap_session_send_pdu() 775 bytes_written = coap_dtls_send(session, pdu->token - pdu->hdr_size, in coap_session_send_pdu() 776 pdu->used_size + pdu->hdr_size); in coap_session_send_pdu() 780 bytes_written = coap_session_write(session, pdu->token - pdu->hdr_size, in coap_session_send_pdu() 781 pdu->used_size + pdu->hdr_size); in coap_session_send_pdu() 786 bytes_written = coap_tls_write(session, pdu->token - pdu->hdr_size, in coap_session_send_pdu() 787 pdu->used_size + pdu->hdr_size); in coap_session_send_pdu() 1301 (size_t)bytes_written < pdu->used_size + pdu->hdr_size) { in coap_send_internal() [all …]
|
D | block.c | 80 avail = pdu->max_size - pdu->used_size - pdu->hdr_size; in coap_write_block_opt() 411 avail = pdu->max_size - pdu->used_size - pdu->hdr_size; in coap_add_data_large_internal() 556 8 + lg_xmit->pdu.used_size + lg_xmit->pdu.hdr_size); in coap_add_data_large_internal() 561 lg_xmit->pdu.hdr_size; in coap_add_data_large_internal() 562 lg_xmit->pdu.token += lg_xmit->pdu.hdr_size; in coap_add_data_large_internal() 568 avail = pdu->max_size - pdu->used_size - pdu->hdr_size; in coap_add_data_large_internal() 825 lg_crcv->pdu.alloc_size + lg_crcv->pdu.hdr_size); in coap_block_new_lg_crcv() 830 lg_crcv->pdu.token += lg_crcv->pdu.hdr_size; in coap_block_new_lg_crcv() 868 coap_free_type(COAP_PDU_BUF, lg_crcv->pdu.token - lg_crcv->pdu.hdr_size); in coap_block_delete_lg_crcv() 899 coap_free_type(COAP_PDU_BUF, lg_xmit->pdu.token - lg_xmit->pdu.hdr_size); in coap_block_delete_lg_xmit()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/codecparsers/ |
D | parse-vp8.c | 326 guint hdr_size, frame_num = 0; in main() local 360 hdr_size = MIN (sizeof (buf), ivf_frame_hdr.frame_size); in main() 361 if (fread (buf, hdr_size, 1, fp) != 1) { in main() 366 hdr_size = ivf_frame_hdr.frame_size - hdr_size; in main() 367 if (hdr_size > 0 && fseek (fp, hdr_size, SEEK_CUR) != 0) { in main()
|
/third_party/uboot/u-boot-2020.01/tools/ |
D | bmp_logo.c | 82 uint16_t data_offset, n_colors, hdr_size; in main() local 117 if (fread(&hdr_size, sizeof(uint16_t), 1, fp) != 1) in main() 119 if (hdr_size < 40) in main() 130 skip_bytes(fp, hdr_size - 34); in main()
|
D | mtk_image.h | 116 uint32_t hdr_size; member
|
/third_party/uboot/u-boot-2020.01/include/ |
D | bloblist.h | 69 u32 hdr_size; member 96 u32 hdr_size; member
|
/third_party/uboot/u-boot-2020.01/drivers/video/ |
D | video_bmp.c | 202 int hdr_size; in video_bmp_display() local 214 hdr_size = get_unaligned_le16(&bmp->header.size); in video_bmp_display() 215 debug("hdr_size=%d, bmp_bpix=%d\n", hdr_size, bmp_bpix); in video_bmp_display() 216 palette = (void *)bmp + 14 + hdr_size; in video_bmp_display()
|
/third_party/boost/boost/container/detail/ |
D | adaptive_node_pool_impl.hpp | 250 , std::size_t hdr_size 255 …static const std::size_t hdr_subblock_elements_alone = (alignment - hdr_size - payload_per_allocat… 256 …static const std::size_t hdr_subblock_elements_first = (alignment - hdr_size - payload_per_allocat… 286 , std::size_t hdr_size 297 , hdr_size 308 , hdr_size 323 , std::size_t hdr_size 332 , hdr_size 342 , hdr_size 352 , hdr_size [all …]
|
/third_party/uboot/u-boot-2020.01/lib/efi/ |
D | efi_info.c | 28 entry = (struct efi_entry_hdr *)((ulong)info + info->hdr_size); in efi_info_get()
|
D | efi_stub.c | 243 info->hdr_size = sizeof(*info); in setup_info_table() 245 priv->next_hdr = (char *)info + info->hdr_size; in setup_info_table()
|
/third_party/uboot/u-boot-2020.01/lib/efi_loader/ |
D | efi_net.c | 578 size_t hdr_size = sizeof(struct ethernet_hdr); in efi_net_receive() local 612 hdr_size += 4; in efi_net_receive() 613 protlen = ntohs(*(u16 *)&net_rx_packet[hdr_size - 2]); in efi_net_receive() 616 *header_size = hdr_size; in efi_net_receive()
|
/third_party/libcoap/include/coap3/ |
D | coap_pdu_internal.h | 101 uint8_t hdr_size; /**< actual size used for protocol-specific member
|
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/ |
D | muxread.c | 114 const size_t hdr_size = ANMF_CHUNK_SIZE; in MuxImageParse() local 115 const WebPData temp = { bytes, hdr_size }; in MuxImageParse() 118 if (size < hdr_size) goto Fail; in MuxImageParse()
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
D | muxread.c | 114 const size_t hdr_size = ANMF_CHUNK_SIZE; in MuxImageParse() local 115 const WebPData temp = { bytes, hdr_size }; in MuxImageParse() 118 if (size < hdr_size) goto Fail; in MuxImageParse()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | mkntfs.c | 1436 u16 hdr_size; in insert_positioned_attr_in_mft_record() local 1487 hdr_size = 72; in insert_positioned_attr_in_mft_record() 1495 hdr_size = 64; in insert_positioned_attr_in_mft_record() 1509 asize = (((int)hdr_size + ((name_len + 7) & ~7) + mpa_size) + 7) & ~7; in insert_positioned_attr_in_mft_record() 1551 a->name_offset = cpu_to_le16(hdr_size); in insert_positioned_attr_in_mft_record() 1558 a->mapping_pairs_offset = cpu_to_le16(hdr_size + ((name_len + 7) & ~7)); in insert_positioned_attr_in_mft_record() 1564 memcpy((char*)a + hdr_size, uname, name_len << 1); in insert_positioned_attr_in_mft_record() 1594 err = ntfs_mapping_pairs_build(g_vol, (u8*)a + hdr_size + in insert_positioned_attr_in_mft_record() 1627 u16 hdr_size; in insert_non_resident_attr_in_mft_record() local 1689 hdr_size = 72; in insert_non_resident_attr_in_mft_record() [all …]
|