Searched refs:file_ref (Results 1 – 5 of 5) sorted by relevance
209 FileReference* file_ref = ValueCast<FileReference>(config_value->value.get()); in WriteSplitApk() local210 if (file_ref == nullptr) { in WriteSplitApk()214 if (file_ref->file == nullptr) { in WriteSplitApk()216 context_->GetDiagnostics()->Warn(DiagMessage(file_ref->GetSource()) in WriteSplitApk()223 config_sorted_files[std::make_pair(config_value->config, entry_name)] = file_ref; in WriteSplitApk()228 FileReference* file_ref = entry.second; in WriteSplitApk() local230 file_ref->file->WasCompressed() ? ArchiveEntry::kCompress : 0u; in WriteSplitApk()231 if (!io::CopyFileToArchive(context_, file_ref->file, *file_ref->path, compression_flags, in WriteSplitApk()
519 FileReference* file_ref = ValueCast<FileReference>(config_value->value.get()); in Flatten() local520 if (!file_ref) { in Flatten()524 io::IFile* file = file_ref->file; in Flatten()526 context_->GetDiagnostics()->Error(DiagMessage(file_ref->GetSource()) in Flatten()533 file_op.dst_path = *file_ref->path; in Flatten()555 file_op.xml_to_flatten->file.source = file_ref->GetSource(); in Flatten()
336 const std::string& package, const FileReference& file_ref) { in CloneAndMangleFile() argument338 if (util::ExtractResFilePathParts(*file_ref.path, &prefix, &entry, &suffix)) { in CloneAndMangleFile()343 new_file_ref->SetComment(file_ref.GetComment()); in CloneAndMangleFile()344 new_file_ref->SetSource(file_ref.GetSource()); in CloneAndMangleFile()347 return std::unique_ptr<FileReference>(file_ref.Clone(&master_table_->string_pool)); in CloneAndMangleFile()353 std::unique_ptr<FileReference> file_ref = in MergeFileImpl() local355 file_ref->SetSource(file_desc.source); in MergeFileImpl()356 file_ref->file = file; in MergeFileImpl()362 ->value = std::move(file_ref); in MergeFileImpl()
66 FileReference* file_ref = ValueCast<FileReference>(config_value->value.get()); in WriteToArchive() local67 if (file_ref) { in WriteToArchive()68 referenced_resources.insert(*file_ref->path); in WriteToArchive()
438 FileReference* file_ref = ValueCast<FileReference>(item.get()); in ParseValue() local439 if (file_ref != nullptr) { in ParseValue()440 file_ref->file = files_->FindFile(*file_ref->path); in ParseValue()441 if (file_ref->file == nullptr) { in ParseValue()444 << *file_ref->path in ParseValue()