Searched refs:rand (Results 1 – 12 of 12) sorted by relevance
| /developtools/profiler/proto_encoder/test/unittest/ |
| D | varint_encode_unittest.cpp | 166 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/ |
| D | fotff_test.go | 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/integration_verification/tools/fotff/tester/smoke/ |
| D | smoke.go | 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/profiler/device/plugins/sample_plugin/src/ |
| D | sample_plugin.cpp | 60 int intData = rand() % MAX_INT; in Report() 61 double doubleData = rand() % MAX_DOUBLE; in Report()
|
| /developtools/integration_verification/tools/fotff/tester/xdevice/ |
| D | xdevice.go | 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/profiler/host/smartperf/ide/server/ |
| D | main.go | 87 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/ |
| D | main.go | 87 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/ |
| D | manual.go | 35 rand.Seed(time.Now().UnixNano())
|
| /developtools/integration_verification/tools/fotff/tester/pkg_available/ |
| D | pkg_available.go | 34 rand.Seed(time.Now().UnixNano())
|
| /developtools/profiler/device/plugins/native_hook/test/ |
| D | malloc_test.cpp | 339 int value = (rand() % (max - min)) + min; in RandInt()
|
| D | hook_test.c | 324 int value = (rand() % (maxVal - minVal)) + minVal; in RandInt()
|
| /developtools/hdc/src/common/ |
| D | base.cpp | 524 val << std::hex << (rand() % BUF_SIZE_MICRO); in GetRandomString()
|