Searched refs:data_index (Results 1 – 2 of 2) sorted by relevance
50 size_t data_index; member105 const struct bt_data *current_ltv = &stream->ad[stream->ad_index].data[stream->data_index]; in ad_stream_current_ltv_update()111 if (stream->data_index + 1 == stream->ad[stream->ad_index].len) { in ad_stream_current_ltv_update()112 stream->data_index = 0; in ad_stream_current_ltv_update()115 stream->data_index++; in ad_stream_current_ltv_update()122 return &stream->ad[stream->ad_index].data[stream->data_index]; in ad_stream_current_ltv_update()
1978 uint16_t data_index = 0; in mdm_decode_pdu() local1996 target_buf->data[data_index++] = letter & 0x007f; in mdm_decode_pdu()1998 target_buf->data[data_index++] = 0xc0 | ((letter & 0x07c0) >> 6); in mdm_decode_pdu()1999 target_buf->data[data_index++] = 0x80 | ((letter & 0x003f) >> 0); in mdm_decode_pdu()2004 target_buf->data_len = data_index; in mdm_decode_pdu()