Home
last modified time | relevance | path

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

12

/external/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 …]
/external/perf_data_converter/src/
Dperf_data_handler.h35 uint64 limit, uint64 file_offset, uint64 filename_md5_prefix) in Mapping()
40 file_offset(file_offset), in Mapping()
49 uint64 file_offset; member
Dperf_data_handler.cc360 if (mapping->file_offset > (static_cast<uint64>(1) << 63) && in UpdateMapsWithMMapEvent()
367 mapping->start = mapping->file_offset - mapping->file_offset % 4096; in UpdateMapsWithMMapEvent()
368 mapping->file_offset = old_start; in UpdateMapsWithMMapEvent()
397 mapping->start - mapping->file_offset == 0x400000) { in UpdateMapsWithMMapEvent()
/external/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()
/external/dynamic_depth/internal/dynamic_depth/
Ddynamic_depth.cc96 size_t file_offset = 0; in GetItemPayload() local
109 file_offset += item->GetLength(); in GetItemPayload()
122 if (file_offset == 0) { in GetItemPayload()
131 ParseFileAfterImageFromStream(file_offset, file_length, input_jpeg_stream, in GetItemPayload()
/external/bcc/src/cc/
Dbcc_syms.cc118 uint64_t file_offset, void *payload) { in _add_load_sections() argument
120 module->ranges_.emplace_back(v_addr, v_addr + mem_sz, file_offset); in _add_load_sections()
305 offset = addr - range.start + range.file_offset; in contains()
426 uint64_t file_offset; member
434 mod->file_offset = offset; in _find_module()
447 *global = mod.start - mod.file_offset + address; in bcc_resolve_global_addr()
485 int _find_load(uint64_t v_addr, uint64_t mem_sz, uint64_t file_offset, in _find_load() argument
489 addr->binary_addr = addr->target_addr - v_addr + file_offset; in _find_load()
Dsyms.h96 uint64_t file_offset; member
98 : start(s), end(e), file_offset(f) {} in Range()
137 uint64_t file_offset, void *payload);
/external/google-breakpad/src/common/mac/
Dmacho_reader.cc341 size_t file_offset, file_size; in WalkLoadCommands() local
345 .Read(word_size, false, &file_offset) in WalkLoadCommands()
355 if (file_offset > buffer_.Size() || in WalkLoadCommands()
356 file_size > buffer_.Size() - file_offset) { in WalkLoadCommands()
364 if (file_offset == 0 && file_size == 0) { in WalkLoadCommands()
367 segment.contents.start = buffer_.start + file_offset; in WalkLoadCommands()
Dmacho_id.cc138 off_t file_offset = offset; in Update() local
148 if (!walker->ReadBytes(buffer, buffer_size, file_offset)) in Update()
152 file_offset += buffer_size; in Update()
/external/bcc/src/cc/includes/
Dsyms.h96 uint64_t file_offset; member
98 : start(s), end(e), file_offset(f) {} in Range()
137 uint64_t file_offset, void *payload);
/external/python/cpython2/Modules/
Dzipimport.c712 unsigned long file_offset, header_position; in read_directory() local
809 file_offset = get_uint32(buffer + 42); in read_directory()
810 if (file_offset > header_offset) { in read_directory()
814 file_offset += arc_offset; in read_directory()
844 file_size, file_offset, time, date, crc); in read_directory()
925 long file_offset, header_size; in get_data() local
930 &data_size, &file_size, &file_offset, &time, in get_data()
947 if (fseek(fp, file_offset, 0) == -1) { in get_data()
962 if (file_offset > LONG_MAX - header_size) { in get_data()
966 file_offset += header_size; /* Start of file data */ in get_data()
[all …]
/external/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,
/external/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()
/external/python/cpython3/Modules/
Dzipimport.c951 unsigned long file_offset, header_position; in read_directory() local
1042 file_offset = get_uint32(buffer + 42); in read_directory()
1043 if (file_offset > header_offset) { in read_directory()
1047 file_offset += arc_offset; in read_directory()
1109 file_size, file_offset, time, date, crc); in read_directory()
1193 long file_offset, header_size; in get_data() local
1198 &data_size, &file_size, &file_offset, &time, in get_data()
1212 if (fseek(fp, file_offset, 0) == -1) { in get_data()
1227 if (file_offset > LONG_MAX - header_size) { in get_data()
1231 file_offset += header_size; /* Start of file data */ in get_data()
[all …]
/external/pdfium/core/fxcodec/codec/
Dccodec_tiffmodule.cpp133 FX_FILESIZE file_offset = safe_offset.ValueOrDie(); in tiff_seek() local
137 if (file_offset > pTiffContext->io_in()->GetSize()) in tiff_seek()
139 pTiffContext->set_offset(file_offset); in tiff_seek()
144 new_increment += file_offset; in tiff_seek()
151 if (pTiffContext->io_in()->GetSize() < file_offset) in tiff_seek()
153 pTiffContext->set_offset(pTiffContext->io_in()->GetSize() - file_offset); in tiff_seek()
/external/u-boot/common/spl/
Dspl_fat.c41 static ulong spl_fit_read(struct spl_load_info *load, ulong file_offset, in spl_fit_read() argument
48 ret = fat_read_file(filename, buf, file_offset, size, &actread); in spl_fit_read()
/external/u-boot/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 …]
/external/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()
/external/tensorflow/tensorflow/core/profiler/
Dprofile.proto44 uint64 file_offset = 4; field
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.h215 size_t file_offset);
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c330 unsigned file_offset[TGSI_FILE_COUNT]; member
885 ctx->shader->input[i].gpr = ctx->file_offset[TGSI_FILE_INPUT] + d->Range.First + j; in tgsi_declaration()
927 ctx->shader->output[i].gpr = ctx->file_offset[TGSI_FILE_OUTPUT] + d->Range.First + j; in tgsi_declaration()
976 ctx->file_offset[TGSI_FILE_TEMPORARY] + in tgsi_declaration()
1475 r600_src->sel += ctx->file_offset[tgsi_src->Register.File]; in tgsi_src()
2826 alu.src[1].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
2830 alu.src[2].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
2848 alu.src[1].sel += ctx->file_offset[dst->Register.File]; in r600_store_tcs_output()
3236 ctx.file_offset[i] = 0; in r600_shader_from_tgsi()
3241 ctx.file_offset[TGSI_FILE_INPUT] = 1; in r600_shader_from_tgsi()
[all …]
/external/jemalloc_new/bin/
Djeprof.in4458 my $file_offset;
4473 $file_offset = $x[5];
4486 $r->{file_offset} = $file_offset;
4497 my $file_offset = undef;
4541 $file_offset = sprintf("%016x", $1);
4543 if (defined($vma) && defined($size) && defined($file_offset)) {
4549 if (!defined($vma) || !defined($size) || !defined($file_offset)) {
4556 $r->{file_offset} = $file_offset;
4649 my $vma_offset = AddressSub($text->{vma}, $text->{file_offset});
/external/jemalloc/bin/
Djeprof.in4455 my $file_offset;
4470 $file_offset = $x[5];
4483 $r->{file_offset} = $file_offset;
4494 my $file_offset = undef;
4538 $file_offset = sprintf("%016x", $1);
4540 if (defined($vma) && defined($size) && defined($file_offset)) {
4546 if (!defined($vma) || !defined($size) || !defined($file_offset)) {
4553 $r->{file_offset} = $file_offset;
4636 my $vma_offset = AddressSub($text->{vma}, $text->{file_offset});

12