Lines Matching refs:p_result
162 tGAP_FINDADDR_RESULTS *p_result = &p_cb->results;
172 if (!strncmp ((char *)p_result->devname, (char *) p->remote_bd_name, strlen ((char *) p_result->devname)))
175 memcpy (p_result->bd_addr, p_cb->p_cur_inq->results.remote_bd_addr, BD_ADDR_LEN);
176 p_result->status = BT_PASS;
187 p_result->status = gap_convert_btm_status ((tBTM_STATUS) p->status);
190 p_result->status = GAP_EOINQDB; /* No inquiry results; we're done! */
196 p_result->status = gap_convert_btm_status ((tBTM_STATUS) p->status);
201 p_cb->p_cback (GAP_EVT_FIND_ADDR_COMPLETE, (tGAP_FINDADDR_RESULTS *) p_result);
228 tGAP_FINDADDR_RESULTS *p_result = &p_cb->results;
239 if ((p_result->status = gap_find_local_addr_by_name (p_result->devname, p_result->bd_addr)) == GAP_NO_DATA_AVAIL)
250 p_result->status = gap_convert_btm_status (p->status);
253 p_result->status = GAP_EOINQDB; /* No inquiry results; we're done! */
257 p_result->status = gap_convert_btm_status (p->status);
261 p_cb->p_cback (GAP_EVT_FIND_ADDR_COMPLETE, (tGAP_FINDADDR_RESULTS *) p_result);
290 tBTM_INQ_INFO *p_result;
292 p_result = BTM_InqDbFirst();
294 while (p_result)
297 if (!strncmp ((char *)devname, (char *)p_result->remote_name, BTM_MAX_REM_BD_NAME_LEN))
299 memcpy (bd_addr, p_result->results.remote_bd_addr, BD_ADDR_LEN);
303 p_result = BTM_InqDbNext(p_result);