Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 54) sorted by relevance

123

/test/vts/utils/python/coverage/
Dfunction_summary_test.py37 self.count = 5
57 self.arcs[0].count = self.count
62 self.assertEqual(self.count, arc.count)
63 self.assertEqual(self.count, arc.src_block.count)
64 self.assertEqual(self.count, arc.dst_block.count)
73 self.arcs[-1].count = self.count
78 self.assertEqual(self.count, arc.count)
79 self.assertEqual(self.count, arc.src_block.count)
80 self.assertEqual(self.count, arc.dst_block.count)
Darc_summary.py53 self.count = 0
75 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
78 self.count = in_flow - out_flow
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
86 self.count = out_flow - in_flow
Darc_summary_test.py58 arc.count = 1
67 arc.count = 1
78 self.assertEqual(arc.count, 1)
95 arc.count = 1
104 arc.count = 1
115 self.assertEqual(arc.count, 1)
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)
Dgcda_parser.py163 count = self.ReadInt64()
164 arc.count = count
Dgcda_parser_test.py79 self.assertEqual(i, arc.count)
117 self.assertEqual(i, arc.count)
133 self.assertEqual(summary.functions[3].blocks[index].count,
139 self.assertEqual(summary.functions[4].blocks[index].count,
/test/vts/utils/python/common/
Dtimeout_utils_test.py31 self.count = 0
37 self.count += 1;
40 self.assertEqual(self.count, 1)
47 self.count += 1;
50 self.assertEqual(self.count, 0)
57 self.count += 1;
64 self.assertEqual(self.count, 0)
70 self.count += 1;
74 self.assertEqual(self.count, 1)
/test/vti/test_serving/gae/frontend/src/app/menu/device/
Ddevice.component.ts89 if (this.count >= 0) {
98 } else if (this.count <= total) {
102 if (this.count !== total) {
103 if (length !== this.count) {
105 } else if (this.count > total) {
108 this.pageIndex = Math.floor(this.count / this.pageSize);
/test/vti/test_serving/gae/frontend/src/app/menu/build/
Dbuild.component.ts78 if (this.count >= 0) {
87 } else if (this.count <= total) {
91 if (this.count !== total) {
92 if (length !== this.count) {
94 } else if (this.count > total) {
97 this.pageIndex = Math.floor(this.count / this.pageSize);
/test/vti/dashboard/src/main/java/com/android/vts/util/
DBoxPlot.java48 private int count; field in BoxPlot
55 this.count = 0; in BoxPlot()
108 return this.count; in size()
135 count += stats.getCount(); in addSeriesData()
162 Integer count = null; in toJson() local
170 count = stat.getCount(); in toJson()
174 statSummary.addProperty(COUNT_KEY, count); in toJson()
/test/vti/test_serving/gae/frontend/src/app/menu/schedule/
Dschedule.component.ts92 if (this.count >= 0) {
101 } else if (this.count <= total) {
105 if (this.count !== total) {
106 if (length !== this.count) {
108 } else if (this.count > total) {
111 this.pageIndex = Math.floor(this.count / this.pageSize);
/test/vti/test_serving/gae/frontend/src/app/menu/job/
Djob.component.ts121 if (this.count >= 0) {
130 } else if (this.count <= total) {
134 if (this.count !== total) {
135 if (length !== this.count) {
137 } else if (this.count > total) {
140 this.pageIndex = Math.floor(this.count / this.pageSize);
/test/mlts/benchmark/src/com/android/nn/benchmark/evaluators/
DMelCepLogF0.java94 int count = 0; in calculateLogF0Error() local
104 ++count; in calculateLogF0Error()
109 if (count > 0) { in calculateLogF0Error()
110 logF0Error = (float)Math.sqrt(squared_error / count); in calculateLogF0Error()
/test/vti/dashboard/src/main/webapp/js/
Dcommon.js95 var count = column.data.length;
101 .text(count)
114 if (count > maxLines) {
115 maxLines = count;
/test/vti/test_serving/gae/webapp/src/endpoint/
Dbuild_info.py89 def count(self, request): member in BuildInfoApi
93 count = self.Count(metaclass=model.BuildModel, filters=filters)
95 return model.CountResponseMessage(count=count)
Dhost_info.py127 def count(self, request): member in HostInfoApi
132 count = self.Count(metaclass=model.DeviceModel, filters=filters)
134 return model.CountResponseMessage(count=count)
Dlab_info.py175 def count(self, request): member in LabInfoApi
180 count = self.Count(metaclass=model.LabModel, filters=filters)
182 return model.CountResponseMessage(count=count)
Djob_queue.py200 def count(self, request): member in JobQueueApi
204 count = self.Count(metaclass=model.JobModel, filters=filters)
206 return model.CountResponseMessage(count=count)
Dschedule_info.py131 def count(self, request): member in ScheduleInfoApi
136 count = self.Count(metaclass=model.ScheduleModel, filters=filters)
138 return model.CountResponseMessage(count=count)
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNControls.java116 int count = 0; in btnRun() local
120 count++; in btnRun()
123 if (count == 0) { in btnRun()
127 int testList[] = new int[count]; in btnRun()
128 count = 0; in btnRun()
131 testList[count++] = i; in btnRun()
/test/vti/test_serving/gae/frontend/src/app/menu/
Dmenu_base.ts26 count = -1; property in MenuBaseClass
45 this.count = response.count;
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_coverage.jsp131 var count = coverageVectors[j];
133 if (typeof count == 'undefined' || count < 0) {
134 count = "--";
135 } else if (count == 0) {
142 row.append('<td class="count">' + String(count) + '</td>');
177 … <div class="right total-count">${coverageEntity.coveredCount}/${coverageEntity.totalCount}</div>
/test/app_compat/csuite/tools/script/
Dgenerate_module_test.py88 count = 0
92 count += 1
94 count -= 1
96 if count < 0:
99 self.assertEqual(count, 0,
/test/vts-testcase/kernel/encryption/
Dmetadata_encryption_tests.cpp99 static bool ReadBlockDevice(const std::string &blk_device, size_t count, in ReadBlockDevice() argument
101 GTEST_LOG_(INFO) << "Reading " << count << " bytes from " << blk_device; in ReadBlockDevice()
103 aligned_alloc(kDirectIOAlignment, count), free); in ReadBlockDevice()
116 if (!android::base::ReadFully(fd, buffer, count)) { in ReadBlockDevice()
121 *data = std::vector<uint8_t>(buffer, buffer + count); in ReadBlockDevice()
Dutils.cpp387 for (size_t count = 0; count < (output_key_size / kAesBlockSize); count++) { in AesCmacKdfHelper() local
389 GetFixedInputString(count + 1, label, context, (output_key_size * 8), in AesCmacKdfHelper()
391 if (!AES_CMAC(output_data->data() + (kAesBlockSize * count), key.data(), in AesCmacKdfHelper()

123