Lines Matching refs:dtds
537 sdp_data_t *sdp_seq_alloc_with_length(void **dtds, void **values, int *length, in sdp_seq_alloc_with_length() argument
545 int8_t dtd = *(uint8_t *) dtds[i]; in sdp_seq_alloc_with_length()
566 sdp_data_t *sdp_seq_alloc(void **dtds, void **values, int len) in sdp_seq_alloc() argument
573 uint8_t dtd = *(uint8_t *) dtds[i]; in sdp_seq_alloc()
1982 void **dtds, **values; in sdp_set_uuidseq_attr() local
1991 dtds = malloc(len * sizeof(void *)); in sdp_set_uuidseq_attr()
1992 if (!dtds) in sdp_set_uuidseq_attr()
1997 free(dtds); in sdp_set_uuidseq_attr()
2006 dtds[i] = &uuid16; in sdp_set_uuidseq_attr()
2010 dtds[i] = &uuid32; in sdp_set_uuidseq_attr()
2014 dtds[i] = &uuid128; in sdp_set_uuidseq_attr()
2027 sdp_data_t *data = sdp_seq_alloc(dtds, values, len); in sdp_set_uuidseq_attr()
2031 free(dtds); in sdp_set_uuidseq_attr()
2260 void *dtds[10], *values[10]; in access_proto_to_dataseq() local
2281 for (; elt && pslen < ARRAY_SIZE(dtds); elt = elt->next, pslen++) { in access_proto_to_dataseq()
2283 dtds[pslen] = &d->dtd; in access_proto_to_dataseq()
2311 s = sdp_seq_alloc(dtds, values, pslen); in access_proto_to_dataseq()
2392 void **dtds, **values; in sdp_set_lang_attr() local
2395 dtds = malloc(3 * seqlen * sizeof(void *)); in sdp_set_lang_attr()
2396 if (!dtds) in sdp_set_lang_attr()
2401 free(dtds); in sdp_set_lang_attr()
2411 dtds[i] = &uint16; in sdp_set_lang_attr()
2414 dtds[i] = &uint16; in sdp_set_lang_attr()
2417 dtds[i] = &uint16; in sdp_set_lang_attr()
2422 sdp_data_t *seq = sdp_seq_alloc(dtds, values, 3 * seqlen); in sdp_set_lang_attr()
2425 free(dtds); in sdp_set_lang_attr()
2521 void *dtds[2], *values[2]; in sdp_set_profile_descs() local
2529 dtds[0] = &uuid16; in sdp_set_profile_descs()
2533 dtds[0] = &uuid32; in sdp_set_profile_descs()
2537 dtds[0] = &uuid128; in sdp_set_profile_descs()
2544 dtds[1] = &uint16; in sdp_set_profile_descs()
2546 seq = sdp_seq_alloc(dtds, values, 2); in sdp_set_profile_descs()
4682 void **dtds, **vals; in sdp_set_supp_feat() local
4686 dtds = malloc(plen * sizeof(void *)); in sdp_set_supp_feat()
4687 if (!dtds) in sdp_set_supp_feat()
4691 free(dtds); in sdp_set_supp_feat()
4696 free(dtds); in sdp_set_supp_feat()
4702 dtds[j] = &data->dtd; in sdp_set_supp_feat()
4726 feat = sdp_seq_alloc_with_length(dtds, vals, lengths, plen); in sdp_set_supp_feat()
4727 free(dtds); in sdp_set_supp_feat()