Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.5.0/tests/subsys/settings/fcb/src/
Dsettings_test_compress_reset.c16 int elems[4]; in ZTEST() local
37 (void)memset(elems, 0, sizeof(elems)); in ZTEST()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_cdp1.c84 static struct bt_mesh_elem elems[] = { variable
96 .elem = elems,
97 .elem_count = ARRAY_SIZE(elems),
116 ASSERT_OK(bt_mesh_model_extend(model, bt_mesh_model_find(&elems[0], TEST_MODEL_ID_1))); in model_2_init()
127 ASSERT_OK(bt_mesh_model_extend(bt_mesh_model_find(&elems[0], TEST_MODEL_ID_3), model)); in model_4_init()
128 ASSERT_OK(bt_mesh_model_correspond(model, bt_mesh_model_find(&elems[0], TEST_MODEL_ID_2))); in model_4_init()
139 ASSERT_OK(bt_mesh_model_extend(model, bt_mesh_model_find(&elems[0], TEST_MODEL_ID_1))); in model_6_init()
145 ASSERT_OK(bt_mesh_model_extend(model, bt_mesh_model_find(&elems[0], TEST_MODEL_ID_1))); in model_vnd1_init()
146 ASSERT_OK(bt_mesh_model_correspond(model, bt_mesh_model_find(&elems[0], TEST_MODEL_ID_3))); in model_vnd1_init()
Dmesh_test.c207 static struct bt_mesh_elem elems[] = { variable
212 .elem = elems,
213 .elem_count = ARRAY_SIZE(elems),
Dtest_access.c228 static struct bt_mesh_elem elems[] = { variable
234 .elem = elems,
235 .elem_count = ARRAY_SIZE(elems),
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Ddfu_metadata.c35 metadata->elems = net_buf_simple_pull_le16(buf); in bt_mesh_dfu_metadata_decode()
65 net_buf_simple_add_le16(buf, metadata->elems); in bt_mesh_dfu_metadata_encode()
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_shell.c537 int elems; in cmd_cache() local
562 elems = atoi(argv[2]); in cmd_cache()
563 if (elems < 1) { in cmd_cache()
564 shell_error(sh, "Size must be 1 or more (given %d)\n", elems); in cmd_cache()
568 cache = k_malloc(sizeof(struct lwm2m_time_series_elem) * elems); in cmd_cache()
574 rc = lwm2m_enable_cache(&obj_path, cache, elems); in cmd_cache()
578 obj_path.res_inst_id, cache, elems, rc); in cmd_cache()
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/mesh/
Ddfu_metadata.h61 uint16_t elems; member
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/shell/
Ddfu.c326 md.elems = shell_strtoul(argv[8], 0, &err); in cmd_dfu_metadata_encode()
351 shell_print(sh, "\tElements: %u", md.elems); in cmd_dfu_metadata_encode()