Lines Matching refs:source_
151 : type_(kZipEntry), source_(zip_entry) { in DexFileSource()
152 DCHECK(source_ != nullptr); in DexFileSource()
156 : type_(kRawFile), source_(raw_file) { in DexFileSource()
157 DCHECK(source_ != nullptr); in DexFileSource()
161 : type_(kRawData), source_(dex_file) { in DexFileSource()
162 DCHECK(source_ != nullptr); in DexFileSource()
172 DCHECK(source_ != nullptr); in GetZipEntry()
173 return static_cast<ZipEntry*>(const_cast<void*>(source_)); in GetZipEntry()
178 DCHECK(source_ != nullptr); in GetRawFile()
179 return static_cast<File*>(const_cast<void*>(source_)); in GetRawFile()
184 DCHECK(source_ != nullptr); in GetRawData()
185 return static_cast<const uint8_t*>(source_); in GetRawData()
192 source_ = dexlayout_data_.data(); in SetDexLayoutData()
197 source_ = nullptr; in Clear()
205 const void* source_; member in art::linker::OatWriter::DexFileSource
328 DexFileSource source_; member in art::linker::OatWriter::OatDexFile
3111 if (!oat_dex_file.source_.IsZipEntry()) { in WriteDexFiles()
3115 ZipEntry* entry = oat_dex_file.source_.GetZipEntry(); in WriteDexFiles()
3168 if (!oat_dex_file.source_.IsRawData()) { in WriteDexFiles()
3171 const uint8_t* raw_data = oat_dex_file.source_.GetRawData(); in WriteDexFiles()
3287 oat_dex_file.source_.Clear(); // Get rid of the reference, it's about to be invalidated. in CloseSources()
3298 if (oat_dex_file->source_.IsZipEntry()) { in WriteDexFile()
3300 if (!WriteDexFile(file, oat_dex_file, oat_dex_file->source_.GetZipEntry())) { in WriteDexFile()
3303 } else if (oat_dex_file->source_.IsRawFile()) { in WriteDexFile()
3305 if (!WriteDexFile(file, oat_dex_file, oat_dex_file->source_.GetRawFile())) { in WriteDexFile()
3309 DCHECK(oat_dex_file->source_.IsRawData()); in WriteDexFile()
3310 const uint8_t* raw_data = oat_dex_file->source_.GetRawData(); in WriteDexFile()
3328 if (oat_dex_file->source_.IsZipEntry()) { in LayoutDexFile()
3329 ZipEntry* zip_entry = oat_dex_file->source_.GetZipEntry(); in LayoutDexFile()
3346 } else if (oat_dex_file->source_.IsRawFile()) { in LayoutDexFile()
3347 File* raw_file = oat_dex_file->source_.GetRawFile(); in LayoutDexFile()
3361 CHECK(oat_dex_file->source_.IsRawData()) in LayoutDexFile()
3362 << static_cast<size_t>(oat_dex_file->source_.GetType()); in LayoutDexFile()
3363 const uint8_t* raw_dex_file = oat_dex_file->source_.GetRawData(); in LayoutDexFile()
3395 oat_dex_file->source_.SetDexLayoutData(dex_container_->GetMainSection()->ReleaseData()); in LayoutDexFile()
3399 AsUnalignedDexFileHeader(oat_dex_file->source_.GetRawData()); in LayoutDexFile()
3480 maps.emplace_back(oat_dex_file.source_.GetZipEntry()->MapDirectlyOrExtract( in OpenDexFiles()
3859 : source_(std::move(source)), in OatDexFile()