/external/catch2/include/reporters/ |
D | catch_reporter_compact.cpp | 42 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 …]
|
D | catch_reporter_console.cpp | 119 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 …]
|
D | catch_reporter_xml.cpp | 190 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()
|
D | catch_reporter_automake.hpp | 37 if (_testCaseStats.totals.assertions.allPassed()) { in testCaseEnded() 39 } else if (_testCaseStats.totals.assertions.allOk()) { in testCaseEnded()
|
D | catch_reporter_tap.hpp | 54 printTotals( _testRunStats.totals ); in testRunEnded() 236 void printTotals( const Totals& totals ) const { in printTotals() 237 if( totals.testCases.total() == 0 ) { in printTotals()
|
D | catch_reporter_console.h | 72 void printTotals(Totals const& totals); 75 void printTotalsDivider(Totals const& totals);
|
/external/pdfium/testing/tools/ |
D | safetynet_conclusions.py | 276 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/ |
D | intel_perf_counters.c | 299 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/ |
D | ls.c | 264 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 …]
|
D | wc.c | 31 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/ |
D | catch_session.cpp | 85 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()
|
D | catch_interfaces_reporter.cpp | 38 totals( _totals ) in AssertionStats() 74 totals( _totals ), in TestCaseStats() 87 totals( _totals ), in TestGroupStats() 102 totals( _totals ), in TestRunStats()
|
D | catch_interfaces_reporter.h | 95 Totals totals; member 129 Totals totals; member 148 Totals totals; member 164 Totals totals; member
|
/external/perfetto/src/profiling/memory/ |
D | bookkeeping.h | 117 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()
|
D | bookkeeping_dump.cc | 63 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/ |
D | xeBatchResultToXml.cpp | 144 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/ |
D | klockstat.py | 397 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/ |
D | profiling_sample_distribution.cc | 118 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/ |
D | catch_reporter_automake.hpp | 37 if (_testCaseStats.totals.assertions.allPassed()) { in testCaseEnded() 39 } else if (_testCaseStats.totals.assertions.allOk()) { in testCaseEnded()
|
D | catch_reporter_tap.hpp | 54 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/ |
D | resultgen.c | 34 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/ |
D | VoteResolver.java | 384 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/ |
D | catch.hpp | 5106 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/ |
D | core_reporting_v3_reference.py | 238 totals = results.get('totalsForAllResults') 240 for metric_name, metric_total in totals.iteritems():
|
/external/oss-fuzz/infra/base-images/base-runner/ |
D | jacoco_report_converter.py | 37 totals = make_element_summary(report) 38 summary["data"][0]["totals"] = totals
|