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

/system/core/libbacktrace/
H A DBacktraceOffline.h53 uint64_t file_offset; member in struct:DebugFrameInfo::EhFrame::ProgramHeader
H A DBacktraceOffline.cpp216 uint64_t file_offset, uint64_t* vaddr) {
218 if (file_offset >= header.file_offset && file_offset < header.file_offset + header.file_size) {
220 *vaddr = file_offset - header.file_offset + header.vaddr;
612 header.file_offset = it->p_offset;
214 FileOffsetToVaddr( const std::vector<DebugFrameInfo::EhFrame::ProgramHeader>& program_headers, uint64_t file_offset, uint64_t* vaddr) argument
/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.cpp146 static BinaryRet OpenObjectFile(const std::string& filename, uint64_t file_offset = 0,
161 auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fhelper.fd(), filename, file_size, file_offset);
163 LOG(ERROR) << "failed to read " << filename << " [" << file_offset << "-" << (file_offset + file_size)
169 LOG(ERROR) << filename << " [" << file_offset << "-" << (file_offset + file_size)
177 LOG(ERROR) << filename << " [" << file_offset << "-" << (file_offset + file_size)
192 bool GetBuildIdFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset, argument
194 BinaryRet ret = OpenObjectFile(filename, file_offset, file_siz
294 ParseSymbolsFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset, uint32_t file_size, const BuildId& expected_build_id, std::function<void(const ElfFileSymbol&)> callback) argument
[all...]
/system/update_engine/payload_consumer/
H A Ddownload_action.cc121 off_t file_offset) {
127 // Check that the file is at least |file_offset| bytes long - if
143 if (p2p_size < file_offset) {
144 LOG(ERROR) << "Wanting to write to file offset " << file_offset
151 off_t cur_file_offset = lseek(p2p_sharing_fd_, file_offset, SEEK_SET);
152 if (cur_file_offset != static_cast<off_t>(file_offset)) {
154 << file_offset << " in p2p file";
162 << file_offset << " in p2p file"; local
119 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 287 milliseconds