/external/ltp/testcases/network/nfsv4/acl/ |
D | random_gen.py | 31 group = self.gList[random.randint(0,len(self.gList)-1)][0] 153 l=random.randint(0,maxlength) 155 a = random.randint(0,a_length-1) 163 a = random.randint(0,a_length-1) 177 type = ace_type[random.randint(0,len(ace_type))] 178 flag = ace_flags[random.randint(0,len(ace_flags))] 179 mask = ace_mask[random.randint(0,len(ace_mask))] 180 who = ace_who[random.randint(0,len(ace_who))] 189 n = random.randint(0,userListSize-1) 199 if random.randint(0,1) == 1: [all …]
|
/external/toolchain-utils/bestflags/ |
D | flags_test.py | 33 start = random.randint(1, sys.maxint - 1) 34 end = random.randint(start + 1, sys.maxint) 73 start = random.randint(1, sys.maxint - 1) 74 end = random.randint(start + 1, sys.maxint) 75 value = random.randint(start, end - 1) 89 value = random.randint(1, sys.maxint - 1)
|
D | task_test.py | 84 identifier = random.randint(-sys.maxint - 1, -1) 126 result = tuple([random.randint(0, RANDOM_BUILD_RESULT) for _ in range(5)]) 137 random_test_result = random.randint(0, RANDOM_TESTRESULT) 161 result = tuple([random.randint(0, RANDOM_BUILD_RESULT) for _ in range(5)]) 168 work_task.SetResult(task.TEST_STAGE, random.randint(0, RANDOM_TESTRESULT))
|
D | genetic_algorithm.py | 35 return first_flag if random.randint(0, 1) else second_flag 54 if random.randint(0, int(1 / mutation_rate)): 130 output_flags = [father_flags[f] for f in self_flags if random.randint(0, 1)] 131 others = [mother_flags[f] for f in other_flags if random.randint(0, 1)]
|
D | testing_batch.py | 64 value = random.randint(start - 1, end - 1) 70 if random.randint(0, 1): 124 new_flag = FlagSet([Flag(spec) for spec in specs if random.randint(0, 1)])
|
/external/syslinux/com32/libutil/ |
D | quicksort.c | 18 static inline int randint(int l, int u) in randint() function 42 swap(&nums[l], &nums[randint(l, u)]); in quick_sort_range()
|
/external/autotest/client/site_tests/audio_CrasOutputStress/ |
D | audio_CrasOutputStress.py | 36 '--rate', self._rates[random.randint(0, 1)], 37 '--block_size', self._block_sizes[random.randint(0, 1)]]
|
/external/toolchain-utils/binary_search_tool/test/ |
D | gen_obj.py | 62 if bad_to_gen > 0 and random.randint(1, obj_num) <= bad_obj_num: 68 t = random.randint(0, obj_num - 1)
|
/external/python/cpython2/Demo/threads/ |
D | sync.py | 530 wh.acquire(); j = randint(0,i); wh.release() 568 global TID, tid, io, wh, randint, alive 570 randint = random.randint
|
/external/autotest/client/site_tests/audio_ActiveStreamStress/ |
D | audio_ActiveStreamStress.py | 65 random_tab = random.randint(1, 10) 71 for i in xrange(1, random.randint(1, random_tab)):
|
/external/autotest/client/site_tests/network_3GSafetyDance/ |
D | network_3GSafetyDance.py | 97 n = random.randint(0, len(self.ops) - 1) 99 time.sleep(random.randint(5, 20) / 10.0)
|
/external/autotest/client/site_tests/power_SuspendStress/ |
D | power_SuspendStress.py | 74 random.randint(0, self._max_resume_window)) 88 self._suspender.suspend(random.randint(0, 3) + self._min_suspend)
|
/external/python/cpython2/Demo/turtle/ |
D | tdemo_nim.py | 31 return random.randint(MINSTICKS, MAXSTICKS) 46 z = random.randint(0,2) 49 rand = random.randint(m > 1, state[z]-1)
|
/external/autotest/client/site_tests/network_MobileSuspendResume/ |
D | network_MobileSuspendResume.py | 7 from random import choice, randint 218 self.suspend_resume(randint(10, 40)) 223 time.sleep(randint(1, 30))
|
/external/autotest/server/site_tests/dummy_FlakyTestServer/ |
D | flaky_test.py | 12 if random.randint(0,1):
|
/external/autotest/client/tests/flaky_test/ |
D | flaky_test.py | 12 if random.randint(0,1):
|
/external/autotest/client/bin/self-test/tests/ |
D | 110-barrier-unordered-10x | 11 time.sleep(random.randint(1, 5))
|
D | 113-barrier-unordered-100x | 11 time.sleep(random.randint(1, 5))
|
D | 111-barrier-unordered-20x | 11 time.sleep(random.randint(1, 5))
|
D | 112-barrier-unordered-40x | 11 time.sleep(random.randint(1, 5))
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | device_temp_file.py | 32 random_hex = hex(random.randint(0, 2 ** 52))[2:]
|
/external/python/cpython2/Lib/email/ |
D | utils.py | 187 randint = random.getrandbits(64) 193 msgid = '<%d.%d.%d%s@%s>' % (timeval, pid, randint, idstring, idhost)
|
/external/autotest/client/site_tests/power_CheckAfterSuspend/ |
D | power_CheckAfterSuspend.py | 57 time.sleep(random.randint(0, 3))
|
/external/python/cpython2/Demo/pdist/ |
D | security.py | 26 return random.randint(100, 100000)
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_temp_file.py | 39 random_hex = hex(random.randint(0, 2 ** 52))[2:]
|