Searched refs:cur_idx (Results 1 – 3 of 3) sorted by relevance
139 static inline double computeRunningAvg(double avg, double running_avg, size_t cur_idx) { in computeRunningAvg() argument140 return (running_avg / (cur_idx + 1)) * cur_idx + (avg / (cur_idx + 1)); in computeRunningAvg()143 static inline double computeRunningSquareAvg(double avg, double square_avg, size_t cur_idx) { in computeRunningSquareAvg() argument144 return (square_avg / (cur_idx + 1)) * cur_idx + (avg / (cur_idx + 1)) * avg; in computeRunningSquareAvg()
313 if (!only_active || p_scb->sco_idx == bta_ag_cb.sco.cur_idx) in bta_ag_remove_sco()369 bta_ag_cb.sco.cur_idx = p_scb->sco_idx; in bta_ag_esco_connreq_cback()587 bta_ag_cb.sco.cur_idx = p_scb->sco_idx; in bta_ag_create_sco()605 bta_ag_cb.sco.cur_idx = p_scb->sco_idx; in bta_ag_create_sco()1000 p_sco->cur_idx = p_sco->p_xfer_scb->sco_idx; in bta_ag_sco_event()
311 UINT16 cur_idx; /* SCO handle */ member