Home
last modified time | relevance | path

Searched refs:totals (Results 1 – 25 of 60) sorted by relevance

123

/external/catch2/include/reporters/
Dcatch_reporter_compact.cpp42 void printTotals(std::ostream& out, const Totals& totals) { in printTotals() argument
43 if (totals.testCases.total() == 0) { in printTotals()
45 } else if (totals.testCases.failed == totals.testCases.total()) { in printTotals()
48 totals.assertions.failed == totals.assertions.total() ? in printTotals()
49 bothOrAll(totals.assertions.failed) : std::string(); in printTotals()
51 "Failed " << bothOrAll(totals.testCases.failed) in printTotals()
52 << pluralise(totals.testCases.failed, "test case") << ", " in printTotals()
54 pluralise(totals.assertions.failed, "assertion") << '.'; in printTotals()
55 } else if (totals.assertions.total() == 0) { in printTotals()
57 "Passed " << bothOrAll(totals.testCases.total()) in printTotals()
[all …]
Dcatch_reporter_console.cpp119 if (stats.totals.assertions.total() > 0) { in print()
487 printTotals(_testGroupStats.totals); in testGroupEnded()
493 printTotalsDivider(_testRunStats.totals); in testRunEnded()
494 printTotals(_testRunStats.totals); in testRunEnded()
610 void ConsoleReporter::printTotals( Totals const& totals ) { in printTotals() argument
611 if (totals.testCases.total() == 0) { in printTotals()
613 } else if (totals.assertions.total() > 0 && totals.testCases.allPassed()) { in printTotals()
616 << pluralise(totals.assertions.passed, "assertion") << " in " in printTotals()
617 << pluralise(totals.testCases.passed, "test case") << ')' in printTotals()
623 .addRow(totals.testCases.total()) in printTotals()
[all …]
Dcatch_reporter_xml.cpp190 e.writeAttribute( "success", testCaseStats.totals.assertions.allOk() ); in testCaseEnded()
207 .writeAttribute( "successes", testGroupStats.totals.assertions.passed ) in testGroupEnded()
208 .writeAttribute( "failures", testGroupStats.totals.assertions.failed ) in testGroupEnded()
209 .writeAttribute( "expectedFailures", testGroupStats.totals.assertions.failedButOk ); in testGroupEnded()
216 .writeAttribute( "successes", testRunStats.totals.assertions.passed ) in testRunEnded()
217 .writeAttribute( "failures", testRunStats.totals.assertions.failed ) in testRunEnded()
218 .writeAttribute( "expectedFailures", testRunStats.totals.assertions.failedButOk ); in testRunEnded()
Dcatch_reporter_automake.hpp37 if (_testCaseStats.totals.assertions.allPassed()) { in testCaseEnded()
39 } else if (_testCaseStats.totals.assertions.allOk()) { in testCaseEnded()
Dcatch_reporter_tap.hpp54 printTotals( _testRunStats.totals ); in testRunEnded()
236 void printTotals( const Totals& totals ) const { in printTotals()
237 if( totals.testCases.total() == 0 ) { in printTotals()
Dcatch_reporter_console.h72 void printTotals(Totals const& totals);
75 void printTotalsDivider(Totals const& totals);
/external/pdfium/testing/tools/
Dsafetynet_conclusions.py276 totals = conclusions_dict['summary']
278 print 'Test cases run: %d' % totals['total']
281 color = FORMAT_MAGENTA if totals[RATING_FAILURE] else FORMAT_GREEN
282 print('Failed to measure: %s' % color.format(totals[RATING_FAILURE]))
285 color = FORMAT_RED if totals[RATING_REGRESSION] else FORMAT_GREEN
286 print('Regressions: %s' % color.format(totals[RATING_REGRESSION]))
289 color = FORMAT_CYAN if totals[RATING_IMPROVEMENT] else FORMAT_GREEN
290 print('Improvements: %s' % color.format(totals[RATING_IMPROVEMENT]))
/external/igt-gpu-tools/tools/
Dintel_perf_counters.c299 uint32_t *totals; variable
357 totals[i] += stats_result[i] - last_counter[i]; in gen5_get_counters()
396 totals[i] += stats_result[buffer_index[i]] - last_counter[i]; in gen6_get_counters()
430 totals[i] += stats_result[i] - last_counter[i]; in gen7_get_counters()
494 totals = calloc(counter_count, sizeof(uint32_t)); in main()
508 totals[i]); in main()
509 totals[i] = 0; in main()
529 free(totals); in main()
/external/toybox/toys/posix/
Dls.c264 unsigned width, totals[8], len[8], totpad = 0, in listfiles() local
274 memset(totals, 0, sizeof(totals)); in listfiles()
322 if (len[width]>totals[width]) totals[width] = len[width]; in listfiles()
325 totpad = totals[1]+!!totals[1]+totals[6]+!!totals[6]+totals[7]+!!totals[7]; in listfiles()
401 if (FLAG(i)) zprint(zap, "lu ", totals[1], st->st_ino); in listfiles()
405 zprint(zap, "s ", totals[6], (unsigned long)tmp); in listfiles()
412 zprint(zap, "ld", totals[2]+1, st->st_nlink); in listfiles()
417 ii = -totals[3]; in listfiles()
426 ii = -totals[4]; in listfiles()
432 if (FLAG(Z)) printf(" %-*s "+!FLAG(l), -(int)totals[7], (char *)dt->extra); in listfiles()
[all …]
Dwc.c31 unsigned long totals[4]; in GLOBALS()
53 TT.totals[i] += lengths[i];
118 if (toys.optc>1) show_lengths(TT.totals, "total"); in wc_main()
/external/catch2/include/internal/
Dcatch_session.cpp85 Totals totals; in execute() local
89 totals += m_context.runTest(*testCase); in execute()
97 totals.error = -1; in execute()
106 m_context.testGroupEnded(m_config->name(), totals, 1, 1); in execute()
107 return totals; in execute()
295 auto const totals = tests.execute(); in runInternal()
297 if( m_config->warnAboutNoTests() && totals.error == -1 ) in runInternal()
303 …return (std::min) (MaxExitCode, (std::max) (totals.error, static_cast<int>(totals.assertions.faile… in runInternal()
Dcatch_interfaces_reporter.cpp38 totals( _totals ) in AssertionStats()
74 totals( _totals ), in TestCaseStats()
87 totals( _totals ), in TestGroupStats()
102 totals( _totals ), in TestRunStats()
Dcatch_interfaces_reporter.h95 Totals totals; member
129 Totals totals; member
148 Totals totals; member
164 Totals totals; member
/external/perfetto/src/profiling/memory/
Dbookkeeping.h117 CallstackTotalAllocations totals; member
159 alloc.value.totals.allocation_count == allocated)) { in GetCallstackAllocations()
175 it, !dump_at_max_mode_ ? alloc.value.totals.allocation_count : 0); in GetCallstackAllocations()
314 alloc.callstack_allocations()->value.totals.allocated += in AddToCallstackAllocations()
316 alloc.callstack_allocations()->value.totals.allocation_count++; in AddToCallstackAllocations()
326 alloc.callstack_allocations()->value.totals.freed += alloc.sample_size; in SubtractFromCallstackAllocations()
327 alloc.callstack_allocations()->value.totals.free_count++; in SubtractFromCallstackAllocations()
Dbookkeeping_dump.cc63 sample->set_self_allocated(alloc.value.totals.allocated); in WriteAllocation()
64 sample->set_self_freed(alloc.value.totals.freed); in WriteAllocation()
66 sample->set_alloc_count(alloc.value.totals.allocation_count); in WriteAllocation()
67 sample->set_free_count(alloc.value.totals.free_count); in WriteAllocation()
/external/deqp/executor/tools/
DxeBatchResultToXml.cpp144 ResultToSingleXmlLogHandler (xe::xml::Writer& writer, BatchResultTotals& totals) in ResultToSingleXmlLogHandler() argument
146 , m_totals (totals) in ResultToSingleXmlLogHandler()
183 static void writeTotals (xe::xml::Writer& writer, const BatchResultTotals& totals) in writeTotals() argument
193 …ribute(xe::getTestStatusCodeName((xe::TestStatusCode)code), de::toString(totals.countByCode[code])… in writeTotals()
194 totalCases += totals.countByCode[code]; in writeTotals()
205 BatchResultTotals totals; in batchResultToSingleXmlFile() local
206 ResultToSingleXmlLogHandler handler (writer, totals); in batchResultToSingleXmlFile()
221 writeTotals(writer, totals); in batchResultToSingleXmlFile()
/external/bcc/tools/
Dklockstat.py397 def sort_list(maxs, totals, counts): argument
405 return totals
412 def display(sort, maxs, totals, counts): argument
430 avg = totals[k].value / counts[k].value
432 …print("%40s %10lu %6lu %10lu %10lu" % (caller, avg, counts[k].value, maxs[k].value, totals[k].valu…
/external/perfetto/tools/
Dprofiling_sample_distribution.cc118 std::map<std::string, uint64_t> totals; in ProfilingSampleDistributionMain() local
124 totals[pair.first] += sample_size; in ProfilingSampleDistributionMain()
127 for (const auto& pair : totals) in ProfilingSampleDistributionMain()
/external/catch2/single_include/catch2/
Dcatch_reporter_automake.hpp37 if (_testCaseStats.totals.assertions.allPassed()) { in testCaseEnded()
39 } else if (_testCaseStats.totals.assertions.allOk()) { in testCaseEnded()
Dcatch_reporter_tap.hpp54 printTotals( _testRunStats.totals ); in testRunEnded()
236 void printTotals( const Totals& totals ) const { in printTotals()
237 if( totals.testCases.total() == 0 ) { in printTotals()
/external/igt-gpu-tools/runner/
Dresultgen.c34 struct json_object *totals; member
917 static struct json_object *get_totals_object(struct json_object *totals, in get_totals_object() argument
922 if (json_object_object_get_ex(totals, key, &obj)) in get_totals_object()
926 json_object_object_add(totals, key, obj); in get_totals_object()
942 static void add_result_to_totals(struct json_object *totals, in add_result_to_totals() argument
948 if (!json_object_object_get_ex(totals, result, &numobj)) { in add_result_to_totals()
954 json_object_object_add(totals, result, json_object_new_int(old + 1)); in add_result_to_totals()
967 emptystrtotal = get_totals_object(results->totals, ""); in add_to_totals()
968 roottotal = get_totals_object(results->totals, "root"); in add_to_totals()
969 binarytotal = get_totals_object(results->totals, piglit_name); in add_to_totals()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DVoteResolver.java384 private final Counter<T> totals = new Counter<>(true); field in VoteResolver.OrganizationToValueAndVote
494 totals.clear(); in getTotals()
565 totals.add(considerItem, considerCount, considerTime); in getTotals()
568 …System.out.println("Totals: " + totals.toString() + " : " + new Timestamp(considerTime).toString()… in getTotals()
574 System.out.println("FINALTotals: " + totals.toString()); in getTotals()
576 return totals; in getTotals()
660 private Counter<T> totals = null; field in VoteResolver
916 totals = organizationToValueAndVote.getTotals(conflictedOrganizations); in resolveVotes()
918 final Set<T> sortedValues = totals.getKeysetSortedByCount(false, votesThenUcaCollator); in resolveVotes()
1012 map.put(value, totals.getCount(value)); in makeVoteCountMap()
[all …]
/external/bcc/tests/cc/
Dcatch.hpp5106 totals( _totals ) in AssertionStats()
5129 Totals totals; member
5163 totals( _totals ), in TestCaseStats()
5178 Totals totals; member
5189 totals( _totals ), in TestGroupStats()
5206 Totals totals; member
5215 totals( _totals ), in TestRunStats()
5223 totals( _other.totals ), in TestRunStats()
5234 Totals totals; member
5884 …void testGroupEnded( std::string const& testSpec, Totals const& totals, std::size_t groupIndex, st… in testGroupEnded() argument
[all …]
/external/python/google-api-python-client/samples/analytics/
Dcore_reporting_v3_reference.py238 totals = results.get('totalsForAllResults')
240 for metric_name, metric_total in totals.iteritems():
/external/oss-fuzz/infra/base-images/base-runner/
Djacoco_report_converter.py37 totals = make_element_summary(report)
38 summary["data"][0]["totals"] = totals

123