Lines Matching full:array
17 // -- Data: array => Homogeneous array of one or more export objects
19 // -- Files: array => List of objects describing coverage for files
21 // -- Branches: array => List of Branches in the file
23 // -- MCDC Records: array => List of MCDC records in the file
24 // -- MCDC Values: array => List of T/F covered condition values
25 // -- Segments: array => List of Segments contained in the file
27 // -- Expansions: array => List of expansion records
30 // -- TargetRegions: array => List of Regions in the expansion
32 // -- Branches: array => List of Branches in the expansion
40 // -- Functions: array => List of objects describing coverage for functions
42 // -- Filenames: array => List of filenames that the function relates to
83 json::Array renderSegment(const coverage::CoverageSegment &Segment) {
84 return json::Array({Segment.Line, Segment.Col,
89 json::Array renderRegion(const coverage::CountedRegion &Region) {
90 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd,
96 json::Array renderBranch(const coverage::CountedRegion &Region) {
97 return json::Array(
104 json::Array gatherConditions(const coverage::MCDCRecord &Record) {
105 json::Array Conditions;
111 json::Array renderMCDCRecord(const coverage::MCDCRecord &Record) {
113 return json::Array({CMR.LineStart, CMR.ColumnStart, CMR.LineEnd,
118 json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) {
119 json::Array RegionArray;
125 json::Array renderBranchRegions(ArrayRef<coverage::CountedRegion> Regions) {
126 json::Array RegionArray;
133 json::Array renderMCDCRecords(ArrayRef<coverage::MCDCRecord> Records) {
134 json::Array RecordArray;
166 {{"filenames", json::Array(Expansion.Function.Filenames)},
216 json::Array renderFileExpansions(const coverage::CoverageMapping &Coverage,
219 json::Array ExpansionArray;
225 json::Array renderFileSegments(const coverage::CoverageData &FileCoverage,
227 json::Array SegmentArray;
233 json::Array renderFileBranches(const coverage::CoverageData &FileCoverage,
235 json::Array BranchArray;
241 json::Array renderFileMCDC(const coverage::CoverageData &FileCoverage,
243 json::Array MCDCRecordArray;
269 json::Array renderFiles(const coverage::CoverageMapping &Coverage,
281 json::Array FileArray;
299 json::Array renderFunctions(
301 json::Array FunctionArray;
309 {"filenames", json::Array(F.Filenames)}}));
345 auto ExportArray = json::Array({std::move(Export)});