Home
last modified time | relevance | path

Searched refs:data_offset (Results 1 – 25 of 142) sorted by relevance

123456

/third_party/libsnd/src/
Dsd2.c63 int data_offset, data_length ; member
200 int k, str_offset, data_offset, next_str ; in sd2_write_rsrc_fork() local
228 rsrc.data_offset = 0x100 ; in sd2_write_rsrc_fork()
238 rsrc.map_offset = rsrc.data_offset + rsrc.data_length ; in sd2_write_rsrc_fork()
241 …psf_binheader_writef (psf, "E444", BHW4 (rsrc.data_offset), BHW4 (rsrc.map_offset), BHW4 (rsrc.dat… in sd2_write_rsrc_fork()
247 …psf_binheader_writef (psf, "E4444", BHW4 (rsrc.map_offset), BHW4 (rsrc.data_offset), BHW4 (rsrc.ma… in sd2_write_rsrc_fork()
277 data_offset = rsrc.data_offset ; in sd2_write_rsrc_fork()
285 …_writef (psf, "Eo4", BHWo (rsrc.item_offset + k * 12 + 4), BHW4 (data_offset - rsrc.data_offset)) ; in sd2_write_rsrc_fork()
286 psf_binheader_writef (psf, "Eo4", BHWo (data_offset), BHW4 (str_rsrc [k].value_len)) ; in sd2_write_rsrc_fork()
288 …psf_binheader_writef (psf, "Eob", BHWo (data_offset + 4), BHWv (str_rsrc [k].value), BHWz (str_rsr… in sd2_write_rsrc_fork()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/pnm/
Dgstpnmutils.c42 mngr->data_offset += i; in gst_pnm_info_mngr_scan()
50 mngr->data_offset += i; in gst_pnm_info_mngr_scan()
56 mngr->data_offset += i; in gst_pnm_info_mngr_scan()
62 mngr->data_offset += i; in gst_pnm_info_mngr_scan()
68 mngr->data_offset += i; in gst_pnm_info_mngr_scan()
130 mngr->data_offset += i; in gst_pnm_info_mngr_scan()
140 mngr->data_offset += i; in gst_pnm_info_mngr_scan()
148 mngr->data_offset += i; in gst_pnm_info_mngr_scan()
158 mngr->data_offset += i; in gst_pnm_info_mngr_scan()
160 mngr->data_offset += 1; in gst_pnm_info_mngr_scan()
[all …]
/third_party/ffmpeg/libavformat/
Dxmv.c60 uint64_t data_offset; ///< The offset of the video data within the file. member
90 uint64_t data_offset; ///< The offset of the audio data within the file. member
273 uint64_t data_offset; in xmv_process_packet_header() local
374 data_offset = avio_tell(pb); in xmv_process_packet_header()
376 xmv->video.data_offset = data_offset; in xmv_process_packet_header()
377 data_offset += xmv->video.data_size; in xmv_process_packet_header()
380 xmv->audio[audio_track].data_offset = data_offset; in xmv_process_packet_header()
381 data_offset += xmv->audio[audio_track].data_size; in xmv_process_packet_header()
392 xmv->video.data_offset += 4; in xmv_process_packet_header()
454 if (avio_seek(pb, audio->data_offset, SEEK_SET) != audio->data_offset) in xmv_fetch_audio_packet()
[all …]
Dhca.c54 s->internal->data_offset = avio_rb16(pb); in hca_read_header()
55 if (s->internal->data_offset <= 8) in hca_read_header()
63 ret = ff_alloc_extradata(par, s->internal->data_offset); in hca_read_header()
72 AV_WB16(par->extradata + 6, s->internal->data_offset); in hca_read_header()
100 avio_seek(pb, s->internal->data_offset, SEEK_SET); in hca_read_header()
Daaxdec.c45 int64_t data_offset; member
127 a->data_offset = avio_rb32(pb) + 8LL; in aax_read_header()
137 a->strings_size = a->data_offset - a->strings_offset; in aax_read_header()
141 a->data_offset > a->table_size) in aax_read_header()
235 int64_t data_offset = 0; in aax_read_header() local
248 data_offset = a->schema_offset + col_offset; in aax_read_header()
250 data_offset = a->rows_offset + r * a->row_width + col_offset; in aax_read_header()
256 ret = ret64 = avio_seek(pb, data_offset, SEEK_SET); in aax_read_header()
265 a->segments[r].start = start + a->data_offset; in aax_read_header()
Dwsddec.c101 uint32_t text_offset, data_offset, channel_assign; in wsd_read_header() local
115 data_offset = 0x800; in wsd_read_header()
119 data_offset = avio_rb32(pb); in wsd_read_header()
161 return avio_seek(pb, data_offset, SEEK_SET); in wsd_read_header()
Ddsfdec.c143 s->internal->data_offset = avio_tell(pb); in dsf_read_header()
163 int64_t data_pos = pos - s->internal->data_offset; in dsf_read_packet()
186 pkt->pts = (pos - s->internal->data_offset) / st->codecpar->channels; in dsf_read_packet()
196 pkt->pts = (pos - s->internal->data_offset) / st->codecpar->channels; in dsf_read_packet()
Dmca.c50 uint32_t header_size, data_size, data_offset, loop_start, loop_end, in read_header() local
121 data_offset = header_size - 0x30 * par->channels - 0x4; in read_header()
122 if ((ret_size = avio_seek(s->pb, data_offset, SEEK_SET)) < 0) in read_header()
137 if (file_size - data_offset > UINT32_MAX) in read_header()
/third_party/mbedtls/library/
Dpsa_its_file.c135 uint32_t data_offset, in psa_its_get() argument
149 if( data_offset + data_length < data_offset ) in psa_its_get()
152 if( data_offset + data_length > SIZE_MAX ) in psa_its_get()
155 if( data_offset + data_length > info.size ) in psa_its_get()
160 while( data_offset > LONG_MAX ) in psa_its_get()
164 data_offset -= LONG_MAX; in psa_its_get()
167 if( fseek( stream, data_offset, SEEK_CUR ) != 0 ) in psa_its_get()
/third_party/ffmpeg/libavcodec/
Ddnxhddata.h67 uint64_t data_offset = prefix >> 16; in ff_dnxhd_check_header_prefix_hr() local
69 data_offset >= 0x0280 && data_offset <= 0x2170 && in ff_dnxhd_check_header_prefix_hr()
70 (data_offset & 3) == 0) in ff_dnxhd_check_header_prefix_hr()
/third_party/mesa3d/src/amd/common/
Dac_sqtt.c43 uint64_t data_offset; in ac_thread_trace_get_data_offset() local
45 data_offset = align64(sizeof(struct ac_thread_trace_info) * max_se, in ac_thread_trace_get_data_offset()
47 data_offset += data->buffer_size * se; in ac_thread_trace_get_data_offset()
49 return data_offset; in ac_thread_trace_get_data_offset()
/third_party/elfio/elfio/
Delfio_section.hpp67 std::streampos data_offset ) = 0;
221 std::streampos data_offset ) in save() argument
224 header.sh_offset = data_offset; in save()
231 save_data( stream, data_offset ); in save()
246 void save_data( std::ostream& stream, std::streampos data_offset ) const in save_data()
248 adjust_stream_size( stream, data_offset ); in save_data()
Delfio_segment.hpp65 std::streampos data_offset ) = 0;
184 std::streampos data_offset ) in save() argument
186 ph.p_offset = data_offset; in save()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Daiffparse.c40 static guint64 data_offset = 0; variable
67 fail_unless ((data_offset + info.size) <= data_size); in sink_chain()
68 fail_unless (memcmp (info.data, data + data_offset, info.size) == 0); in sink_chain()
71 data_offset += info.size; in sink_chain()
164 data_offset = SSND_DATA_OFFSET; in run_check()
/third_party/nghttp2/src/
Dh2load_http1_session.cc86 if (req_stat->data_offset >= config->data_length) { in htp_msg_completecb()
242 if (req_stat->data_offset < config->data_length) { in on_write()
252 req_stat->data_offset)) == -1 && in on_write()
260 req_stat->data_offset += nread; in on_write()
268 if (req_stat->data_offset == config->data_length) { in on_write()
/third_party/freetype/src/cid/
Dcidload.c562 if ( FT_STREAM_SEEK( cid->data_offset + dict->subrmap_offset ) || in cid_read_subrs()
581 if ( offsets[num_subrs] > stream->size - cid->data_offset ) in cid_read_subrs()
596 if ( FT_STREAM_SEEK( cid->data_offset + offsets[0] ) || in cid_read_subrs()
804 face->root.stream->size - parser->data_offset ) in cid_face_open()
809 face->root.stream->size - parser->data_offset )); in cid_face_open()
811 parser->data_offset; in cid_face_open()
818 parser->data_offset, in cid_face_open()
824 cid->data_offset = 0; in cid_face_open()
829 cid->data_offset = loader.parser.data_offset; in cid_face_open()
853 binary_length = face->cid_stream->size - cid->data_offset; in cid_face_open()
/third_party/flutter/skia/third_party/externals/freetype/src/cid/
Dcidload.c562 if ( FT_STREAM_SEEK( cid->data_offset + dict->subrmap_offset ) || in cid_read_subrs()
581 if ( offsets[num_subrs] > stream->size - cid->data_offset ) in cid_read_subrs()
596 if ( FT_STREAM_SEEK( cid->data_offset + offsets[0] ) || in cid_read_subrs()
804 face->root.stream->size - parser->data_offset ) in cid_face_open()
809 face->root.stream->size - parser->data_offset )); in cid_face_open()
811 parser->data_offset; in cid_face_open()
818 parser->data_offset, in cid_face_open()
824 cid->data_offset = 0; in cid_face_open()
829 cid->data_offset = loader.parser.data_offset; in cid_face_open()
853 binary_length = face->cid_stream->size - cid->data_offset; in cid_face_open()
/third_party/skia/third_party/externals/freetype/src/cid/
Dcidload.c562 if ( FT_STREAM_SEEK( cid->data_offset + dict->subrmap_offset ) || in cid_read_subrs()
581 if ( offsets[num_subrs] > stream->size - cid->data_offset ) in cid_read_subrs()
596 if ( FT_STREAM_SEEK( cid->data_offset + offsets[0] ) || in cid_read_subrs()
804 face->root.stream->size - parser->data_offset ) in cid_face_open()
809 face->root.stream->size - parser->data_offset )); in cid_face_open()
811 parser->data_offset; in cid_face_open()
818 parser->data_offset, in cid_face_open()
825 cid->data_offset = 0; in cid_face_open()
830 cid->data_offset = loader.parser.data_offset; in cid_face_open()
854 binary_length = face->cid_stream->size - cid->data_offset; in cid_face_open()
/third_party/libsnd/programs/
Dsndfile-salvage.c95 sf_count_t broken_len, data_offset ; in salvage_file() local
120 data_offset = find_data_offset (fd, sfinfo.format & SF_FORMAT_TYPEMASK) ; in salvage_file()
122 printf ("Offset to audio data : %" PRId64 "\n", data_offset) ; in salvage_file()
170 lseek_or_die (fd, data_offset, SEEK_SET) ; in salvage_file()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djdicc.c85 unsigned int data_offset[MAX_SEQ_NO + 1]; /* offset for data in marker */ in jpeg_read_icc_profile() local
137 data_offset[seq_no] = total_length; in jpeg_read_icc_profile()
158 dst_ptr = icc_data + data_offset[seq_no]; in jpeg_read_icc_profile()
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
Dadvanced_api_fuzzer.c71 const int data_offset = 50; in LLVMFuzzerTestOneInput() local
72 if (size > data_offset + sizeof(config.options)) { in LLVMFuzzerTestOneInput()
73 memcpy(&config.options, data + data_offset, sizeof(config.options)); in LLVMFuzzerTestOneInput()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djdicc.c85 unsigned int data_offset[MAX_SEQ_NO + 1]; /* offset for data in marker */ in jpeg_read_icc_profile() local
137 data_offset[seq_no] = total_length; in jpeg_read_icc_profile()
158 dst_ptr = icc_data + data_offset[seq_no]; in jpeg_read_icc_profile()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/control/
Dtensorlist_fromtensor.cc97 auto data_offset = devision_dim0 * lite::DataTypeSize(dtype_); in Run() local
111 memcpy(out_data, in_data, data_offset); in Run()
113 in_data += data_offset; in Run()
/third_party/libjpeg-turbo/
Djdicc.c85 unsigned int data_offset[MAX_SEQ_NO + 1]; /* offset for data in marker */ in jpeg_read_icc_profile() local
137 data_offset[seq_no] = total_length; in jpeg_read_icc_profile()
158 dst_ptr = icc_data + data_offset[seq_no]; in jpeg_read_icc_profile()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2allocator.c298 group->planes[0].data_offset = 0; in gst_v4l2_memory_group_new()
318 group->planes[i].data_offset); in gst_v4l2_memory_group_new()
852 group->planes[i].length, group->planes[i].data_offset, i); in gst_v4l2_allocator_alloc_mmap()
916 NULL, group->planes[i].length, 0, group->planes[i].data_offset, in gst_v4l2_allocator_alloc_dmabuf()
917 group->planes[i].length - group->planes[i].data_offset, i, NULL, in gst_v4l2_allocator_alloc_dmabuf()
931 gst_memory_resize (dma_mem, group->planes[i].data_offset, in gst_v4l2_allocator_alloc_dmabuf()
932 group->planes[i].length - group->planes[i].data_offset); in gst_v4l2_allocator_alloc_dmabuf()
984 group->planes[i].data_offset = 0; in gst_v4l2_allocator_clear_dmabufin()
1130 group->planes[i].data_offset = offset; in gst_v4l2_allocator_import_dmabuf()
1140 g_assert (group->planes[0].data_offset == 0); in gst_v4l2_allocator_import_dmabuf()
[all …]

123456