Home
last modified time | relevance | path

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

12

/third_party/libjpeg/
Djmemdos.c245 long file_offset, long byte_count) in read_file_store() argument
247 if (jdos_seek(info->handle.file_handle, file_offset)) in read_file_store()
261 long file_offset, long byte_count) in write_file_store() argument
263 if (jdos_seek(info->handle.file_handle, file_offset)) in write_file_store()
335 long file_offset, long byte_count) in read_xms_store() argument
347 spec.src.offset = file_offset; in read_xms_store()
359 file_offset + byte_count - 1L, 2L); in read_xms_store()
368 long file_offset, long byte_count) in write_xms_store() argument
382 spec.dst.offset = file_offset; in write_xms_store()
392 file_offset + byte_count - 1L, 2L); in write_xms_store()
[all …]
Djmemansi.c99 long file_offset, long byte_count) in read_backing_store() argument
101 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
112 long file_offset, long byte_count) in write_backing_store() argument
114 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
Djmemname.c206 long file_offset, long byte_count) in read_backing_store() argument
208 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
219 long file_offset, long byte_count) in write_backing_store() argument
221 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
Djmemmac.c156 long file_offset, long byte_count) in read_backing_store() argument
161 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in read_backing_store()
174 long file_offset, long byte_count) in write_backing_store() argument
179 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in write_backing_store()
Djmemsys.h144 long file_offset, long byte_count));
148 long file_offset, long byte_count));
Djmemmgr.c690 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_sarray_io() local
693 file_offset = (long) ptr->cur_start_row * bytesperrow; in do_sarray_io()
709 file_offset, byte_count); in do_sarray_io()
713 file_offset, byte_count); in do_sarray_io()
714 file_offset += byte_count; in do_sarray_io()
723 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_barray_io() local
726 file_offset = (long) ptr->cur_start_row * bytesperrow; in do_barray_io()
742 file_offset, byte_count); in do_barray_io()
746 file_offset, byte_count); in do_barray_io()
747 file_offset += byte_count; in do_barray_io()
/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.py431 file_offset = _unpack_uint32(buffer[42:46])
433 if file_offset > header_offset:
435 file_offset += arc_offset
464 t = (path, compress, data_size, file_size, file_offset, time, date, crc)
532 datapath, compress, data_size, file_size, file_offset, time, date, crc = toc_entry
539 fp.seek(file_offset)
553 file_offset += header_size # Start of file data
555 fp.seek(file_offset)
/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/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/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c119 off_t file_offset; in testfunc_append() local
132 file_offset = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in testfunc_append()
134 if (file_offset > (off_t)(sizeof(STR) - 1)) in testfunc_append()
/third_party/uboot/u-boot-2020.01/common/spl/
Dspl_fat.c42 static ulong spl_fit_read(struct spl_load_info *load, ulong file_offset, in spl_fit_read() argument
49 ret = fat_read_file(filename, buf, file_offset, size, &actread); in spl_fit_read()
/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/
Df_mass_storage.c690 loff_t file_offset; in do_read() local
714 file_offset = ((loff_t) lba) << 9; in do_read()
732 partial_page = file_offset & (PAGE_CACHE_SIZE - 1); in do_read()
758 file_offset / SECTOR_SIZE, in do_read()
767 (unsigned long long) file_offset, in do_read()
779 file_offset += nread; in do_read()
817 loff_t usb_offset, file_offset; in do_write() local
851 file_offset = usb_offset = ((loff_t) lba) << 9; in do_write()
932 file_offset / SECTOR_SIZE, in do_write()
940 (unsigned long long) file_offset, in do_write()
[all …]
/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/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/uboot/u-boot-2020.01/tools/
Dimx8image.c707 uint32_t file_offset) in flatten_container_header() argument
727 i, file_offset + size); in flatten_container_header()
729 file_offset + size + container->length - in flatten_container_header()
754 container_start_offset + file_offset; in flatten_container_header()
/third_party/ntfs-3g/include/ntfs-3g/
Dlogfile.h321 sle64 file_offset; member

12