Home
last modified time | relevance | path

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

123

/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):
/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)
/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-testcase/kernel/api/proc/
DProcUidCpuPowerTests.py31 return [struct.unpack_from('I', contents, i)[0] for i in range(0, len(contents), size)]
55 return [struct.unpack_from('I', contents, i)[0] for i in range(0, len(contents), size)]
79 return [struct.unpack_from('I', contents, 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/vts/testcases/host/shell/
DSampleShellTest.py51 for index in range(self.REPEAT_COUNT):
59 for _ in range(self.REPEAT_COUNT):
104 for index in range(self.REPEAT_COUNT):
/test/vts/utils/python/fuzzer/
DGenePool.py36 for index in range(count):
100 for _ in range(self._alpha):
/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/testcases/host/fmq_hidl_test/
DVtsHalTestsMsgqV1_0HostTest.py56 for i in range(self.MAX_RETRY):
294 for i in range(chunk_num):
317 for i in range(chunk_num): # Client keeps writing.
509 for i in range(chunk_num):
532 for i in range(chunk_num): # Client keeps writing.
643 return [i for i in range(data_size)]
/test/vts/testcases/vts_selftest/manual_tests/shell_performance/
DVtsSelfTestShellPerformance.py45 for i in range(n):
55 for i in range(n):
/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/vts/testcases/codelab/host_multi_hal/
DVtsCodelabHostMultiHalTest.py81 for i in range(20):
88 for i in range(10):
/test/vts/testcases/codelab/fmq_test/
DVtsCodelabFmqTest.py233 for i in range(64):
351 for i in range(len(write_data)):
366 return [random.randint(0, 100) for i in range(data_size)]
378 return [random.random() * 100 for i in range(data_size)]
/test/framework/harnesses/host_controller/command_processor/
Dcommand_dut.py114 for _ in range(args.volume_levels):
118 for _ in range(args.volume_levels):
/test/vts/testcases/codelab/hidl_memory_test/
DVtsCodelabHidlMemoryTest.py76 for _ in range(self.MAX_RETRY):
133 for i in range(5):
135 write_data = [random.randint(0, 100) for j in range(10)]
/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):

123