Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/amd/common/
Dac_rgp.c624 size_t file_offset, uint32_t chunk_size) in ac_sqtt_fill_code_object() argument
631 chunk->offset = file_offset; in ac_sqtt_fill_code_object()
656 size_t file_offset) in ac_sqtt_fill_loader_events() argument
666 chunk->offset = file_offset; in ac_sqtt_fill_loader_events()
688 size_t file_offset) in ac_sqtt_fill_pso_correlation() argument
697 chunk->offset = file_offset; in ac_sqtt_fill_pso_correlation()
935 size_t file_offset, in ac_sqtt_dump_spm() argument
942 size_t file_spm_db_offset = file_offset; in ac_sqtt_dump_spm()
945 file_offset += sizeof(struct sqtt_file_chunk_spm_db); in ac_sqtt_dump_spm()
958 file_offset += sizeof(timestamp); in ac_sqtt_dump_spm()
[all …]
/third_party/skia/third_party/externals/brotli/research/
Ddeorummolae.cc77 std::vector<TextIdx>* file_offset, TextChar* next_terminator) { in buildFullText() argument
79 file_offset->resize(0); in buildFullText()
82 file_offset->push_back(full_text->size()); in buildFullText()
127 std::vector<TextIdx>* file_offset, TextChar* next_terminator) { in poisonData() argument
129 pos -= file_offset->at(f); in poisonData()
150 std::vector<TextIdx>* file_map, std::vector<TextIdx>* file_offset) { in cutMatch() argument
156 sa->at(i), length, data, file_map, file_offset, next_terminator); in cutMatch()
160 sa->at(index), length, data, file_map, file_offset, next_terminator); in cutMatch()
213 std::vector<TextIdx> file_offset; in DM_generate() local
227 buildFullText(&data, &full_text, &file_map, &file_offset, &next_terminator); in DM_generate()
[all …]
/third_party/python/Lib/
Dzipimport.py481 file_offset = _unpack_uint32(buffer[42:46])
483 if file_offset > header_offset:
485 file_offset += arc_offset
514 t = (path, compress, data_size, file_size, file_offset, time, date, crc)
582 datapath, compress, data_size, file_size, file_offset, time, date, crc = toc_entry
589 fp.seek(file_offset)
603 file_offset += header_size # Start of file data
605 fp.seek(file_offset)
/third_party/alsa-utils/seq/aplaymidi/
Daplaymidi.c74 static int file_offset; /* current offset in input file */ variable
212 ++file_offset; in read_byte()
306 while (file_offset < track_end) { in read_track()
328 file_offset--; in read_track()
410 skip(track_end - file_offset); in read_track()
447 errormsg("%s: invalid MIDI data (offset %#x)", file_name, file_offset); in read_track()
552 if (!read_track(&tracks[i], file_offset + len)) in read_smf()
787 file_offset = 0; in play_file()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djmemmgr.c756 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_sarray_io() local
759 file_offset = ptr->cur_start_row * bytesperrow; in do_sarray_io()
775 file_offset, byte_count); in do_sarray_io()
779 file_offset, byte_count); in do_sarray_io()
780 file_offset += byte_count; in do_sarray_io()
789 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_barray_io() local
792 file_offset = ptr->cur_start_row * bytesperrow; in do_barray_io()
808 file_offset, byte_count); in do_barray_io()
812 file_offset, byte_count); in do_barray_io()
813 file_offset += byte_count; in do_barray_io()
Djmemsys.h125 void *buffer_address, long file_offset,
128 void *buffer_address, long file_offset,
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c118 off_t file_offset; in testfunc_append() local
131 file_offset = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in testfunc_append()
133 if (file_offset > (off_t)(sizeof(STR) - 1)) in testfunc_append()
/third_party/exfatprogs/lib/
Dexfat_dir.c428 filter->out.file_offset = in exfat_lookup_dentry_set()
433 filter->out.file_offset = free_file_offset; in exfat_lookup_dentry_set()
436 filter->out.file_offset = exfat_de_iter_file_offset(&de_iter); in exfat_lookup_dentry_set()
877 (uint64_t)loc->file_offset > parent->size || in exfat_add_dentry_set()
882 if ((uint64_t)loc->file_offset + dcount * DENTRY_SIZE > parent->size) { in exfat_add_dentry_set()
887 if ((uint64_t)loc->file_offset == parent->size - exfat->clus_size) in exfat_add_dentry_set()
895 loc->file_offset += dcount * DENTRY_SIZE; in exfat_add_dentry_set()
924 loc.file_offset = filter.out.file_offset; in exfat_create_file()
Dlibexfat.c484 loc.file_offset = filter.out.file_offset; in exfat_set_volume_label()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datomsrecovery.c688 trakrd->file_offset = offset; in moov_recov_parse_trak()
1098 if (fseek (moovrf->file, trak->file_offset, SEEK_SET) != 0) in moov_recov_write_file()
1100 trak_data_size = trak->post_stsd_offset - trak->file_offset; in moov_recov_write_file()
1108 trak->file_offset), mdia_new_size); in moov_recov_write_file()
1110 trak->file_offset), minf_new_size); in moov_recov_write_file()
1112 trak->file_offset), stbl_new_size); in moov_recov_write_file()
1116 trak->file_offset) + 28, duration); in moov_recov_write_file()
1118 trak->file_offset) + 24, trak->duration); in moov_recov_write_file()
Datomsrecovery.h88 guint64 file_offset; member
/third_party/libsnd/src/
Dsds.c687 sf_count_t file_offset ; in sds_seek() local
718 file_offset = psf->dataoffset + newblock * SDS_BLOCK_SIZE ; in sds_seek()
720 if (psf_fseek (psf, file_offset, SEEK_SET) != file_offset) in sds_seek()
736 file_offset = psf->dataoffset + newblock * SDS_BLOCK_SIZE ; in sds_seek()
738 if (psf_fseek (psf, file_offset, SEEK_SET) != file_offset) in sds_seek()
/third_party/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc6.c320 off_t file_offset = 0; in read_file() local
336 if (lseek(fd, file_offset, whence) < 0) in read_file()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c1899 static struct dso *search_dso_by_fstat(const struct stat *st, const ns_t *ns, uint64_t file_offset)… in search_dso_by_fstat() argument
1903 if (p->dev == st->st_dev && p->ino == st->st_ino && p->file_offset == file_offset) { in search_dso_by_fstat()
1947 …brary_by_fstat(const struct stat *st, const ns_t *ns, bool check_inherited, uint64_t file_offset) { in find_library_by_fstat() argument
1951 struct dso *p = search_dso_by_fstat(st, ns, file_offset); in find_library_by_fstat()
1956 p = search_dso_by_fstat(st, inherit->inherited_ns, file_offset); in find_library_by_fstat()
4523 task->file_offset = z_info->file_offset; in open_library_by_path()
4669 z_info->file_offset = c_dir_entry.local_header_offset + sizeof(zip_file_header) + in open_uncompressed_library_in_zipfile()
4671 …if (zip_file_header.compression_method != COMPRESS_STORED || z_info->file_offset % PAGE_SIZE != 0)… in open_uncompressed_library_in_zipfile()
4674 lib_path, zip_file_path, zip_file_header.compression_method, z_info->file_offset); in open_uncompressed_library_in_zipfile()
4704 ssize_t l = pread(task->fd, task->ehdr_buf, sizeof task->ehdr_buf, task->file_offset); in map_library_header()
[all …]
Dzip_archive.h36 uint64_t file_offset; member
Ddynlink_rand.h49 …uint64_t file_offset; /* Used to read an uncompress library from a zip file, file_offset is relati… member
/third_party/exfatprogs/include/
Dexfat_fs.h53 off_t file_offset; member
Dexfat_dir.h45 off_t file_offset; member
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff2.c1763 FT_UInt32 file_offset; in woff2_open_font() local
2050 file_offset = ROUND4( woff2.compressed_offset + in woff2_open_font()
2054 if ( file_offset > woff2.length ) in woff2_open_font()
2062 if ( file_offset != woff2.metaOffset ) in woff2_open_font()
2067 file_offset = ROUND4(woff2.metaOffset + woff2.metaLength); in woff2_open_font()
2072 if ( file_offset != woff2.privOffset ) in woff2_open_font()
2077 file_offset = ROUND4(woff2.privOffset + woff2.privLength); in woff2_open_font()
2080 if ( file_offset != ( ROUND4( woff2.length ) ) ) in woff2_open_font()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c425 unsigned file_offset[TGSI_FILE_COUNT]; member
1038 return tgsi_reg_index - spilled_size + ctx->file_offset[TGSI_FILE_TEMPORARY]; in map_tgsi_reg_index_to_r600_gpr()
1052 return tgsi_reg_index - spilled_size + ctx->file_offset[TGSI_FILE_TEMPORARY]; in map_tgsi_reg_index_to_r600_gpr()
1092 ctx->shader->input[i].gpr = ctx->file_offset[TGSI_FILE_INPUT] + d->Range.First + j; in tgsi_declaration()
1134 ctx->shader->output[i].gpr = ctx->file_offset[TGSI_FILE_OUTPUT] + d->Range.First + j; in tgsi_declaration()
1809 r600_src->sel += ctx->file_offset[tgsi_src->Register.File]; in tgsi_src()
3161 alu.src[1].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
3165 alu.src[2].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
3183 alu.src[1].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
3576 ctx.file_offset[i] = 0; in r600_shader_from_tgsi()
[all …]
/third_party/ntfs-3g/include/ntfs-3g/
Dlogfile.h321 sle64 file_offset; member
/third_party/musl/porting/linux/user/src/internal/
Ddynlink.h110 uint64_t file_offset; member
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstqueue2.c1539 guint64 file_offset; in gst_queue2_create_read() local
1650 file_offset = in gst_queue2_create_read()
1653 if (file_offset + read_length > rb_size) { in gst_queue2_create_read()
1654 block_length = rb_size - file_offset; in gst_queue2_create_read()
1659 file_offset = rpos; in gst_queue2_create_read()
1668 gst_queue2_read_data_at_offset (queue, file_offset, block_length, in gst_queue2_create_read()
1673 file_offset += read_return; in gst_queue2_create_read()
1675 file_offset %= rb_size; in gst_queue2_create_read()
/third_party/exfatprogs/fsck/
Dfsck.c1405 loc.file_offset = lf.out.file_offset; in rescue_orphan_clusters()
1437 (unsigned int)(loc.file_offset >> 5)); in rescue_orphan_clusters()
/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_ldso_dynlink.c252 …ibrary_by_fstat(const struct stat *st, const ns_t *ns, bool check_inherited, uint64_t file_offset);

12