Lines Matching refs:file_ref
546 FileReference* file_ref = ValueCast<FileReference>(config_value->value.get()); in Flatten() local
547 if (!file_ref) { in Flatten()
551 io::IFile* file = file_ref->file; in Flatten()
553 context_->GetDiagnostics()->Error(android::DiagMessage(file_ref->GetSource()) in Flatten()
560 file_op.dst_path = *file_ref->path; in Flatten()
565 (file_ref->type == ResourceFile::Type::kBinaryXml || in Flatten()
566 file_ref->type == ResourceFile::Type::kProtoXml)) { in Flatten()
574 if (file_ref->type == ResourceFile::Type::kProtoXml) { in Flatten()
600 file_ref->type = XmlFileTypeForOutputFormat(options_.output_format); in Flatten()
603 file_op.xml_to_flatten->file.source = file_ref->GetSource(); in Flatten()
658 auto file_ref = in Flatten() local
660 file_ref->SetSource(doc->file.source); in Flatten()
663 file_ref->type = XmlFileTypeForOutputFormat(options_.output_format); in Flatten()
665 .SetValue(std::move(file_ref), file.config) in Flatten()
1100 const FileReference* file_ref = ValueCast<FileReference>(value->value.get()); in VerifyLocaleFormat() local
1101 if (!file_ref) { in VerifyLocaleFormat()
1107 io::IFile* file = file_ref->file; in VerifyLocaleFormat()
1109 context_->GetDiagnostics()->Error(android::DiagMessage(file_ref->GetSource()) in VerifyLocaleFormat()