/external/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/ |
D | ObjectContainerBSDArchive.cpp | 47 file_offset(0), file_size(0) {} in LLDB_PLUGIN_DEFINE() 56 file_offset = 0; in Clear() 131 file_offset = offset; in Extract() 140 lldb::offset_t file_offset, in Archive() argument 142 : m_arch(arch), m_modification_time(time), m_file_offset(file_offset), in Archive() 201 const llvm::sys::TimePoint<> &time, lldb::offset_t file_offset) { in FindCachedArchive() argument 213 else if (file_offset != LLDB_INVALID_OFFSET && in FindCachedArchive() 214 pos->second->GetFileOffset() != file_offset) in FindCachedArchive() 241 const llvm::sys::TimePoint<> &time, lldb::offset_t file_offset, in ParseAndCacheArchiveForFile() argument 243 shared_ptr archive_sp(new Archive(arch, time, file_offset, data)); in ParseAndCacheArchiveForFile() [all …]
|
D | ObjectContainerBSDArchive.h | 51 lldb::offset_t file_offset, 102 lldb::offset_t file_offset; member 114 const llvm::sys::TimePoint<> &mod_time, lldb::offset_t file_offset, 125 const llvm::sys::TimePoint<> &mod_time, lldb::offset_t file_offset); 129 const llvm::sys::TimePoint<> &mod_time, lldb::offset_t file_offset,
|
/external/icing/icing/file/ |
D | file-backed-proto-log.h | 219 libtextclassifier3::StatusOr<ProtoT> ReadProto(int64_t file_offset) const; 227 libtextclassifier3::Status EraseProto(int64_t file_offset); 408 MemoryMappedFile* mmapped_file, int64_t file_offset, int64_t file_size); 765 int64_t file_offset) const { in ReadProto() argument 769 if (file_offset >= file_size) { in ReadProto() 775 static_cast<long long>(file_offset), in ReadProto() 781 int metadata, ReadProtoMetadata(&mmapped_file, file_offset, file_size)); in ReadProto() 787 mmapped_file.Remap(file_offset + sizeof(metadata), stored_size)); in ReadProto() 810 int64_t file_offset) { in EraseProto() argument 812 if (file_offset >= file_size) { in EraseProto() [all …]
|
D | portable-file-backed-proto-log.h | 335 libtextclassifier3::StatusOr<ProtoT> ReadProto(int64_t file_offset) const; 343 libtextclassifier3::Status EraseProto(int64_t file_offset); 516 MemoryMappedFile* mmapped_file, int64_t file_offset, int64_t file_size); 934 PortableFileBackedProtoLog<ProtoT>::ReadProto(int64_t file_offset) const { in ReadProto() argument 938 if (file_offset >= file_size) { in ReadProto() 944 static_cast<long long>(file_offset), in ReadProto() 951 ReadProtoMetadata(&mmapped_file, file_offset, file_size)); in ReadProto() 957 mmapped_file.Remap(file_offset + sizeof(metadata), stored_size)); in ReadProto() 980 int64_t file_offset) { in EraseProto() argument 982 if (file_offset >= file_size) { in EraseProto() [all …]
|
D | memory-mapped-file.cc | 71 libtextclassifier3::Status MemoryMappedFile::Remap(size_t file_offset, in Remap() argument 82 math_util::RoundDownTo(file_offset, system_page_size()); in Remap() 83 size_t alignment_adjustment = file_offset - aligned_offset; in Remap() 130 file_offset_ = file_offset; in Remap()
|
/external/llvm-project/lldb/source/Symbol/ |
D | ObjectFile.cpp | 33 lldb::offset_t file_offset, lldb::offset_t file_size, in FindPlugin() argument 44 static_cast<const void *>(file), static_cast<uint64_t>(file_offset), in FindPlugin() 63 data_offset, file, file_offset, in FindPlugin() 79 512, file_offset); in FindPlugin() 112 file_offset, file_size)); in FindPlugin() 123 archive_file.GetPath(), 512, file_offset); in FindPlugin() 138 module_sp, data_sp, data_offset, file, file_offset, file_size)); in FindPlugin() 153 file, file_offset, file_size)); in FindPlugin() 208 lldb::offset_t file_offset, in GetModuleSpecifications() argument 214 file_offset); in GetModuleSpecifications() [all …]
|
/external/brotli/research/ |
D | deorummolae.cc | 77 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/crosvm/cros_async/src/ |
D | poll_source.rs | 84 file_offset: u64, in read_to_vec() 94 file_offset as libc::off64_t, in read_to_vec() 115 file_offset: u64, in read_to_mem() 132 file_offset as libc::off64_t, in read_to_mem() 189 file_offset: u64, in write_from_vec() 199 file_offset as libc::off64_t, in write_from_vec() 220 file_offset: u64, in write_from_mem() 238 file_offset as libc::off64_t, in write_from_mem() 257 async fn fallocate(&self, file_offset: u64, len: u64, mode: u32) -> AsyncResult<()> { in fallocate() 262 file_offset as libc::off64_t, in fallocate()
|
D | uring_source.rs | 67 file_offset: u64, in read_to_vec() 72 file_offset, in read_to_vec() 130 file_offset: u64, in read_to_mem() 136 .start_read_to_mem(file_offset, mem, mem_offsets)?; in read_to_mem() 147 file_offset: u64, in write_from_vec() 152 file_offset, in write_from_vec() 172 file_offset: u64, in write_from_mem() 178 .start_write_from_mem(file_offset, mem, mem_offsets)?; in write_from_mem() 184 async fn fallocate(&self, file_offset: u64, len: u64, mode: u32) -> AsyncResult<()> { in fallocate() 187 .start_fallocate(file_offset, len, mode)?; in fallocate()
|
/external/llvm-project/lldb/test/API/macosx/lc-note/kern-ver-str/ |
D | create-empty-corefile.cpp | 150 off_t file_offset = 0; in get_uuid_from_binary() local 187 file_offset += sizeof (struct mach_header); in get_uuid_from_binary() 206 file_offset += sizeof (struct mach_header_64); in get_uuid_from_binary() 209 off_t load_cmds_offset = file_offset; in get_uuid_from_binary() 211 … for (int i = 0; i < num_of_load_cmds && (file_offset - load_cmds_offset) < size_of_load_cmds; i++) in get_uuid_from_binary() 213 ::fseeko (f, file_offset, SEEK_SET); in get_uuid_from_binary() 221 ::fseeko (f, file_offset, SEEK_SET); in get_uuid_from_binary() 232 file_offset += cmdsize; in get_uuid_from_binary()
|
/external/llvm-project/lldb/test/API/macosx/lc-note/firmware-corefile/ |
D | create-empty-corefile.cpp | 181 off_t file_offset = 0; in get_uuid_from_binary() local 215 file_offset += sizeof(struct mach_header); in get_uuid_from_binary() 231 file_offset += sizeof(struct mach_header_64); in get_uuid_from_binary() 234 off_t load_cmds_offset = file_offset; in get_uuid_from_binary() 237 (file_offset - load_cmds_offset) < size_of_load_cmds; in get_uuid_from_binary() 239 ::fseeko(f, file_offset, SEEK_SET); in get_uuid_from_binary() 246 ::fseeko(f, file_offset, SEEK_SET); in get_uuid_from_binary() 256 file_offset += cmdsize; in get_uuid_from_binary()
|
/external/crosvm/disk/src/ |
D | disk.rs | 364 file_offset: u64, in read_to_mem() 372 file_offset: u64, in write_from_mem() 378 async fn punch_hole(&self, file_offset: u64, length: u64) -> Result<()>; in punch_hole() 381 async fn write_zeroes_at(&self, file_offset: u64, length: u64) -> Result<()>; in write_zeroes_at() 429 file_offset: u64, in read_to_mem() 434 .read_to_mem(file_offset, mem, mem_offsets) in read_to_mem() 441 file_offset: u64, in write_from_mem() 446 .write_from_mem(file_offset, mem, mem_offsets) in write_from_mem() 451 async fn punch_hole(&self, file_offset: u64, length: u64) -> Result<()> { in punch_hole() 454 file_offset, in punch_hole() [all …]
|
/external/llvm-project/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ |
D | ObjectContainerUniversalMachO.cpp | 48 lldb::offset_t file_offset, lldb::offset_t length) { in CreateInstance() argument 57 file, file_offset, length)); in CreateInstance() 75 lldb::offset_t file_offset, lldb::offset_t length) in ObjectContainerUniversalMachO() argument 76 : ObjectContainer(module_sp, file, file_offset, length, data_sp, in ObjectContainerUniversalMachO() 217 lldb::offset_t data_offset, lldb::offset_t file_offset, in GetModuleSpecifications() argument 229 const lldb::offset_t slice_file_offset = fat_arch.offset + file_offset; in GetModuleSpecifications()
|
/external/e2fsprogs/ext2ed/ |
D | file_com.c | 38 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()
|
D | dir_com.c | 64 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/ |
D | dynamic_depth.cc | 96 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/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
D | ObjectFileBreakpad.cpp | 66 const FileSpec *file, offset_t file_offset, offset_t length) { in CreateInstance() argument 68 data_sp = MapFileData(*file, length, file_offset); in CreateInstance() 80 data_sp = MapFileData(*file, length, file_offset); in CreateInstance() 87 file_offset, length, std::move(header->arch), in CreateInstance() 99 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_rgp.c | 593 size_t file_offset = 0; in radv_sqtt_dump_data() local 597 file_offset += sizeof(header); in radv_sqtt_dump_data() 602 file_offset += sizeof(cpu_info); in radv_sqtt_dump_data() 607 file_offset += sizeof(asic_info); in radv_sqtt_dump_data() 612 file_offset += sizeof(api_info); in radv_sqtt_dump_data() 627 file_offset += sizeof(desc); in radv_sqtt_dump_data() 631 radv_sqtt_fill_sqtt_data(&data, i, file_offset, size); in radv_sqtt_dump_data() 632 file_offset += sizeof(data); in radv_sqtt_dump_data() 636 file_offset += size; in radv_sqtt_dump_data()
|
/external/llvm-project/lldb/source/Plugins/ObjectFile/wasm/ |
D | ObjectFileWasm.cpp | 97 offset_t file_offset, offset_t length) { in CreateInstance() argument 101 data_sp = MapFileData(*file, length, file_offset); in CreateInstance() 120 data_sp = MapFileData(*file, length, file_offset); in CreateInstance() 131 module_sp, data_sp, data_offset, file, file_offset, length)); in CreateInstance() 224 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument 269 offset_t file_offset = sect_info.offset & 0xffffffff; in CreateSections() local 270 addr_t vm_addr = file_offset; in CreateSections() 324 file_offset, // Offset of this section in the file. in CreateSections()
|
/external/pigweed/pw_tokenizer/py/pw_tokenizer/ |
D | elf_reader.py | 180 self.file_offset = self._elf.tell() 217 self._elf.seek(self.file_offset + base + self.offset(field)) 222 self._elf.seek(self.file_offset + offset) 235 file_offset: int # Starting place in the file; 0 unless in an archive. 272 reader.file_offset) 299 self._elf.seek(section.file_offset + section.offset + address - 315 self._elf.seek(section.file_offset + section.offset)
|
/external/bcc/src/cc/ |
D | bcc_syms.cc | 118 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() 306 offset = addr - range.start + range.file_offset; in contains() 427 uint64_t file_offset; member 435 mod->file_offset = offset; in _find_module() 448 *global = mod.start - mod.file_offset + address; in bcc_resolve_global_addr() 486 int _find_load(uint64_t v_addr, uint64_t mem_sz, uint64_t file_offset, in _find_load() argument 490 addr->binary_addr = addr->target_addr - v_addr + file_offset; in _find_load()
|
D | syms.h | 96 uint64_t file_offset; member 98 : start(s), end(e), file_offset(f) {} in Range() 137 uint64_t file_offset, void *payload);
|
/external/python/cpython3/Lib/ |
D | zipimport.py | 431 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)
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | Section.h | 105 lldb::addr_t vm_size, lldb::offset_t file_offset, 116 lldb::addr_t vm_size, lldb::offset_t file_offset, 142 void SetFileOffset(lldb::offset_t file_offset) { in SetFileOffset() argument 143 m_file_offset = file_offset; in SetFileOffset()
|
/external/bcc/src/cc/includes/ |
D | syms.h | 96 uint64_t file_offset; member 98 : start(s), end(e), file_offset(f) {} in Range() 137 uint64_t file_offset, void *payload);
|