Home
last modified time | relevance | path

Searched refs:prng_state (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/net/cellular_modem/server/
Dte_udp_receive.py35 prng_state = 1234
37 prng_state = ((1103515245 * prng_state) + 12345) % (1 << 31)
38 if prng_state & 0xFF != b:
/Zephyr-latest/tests/subsys/modem/modem_ppp/src/
Dmain.c147 static uint32_t prng_state = 1234; in test_modem_ppp_prng_random() local
150 prng_state = 1234; in test_modem_ppp_prng_random()
153 prng_state = (1103515245 * prng_state + 12345) % (1 << 31); in test_modem_ppp_prng_random()
154 return (uint8_t)(prng_state & 0xFF); in test_modem_ppp_prng_random()
/Zephyr-latest/samples/net/cellular_modem/src/
Dmain.c36 static uint32_t prng_state = 1234; in sample_prng_random() local
38 prng_state = ((1103515245 * prng_state) + 12345) % (1U << 31); in sample_prng_random()
39 return (uint8_t)(prng_state & 0xFF); in sample_prng_random()