Home | History | Annotate | Download | only in lib

Lines Matching refs:rsp_count

3509 	uint32_t rspsize = 0, rsp_count;
3598 rsp_count = ntohs(bt_get_unaligned((uint16_t *) pdata));
3599 attr_list_len += rsp_count;
3604 if (pdata_len < rsp_count + sizeof(uint8_t)) {
3608 cstate_len = *(uint8_t *) (pdata + rsp_count);
3611 SDPDBG("Attrlist byte count : %d\n", rsp_count);
3621 cstate = cstate_len > 0 ? (sdp_cstate_t *) (pdata + rsp_count) : 0;
3624 rsp_concat_buf.data = realloc(rsp_concat_buf.data, rsp_concat_buf.data_size + rsp_count);
3625 rsp_concat_buf.buf_size = rsp_concat_buf.data_size + rsp_count;
3627 memcpy(targetPtr, pdata, rsp_count);
3628 rsp_concat_buf.data_size += rsp_count;
4096 int rsp_count, err = -1;
4165 rsp_count = sizeof(tsrc) + sizeof(csrc) + csrc * 4;
4178 rsp_count = csrc * 4;
4184 rsp_count = ntohs(bt_get_unaligned((uint16_t *) pdata));
4185 SDPDBG("Attrlist byte count : %d\n", rsp_count);
4191 plen = sizeof(uint16_t) + rsp_count;
4209 pcstate = (sdp_cstate_t *) (pdata + rsp_count);
4228 t->rsp_concat_buf.data = realloc(t->rsp_concat_buf.data, t->rsp_concat_buf.data_size + rsp_count);
4230 t->rsp_concat_buf.buf_size = t->rsp_concat_buf.data_size + rsp_count;
4231 memcpy(targetPtr, pdata, rsp_count);
4232 t->rsp_concat_buf.data_size += rsp_count;
4319 int rsp_count = 0, cstate_len = 0;
4418 rsp_count = ntohs(bt_get_unaligned((uint16_t *) pdata));
4419 attr_list_len += rsp_count;
4423 if (pdata_len < rsp_count + sizeof(uint8_t)) {
4429 cstate_len = *(uint8_t *) (pdata + rsp_count);
4432 SDPDBG("Response byte count : %d\n", rsp_count);
4441 cstate = cstate_len > 0 ? (sdp_cstate_t *) (pdata + rsp_count) : 0;
4444 rsp_concat_buf.data = realloc(rsp_concat_buf.data, rsp_concat_buf.data_size + rsp_count);
4446 rsp_concat_buf.buf_size = rsp_concat_buf.data_size + rsp_count;
4447 memcpy(targetPtr, pdata, rsp_count);
4448 rsp_concat_buf.data_size += rsp_count;