Lines Matching full:if

38 #if (defined(RFCOMM_INCLUDED) && RFCOMM_INCLUDED == TRUE)
43 #if (defined(BNEP_INCLUDED) && BNEP_INCLUDED == TRUE)
47 #if (defined(GAP_INCLUDED) && GAP_INCLUDED == TRUE)
51 #if (defined(PAN_INCLUDED) && PAN_INCLUDED == TRUE)
55 #if (defined(HID_HOST_INCLUDED) && HID_HOST_INCLUDED == TRUE)
59 #if (defined(HID_DEV_INCLUDED) && HID_DEV_INCLUDED == TRUE)
63 #if (defined(AVRC_INCLUDED) && AVRC_INCLUDED == TRUE)
67 #if (defined(A2D_INCLUDED) && A2D_INCLUDED == TRUE)
71 #if (defined(AVDT_INCLUDED) && AVDT_INCLUDED == TRUE)
75 #if (defined(AVCT_INCLUDED) && AVCT_INCLUDED == TRUE)
79 #if (defined(HID_HOST_INCLUDED) && HID_HOST_INCLUDED == TRUE)
83 #if (defined(MCA_INCLUDED) && MCA_INCLUDED == TRUE)
87 #if (defined(BLE_INCLUDED) && BLE_INCLUDED == TRUE)
89 #if (defined(SMP_INCLUDED) && SMP_INCLUDED == TRUE)
95 #if BTA_INCLUDED == TRUE && BTA_DYNAMIC_MEMORY == TRUE
100 #if BTA_HF_INCLUDED == TRUE
104 #if BTA_AG_INCLUDED == TRUE
108 #if BTA_SDP_INCLUDED == TRUE
112 #if BTA_HS_INCLUDED == TRUE
118 #if BTA_AR_INCLUDED==TRUE
121 #if BTA_AV_INCLUDED==TRUE
125 #if BTA_HH_INCLUDED==TRUE
129 #if BTA_HD_INCLUDED==TRUE
133 #if BTA_JV_INCLUDED==TRUE
137 #if BTA_HL_INCLUDED == TRUE
141 #if BTA_GATT_INCLUDED == TRUE
146 #if BTA_PAN_INCLUDED==TRUE
177 #if (BTA_INCLUDED == TRUE && BTA_DYNAMIC_MEMORY == TRUE) in BTE_DeinitStack()
178 #if GATTS_INCLUDED == TRUE in BTE_DeinitStack()
179 if (bta_gatts_cb_ptr){ in BTE_DeinitStack()
184 #if GATTC_INCLUDED==TRUE in BTE_DeinitStack()
185 if (bta_gattc_cb_ptr){ in BTE_DeinitStack()
190 #if BTA_HD_INCLUDED==TRUE in BTE_DeinitStack()
191 if (bta_hd_cb_ptr){ in BTE_DeinitStack()
196 #if BTA_HH_INCLUDED==TRUE in BTE_DeinitStack()
197 if (bta_hh_cb_ptr){ in BTE_DeinitStack()
202 #if BTA_AV_INCLUDED==TRUE in BTE_DeinitStack()
203 if (bta_av_cb_ptr){ in BTE_DeinitStack()
207 if (bta_av_sbc_ups_cb_ptr){ in BTE_DeinitStack()
212 #if BTA_AR_INCLUDED==TRUE in BTE_DeinitStack()
213 if (bta_ar_cb_ptr){ in BTE_DeinitStack()
218 #if SDP_INCLUDED == TRUE in BTE_DeinitStack()
219 if (g_disc_raw_data_buf){ in BTE_DeinitStack()
224 #if BTA_SDP_INCLUDED == TRUE in BTE_DeinitStack()
225 if (bta_sdp_cb_ptr){ in BTE_DeinitStack()
230 #if (defined BTA_JV_INCLUDED && BTA_JV_INCLUDED == TRUE) in BTE_DeinitStack()
231 if (bta_jv_cb_ptr){ in BTE_DeinitStack()
236 #if (defined BTA_HF_INCLUDED && BTA_HF_INCLUDED == TRUE) in BTE_DeinitStack()
237 if (bta_hf_client_cb_ptr){ in BTE_DeinitStack()
242 #if (defined BTA_AG_INCLUDED && BTA_AG_INCLUDED == TRUE) in BTE_DeinitStack()
243 if (bta_ag_cb_ptr){ in BTE_DeinitStack()
248 if (bta_dm_conn_srvcs_ptr){ in BTE_DeinitStack()
252 if (bta_dm_di_cb_ptr){ in BTE_DeinitStack()
256 if (bta_dm_search_cb_ptr){ in BTE_DeinitStack()
260 if (bta_dm_cb_ptr){ in BTE_DeinitStack()
264 if (bta_sys_cb_ptr){ in BTE_DeinitStack()
270 #if (defined(HID_DEV_INCLUDED) && HID_DEV_INCLUDED == TRUE) in BTE_DeinitStack()
274 #if (defined(HID_HOST_INCLUDED) && HID_HOST_INCLUDED == TRUE) in BTE_DeinitStack()
278 #if (defined(GAP_INCLUDED) && GAP_INCLUDED == TRUE) in BTE_DeinitStack()
282 #if (defined(AVCT_INCLUDED) && AVCT_INCLUDED == TRUE && AVCT_DYNAMIC_MEMORY == TRUE) in BTE_DeinitStack()
283 if (avct_cb_ptr){ in BTE_DeinitStack()
289 #if (defined(AVDT_INCLUDED) && AVDT_INCLUDED == TRUE && AVDT_DYNAMIC_MEMORY == TRUE) in BTE_DeinitStack()
290 if (avdt_cb_ptr){ in BTE_DeinitStack()
296 #if (defined(AVRC_INCLUDED) && AVRC_INCLUDED == TRUE) in BTE_DeinitStack()
300 #if (defined(A2D_INCLUDED) && A2D_INCLUDED == TRUE) in BTE_DeinitStack()
304 #if (defined(RFCOMM_INCLUDED) && RFCOMM_INCLUDED == TRUE) in BTE_DeinitStack()
317 ** components can be initialized at a later time if desired
326 #if (defined(RFCOMM_INCLUDED) && RFCOMM_INCLUDED == TRUE) in BTE_InitStack()
328 if (RFCOMM_Init() != BT_STATUS_SUCCESS) { in BTE_InitStack()
334 #if (defined(BNEP_INCLUDED) && BNEP_INCLUDED == TRUE) in BTE_InitStack()
337 #if (defined(PAN_INCLUDED) && PAN_INCLUDED == TRUE) in BTE_InitStack()
343 #if (defined(A2D_INCLUDED) && A2D_INCLUDED == TRUE) in BTE_InitStack()
344 if (A2D_Init() != BT_STATUS_SUCCESS) { in BTE_InitStack()
349 #if (defined(AVRC_INCLUDED) && AVRC_INCLUDED == TRUE) in BTE_InitStack()
350 if (AVRC_Init() != BT_STATUS_SUCCESS) { in BTE_InitStack()
355 #if (defined(AVDT_INCLUDED) && AVDT_INCLUDED == TRUE && AVDT_DYNAMIC_MEMORY == TRUE) in BTE_InitStack()
356 if ((avdt_cb_ptr = (tAVDT_CB *)osi_malloc(sizeof(tAVDT_CB))) == NULL) { in BTE_InitStack()
362 #if (defined(AVCT_INCLUDED) && AVCT_INCLUDED == TRUE && AVCT_DYNAMIC_MEMORY == TRUE) in BTE_InitStack()
363 if ((avct_cb_ptr = (tAVCT_CB *)osi_malloc(sizeof(tAVCT_CB))) == NULL) { in BTE_InitStack()
369 #if (defined(GAP_INCLUDED) && GAP_INCLUDED == TRUE) in BTE_InitStack()
370 if (GAP_Init() != BT_STATUS_SUCCESS) { in BTE_InitStack()
375 #if (defined(HID_HOST_INCLUDED) && HID_HOST_INCLUDED == TRUE) in BTE_InitStack()
376 if (HID_HostInit() != HID_SUCCESS) { in BTE_InitStack()
381 #if (defined(HID_DEV_INCLUDED) && HID_DEV_INCLUDED == TRUE) in BTE_InitStack()
382 if (HID_DevInit() != HID_SUCCESS) { in BTE_InitStack()
387 #if (defined(MCA_INCLUDED) && MCA_INCLUDED == TRUE) in BTE_InitStack()
392 #if (BTA_INCLUDED == TRUE && BTA_DYNAMIC_MEMORY == TRUE) in BTE_InitStack()
393 if ((bta_sys_cb_ptr = (tBTA_SYS_CB *)osi_malloc(sizeof(tBTA_SYS_CB))) == NULL) { in BTE_InitStack()
396 if ((bta_dm_cb_ptr = (tBTA_DM_CB *)osi_malloc(sizeof(tBTA_DM_CB))) == NULL) { in BTE_InitStack()
399if ((bta_dm_search_cb_ptr = (tBTA_DM_SEARCH_CB *)osi_malloc(sizeof(tBTA_DM_SEARCH_CB))) == NULL) { in BTE_InitStack()
402 if ((bta_dm_di_cb_ptr = (tBTA_DM_DI_CB *)osi_malloc(sizeof(tBTA_DM_DI_CB))) == NULL) { in BTE_InitStack()
405if ((bta_dm_conn_srvcs_ptr = (tBTA_DM_CONNECTED_SRVCS *)osi_malloc(sizeof(tBTA_DM_CONNECTED_SRVCS)… in BTE_InitStack()
415 #if (defined BTA_HF_INCLUDED && BTA_HF_INCLUDED == TRUE) in BTE_InitStack()
416if ((bta_hf_client_cb_ptr = (tBTA_HF_CLIENT_CB *)osi_malloc(sizeof(tBTA_HF_CLIENT_CB))) == NULL) { in BTE_InitStack()
421 #if (defined BTA_AG_INCLUDED && BTA_AG_INCLUDED == TRUE) in BTE_InitStack()
422 if ((bta_ag_cb_ptr = (tBTA_AG_CB *)osi_malloc(sizeof(tBTA_AG_CB))) == NULL) { in BTE_InitStack()
427 #if (defined BTA_JV_INCLUDED && BTA_JV_INCLUDED == TRUE) in BTE_InitStack()
428 if ((bta_jv_cb_ptr = (tBTA_JV_CB *)osi_malloc(sizeof(tBTA_JV_CB))) == NULL) { in BTE_InitStack()
433 #if BTA_HS_INCLUDED == TRUE in BTE_InitStack()
436 #if BTA_SDP_INCLUDED == TRUE in BTE_InitStack()
437 if ((bta_sdp_cb_ptr = (tBTA_SDP_CB *)osi_malloc(sizeof(tBTA_SDP_CB))) == NULL) { in BTE_InitStack()
442 #if SDP_INCLUDED == TRUE in BTE_InitStack()
443 if ((g_disc_raw_data_buf = (UINT8 *)osi_malloc(MAX_DISC_RAW_DATA_BUF)) == NULL) { in BTE_InitStack()
448 #if BTA_AR_INCLUDED==TRUE in BTE_InitStack()
449 if ((bta_ar_cb_ptr = (tBTA_AR_CB *)osi_malloc(sizeof(tBTA_AR_CB))) == NULL) { in BTE_InitStack()
454 #if BTA_AV_INCLUDED==TRUE in BTE_InitStack()
455 if ((bta_av_cb_ptr = (tBTA_AV_CB *)osi_malloc(sizeof(tBTA_AV_CB))) == NULL) { in BTE_InitStack()
460if ((bta_av_sbc_ups_cb_ptr = (tBTA_AV_SBC_UPS_CB *)osi_malloc(sizeof(tBTA_AV_SBC_UPS_CB))) == NULL… in BTE_InitStack()
465 #if BTA_HH_INCLUDED==TRUE in BTE_InitStack()
466 if ((bta_hh_cb_ptr = (tBTA_HH_CB *)osi_malloc(sizeof(tBTA_HH_CB))) == NULL) { in BTE_InitStack()
471 #if BTA_HD_INCLUDED==TRUE in BTE_InitStack()
472 if ((bta_hd_cb_ptr = (tBTA_HD_CB *)osi_malloc(sizeof(tBTA_HD_CB))) == NULL) { in BTE_InitStack()
477 #if BTA_HL_INCLUDED==TRUE in BTE_InitStack()
480 #if GATTC_INCLUDED==TRUE in BTE_InitStack()
481 if ((bta_gattc_cb_ptr = (tBTA_GATTC_CB *)osi_malloc(sizeof(tBTA_GATTC_CB))) == NULL) { in BTE_InitStack()
486 #if GATTS_INCLUDED == TRUE in BTE_InitStack()
487 if ((bta_gatts_cb_ptr = (tBTA_GATTS_CB *)osi_malloc(sizeof(tBTA_GATTS_CB))) == NULL) { in BTE_InitStack()
492 #if BTA_PAN_INCLUDED==TRUE in BTE_InitStack()