Searched refs:file_size_ (Results 1 – 9 of 9) sorted by relevance
/art/runtime/base/unix_file/ |
D | mapped_file.cc | 54 file_size_ = st.st_size; in MapReadOnly() 56 mapped_file_ = mmap(NULL, file_size_, PROT_READ, MAP_PRIVATE, Fd(), 0); in MapReadOnly() 60 << file_size_ << " bytes to memory"; in MapReadOnly() 84 file_size_ = file_size; in MapReadWrite() 87 mmap(NULL, file_size_, PROT_READ | PROT_WRITE, MAP_SHARED, Fd(), 0); in MapReadWrite() 91 << file_size_ << " bytes to memory"; in MapReadWrite() 100 int result = TEMP_FAILURE_RETRY(munmap(mapped_file_, file_size_)); in Unmap() 103 << file_size_; in Unmap() 107 file_size_ = -1; in Unmap() 119 std::min(byte_count, file_size_ - offset)); in Read() [all …]
|
D | mapped_file.h | 44 MappedFile() : FdFile(), file_size_(-1), mapped_file_(NULL), map_mode_(kMapReadOnly) { in MappedFile() 48 explicit MappedFile(int fd, bool check_usage) : FdFile(fd, check_usage), file_size_(-1), in MappedFile() 94 mutable int64_t file_size_; // May be updated in GetLength(). variable
|
/art/runtime/ |
D | dex_file_verifier_test.cc | 161 uint32_t expected_size = header->file_size_; in FixUpChecksum()
|
D | dex_file_test.cc | 176 EXPECT_EQ(904U, header.file_size_); in TEST_F()
|
D | dex_file_verifier.cc | 245 uint32_t expected_size = header_->file_size_; in CheckHeader() 314 if (UNLIKELY(item->offset_ >= header_->file_size_)) { in CheckMap() 316 item->offset_, header_->file_size_); in CheckMap()
|
D | oat_file.cc | 456 return reinterpret_cast<const DexFile::Header*>(dex_file_pointer_)->file_size_; in FileSize()
|
D | dex_file.h | 81 uint32_t file_size_; // size of entire file member
|
/art/compiler/ |
D | oat_writer.cc | 777 offset += dex_file->GetHeader().file_size_; in InitDexFiles() 990 if (!out->WriteFully(&dex_file->GetHeader(), dex_file->GetHeader().file_size_)) { in WriteTables() 995 size_dex_file_ += dex_file->GetHeader().file_size_; in WriteTables()
|
/art/dex2oat/ |
D | dex2oat.cc | 828 dex_files_size += dex_file->GetHeader().file_size_; in UseSwap()
|