Home
last modified time | relevance | path

Searched refs:file_size_ (Results 1 – 9 of 9) sorted by relevance

/art/runtime/base/unix_file/
Dmapped_file.cc54 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 …]
Dmapped_file.h44 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/
Ddex_file_verifier_test.cc161 uint32_t expected_size = header->file_size_; in FixUpChecksum()
Ddex_file_test.cc176 EXPECT_EQ(904U, header.file_size_); in TEST_F()
Ddex_file_verifier.cc245 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()
Doat_file.cc456 return reinterpret_cast<const DexFile::Header*>(dex_file_pointer_)->file_size_; in FileSize()
Ddex_file.h81 uint32_t file_size_; // size of entire file member
/art/compiler/
Doat_writer.cc777 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/
Ddex2oat.cc828 dex_files_size += dex_file->GetHeader().file_size_; in UseSwap()