/external/bluetooth/bluedroid/stack/avct/ |
avct_ccb.c | 36 ** Description Allocate a connection control block; copy parameters to ccb. 39 ** Returns pointer to the ccb, or NULL if none could be allocated. 44 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; 106 ** Description Given a pointer to an ccb, return its index. 109 ** Returns Index of ccb. 115 return (UINT8) (p_ccb - avct_cb.ccb); 122 ** Description Return ccb pointer based on ccb index (or handle). 125 ** Returns pointer to the ccb, or NULL if none found. 135 p_ccb = &avct_cb.ccb[idx] [all...] |
avct_lcb.c | 352 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; 361 /* if ccb allocated and */ 366 AVCT_TRACE_DEBUG("avct_lcb_dealloc used by ccb: %d", i); 426 ** Returns Pointer to CCB if PID found, NULL otherwise. 431 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; 448 ** Description See if given ccb is only one on the lcb. 451 ** Returns TRUE if ccb is last, FALSE otherwise. 456 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; 462 AVCT_TRACE_WARNING("%x: aloc:%d, lcb:0x%x/0x%x, ccb:0x%x/0x%x",
|
avct_lcb_act.c | 190 ** Description Deallocate ccb and call callback with disconnect event. 207 ** Description Handle an LL_OPEN event. For each allocated ccb already 209 ** unbound ccb with a new PID, bind that ccb to this lcb and 218 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; 224 /* if ccb allocated and */ 235 /* if unbound acceptor and lcb doesn't already have a ccb for this PID */ 239 /* bind ccb to lcb and send connect ind event */ 269 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; 295 tAVCT_CCB *p_ccb = &avct_cb.ccb[0] [all...] |
avct_int.h | 55 /* "no event" indicator used by ccb dealloc */ 98 UINT8 ch_close; /* CCB index+1, if CCB initiated channel close */ 108 BOOLEAN ch_close; /* Whether CCB initiated channel close */ 134 tAVCT_CCB ccb[AVCT_NUM_CONN]; /* connection control blocks */ member in struct:__anon5824 204 /* CCB function declarations */
|
avct_l2c.c | 67 ** Description check is the CCB associated with the given LCB was created 76 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; 117 /* no ccb available, reject L2CAP connection */
|
/external/chromium_org/third_party/re2/re2/testing/ |
charclass_test.cc | 198 CharClassBuilder ccb; local 201 ccb.AddRange(t->add[j].lo, t->add[j].hi); 203 ccb.RemoveAbove(t->remove); 204 if (!CorrectCC(&ccb, t, "before copy (CharClassBuilder)")) 206 CharClass* cc = ccb.GetCharClass(); 211 CharClassBuilder *ccb1 = ccb.Copy(); 214 cc = ccb.GetCharClass();
|
/external/bluetooth/bluedroid/stack/mcap/ |
mca_csm.c | 180 ** Description This function is the CCB state machine main function. 193 MCA_TRACE_EVENT("CCB ccb=%d event=%s state=%s", mca_ccb_to_hdl(p_ccb), mca_ccb_evt_str[event], mca_ccb_st_str[p_ccb->state]); 195 MCA_TRACE_EVENT("CCB ccb=%d event=%d state=%d", mca_ccb_to_hdl(p_ccb), event, p_ccb->state); 215 ** Description This function looks up the CCB based on the BD address. 216 ** It returns a pointer to the CCB. 217 ** If no CCB is found it returns NULL. 232 p_ccb_tmp = &mca_cb.ccb[i*MCA_NUM_LINKS]; 249 ** Description This function allocates a CCB and copies the BD address t [all...] |
mca_int.h | 171 tMCA_DL cb_idx; /* 1-based index to ccb or dcb */ 192 MCA_CCB_STAT_NORM, /* normal operation (based on ccb state) */ 201 * ccb[0] ...ccb[MCA_NUM_LINKS*1-1] -> rcb[0] 202 * ccb[MCA_NUM_LINKS*1]...ccb[MCA_NUM_LINKS*2-1] -> rcb[1] 203 * ccb[MCA_NUM_LINKS*2]...ccb[MCA_NUM_LINKS*3-1] -> rcb[2] 207 TIMER_LIST_ENT timer_entry; /* CCB timer list entry */ 215 UINT8 state; /* The CCB state machine state * 257 tMCA_CCB ccb[MCA_NUM_CCBS]; \/* control channel control blocks *\/ member in struct:__anon6310 [all...] |
mca_main.c | 288 ** L2CAP channel is closed. It looks up the CCB or DCB for 319 /* if control channel, notify ccb that channel close */ 343 ** the L2CAP channel is opened. It looks up the CCB or DCB 368 /* if control channel, notify ccb that channel open */ 395 ** L2CAP calls the congestion callback. It looks up the CCB 410 /* if control channel, notify ccb of congestion */ 434 ** incoming data is received from L2CAP. It looks up the CCB 486 } /* got a valid ccb */ 552 p_ccb = &mca_cb.ccb[handle*MCA_NUM_LINKS]; 553 /* check if all associated CCB are disconnected * [all...] |
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_ccb.c | 284 memset(&avdt_cb.ccb[0], 0, sizeof(tAVDT_CCB) * AVDT_NUM_LINKS); 292 ** Description State machine event handling function for ccb 305 AVDT_TRACE_EVENT("CCB ccb=%d event=%s state=%s", avdt_ccb_to_idx(p_ccb), avdt_ccb_evt_str[event], avdt_ccb_st_str[p_ccb->state]); 338 ** Description This lookup function finds the ccb for a BD address. 341 ** Returns pointer to the ccb, or NULL if none found. 346 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; 351 /* if allocated ccb has matching ccb */ 360 /* if no ccb found * [all...] |
avdt_int.h | 92 /* to distinguish CCB events from SCB events */ 120 /* ccb state machine states */ 171 /* ccb state machine events */ 415 /* union associated with ccb state machine events */ 429 TIMER_LIST_ENT timer_entry; /* CCB timer list entry */ 438 BOOLEAN allocated; /* Whether ccb is allocated */ 439 UINT8 state; /* The CCB state machine state */ 490 tAVDT_CCB *p_ccb; /* ccb associated with this scb */ 545 tAVDT_CCB ccb[AVDT_NUM_LINKS]; /* channel control blocks */ member in struct:__anon5848 549 tAVDT_CCB_ACTION *p_ccb_act; /* pointer to CCB action functions * [all...] |
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_int.h | 119 tAVRC_CONN_CB ccb[AVCT_NUM_CONN]; member in struct:__anon5851
|
avrc_api.c | 72 if (event <= AVRC_MAX_RCV_CTRL_EVT && avrc_cb.ccb[handle].p_ctrl_cback) 80 (*avrc_cb.ccb[handle].p_ctrl_cback)(handle, avrc_event, result, peer_addr); 573 if ( ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD)) || 574 ((avrc_cb.ccb[handle].control & AVRC_CT_CONTROL) && (cr == AVCT_RSP)) ) 591 AVRC_CO_ID_TO_BE_STREAM(p_rsp_data, avrc_cb.ccb[handle].company_id); 730 if ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD)) 768 (*avrc_cb.ccb[handle].p_msg_cback)(handle, label, opcode, &msg); 775 handle, avrc_cb.ccb[handle].control, cr, opcode); [all...] |
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_utils.c | 50 ** Description This function searches the CCB table for an entry with the 53 ** Returns the CCB address, or NULL if not found. 62 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) 77 ** Description This function searches the CCB table for an entry with the 80 ** Returns the CCB address, or NULL if not found. 92 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) 108 ** Description This function allocates a new CCB. 110 ** Returns CCB address, or NULL if none available. 119 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) 131 /* If here, no free CCB found * [all...] |
sdpint.h | 226 tCONN_CB ccb[SDP_MAX_CONNECTIONS]; member in struct:__anon6337
|
sdp_api.c | [all...] |
/external/bluetooth/bluedroid/bta/av/ |
bta_av_act.c | 300 tAVRC_CONN_CB ccb; local 322 ccb.p_ctrl_cback = bta_av_rc_ctrl_cback; 323 ccb.p_msg_cback = bta_av_rc_msg_cback; 324 ccb.company_id = p_bta_av_cfg->company_id; 325 ccb.conn = role; 327 ccb.control = p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | AVRC_CT_PASSIVE); 330 if (AVRC_Open(&rc_handle, &ccb, bda) != AVRC_SUCCESS) [all...] |
/external/chromium_org/third_party/re2/re2/ |
parse.cc | 198 CharClassBuilder* ccb = re->ccb_; local 200 re->cc_ = ccb->GetCharClass(); 201 delete ccb; 952 CharClassBuilder ccb; local 958 ccb.AddRange(it->lo, it->hi); 960 ccb.AddRangeFlags(re->rune(), re->rune(), re->parse_flags()); 967 sub[out++] = NewCharClass(ccb.GetCharClass(), altflags); [all...] |