Home
last modified time | relevance | path

Searched refs:elem_size (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/bluetooth/controller/util/
Ddbuf.h19 uint8_t elem_size; member
50 return &hdr->data[hdr->last * hdr->elem_size]; in dbuf_peek()
94 return &hdr->data[hdr->first * hdr->elem_size]; in dbuf_curr_get()
Ddbuf.c58 return &hdr->data[last * hdr->elem_size]; in dbuf_alloc()
82 return &hdr->data[first * hdr->elem_size]; in dbuf_latest_get()
/Zephyr-latest/lib/utils/
Djson.c658 ptrdiff_t elem_size; in arr_parse() local
668 elem_size = get_elem_size(elem_descr); in arr_parse()
669 last_elem = (char *)field + elem_size * max_elements; in arr_parse()
671 __ASSERT_NO_MSG(elem_size > 0); in arr_parse()
694 field = (char *)field + elem_size; in arr_parse()
964 ptrdiff_t elem_size; in arr_encode() local
985 elem_size = get_elem_size(elem_descr); in arr_encode()
1016 field = (char *)field + elem_size; in arr_encode()
/Zephyr-latest/subsys/bluetooth/mesh/
Daccess.c375 const size_t elem_size = bt_mesh_comp_elem_size(elem); in comp_add_elem() local
378 if (*offset >= elem_size) { in comp_add_elem()
379 *offset -= elem_size; in comp_add_elem()
383 if (net_buf_simple_tailroom(buf) < ((elem_size - *offset) + BT_MESH_MIC_SHORT)) { in comp_add_elem()
612 size_t elem_size = page1_elem_size(&comp->elem[i]); in bt_mesh_comp_data_get_page_1() local
614 if (offset >= elem_size) { in bt_mesh_comp_data_get_page_1()
615 offset -= elem_size; in bt_mesh_comp_data_get_page_1()
619 if (net_buf_simple_tailroom(buf) < ((elem_size - offset) + BT_MESH_MIC_SHORT)) { in bt_mesh_comp_data_get_page_1()
667 size_t elem_size; in bt_mesh_comp_data_get_page_2() local
670 elem_size = in bt_mesh_comp_data_get_page_2()
[all …]
Dcfg_cli.c2331 size_t elem_size = 0; in bt_mesh_comp_p1_elem_pull() local
2339 if (buf->len < elem_size + 1) { in bt_mesh_comp_p1_elem_pull()
2344 header = buf->data[elem_size]; in bt_mesh_comp_p1_elem_pull()
2355 elem_size += (1 + cor_present) + (fmt + 1) * ext_item_cnt; in bt_mesh_comp_p1_elem_pull()
2358 if (buf->len < elem_size) { in bt_mesh_comp_p1_elem_pull()
2364 net_buf_simple_pull_mem(buf, elem_size), in bt_mesh_comp_p1_elem_pull()
2365 elem_size); in bt_mesh_comp_p1_elem_pull()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_central.c264 conn_lll->df_rx_cfg.hdr.elem_size = sizeof(struct lll_df_conn_rx_params); in ll_create_connection()
Dull_adv.c1092 conn_lll->df_rx_cfg.hdr.elem_size = sizeof(struct lll_df_conn_rx_params);