/test/vts/utils/python/coverage/ |
D | gcno_parser_test.py | 74 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 …]
|
D | gcda_parser_test.py | 67 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):
|
D | arc_summary_test.py | 54 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):
|
D | gcno_parser.py | 163 for _ in range(length): 187 for _ in range(n_arcs): 214 for i in range(length - src_length - self.HEADER_LENGTH):
|
D | function_summary_test.py | 41 for i in range(self.n)] 43 for i in range(1, self.n):
|
D | gcda_parser.py | 122 for i in range(length - 1):
|
/test/vts/utils/python/io/ |
D | file_util_test.py | 40 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/ |
D | target_file_utils.py | 51 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)
|
D | proc_utils.py | 133 for i in range(RETRIES):
|
/test/vts/utils/python/cpu/ |
D | cpu_frequency_scaling.py | 135 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/ |
D | target_file_utils.py | 179 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/ |
D | ProcUidCpuPowerTests.py | 28 … 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/ |
D | elf_parser.py | 141 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/ |
D | tensor_utils.py | 309 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/ |
D | vts_kernel_checkpoint_test.py | 82 for i in range(1, 30): 89 for i in range(1, 30): 97 for i in range(1, 900):
|
D | VtsKernelCheckpointTest.py | 78 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/ |
D | GenePool.py | 36 for index in range(count): 100 for _ in range(self._alpha):
|
/test/vts-testcase/kernel/bow/ |
D | BowTest.cpp | 260 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/ |
D | job_heartbeat_test.py | 58 for _ in range(num_of_devices): 59 for i in range(shards):
|
/test/vts-testcase/performance/hwbinder_latency_test/ |
D | HwBinderLatencyTest.py | 142 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/ |
D | SingleManifestTest.cpp | 84 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/ |
D | generate_result.py | 114 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/ |
D | vts_treble_sys_prop_test.py | 63 for i in range(start, end): 88 for i in range(PERMISSION_GROUPS)
|
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/ |
D | KernelApiSysfsTest.java | 101 for (String range : cpuRanges) { in testPerCpuCpufreq() 102 Matcher m = p.matcher(range); in testPerCpuCpufreq()
|
/test/vts-testcase/performance/audio_loopback_test/ |
D | AudioLoopbackTest.py | 97 for i in range(0, self.ITERATION):
|