Lines Matching refs:gen
31 uint32_t gen, last_gen, tmp; in ZTEST() local
41 z_early_rand_get((uint8_t *)&gen, sizeof(gen)); in ZTEST()
42 zassert_true(last_gen != gen && last_gen != tmp && tmp != gen, in ZTEST()
60 gen = sys_rand32_get(); in ZTEST()
61 if (gen == last_gen) { in ZTEST()
64 last_gen = gen; in ZTEST()
77 gen = buf[rnd_cnt]; in ZTEST()
78 if (gen == last_gen) { in ZTEST()
81 last_gen = gen; in ZTEST()
100 gen = buf[rnd_cnt]; in ZTEST()
101 if (gen == last_gen) { in ZTEST()
104 last_gen = gen; in ZTEST()