Home
last modified time | relevance | path

Searched refs:rand (Results 1 - 10 of 10) sorted by relevance

/developtools/profiler/proto_encoder/test/unittest/
H A Dvarint_encode_unittest.cpp166 int rand = std::rand(); in HWTEST_F() local
167 signed8 = static_cast<int8_t>(rand); in HWTEST_F()
186 std::srand(rand); in HWTEST_F()
187 rand = std::rand(); in HWTEST_F()
188 signed32 = static_cast<int32_t>(rand); in HWTEST_F()
207 std::srand(rand); in HWTEST_F()
208 rand = std::rand(); in HWTEST_F()
[all...]
/developtools/integration_verification/tools/fotff/tester/xdevice/
H A Dxdevice.go27 "math/rand"
54 rand.Seed(time.Now().UnixNano())
83 reportDir := fmt.Sprintf("%X", md5.Sum([]byte(fmt.Sprintf("%d", rand.Int()))))
99 reportDir := fmt.Sprintf("%X", md5.Sum([]byte(fmt.Sprintf("%d", rand.Int()))))
123 reportDir := fmt.Sprintf("%X", md5.Sum([]byte(fmt.Sprintf("%d", rand.Int()))))
/developtools/integration_verification/tools/fotff/tester/smoke/
H A Dsmoke.go27 "math/rand"
44 rand.Seed(time.Now().UnixNano())
62 reportDir := fmt.Sprintf("%X", md5.Sum([]byte(fmt.Sprintf("%d", rand.Int()))))
81 reportDir := fmt.Sprintf("%X", md5.Sum([]byte(fmt.Sprintf("%d", rand.Int()))))
108 reportDir := fmt.Sprintf("%X", md5.Sum([]byte(fmt.Sprintf("%d", rand.Int()))))
/developtools/integration_verification/tools/fotff/rec/
H A Dfotff_test.go25 "math/rand"
42 rand.Seed(time.Now().UnixNano())
52 randomPrefix := fmt.Sprintf("%x", md5.Sum([]byte(fmt.Sprintf("%d", rand.Int()))))[:4]
73 time.Sleep(time.Duration(rand.Intn(1)) * time.Millisecond)
83 time.Sleep(time.Duration(rand.Intn(1)) * time.Millisecond)
114 time.Sleep(time.Duration(rand.Intn(1)) * time.Millisecond)
/developtools/smartperf_host/ide/server/
H A Dmain.go21 "crypto/rand"
98 serialNumber, _ := rand.Int(rand.Reader, max)
114 pk, _ := rsa.GenerateKey(rand.Reader, 1024)
115 derBytes, _ := x509.CreateCertificate(rand.Reader, &certificate509, &certificate509, &pk.PublicKey, pk)
126 privateKey, err := rsa.GenerateKey(rand.Reader, 3072)
/developtools/integration_verification/tools/fotff/tester/manual/
H A Dmanual.go24 "math/rand"
35 rand.Seed(time.Now().UnixNano())
/developtools/integration_verification/tools/fotff/tester/pkg_available/
H A Dpkg_available.go22 "math/rand"
34 rand.Seed(time.Now().UnixNano())
/developtools/profiler/device/plugins/native_hook/test/
H A Dhook_test.c324 int value = (rand() % (maxVal - minVal)) + minVal; in RandInt()
H A Dmalloc_test.cpp339 int value = (rand() % (max - min)) + min; in RandInt()
/developtools/hdc/src/common/
H A Dbase.cpp1028 val << std::hex << (rand() % BUF_SIZE_MICRO); in GetRandomString()

Completed in 9 milliseconds