Searched refs:elem_size (Results 1 – 7 of 7) sorted by relevance
19 uint8_t elem_size; member50 return &hdr->data[hdr->last * hdr->elem_size]; in dbuf_peek()94 return &hdr->data[hdr->first * hdr->elem_size]; in dbuf_curr_get()
58 return &hdr->data[last * hdr->elem_size]; in dbuf_alloc()82 return &hdr->data[first * hdr->elem_size]; in dbuf_latest_get()
658 ptrdiff_t elem_size; in arr_parse() local668 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() local985 elem_size = get_elem_size(elem_descr); in arr_encode()1016 field = (char *)field + elem_size; in arr_encode()
375 const size_t elem_size = bt_mesh_comp_elem_size(elem); in comp_add_elem() local378 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() local614 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() local670 elem_size = in bt_mesh_comp_data_get_page_2()[all …]
2331 size_t elem_size = 0; in bt_mesh_comp_p1_elem_pull() local2339 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()
264 conn_lll->df_rx_cfg.hdr.elem_size = sizeof(struct lll_df_conn_rx_params); in ll_create_connection()
1092 conn_lll->df_rx_cfg.hdr.elem_size = sizeof(struct lll_df_conn_rx_params);