/third_party/ffmpeg/libavformat/ |
D | c93.c | 111 int datasize; in read_packet() local 117 datasize = avio_rl16(pb); in read_packet() 118 if (datasize > 42) { in read_packet() 126 ret = ff_voc_get_packet(s, pkt, c93->audio, datasize - 26); in read_packet() 151 datasize = avio_rl16(pb); /* video frame size */ in read_packet() 153 ret = av_new_packet(pkt, datasize + 768 + 1); in read_packet() 157 pkt->size = datasize + 1; in read_packet() 159 ret = avio_read(pb, pkt->data + 1, datasize); in read_packet() 160 if (ret < datasize) { in read_packet() 164 datasize = avio_rl16(pb); /* palette size */ in read_packet() [all …]
|
D | omadec.c | 254 if (geob->datasize < 64) { in decrypt_init() 256 "Invalid GEOB data size: %"PRIu32"\n", geob->datasize); in decrypt_init() 274 if (OMA_ENC_HEADER_SIZE + oc->k_size + oc->e_size + oc->i_size + 8 > geob->datasize || in decrypt_init() 275 OMA_ENC_HEADER_SIZE + 48 > geob->datasize) { in decrypt_init() 293 rprobe(s, gdata, geob->datasize, oc->r_val) < 0 && in decrypt_init() 294 nprobe(s, gdata, geob->datasize, oc->n_val) < 0) { in decrypt_init() 301 if (!rprobe(s, gdata, geob->datasize, oc->r_val) || in decrypt_init() 302 !nprobe(s, gdata, geob->datasize, oc->n_val)) in decrypt_init()
|
D | id3v2.h | 58 uint32_t datasize; member 75 uint32_t datasize; member
|
/third_party/libsnd/src/ |
D | cart.c | 47 cart_var_set (SF_PRIVATE *psf, const SF_CART_INFO * info, size_t datasize) in cart_var_set() argument 53 if (cart_min_size (info) > datasize) in cart_var_set() 58 if (datasize >= sizeof (SF_CART_INFO_16K)) in cart_var_set() 71 …->cart_16k->tag_text, info->tag_text, sizeof (psf->cart_16k->tag_text), datasize - offsetof (SF_CA… in cart_var_set() 89 cart_var_get (SF_PRIVATE *psf, SF_CART_INFO * data, size_t datasize) in cart_var_get() argument 94 size = SF_MIN (datasize, cart_min_size ((const SF_CART_INFO *) psf->cart_16k)) ; in cart_var_get()
|
D | au.c | 82 int datasize ; member 302 psf_binheader_readf (psf, "E44444", &(au_fmt.dataoffset), &(au_fmt.datasize), in au_read_header() 307 psf_binheader_readf (psf, "e44444", &(au_fmt.dataoffset), &(au_fmt.datasize), in au_read_header() 315 if (psf->fileoffset > 0 && au_fmt.datasize == -1) in au_read_header() 321 { psf->filelength = au_fmt.dataoffset + au_fmt.datasize ; in au_read_header() 322 psf_log_printf (psf, " Data Size : %d\n", au_fmt.datasize) ; in au_read_header() 324 else if (au_fmt.datasize == -1 || au_fmt.dataoffset + au_fmt.datasize == psf->filelength) in au_read_header() 325 psf_log_printf (psf, " Data Size : %d\n", au_fmt.datasize) ; in au_read_header() 326 else if (au_fmt.dataoffset + au_fmt.datasize < psf->filelength) in au_read_header() 327 { psf->filelength = au_fmt.dataoffset + au_fmt.datasize ; in au_read_header() [all …]
|
D | broadcast.c | 45 broadcast_var_set (SF_PRIVATE *psf, const SF_BROADCAST_INFO * info, size_t datasize) in broadcast_var_set() argument 51 if (bc_min_size (info) > datasize) in broadcast_var_set() 56 if (datasize >= sizeof (SF_BROADCAST_INFO_16K)) in broadcast_var_set() 71 …ory, info->coding_history, sizeof (psf->broadcast_16k->coding_history), datasize - offsetof (SF_BR… in broadcast_var_set() 97 broadcast_var_get (SF_PRIVATE *psf, SF_BROADCAST_INFO * data, size_t datasize) in broadcast_var_get() argument 103 size = SF_MIN (datasize, bc_min_size ((const SF_BROADCAST_INFO *) psf->broadcast_16k)) ; in broadcast_var_get()
|
D | sndfile.c | 911 sf_command (SNDFILE *sndfile, int command, void *data, int datasize) in sf_command() argument 925 snprintf (data, datasize, "%s", sf_version_string ()) ; in sf_command() 929 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in sf_command() 935 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command() 940 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in sf_command() 946 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command() 951 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in sf_command() 957 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command() 962 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command() 970 snprintf (data, datasize, "%s", sf_parselog) ; in sf_command() [all …]
|
D | mat5.c | 161 sf_count_t current, datasize ; in mat5_write_header() local 233 datasize = psf->sf.frames * psf->sf.channels * psf->bytewidth ; in mat5_write_header() 235 …psf_binheader_writef (psf, "t484444", BHW4 (MAT5_TYPE_ARRAY), BHW8 (datasize + 64), BHW4 (MAT5_TYP… in mat5_write_header() 239 datasize = psf->sf.frames * psf->sf.channels * psf->bytewidth ; in mat5_write_header() 240 if (datasize > 0x7FFFFFFF) in mat5_write_header() 241 datasize = 0x7FFFFFFF ; in mat5_write_header() 243 psf_binheader_writef (psf, "t48", BHW4 (encoding), BHW8 (datasize)) ; in mat5_write_header()
|
D | common.h | 528 int (*command) (struct sf_private_tag*, int command, void *data, int datasize) ; 1037 SF_CUES * psf_cues_dup (const void * ptr, size_t datasize) ; 1039 void psf_get_cues (SF_PRIVATE * psf, void * data, size_t datasize) ; 1049 int broadcast_var_set (SF_PRIVATE *psf, const SF_BROADCAST_INFO * data, size_t datasize) ; 1050 int broadcast_var_get (SF_PRIVATE *psf, SF_BROADCAST_INFO * data, size_t datasize) ; 1054 int cart_var_set (SF_PRIVATE *psf, const SF_CART_INFO * date, size_t datasize) ; 1055 int cart_var_get (SF_PRIVATE *psf, SF_CART_INFO * data, size_t datasize) ;
|
/third_party/curl/tests/libtest/ |
D | lib678.c | 30 size_t datasize = 0; in loadfile() local 43 datasize = (size_t)cert_tell; in loadfile() 47 data = malloc(datasize + 1); in loadfile() 49 ((int)fread(data, datasize, 1, fInCert) != 1)) in loadfile() 54 datasize = 0; in loadfile() 59 *filesize = datasize; in loadfile()
|
D | lib643.c | 89 curl_off_t datasize = -1; in once() local 93 datasize = (curl_off_t)strlen(data); in once() 95 pooh.sizeleft = datasize; in once() 125 res = curl_mime_data_cb(part, datasize, read_callback, in once() 134 res = curl_mime_data_cb(part, datasize, read_callback, in once() 148 datasize = (curl_off_t)strlen(data); in once() 150 pooh2.sizeleft = datasize; in once() 163 res = curl_mime_data_cb(part, datasize, read_callback, in once()
|
/third_party/curl/lib/ |
D | http_chunks.c | 168 if(curlx_strtoofft(ch->hexbuffer, &endptr, 16, &ch->datasize)) in Curl_httpchunk_read() 178 if(0 == ch->datasize) { in Curl_httpchunk_read() 193 piece = curlx_sotouz((ch->datasize >= length)?length:ch->datasize); in Curl_httpchunk_read() 209 ch->datasize -= piece; /* decrease amount left to expect */ in Curl_httpchunk_read() 213 if(0 == ch->datasize) in Curl_httpchunk_read() 311 ch->datasize = curlx_sotouz(length); in Curl_httpchunk_read()
|
D | mime.c | 378 return part->datasize; in encoder_nop_size() 498 curl_off_t size = part->datasize; in encoder_base64_size() 635 return part->datasize? -1: 0; in encoder_qp_size() 645 size_t sz = curlx_sotouz(part->datasize - part->state.offset); in mime_mem_read() 669 offset += part->datasize; in mime_mem_seek() 673 if(offset < 0 || offset > part->datasize) in mime_mem_seek() 790 if(part->datasize != (curl_off_t) -1 && in read_part_content() 791 part->state.offset >= part->datasize) { in read_part_content() 1166 part->datasize = (curl_off_t) 0; /* No size yet. */ in cleanup_part_content() 1241 res = curl_mime_data(dst, src->data, (size_t) src->datasize); in Curl_mime_duppart() [all …]
|
/third_party/libsnd/docs/ |
D | command.md | 9 int sf_command (SNDFILE *sndfile, int cmd, void *data, int datasize) ; 21 will not read or write more than datasize bytes from the void pointer. For some 22 calls no data is required in which case data should be NULL and datasize may be 102 datasize 139 datasize 176 datasize 206 datasize 236 datasize 266 datasize 296 datasize [all …]
|
/third_party/boost/libs/regex/src/ |
D | regex_raw_buffer.cpp | 42 size_type datasize = end - start; in resize() local 50 std::memcpy(ptr, start, datasize); in resize() 57 end = ptr + datasize; in resize()
|
/third_party/ffmpeg/libavcodec/ |
D | targaenc.c | 89 int bpp, picsize, datasize = -1, ret, i; in targa_encode_frame() local 164 datasize = targa_encode_rle(out, picsize, p, bpp, avctx->width, avctx->height); in targa_encode_frame() 167 if(datasize >= 0) in targa_encode_frame() 171 else datasize = targa_encode_normal(out, p, bpp, avctx->width, avctx->height); in targa_encode_frame() 173 out += datasize; in targa_encode_frame()
|
/third_party/cef/libcef/browser/ |
D | stream_impl.cc | 141 CefBytesReader::CefBytesReader(void* data, int64 datasize, bool copy) in CefBytesReader() argument 143 SetData(data, datasize, copy); in CefBytesReader() 198 void CefBytesReader::SetData(void* data, int64 datasize, bool copy) { in SetData() argument 205 datasize_ = datasize; in SetData() 208 data_ = malloc(datasize); in SetData() 211 memcpy(data_, data, datasize); in SetData()
|
D | stream_impl.h | 61 CefBytesReader(void* data, int64 datasize, bool copy); 70 void SetData(void* data, int64 datasize, bool copy);
|
/third_party/wayland_standard/tests/ |
D | array-test.c | 70 const int datasize = sizeof(struct mydata); in TEST() local 78 struct mydata* ptr = wl_array_add(&array, datasize); in TEST() 80 assert((i + 1) * datasize == array.size); in TEST()
|
/third_party/gstreamer/gstplugins_bad/gst/aiff/ |
D | aiffparse.c | 153 aiff->datasize = 0; in gst_aiff_parse_reset() 639 if (aiff->datasize > 0 && aiff->bps > 0) { in gst_aiff_parse_calculate_duration() 641 gst_util_uint64_scale_ceil (aiff->datasize, GST_SECOND, in gst_aiff_parse_calculate_duration() 1031 guint32 datasize; in gst_aiff_parse_stream_headers() local 1066 datasize = size - 8; in gst_aiff_parse_stream_headers() 1071 size = MIN (datasize, (upstream_size - aiff->datastart)); in gst_aiff_parse_stream_headers() 1073 aiff->datasize = (guint64) datasize; in gst_aiff_parse_stream_headers() 1074 aiff->dataleft = (guint64) datasize; in gst_aiff_parse_stream_headers() 1075 aiff->end_offset = datasize + aiff->datastart; in gst_aiff_parse_stream_headers() 1079 aiff->offset += datasize; in gst_aiff_parse_stream_headers() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/wavparse/ |
D | gstwavparse.c | 232 wav->datasize = 0; in gst_wavparse_reset() 369 guint64 bps = gst_util_uint64_scale (wav->datasize, wav->rate, wav->fact); in gst_wavparse_time_to_bytepos() 562 if (wav->datasize > 0 && wav->end_offset > wav->datastart + wav->datasize) in gst_wavparse_perform_seek() 563 wav->end_offset = wav->datastart + wav->datasize; in gst_wavparse_perform_seek() 730 GST_INFO_OBJECT (wav, "Got datasize %" G_GUINT64_FORMAT, wav->datasize); in gst_wavparse_calculate_duration() 732 gst_util_uint64_scale_ceil (wav->datasize, GST_SECOND, in gst_wavparse_calculate_duration() 1088 wav->datasize = ((guint64) dataSizeHigh << 32) | dataSizeLow; in parse_ds64() 1095 " fact: %" G_GINT64_FORMAT, wav->datasize, wav->fact); in parse_ds64() 1342 if (size64 == -1 && wav->datasize > 0) { in gst_wavparse_stream_headers() 1344 size64 = wav->datasize; in gst_wavparse_stream_headers() [all …]
|
/third_party/libexif/libexif/fuji/ |
D | exif-mnote-data-fuji.c | 31 #define CHECKOVERFLOW(offset,datasize,structsize) (( offset >= datasize) || (structsize > datasize)… argument
|
/third_party/ffmpeg/tests/ref/fate/ |
D | flv-add_keyframe_index | 7 datasize=629776
|
/third_party/libexif/libexif/canon/ |
D | exif-mnote-data-canon.c | 33 #define CHECKOVERFLOW(offset,datasize,structsize) (( offset >= datasize) || (structsize > datasize)… argument
|
/third_party/libexif/libexif/pentax/ |
D | exif-mnote-data-pentax.c | 31 #define CHECKOVERFLOW(offset,datasize,structsize) (( offset >= datasize) || (structsize > datasize)… argument
|