Lines Matching refs:Opts

27 std::string escape(StringRef Str, const CoverageViewOptions &Opts) {  in escape()  argument
33 unsigned NumSpaces = Opts.TabSize - (ColNum % Opts.TabSize); in escape()
445 void emitPrelude(raw_ostream &OS, const CoverageViewOptions &Opts, in emitPrelude() argument
457 << escape(PathToStyle, Opts) << "'>"; in emitPrelude()
463 OS << "<script src='" << escape(PathToJavaScript, Opts) << "'></script>"; in emitPrelude()
468 void emitTableRow(raw_ostream &OS, const CoverageViewOptions &Opts, in emitTableRow() argument
475 [&Columns, &Opts](unsigned Hit, unsigned Total, float Pctg) { in emitTableRow()
488 else if (Pctg >= Opts.HighCovWatermark) in emitTableRow()
490 else if (Pctg < Opts.LowCovWatermark) in emitTableRow()
499 if (Opts.ShowInstantiationSummary) in emitTableRow()
506 if (Opts.ShowRegionSummary) in emitTableRow()
510 if (Opts.ShowBranchSummary) in emitTableRow()
514 if (Opts.ShowMCDCSummary) in emitTableRow()
540 if (!Opts.hasOutputDirectory()) { in createViewFile()
541 emitPrelude(*OS.get(), Opts); in createViewFile()
544 emitPrelude(*OS.get(), Opts, getPathToStyle(ViewPath), in createViewFile()
557 const CoverageViewOptions &Opts) { in emitColumnLabelsForIndex() argument
561 if (Opts.ShowInstantiationSummary) in emitColumnLabelsForIndex()
565 if (Opts.ShowRegionSummary) in emitColumnLabelsForIndex()
567 if (Opts.ShowBranchSummary) in emitColumnLabelsForIndex()
569 if (Opts.ShowMCDCSummary) in emitColumnLabelsForIndex()
580 std::string LinkText = escape(LinkTextStr, Opts); in buildLinkToFile()
582 escape(getOutputPath(SF, "html", /*InToplevel=*/false), Opts); in buildLinkToFile()
611 if (Opts.hasProjectTitle()) in emitReportHeader()
612 OSRef << tag(ProjectTitleTag, escape(Opts.ProjectTitle, Opts)); in emitReportHeader()
614 if (Opts.hasCreatedTime()) in emitReportHeader()
615 OSRef << tag(CreatedTimeTag, escape(Opts.CreatedTimeStr, Opts)); in emitReportHeader()
627 emitColumnLabelsForIndex(OSRef, Opts); in emitReportHeader()
643 emitTableRow(OS, Opts, Filename, FCS, IsTotals); in emitFileSummary()
664 assert(Opts.hasOutputDirectory() && "No output directory for index file"); in createIndexFile()
665 emitPrelude(OSRef, Opts, getPathToStyle(""), getPathToJavaScript("")); in createIndexFile()
671 Coverage, Totals, SourceFiles, Opts, Filters); in createIndexFile()
698 OSRef << tag("h5", escape(Opts.getLLVMVersionString(), Opts)); in createIndexFile()
710 : DirectoryCoverageReport(Printer.Opts, Coverage, Filters), in Reporter()