Home
last modified time | relevance | path

Searched refs:rnd (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-2.7.6/samples/boards/bbc_microbit/pong/src/
Dmain.c234 uint8_t rnd; in check_start() local
254 bt_rand(&rnd, sizeof(rnd)); in check_start()
255 rnd %= 8; in check_start()
258 ball_vel.x = 2 + rnd; in check_start()
260 ball_vel.x = -2 - rnd; in check_start()
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dprov_device.c407 PROV_BUF(rnd, PDU_LEN_RANDOM); in send_random()
409 bt_mesh_prov_buf_init(&rnd, PROV_RANDOM); in send_random()
410 net_buf_simple_add_mem(&rnd, bt_mesh_prov_link.rand, 16); in send_random()
412 if (bt_mesh_prov_send(&rnd, NULL)) { in send_random()
Dprovisioner.c580 PROV_BUF(rnd, PDU_LEN_RANDOM); in send_random()
582 bt_mesh_prov_buf_init(&rnd, PROV_RANDOM); in send_random()
583 net_buf_simple_add_mem(&rnd, bt_mesh_prov_link.rand, 16); in send_random()
585 if (bt_mesh_prov_send(&rnd, NULL)) { in send_random()
/Zephyr-Core-2.7.6/tests/benchmarks/mbedtls/src/
Dbenchmark.c248 int rnd; in myrand() local
261 rnd = sys_rand32_get(); in myrand()
262 memcpy(output, &rnd, use_len); in myrand()