Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 41) sorted by relevance

12

/test/vts/utils/python/coverage/
Dgcno_parser_test.py74 for i in range(n_blocks):
79 for i in range(n_blocks):
93 for i in range(n_blocks)]
97 for i in range(src_block_index + 1, n_blocks, skip):
102 n_arcs = len(range(src_block_index + 1, n_blocks, skip))
105 for i in range(src_block_index + 1, n_blocks, skip):
122 for i in range(n_blocks)]
173 for i in range(1, n_arcs + 1):
179 for i in range(n_blocks)]
183 self.assertEqual(func.blocks[2].lines, range(1, 6))
[all …]
Dgcda_parser_test.py67 blocks = [block_summary.BlockSummary(i, 0) for i in range(n)]
70 for i in range(1, n):
78 for i, arc in zip(range(1, n), blocks[0].exit_arcs):
91 blocks = [block_summary.BlockSummary(i, 0) for i in range(n)]
105 for i in range(3, n):
116 for i, arc in zip(range(3, n), blocks[0].exit_arcs[2:]):
132 for index, expected in zip(range(len(expected_list)), expected_list):
138 for index, expected in zip(range(len(expected_list)), expected_list):
Darc_summary_test.py54 for ident in range(n):
63 for ident in range(n, 2 * n - 1):
91 for ident in range(n):
100 for ident in range(n, 2 * n - 1):
Dgcno_parser.py163 for _ in range(length):
187 for _ in range(n_arcs):
214 for i in range(length - src_length - self.HEADER_LENGTH):
Dfunction_summary_test.py41 for i in range(self.n)]
43 for i in range(1, self.n):
Dgcda_parser.py122 for i in range(length - 1):
/test/vts/utils/python/io/
Dfile_util_test.py40 for _ in range(12))
63 for _ in range(12))
74 for _ in range(12))
85 for _ in range(12))
90 for _ in range(12))
/test/vts/testcases/host/kernel_proc_file_api_test/
Dtarget_file_utils.py51 for i in range(start, end):
76 for i in range(_PERMISSION_GROUPS)
94 for i in range(_PERMISSION_GROUPS)
112 for i in range(_PERMISSION_GROUPS)
Dproc_utils.py133 for i in range(RETRIES):
/test/vts/utils/python/cpu/
Dcpu_frequency_scaling.py135 for cpu_no in range(self._min_cpu_number, self._max_cpu_number):
146 for cpu_no in range(self._min_cpu_number, self._max_cpu_number):
150 for cpu_no in range(self._min_cpu_number, self._max_cpu_number):
172 for cpu_no in range(self._min_cpu_number, self._max_cpu_number):
201 for cpu_no in range(self._min_cpu_number, self._max_cpu_number):
/test/vts/utils/python/file/
Dtarget_file_utils.py179 for i in range(start, end):
204 for i in range(_PERMISSION_GROUPS)
222 for i in range(_PERMISSION_GROUPS)
240 for i in range(_PERMISSION_GROUPS)
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DProcUidCpuPowerTests.py28 … return [struct.unpack_from('I', contents.encode(), i)[0] for i in range(0, len(contents), size)]
53 … return [struct.unpack_from('I', contents.encode(), i)[0] for i in range(0, len(contents), size)]
78 … return [struct.unpack_from('I', contents.encode(), i)[0] for i in range(0, len(contents), size)]
/test/vts/utils/python/library/
Delf_parser.py141 for i in range(self.Ehdr.e_shnum)]
327 for _ in range(num):
363 return (self.GetSymbol(symtab, i) for i in range(num))
415 for ent_offset in range(rel.sh_offset, rel.sh_offset + rel.sh_size,
424 for bit_idx in range(1, rel.sh_entsize * 8):
469 return (self.GetRelocation(rel, i) for i in range(num))
530 for _ in range(group_size):
696 for ph_index in range(self.Ehdr.e_phnum):
/test/mlts/benchmark/tools/
Dtensor_utils.py309 def __sns_distplot(self, layer, bins, ax, range, relative_error): argument
311 hist_kws={"range":range, "log":True}, ax=ax, kde=False)
313 def __plt_hist(self, layer, bins, ax, range, relative_error): argument
315 range=range, log=True)
338 range=(-1, 1), relative_error=True)
340 range=(-absolute_range, absolute_range), relative_error=False)
389 for row in range(2):
391 for col in range(3):
455 for i in range(1, len(self.model_data_list)):
498 for i in range(N):
/test/vts-testcase/kernel/checkpoint/
Dvts_kernel_checkpoint_test.py82 for i in range(1, 30):
89 for i in range(1, 30):
97 for i in range(1, 900):
DVtsKernelCheckpointTest.py78 for i in range(1, 30):
85 for i in range(1, 30):
93 for i in range(1, 900):
/test/vts/utils/python/fuzzer/
DGenePool.py36 for index in range(count):
100 for _ in range(self._alpha):
/test/vts-testcase/kernel/bow/
DBowTest.cpp260 uint64_t range[2] = {offset * sector_size_, length * sector_size_}; in Discard() local
261 EXPECT_EQ(ioctl(fd_.get(), BLKDISCARD, range), 0); in Discard()
454 struct fstrim_range range = {}; in Trim() local
455 range.len = ULLONG_MAX; in Trim()
456 EXPECT_EQ(ioctl(fd, FITRIM, &range), 0); in Trim()
/test/vti/test_serving/gae/webapp/src/scheduler/
Djob_heartbeat_test.py58 for _ in range(num_of_devices):
59 for i in range(shards):
/test/vts-testcase/performance/hwbinder_latency_test/
DHwBinderLatencyTest.py142 row_names = ["P" + str(i) for i in range(pair_cnt)] + [self._ALL]
166 for i in range(max_cpu - min_cpu):
/test/vts-testcase/hal/treble/vintf/
DSingleManifestTest.cpp84 static string RangeInstancesToString(const std::pair<It, It> &range) { in RangeInstancesToString() argument
86 for (auto it = range.first; it != range.second; ++it) { in RangeInstancesToString()
87 if (it != range.first) ss << ", "; in RangeInstancesToString()
/test/mlts/benchmark/results/
Dgenerate_result.py114 return [self.read_typed(Type) for _ in range(length)]
230 for x in range(left_to_pad)], [0] * left_to_pad)
234 for x in range(right_to_pad)], [0] * right_to_pad)
241 for x in range(len(time_freq_sec))], time_freq_sec)
/test/vts-testcase/security/system_property/
Dvts_treble_sys_prop_test.py63 for i in range(start, end):
88 for i in range(PERMISSION_GROUPS)
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java101 for (String range : cpuRanges) { in testPerCpuCpufreq()
102 Matcher m = p.matcher(range); in testPerCpuCpufreq()
/test/vts-testcase/performance/audio_loopback_test/
DAudioLoopbackTest.py97 for i in range(0, self.ITERATION):

12