Searched refs:file_size_ (Results 1 – 7 of 7) sorted by relevance
/art/runtime/base/unix_file/ |
D | mapped_file.cc | 48 file_size_ = st.st_size; in MapReadOnly() 50 mapped_file_ = mmap(NULL, file_size_, PROT_READ, MAP_PRIVATE, Fd(), 0); in MapReadOnly() 54 << file_size_ << " bytes to memory"; in MapReadOnly() 70 file_size_ = file_size; in MapReadWrite() 73 mmap(NULL, file_size_, PROT_READ | PROT_WRITE, MAP_SHARED, Fd(), 0); in MapReadWrite() 77 << file_size_ << " bytes to memory"; in MapReadWrite() 86 int result = TEMP_FAILURE_RETRY(munmap(mapped_file_, file_size_)); in Unmap() 89 << file_size_; in Unmap() 93 file_size_ = -1; in Unmap() 104 int64_t read_size = std::max(0LL, std::min(byte_count, file_size_ - offset)); in Read() [all …]
|
D | mapped_file.h | 39 MappedFile() : FdFile(), file_size_(-1), mapped_file_(NULL) { in MappedFile() 43 explicit MappedFile(int fd) : FdFile(fd), file_size_(-1), mapped_file_(NULL) { in MappedFile() 88 mutable int64_t file_size_; // May be updated in GetLength(). variable
|
/art/compiler/ |
D | oat_writer.cc | 129 offset += dex_file->GetHeader().file_size_; in InitDexFiles() 526 if (!out.WriteFully(&dex_file->GetHeader(), dex_file->GetHeader().file_size_)) { in WriteTables() 531 size_dex_file_ += dex_file->GetHeader().file_size_; in WriteTables()
|
/art/runtime/ |
D | dex_file_test.cc | 92 EXPECT_EQ(904U, header.file_size_); in TEST_F()
|
D | oat_file.cc | 373 return reinterpret_cast<const DexFile::Header*>(dex_file_pointer_)->file_size_; in FileSize()
|
D | dex_file_verifier.cc | 138 uint32_t expected_size = header_->file_size_; in CheckHeader() 189 if (item->offset_ >= header_->file_size_) { in CheckMap() 190 …OR) << StringPrintf("Map item after end of file: %x, size %x", item->offset_, header_->file_size_); in CheckMap()
|
D | dex_file.h | 67 uint32_t file_size_; // size of entire file member
|