Home
last modified time | relevance | path

Searched refs:cur_idx (Results 1 – 3 of 3) sorted by relevance

/system/extras/micro_bench/
Dmicro_bench.cpp139 static inline double computeRunningAvg(double avg, double running_avg, size_t cur_idx) { in computeRunningAvg() argument
140 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() argument
144 return (square_avg / (cur_idx + 1)) * cur_idx + (avg / (cur_idx + 1)) * avg; in computeRunningSquareAvg()
/system/bt/bta/ag/
Dbta_ag_sco.c313 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()
Dbta_ag_int.h311 UINT16 cur_idx; /* SCO handle */ member