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()
190 source_ = nullptr; in Clear()
195 const void* source_; member in art::linker::OatWriter::DexFileSource
310 DexFileSource source_; member in art::linker::OatWriter::OatDexFile
3178 if (!oat_dex_file.source_.IsZipEntry()) { in WriteDexFiles()
3182 ZipEntry* entry = oat_dex_file.source_.GetZipEntry(); in WriteDexFiles()
3274 if (oat_dex_file.source_.IsRawData()) { in WriteDexFiles()
3276 const uint8_t* cur_data_begin = oat_dex_file.source_.GetRawData() + header.data_off_; in WriteDexFiles()
3315 oat_dex_file.source_.Clear(); // Get rid of the reference, it's about to be invalidated. in CloseSources()
3337 } else if (oat_dex_file->source_.IsZipEntry()) { in WriteDexFile()
3339 if (!WriteDexFile(out, file, oat_dex_file, oat_dex_file->source_.GetZipEntry())) { in WriteDexFile()
3342 } else if (oat_dex_file->source_.IsRawFile()) { in WriteDexFile()
3344 if (!WriteDexFile(out, file, oat_dex_file, oat_dex_file->source_.GetRawFile())) { in WriteDexFile()
3348 DCHECK(oat_dex_file->source_.IsRawData()); in WriteDexFile()
3349 if (!WriteDexFile(out, oat_dex_file, oat_dex_file->source_.GetRawData(), update_input_vdex)) { in WriteDexFile()
3407 if (oat_dex_file->source_.IsZipEntry()) { in LayoutAndWriteDexFile()
3408 ZipEntry* zip_entry = oat_dex_file->source_.GetZipEntry(); in LayoutAndWriteDexFile()
3425 } else if (oat_dex_file->source_.IsRawFile()) { in LayoutAndWriteDexFile()
3426 File* raw_file = oat_dex_file->source_.GetRawFile(); in LayoutAndWriteDexFile()
3440 CHECK(oat_dex_file->source_.IsRawData()) in LayoutAndWriteDexFile()
3441 << static_cast<size_t>(oat_dex_file->source_.GetType()); in LayoutAndWriteDexFile()
3442 const uint8_t* raw_dex_file = oat_dex_file->source_.GetRawData(); in LayoutAndWriteDexFile()
3683 maps.emplace_back(oat_dex_file.source_.GetZipEntry()->MapDirectlyOrExtract( in OpenDexFiles()
4028 : source_(source), in OatDexFile()