/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | data_augmentation_test.py | 35 original_data = np.random.rand(10, 3).tolist() 42 np.random.rand(128, 3).tolist(), 43 np.random.rand(66, 2).tolist(), 44 np.random.rand(9, 1).tolist()
|
D | train_test.py | 50 cnn_data = np.random.rand(60, 128, 3, 1) 51 lstm_data = np.random.rand(60, 128, 3)
|
D | data_load.py | 71 tmp_data = (np.random.rand(seq_length, dim) - 0.5) * noise_level + data[0] 76 tmp_data = (np.random.rand(seq_length, dim) - 0.5) * noise_level + data[-1]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/priv_beacon/ |
D | priv_beacon_ivu_long_interval.sh | 13 -- -argstest rand-int=3 19 -- -argstest rand-int=3
|
D | priv_beacon_kr.sh | 11 -- -argstest rand-int=1 17 -- -argstest rand-int=1
|
D | priv_beacon_kr_long_interval.sh | 13 -- -argstest rand-int=3 19 -- -argstest rand-int=3
|
D | priv_beacon_ivu.sh | 11 -- -argstest rand-int=1 17 -- -argstest rand-int=1
|
/Zephyr-latest/tests/drivers/clock_control/nrf_onoff_and_bt/src/ |
D | main.c | 102 uint8_t rand; in ZTEST() local 113 err = entropy_get_entropy(entropy, &rand, 1); in ZTEST() 115 backoff = 3 * rand; in ZTEST() 190 uint8_t rand; in ZTEST() local 201 err = entropy_get_entropy(entropy, &rand, 1); in ZTEST() 203 backoff = 3 * rand; in ZTEST()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_encrypt/src/ |
D | main.c | 235 const uint8_t rand[] = { RAND }; in ZTEST() local 244 .rand = { RAND }, in ZTEST() 274 err = ull_cp_encryption_start(&conn, rand, ediv, ltk); in ZTEST() 393 const uint8_t rand[] = { RAND }; in ZTEST() local 402 .rand = { RAND }, in ZTEST() 444 err = ull_cp_encryption_start(&conn, rand, ediv, ltk); in ZTEST() 577 const uint8_t rand[] = { RAND }; in ZTEST() local 583 .rand = { RAND }, in ZTEST() 613 err = ull_cp_encryption_start(&conn, rand, ediv, ltk); in ZTEST() 679 const uint8_t rand[] = { RAND }; in ZTEST() local [all …]
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | main.c | 1182 a = rand(); in ZTEST() 1201 a = rand(); in ZTEST() 1205 a = rand(); in ZTEST() 1209 a = rand(); in ZTEST() 1213 a = rand(); in ZTEST() 1217 a = rand(); in ZTEST() 1237 a = rand(); in ZTEST() 1240 b = rand(); in ZTEST() 1243 c = rand(); in ZTEST() 1247 a = rand(); in ZTEST() [all …]
|
/Zephyr-latest/lib/libc/minimal/source/stdlib/ |
D | rand.c | 29 int rand(void) in rand() function
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | smp.h | 94 uint8_t rand[8]; member 136 bool bt_smp_request_ltk(struct bt_conn *conn, uint64_t rand, uint16_t ediv,
|
D | smp.c | 999 (void)memset(keys->ltk.rand, 0, sizeof(keys->ltk.rand)); in smp_br_derive_ltk() 2032 uint8_t rand[8]; in legacy_distribute_keys() member 2034 } rand; in legacy_distribute_keys() local 2036 if (bt_rand((void *)&rand, sizeof(rand))) { in legacy_distribute_keys() 2051 memcpy(info->ltk, rand.key, keys->enc_size); in legacy_distribute_keys() 2067 memcpy(ident->rand, rand.rand, sizeof(ident->rand)); in legacy_distribute_keys() 2068 memcpy(ident->ediv, rand.ediv, sizeof(ident->ediv)); in legacy_distribute_keys() 2075 memcpy(keys->periph_ltk.val, rand.key, in legacy_distribute_keys() 2077 memcpy(keys->periph_ltk.rand, rand.rand, in legacy_distribute_keys() 2078 sizeof(keys->periph_ltk.rand)); in legacy_distribute_keys() [all …]
|
D | keys.h | 44 uint8_t rand[8]; member
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | proxy_cli.c | 199 const uint8_t *rand; member 212 memcpy(&in[8], res->data.priv.rand, 8); in is_hash_equal() 267 res.data.priv.rand = net_buf_simple_pull_mem(buf, 8); in handle_net_id()
|
D | provisionee.c | 245 if (bt_rand(bt_mesh_prov_link.rand, auth_size)) { in send_confirm() 251 LOG_DBG("LocalRandom: %s", bt_hex(bt_mesh_prov_link.rand, auth_size)); in send_confirm() 256 bt_mesh_prov_link.rand, bt_mesh_prov_link.auth, in send_confirm() 410 net_buf_simple_add_mem(&rnd, bt_mesh_prov_link.rand, bt_mesh_prov_auth_size_get()); in send_random() 426 if (!memcmp(data, bt_mesh_prov_link.rand, rand_size)) { in prov_random() 448 data, bt_mesh_prov_link.rand, bt_mesh_prov_link.prov_salt)) { in prov_random()
|
D | provisioner.c | 351 if (bt_rand(bt_mesh_prov_link.rand, auth_size)) { in send_confirm() 357 LOG_DBG("LocalRandom: %s", bt_hex(bt_mesh_prov_link.rand, auth_size)); in send_confirm() 362 bt_mesh_prov_link.rand, bt_mesh_prov_link.auth, in send_confirm() 621 net_buf_simple_add_mem(&rnd, bt_mesh_prov_link.rand, rand_size); in send_random() 637 if (!memcmp(data, bt_mesh_prov_link.rand, rand_size)) { in prov_random() 659 bt_mesh_prov_link.rand, data, bt_mesh_prov_link.prov_salt)) { in prov_random()
|
D | prov.h | 137 uint8_t rand[PROV_AUTH_MAX_LEN]; /* Local Random */ member
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp.h | 97 uint8_t ull_cp_encryption_start(struct ll_conn *conn, const uint8_t rand[8], const uint8_t ediv[2], 103 uint8_t ull_cp_encryption_pause(struct ll_conn *conn, const uint8_t rand[8], const uint8_t ediv[2],
|
D | ull_llcp.c | 672 uint8_t ull_cp_encryption_start(struct ll_conn *conn, const uint8_t rand[8], const uint8_t ediv[2], in ull_cp_encryption_start() 687 memcpy(ctx->data.enc.rand, rand, sizeof(ctx->data.enc.rand)); in ull_cp_encryption_start() 698 uint8_t ull_cp_encryption_pause(struct ll_conn *conn, const uint8_t rand[8], const uint8_t ediv[2], in ull_cp_encryption_pause() 713 memcpy(ctx->data.enc.rand, rand, sizeof(ctx->data.enc.rand)); in ull_cp_encryption_pause()
|
/Zephyr-latest/lib/libc/minimal/ |
D | Kconfig | 12 rand() and gmtime(). The globals must be put into a dedicated C 35 In order to make use of the non-reentrant rand() and srand(), it is
|
D | CMakeLists.txt | 42 zephyr_library_sources_ifdef(CONFIG_MINIMAL_LIBC_RAND source/stdlib/rand.c)
|
/Zephyr-latest/lib/libc/minimal/include/ |
D | stdlib.h | 56 int rand(void);
|
/Zephyr-latest/tests/bluetooth/tester/src/btp/ |
D | btp_gap.h | 222 uint8_t rand[16]; member 228 uint8_t rand[16]; member
|
/Zephyr-latest/scripts/coccinelle/ |
D | symbols.txt | 162 rand
|