Lines Matching refs:p_rec
53 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec,
789 tSDP_DISC_REC *p_rec;
807 p_rec = add_record (p_ccb->p_db, p_ccb->device_address);
808 if (!p_rec)
829 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0);
853 tSDP_DISC_REC *p_rec;
859 p_rec = (tSDP_DISC_REC *) p_db->p_free_mem;
863 p_rec->p_first_attr = NULL;
864 p_rec->p_next_rec = NULL;
866 memcpy (p_rec->remote_bd_addr, p_bda, BD_ADDR_LEN);
870 p_db->p_first_rec = p_rec;
878 p_rec1->p_next_rec = p_rec;
881 return (p_rec);
895 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec,
958 p = add_attr (p, p_db, p_rec, ATTR_ID_PROTOCOL_DESC_LIST, p_attr, (UINT8)(nest_level + 1));
1056 p = add_attr (p, p_db, p_rec, 0, p_attr, (UINT8)(nest_level + 1));
1090 if (!p_rec->p_first_attr)
1091 p_rec->p_first_attr = p_attr;
1094 tSDP_DISC_ATTR *p_attr1 = p_rec->p_first_attr;