Home
last modified time | relevance | path

Searched refs:datasize (Results 1 - 25 of 65) sorted by relevance

123

/third_party/ffmpeg/libavformat/
H A Dc93.c111 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 in read_packet()
[all...]
H A Domadec.c250 if (geob->datasize < 64) { in decrypt_init()
252 "Invalid GEOB data size: %"PRIu32"\n", geob->datasize); in decrypt_init()
270 if (OMA_ENC_HEADER_SIZE + oc->k_size + oc->e_size + oc->i_size + 8 > geob->datasize || in decrypt_init()
271 OMA_ENC_HEADER_SIZE + 48 > geob->datasize) { in decrypt_init()
289 rprobe(s, gdata, geob->datasize, oc->r_val) < 0 && in decrypt_init()
290 nprobe(s, gdata, geob->datasize, oc->n_val) < 0) { in decrypt_init()
297 if (!rprobe(s, gdata, geob->datasize, oc->r_val) || in decrypt_init()
298 !nprobe(s, gdata, geob->datasize, oc->n_val)) in decrypt_init()
H A Did3v2.h58 uint32_t datasize; member
75 uint32_t datasize; member
H A Did3v2.c579 geob_data->datasize = len; in read_geobtag()
582 geob_data->datasize = 0; in read_geobtag()
836 priv->datasize = taglen; in read_priv()
838 if (avio_read(pb, priv->data, priv->datasize) != priv->datasize) in read_priv()
1296 av_bprint_init(&bprint, priv->datasize + 1, AV_BPRINT_SIZE_UNLIMITED); in ff_id3v2_parse_priv_dict()
1298 for (i = 0; i < priv->datasize; i++) { in ff_id3v2_parse_priv_dict()
/third_party/curl/tests/libtest/
H A Dlib678.c32 size_t datasize = 0; in loadfile() local
45 datasize = (size_t)cert_tell; in loadfile()
49 data = malloc(datasize + 1); in loadfile()
51 ((int)fread(data, datasize, 1, fInCert) != 1)) in loadfile()
56 datasize = 0; in loadfile()
61 *filesize = datasize; in loadfile()
H A Dlib643.c68 curl_off_t datasize = -1; in once() local
72 datasize = (curl_off_t)strlen(data); in once()
74 pooh.sizeleft = datasize; in once()
104 res = curl_mime_data_cb(part, datasize, read_callback, in once()
113 res = curl_mime_data_cb(part, datasize, read_callback, in once()
127 datasize = (curl_off_t)strlen(data); in once()
129 pooh2.sizeleft = datasize; in once()
142 res = curl_mime_data_cb(part, datasize, read_callback, in once()
/third_party/libsnd/src/
H A Dcart.c47 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 psf_strlcpy_crlf (psf->cart_16k->tag_text, info->tag_text, sizeof (psf->cart_16k->tag_text), datasize - offsetof (SF_CART_INFO, tag_text)) ; 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()
H A Dbroadcast.c45 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 psf_strlcpy_crlf (psf->broadcast_16k->coding_history, info->coding_history, sizeof (psf->broadcast_16k->coding_history), datasize - offsetof (SF_BROADCAST_INFO, coding_history)) ; 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()
H A Dau.c82 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 < ps in au_read_header()
[all...]
H A Dmpeg.c30 static int mpeg_command (SF_PRIVATE *psf, int command, void *data, int datasize) ;
46 mpeg_command (SF_PRIVATE *psf, int command, void *data, int datasize) in mpeg_command() argument
51 if (data == NULL || datasize != sizeof (double)) in mpeg_command()
66 if (data == NULL || datasize != sizeof (int)) in mpeg_command()
H A Dsndfile.c999 sf_command (SNDFILE *sndfile, int command, void *data, int datasize) in sf_command() argument
1013 snprintf (data, datasize, "%s", sf_version_string ()) ; in sf_command()
1017 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in sf_command()
1023 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command()
1028 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in sf_command()
1034 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command()
1039 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in sf_command()
1045 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command()
1050 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command()
1058 snprintf (data, datasize, " in sf_command()
[all...]
H A Dmat5.c161 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_TYPE_UINT32), BHW4 (8), BHW4 (6), BHW4 (0)) ; 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()
H A Dcommon.h479 int (*command) (struct sf_private_tag*, int command, void *data, int datasize) ;
984 SF_CUES * psf_cues_dup (const void * ptr, size_t datasize) ;
986 void psf_get_cues (SF_PRIVATE * psf, void * data, size_t datasize) ;
996 int broadcast_var_set (SF_PRIVATE *psf, const SF_BROADCAST_INFO * data, size_t datasize) ;
997 int broadcast_var_get (SF_PRIVATE *psf, SF_BROADCAST_INFO * data, size_t datasize) ;
1001 int cart_var_set (SF_PRIVATE *psf, const SF_CART_INFO * date, size_t datasize) ;
1002 int cart_var_get (SF_PRIVATE *psf, SF_CART_INFO * data, size_t datasize) ;
H A Drf64.c74 static int rf64_command (SF_PRIVATE *psf, int command, void * UNUSED (data), int datasize) ;
815 rf64_command (SF_PRIVATE *psf, int command, void * UNUSED (data), int datasize) in rf64_command() argument
824 { if (datasize == SF_AMBISONIC_NONE) in rf64_command()
826 else if (datasize == SF_AMBISONIC_B_FORMAT) in rf64_command()
842 wpriv->rf64_downgrade = datasize ? SF_TRUE : SF_FALSE ; in rf64_command()
/third_party/curl/lib/
H A Dhttp_chunks.c169 if(curlx_strtoofft(ch->hexbuffer, &endptr, 16, &ch->datasize)) { in httpchunk_readwrite()
183 if(0 == ch->datasize) { in httpchunk_readwrite()
195 /* We expect 'datasize' of data. We have 'blen' right now, it can be in httpchunk_readwrite()
196 more or less than 'datasize'. Get the smallest piece. in httpchunk_readwrite()
199 if(ch->datasize < (curl_off_t)blen) in httpchunk_readwrite()
200 piece = curlx_sotouz(ch->datasize); in httpchunk_readwrite()
218 ch->datasize -= piece; /* decrease amount left to expect */ in httpchunk_readwrite()
222 if(0 == ch->datasize) in httpchunk_readwrite()
333 ch->datasize = blen; in httpchunk_readwrite()
H A Dmime.c404 return part->datasize; in encoder_nop_size()
516 curl_off_t size = part->datasize; in encoder_base64_size()
653 return part->datasize? -1: 0; in encoder_qp_size()
663 size_t sz = curlx_sotouz(part->datasize - part->state.offset); in mime_mem_read()
687 offset += part->datasize; in mime_mem_seek()
691 if(offset < 0 || offset > part->datasize) in mime_mem_seek()
805 if(part->datasize != (curl_off_t) -1 && in read_part_content()
806 part->state.offset >= part->datasize) { in read_part_content()
1136 part->datasize = (curl_off_t) 0; /* No size yet. */ in cleanup_part_content()
1214 res = curl_mime_data(dst, src->data, (size_t) src->datasize); in Curl_mime_duppart()
1374 curl_mime_data(curl_mimepart *part, const char *ptr, size_t datasize) curl_mime_data() argument
1509 curl_mime_data_cb(curl_mimepart *part, curl_off_t datasize, curl_read_callback readfunc, curl_seek_callback seekfunc, curl_free_callback freefunc, void *arg) curl_mime_data_cb() argument
1967 curl_mime_data(curl_mimepart *part, const char *data, size_t datasize) curl_mime_data() argument
1983 curl_mime_data_cb(curl_mimepart *part, curl_off_t datasize, curl_read_callback readfunc, curl_seek_callback seekfunc, curl_free_callback freefunc, void *arg) curl_mime_data_cb() argument
[all...]
H A Dhttp_chunks.h57 /* Used to mark that we're out of the game. NOTE: that there's a 'datasize'
94 curl_off_t datasize; member
/third_party/ffmpeg/libavcodec/
H A Dtargaenc.c90 int bpp, picsize, datasize = -1, ret, i; in targa_encode_frame() local
158 datasize = targa_encode_rle(out, picsize, p, bpp, avctx->width, avctx->height); in targa_encode_frame()
161 if(datasize >= 0) in targa_encode_frame()
165 else datasize = targa_encode_normal(out, p, bpp, avctx->width, avctx->height); in targa_encode_frame()
167 out += datasize; in targa_encode_frame()
/third_party/elfutils/src/
H A Dsize.c518 GElf_Off datasize = 0; in show_bsd() local
542 datasize += shdr->sh_size; in show_bsd()
551 ddigits - 2, datasize, in show_bsd()
553 ddigits - 2, textsize + datasize + bsssize, in show_bsd()
554 xdigits - 2, textsize + datasize + bsssize, in show_bsd()
561 total_datasize += datasize; in show_bsd()
/third_party/cups-filters/fontembed/
H A Dembed_pdf_int.h4 EMB_PDF_FONTWIDTHS *emb_pdf_fw_new(int datasize);
/third_party/libexif/libexif/pentax/
H A Dexif-mnote-data-pentax.c31 #define CHECKOVERFLOW(offset,datasize,structsize) (( offset >= datasize) || (structsize > datasize) || (offset > datasize - structsize ))
/third_party/libexif/libexif/fuji/
H A Dexif-mnote-data-fuji.c31 #define CHECKOVERFLOW(offset,datasize,structsize) (( offset >= datasize) || (structsize > datasize) || (offset > datasize - structsize ))
/third_party/libexif/libexif/canon/
H A Dexif-mnote-data-canon.c33 #define CHECKOVERFLOW(offset,datasize,structsize) (( offset >= datasize) || (structsize > datasize) || (offset > datasize - structsize ))
/third_party/libexif/libexif/olympus/
H A Dexif-mnote-data-olympus.c38 #define CHECKOVERFLOW(offset,datasize,structsize) (( offset >= datasize) || (structsize > datasize) || (offset > datasize - structsize ))
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/
H A Dzip.c1519 short datasize = 0; in zipCloseFileInZipRaw64() local
1640 datasize += 8; in zipCloseFileInZipRaw64()
1644 datasize += 8; in zipCloseFileInZipRaw64()
1648 datasize += 8; in zipCloseFileInZipRaw64()
1650 if(datasize > 0) in zipCloseFileInZipRaw64()
1654 if((uLong)(datasize + 4) > zi->ci.size_centralExtraFree) in zipCloseFileInZipRaw64()
1665 zip64local_putValue_inmemory(p, datasize, 2); // DataSize in zipCloseFileInZipRaw64()
1689 zi->ci.size_centralExtraFree -= datasize + 4; in zipCloseFileInZipRaw64()
1690 zi->ci.size_centralheader += datasize + 4; in zipCloseFileInZipRaw64()
1693 zi->ci.size_centralExtra += datasize in zipCloseFileInZipRaw64()
[all...]

Completed in 21 milliseconds

123