Searched refs:rand_seed (Results 1 – 4 of 4) sorted by relevance
52 unsigned int rand_seed; in SetUp() local54 sample_[i] = rand_r(&rand_seed) % 256; in SetUp()157 uint32_t rand_seed; in TEST_F() local160 size_t start = rand_r(&rand_seed) % blob.size(); in TEST_F()161 size_t size = rand_r(&rand_seed) % (blob.size() - start); in TEST_F()
114 uint32_t rand_seed; in TEST_F() local117 size_t start = rand_r(&rand_seed) % blob_in.size(); in TEST_F()118 size_t size = rand_r(&rand_seed) % (blob_in.size() - start); in TEST_F()
400 uint32_t rand_seed = GKI_get_tick_count(); in nfa_ce_t3t_generate_rand_nfcid() local407 nfcid2[2] = (uint8_t)(rand_seed & 0xFF); in nfa_ce_t3t_generate_rand_nfcid()408 nfcid2[3] = (uint8_t)(rand_seed >> 8 & 0xFF); in nfa_ce_t3t_generate_rand_nfcid()409 rand_seed >>= (rand_seed & 3); in nfa_ce_t3t_generate_rand_nfcid()410 nfcid2[4] = (uint8_t)(rand_seed & 0xFF); in nfa_ce_t3t_generate_rand_nfcid()411 nfcid2[5] = (uint8_t)(rand_seed >> 8 & 0xFF); in nfa_ce_t3t_generate_rand_nfcid()412 rand_seed >>= (rand_seed & 3); in nfa_ce_t3t_generate_rand_nfcid()413 nfcid2[6] = (uint8_t)(rand_seed & 0xFF); in nfa_ce_t3t_generate_rand_nfcid()414 nfcid2[7] = (uint8_t)(rand_seed >> 8 & 0xFF); in nfa_ce_t3t_generate_rand_nfcid()
36 constexpr int rand_seed = 0; variable37 std::default_random_engine rnd(rand_seed);