Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 12 of 12) sorted by relevance

/developtools/profiler/proto_encoder/test/unittest/
Dvarint_encode_unittest.cpp166 int rand = std::rand(); variable
167 signed8 = static_cast<int8_t>(rand);
186 std::srand(rand);
187 rand = std::rand();
188 signed32 = static_cast<int32_t>(rand);
207 std::srand(rand);
208 rand = std::rand();
209 signed64 = static_cast<int64_t>(rand);
/developtools/integration_verification/tools/fotff/rec/
Dfotff_test.go42 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/integration_verification/tools/fotff/tester/smoke/
Dsmoke.go44 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/profiler/device/plugins/sample_plugin/src/
Dsample_plugin.cpp60 int intData = rand() % MAX_INT; in Report()
61 double doubleData = rand() % MAX_DOUBLE; in Report()
/developtools/integration_verification/tools/fotff/tester/xdevice/
Dxdevice.go54 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/profiler/host/smartperf/ide/server/
Dmain.go87 serialNumber, _ := rand.Int(rand.Reader, max)
103 pk, _ := rsa.GenerateKey(rand.Reader, 1024)
104 …derBytes, _ := x509.CreateCertificate(rand.Reader, &certificate509, &certificate509, &pk.PublicKey…
/developtools/smartperf_host/ide/server/
Dmain.go87 serialNumber, _ := rand.Int(rand.Reader, max)
103 pk, _ := rsa.GenerateKey(rand.Reader, 1024)
104 …derBytes, _ := x509.CreateCertificate(rand.Reader, &certificate509, &certificate509, &pk.PublicKey…
/developtools/integration_verification/tools/fotff/tester/manual/
Dmanual.go35 rand.Seed(time.Now().UnixNano())
/developtools/integration_verification/tools/fotff/tester/pkg_available/
Dpkg_available.go34 rand.Seed(time.Now().UnixNano())
/developtools/profiler/device/plugins/native_hook/test/
Dmalloc_test.cpp339 int value = (rand() % (max - min)) + min; in RandInt()
Dhook_test.c324 int value = (rand() % (maxVal - minVal)) + minVal; in RandInt()
/developtools/hdc/src/common/
Dbase.cpp524 val << std::hex << (rand() % BUF_SIZE_MICRO); in GetRandomString()