Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 15 of 15) sorted by relevance

/test/vts-testcase/kernel/encryption/
Dadiantum.cpp68 int sum = a[i] + b[i] + carry; in le128_add() local
70 res[i] = sum; in le128_add()
71 carry = sum >> 8; in le128_add()
79 int sum = a[i] - b[i] - carry; in le128_sub() local
81 res[i] = sum; in le128_sub()
82 carry = (sum < 0); in le128_sub()
215 uint64_t sum = 0; in NH_Pass() local
219 sum += NH_Add(msg + 0, key[0]) * NH_Add(msg + 8, key[2]); in NH_Pass()
220 sum += NH_Add(msg + 4, key[1]) * NH_Add(msg + 12, key[3]); in NH_Pass()
225 return sum; in NH_Pass()
/test/vts/utils/python/coverage/
Darc_summary.py75 in_flow = sum(a.count for a in self.src_block.entry_arcs)
76 out_flow = sum(a.count for a in self.src_block.exit_arcs
83 out_flow = sum(a.count for a in self.dst_block.exit_arcs)
84 in_flow = sum(a.count for a in self.dst_block.entry_arcs
Dfunction_summary.py86 block.count = sum(arc.count for arc in block.entry_arcs)
88 block.count = sum(arc.count for arc in block.exit_arcs)
Dsancov_utils.py264 covered_count = sum(
267 total_count = sum(
/test/vti/dashboard/src/test/java/com/android/vts/util/
DStatSummaryTest.java82 double sum = 0.0; in testStd() local
85 sum += values[i]; in testStd()
88 double mean = sum / n; in testStd()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DStat.java109 double sum = data[0]; in getAverage() local
111 sum += data[i]; in getAverage()
113 return sum / data.length; in getAverage()
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DProcUidCpuPowerTests.py90 line_len = sum(result[1:policy_cnt+1]) + 1
DProcUidConcurrentTimeTests.py86 p[0] = sum(int(x) for x in p[1])
/test/vts-testcase/kernel/api/proc/
DProcUidCpuPowerTests.py91 line_len = sum(result[1:policy_cnt+1]) + 1
DProcUidConcurrentTimeTests.py84 p[0] = sum(int(x) for x in p[1])
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestRunEntity.java460 apiCoverageStreamSupplier.get().mapToInt(data -> data.getHalApi().size()).sum(); in toJson()
466 .sum(); in toJson()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java238 float sum = 0; in runTest() local
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowCoverageOverviewServlet.java403 entityList.stream().mapToLong(val -> val.getCoveredLineCount()).sum(); in getCoverageDataTable()
405 entityList.stream().mapToLong(val -> val.getTotalLineCount()).sum(); in getCoverageDataTable()
/test/mlts/benchmark/tools/
Dtensor_utils.py138 if np.isnan(np.sum(tensor)):
/test/vti/test_serving/gae/webapp/src/scheduler/
Dschedule_worker.py508 sum([len(y.device_equipment) for y in x[0][:schedule.shards]])))