Searched defs:file_offset (Results 1 - 4 of 4) sorted by relevance

/system/extras/simpleperf/
H A Dread_apk.cpp37 EmbeddedElf* ApkInspector::FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset) { argument
39 ApkOffset ami(apk_path, file_offset);
44 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByOffsetWithoutCache(apk_path, file_offset);
51 uint64_t file_offset) {
81 file_offset >= static_cast<uint64_t>(zentry.offset) &&
82 file_offset < static_cast<uint64_t>(zentry.offset + zentry.uncompressed_length)) {
50 FindElfInApkByOffsetWithoutCache(const std::string& apk_path, uint64_t file_offset) argument
H A Dread_elf.cpp177 static ElfStatus OpenObjectFile(const std::string& filename, uint64_t file_offset, argument
189 auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fhelper.fd(), filename, file_size, file_offset);
229 ElfStatus GetBuildIdFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset, argument
232 ElfStatus result = OpenObjectFile(filename, file_offset, file_size, &wrapper);
410 ElfStatus ParseSymbolsFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset, argument
414 ElfStatus result = OpenObjectFile(filename, file_offset, file_size, &wrapper);
/system/update_engine/payload_consumer/
H A Ddownload_action.cc122 off_t file_offset) {
128 // Check that the file is at least |file_offset| bytes long - if
144 if (p2p_size < file_offset) {
145 LOG(ERROR) << "Wanting to write to file offset " << file_offset
152 off_t cur_file_offset = lseek(p2p_sharing_fd_, file_offset, SEEK_SET);
153 if (cur_file_offset != static_cast<off_t>(file_offset)) {
155 << file_offset << " in p2p file";
163 << file_offset << " in p2p file"; local
120 WriteToP2PFile(const void* data, size_t length, off_t file_offset) argument
/system/core/libsparse/
H A Dsparse.c68 const char *filename, int64_t file_offset, unsigned int len,
71 return backed_block_add_file(s->backed_block_list, filename, file_offset,
76 int fd, int64_t file_offset, unsigned int len, unsigned int block)
78 return backed_block_add_fd(s->backed_block_list, fd, file_offset,
67 sparse_file_add_file(struct sparse_file *s, const char *filename, int64_t file_offset, unsigned int len, unsigned int block) argument
75 sparse_file_add_fd(struct sparse_file *s, int fd, int64_t file_offset, unsigned int len, unsigned int block) argument

Completed in 93 milliseconds