Lines Matching refs:p_rec
53 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec,
726 tSDP_DISC_REC *p_rec;
744 p_rec = add_record (p_ccb->p_db, p_ccb->device_address);
745 if (!p_rec)
766 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0);
790 tSDP_DISC_REC *p_rec;
796 p_rec = (tSDP_DISC_REC *) p_db->p_free_mem;
800 p_rec->p_first_attr = NULL;
801 p_rec->p_next_rec = NULL;
803 memcpy (p_rec->remote_bd_addr, p_bda, BD_ADDR_LEN);
807 p_db->p_first_rec = p_rec;
815 p_rec1->p_next_rec = p_rec;
818 return (p_rec);
832 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec,
895 p = add_attr (p, p_db, p_rec, ATTR_ID_PROTOCOL_DESC_LIST, p_attr, (UINT8)(nest_level + 1));
993 p = add_attr (p, p_db, p_rec, 0, p_attr, (UINT8)(nest_level + 1));
1027 if (!p_rec->p_first_attr)
1028 p_rec->p_first_attr = p_attr;
1031 tSDP_DISC_ATTR *p_attr1 = p_rec->p_first_attr;