Lines Matching refs:p_cache
66 static void bta_gattc_display_cache_server(tBTA_GATTC_CACHE *p_cache)
69 tBTA_GATTC_CACHE *p_cur_srvc = p_cache;
1026 tBTA_GATTC_CACHE *p_cache = p_srcb->p_srvc_cache;
1033 while (p_service_id && p_cache && !done)
1037 p_cache->s_handle, p_cache->service_uuid.id.uuid.uu.uuid16,
1038 p_cache->service_uuid.id.inst_id);
1040 p_attr = p_cache->p_attr;
1042 if (bta_gattc_srvcid_compare(p_service_id, &p_cache->service_uuid))
1103 p_cache = p_cache->p_next;
1121 tBTA_GATTC_CACHE *p_cache = p_srcb->p_srvc_cache;
1129 while (p_cache)
1133 p_cache->s_handle, p_cache->service_uuid.id.uuid.uu.uuid16,
1134 p_cache->service_uuid.id.inst_id);
1137 if (p_cache->s_handle == handle)
1139 memcpy(p_service_id, &p_cache->service_uuid, sizeof(tBTA_GATT_SRVC_ID));
1145 p_attr = p_cache->p_attr;
1158 memcpy(p_service_id, &p_cache->service_uuid, sizeof(tBTA_GATT_SRVC_ID));
1185 p_cache = p_cache->p_next;
1203 tBTA_GATTC_CACHE *p_cache = p_srcb->p_srvc_cache;
1206 while (p_cache)
1208 if (bta_gattc_uuid_compare(uuid, p_cache->service_uuid.id.uuid, FALSE))
1212 p_cache->service_uuid.id.uuid.uu.uuid16,
1213 p_cache->service_uuid.id.inst_id,
1214 p_cache->s_handle);
1221 memcpy(&cb_data.srvc_res.service_uuid, &p_cache->service_uuid ,sizeof(tBTA_GATT_SRVC_ID));
1226 p_cache = p_cache->p_next;
1249 tBTA_GATTC_CACHE *p_cache = p_srcb->p_srvc_cache;
1259 for (i = 0; p_cache && status != BTA_GATT_OK; i ++)
1261 if (bta_gattc_srvcid_compare(p_service_id, &p_cache->service_uuid))
1265 p_cache->service_uuid.id.uuid.uu.uuid16,
1266 p_cache->service_uuid.id.inst_id);
1268 p_attr = p_cache->p_attr;
1362 p_cache = p_cache->p_next;