Home | History | Annotate | Download | only in gap

Lines Matching defs:p_result

164     tGAP_FINDADDR_RESULTS   *p_result = &p_cb->results;
174 if (!strncmp ((char *)p_result->devname, (char *) p->remote_bd_name, strlen ((char *) p_result->devname)))
177 memcpy (p_result->bd_addr, p_cb->p_cur_inq->results.remote_bd_addr, BD_ADDR_LEN);
178 p_result->status = BT_PASS;
189 p_result->status = gap_convert_btm_status ((tBTM_STATUS) p->status);
192 p_result->status = GAP_EOINQDB; /* No inquiry results; we're done! */
198 p_result->status = gap_convert_btm_status ((tBTM_STATUS) p->status);
203 p_cb->p_cback (GAP_EVT_FIND_ADDR_COMPLETE, (tGAP_FINDADDR_RESULTS *) p_result);
230 tGAP_FINDADDR_RESULTS *p_result = &p_cb->results;
241 if ((p_result->status = gap_find_local_addr_by_name (p_result->devname, p_result->bd_addr)) == GAP_NO_DATA_AVAIL)
252 p_result->status = gap_convert_btm_status (p->status);
255 p_result->status = GAP_EOINQDB; /* No inquiry results; we're done! */
259 p_result->status = gap_convert_btm_status (p->status);
263 p_cb->p_cback (GAP_EVT_FIND_ADDR_COMPLETE, (tGAP_FINDADDR_RESULTS *) p_result);
292 tBTM_INQ_INFO *p_result;
294 p_result = BTM_InqDbFirst();
296 while (p_result)
299 if (!strncmp ((char *)devname, (char *)p_result->remote_name, BTM_MAX_REM_BD_NAME_LEN))
301 memcpy (bd_addr, p_result->results.remote_bd_addr, BD_ADDR_LEN);
305 p_result = BTM_InqDbNext(p_result);