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.c631 size_t file_offset, uint32_t chunk_size) in ac_sqtt_fill_code_object() argument
638 chunk->offset = file_offset; in ac_sqtt_fill_code_object()
663 size_t file_offset) in ac_sqtt_fill_loader_events() argument
673 chunk->offset = file_offset; in ac_sqtt_fill_loader_events()
695 size_t file_offset) in ac_sqtt_fill_pso_correlation() argument
704 chunk->offset = file_offset; in ac_sqtt_fill_pso_correlation()
837 size_t file_offset = 0; in ac_sqtt_dump_data() local
847 file_offset += sizeof(header); in ac_sqtt_dump_data()
852 file_offset += sizeof(cpu_info); in ac_sqtt_dump_data()
857 file_offset += sizeof(asic_info); in ac_sqtt_dump_data()
[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/e2fsprogs/ext2ed/
Dfile_com.c38 file_info.file_offset=0; in init_file_info()
87 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___nextblock()
188 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___prevblock()
219 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___block()
267 if (file_info.file_offset+offset>file_info.file_length-1) break; in file_show_hex()
271 if (file_info.file_offset+offset+i>file_info.file_length-1) { in file_show_hex()
291 if (file_info.file_offset+offset+i>file_info.file_length-1) break; in file_show_hex()
332 if (file_info.file_offset+last_offset > file_info.file_length-1) in file_show_text()
333 last_offset=file_info.file_length-1-file_info.file_offset; in file_show_text()
388 wprintw (show_win,"File Offset %ld of %ld.",file_info.file_offset,file_info.file_length-1); in show_status()
Ddir_com.c64 info_ptr->file_offset=0; in init_dir_info()
109 while (info.file_offset < info.file_length) { /* While we haven't reached the end */ in search_dir_entries()
125 info.file_offset += next; in search_dir_entries()
127 if (info.file_offset >= info.file_length) break; in search_dir_entries()
134 info.file_offset=info.block_num*file_system_info.block_size; in search_dir_entries()
530 wprintw (show_win,"Directory Offset %ld of %ld. ",file_info.file_offset,file_info.file_length-1); in show_dir_status()
/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/libjpeg-turbo/
Djmemsys.h125 void *buffer_address, long file_offset,
128 void *buffer_address, long file_offset,
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()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djmemsys.h125 void *buffer_address, long file_offset,
128 void *buffer_address, long file_offset,
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()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djmemsys.h125 void *buffer_address, long file_offset,
128 void *buffer_address, long file_offset,
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()
/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/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.c144 uint64_t file_offset; member
1719 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
1723 if (p->dev == st->st_dev && p->ino == st->st_ino && p->file_offset == file_offset) { in search_dso_by_fstat()
1750 …brary_by_fstat(const struct stat *st, const ns_t *ns, bool check_inherited, uint64_t file_offset) { in find_library_by_fstat() argument
1754 struct dso *p = search_dso_by_fstat(st, ns, file_offset); in find_library_by_fstat()
1759 p = search_dso_by_fstat(st, inherit->inherited_ns, file_offset); in find_library_by_fstat()
4036 task->file_offset = z_info->file_offset; in open_library_by_path()
4182 z_info->file_offset = c_dir_entry.local_header_offset + sizeof(zip_file_header) + in open_uncompressed_library_in_zipfile()
4184 …if (zip_file_header.compression_method != COMPRESS_STORED || z_info->file_offset % PAGE_SIZE != 0)… in open_uncompressed_library_in_zipfile()
4187 lib_path, zip_file_path, zip_file_header.compression_method, z_info->file_offset); in open_uncompressed_library_in_zipfile()
[all …]
Ddynlink_rand.h49 …uint64_t file_offset; /* Used to read an uncompress library from a zip file, file_offset is relati… member
Dzip_archive.h36 uint64_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/freetype/src/sfnt/
Dsfwoff2.c1774 FT_UInt32 file_offset; in woff2_open_font() local
2062 file_offset = ROUND4( woff2.compressed_offset + in woff2_open_font()
2066 if ( file_offset > woff2.length ) in woff2_open_font()
2074 if ( file_offset != woff2.metaOffset ) in woff2_open_font()
2079 file_offset = ROUND4(woff2.metaOffset + woff2.metaLength); in woff2_open_font()
2084 if ( file_offset != woff2.privOffset ) in woff2_open_font()
2089 file_offset = ROUND4(woff2.privOffset + woff2.privLength); in woff2_open_font()
2092 if ( file_offset != ( ROUND4( woff2.length ) ) ) in woff2_open_font()
/third_party/ntfs-3g/include/ntfs-3g/
Dlogfile.h321 sle64 file_offset; member
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_segment.cc208 auto file_offset = header_size_ + page_size_ * page_ptr->GetPageID() + offset[0]; in PackImages() local
209 auto &io_seekg = file_streams_random_[0][shard_id]->seekg(file_offset, std::ios::beg); in PackImages()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c419 unsigned file_offset[TGSI_FILE_COUNT]; member
1017 return tgsi_reg_index - spilled_size + ctx->file_offset[TGSI_FILE_TEMPORARY]; in map_tgsi_reg_index_to_r600_gpr()
1031 return tgsi_reg_index - spilled_size + ctx->file_offset[TGSI_FILE_TEMPORARY]; in map_tgsi_reg_index_to_r600_gpr()
1071 ctx->shader->input[i].gpr = ctx->file_offset[TGSI_FILE_INPUT] + d->Range.First + j; in tgsi_declaration()
1113 ctx->shader->output[i].gpr = ctx->file_offset[TGSI_FILE_OUTPUT] + d->Range.First + j; in tgsi_declaration()
1798 r600_src->sel += ctx->file_offset[tgsi_src->Register.File]; in tgsi_src()
3150 alu.src[1].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
3154 alu.src[2].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
3172 alu.src[1].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
3563 ctx.file_offset[i] = 0; in r600_shader_from_tgsi()
[all …]

12