Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/btif/co/
Dbta_gatts_co.c63 UINT8 i, j, idx, last_idx; in btif_gatts_srv_chg() local
104 last_idx = p_cb->num_clients - 1; in btif_gatts_srv_chg()
106 if (i != last_idx ) in btif_gatts_srv_chg()
109 for (j=i; j != last_idx; ++j ) in btif_gatts_srv_chg()
117 memset(&p_cb->srv_chg[last_idx], 0, sizeof(tBTA_GATTS_SRV_CHG)); in btif_gatts_srv_chg()
/external/opencv/ml/src/
Dmltestset.cpp138 int last_idx; in cvCreateTestSet() local
141 last_idx = num_samples * (cur_class + 1) / num_classes - 1; in cvCreateTestSet()
142 CV_CALL( max_dst = (*((CvDI*) cvGetSeqElem( seq, last_idx ))).d ); in cvCreateTestSet()
/external/opencv/cv/src/
Dcvhaar.cpp1850 int last_idx; in icvReadHaarClassifier() local
1874 for( k = 0, last_idx = 0; k < tree_fn->data.seq->total; ++k ) in icvReadHaarClassifier()
2021 if( last_idx >= classifier->count + 1 ) in icvReadHaarClassifier()
2027 classifier->left[k] = -last_idx; in icvReadHaarClassifier()
2028 classifier->alpha[last_idx++] = (float) fn->data.f; in icvReadHaarClassifier()
2060 if( last_idx >= classifier->count + 1 ) in icvReadHaarClassifier()
2066 classifier->right[k] = -last_idx; in icvReadHaarClassifier()
2067 classifier->alpha[last_idx++] = (float) fn->data.f; in icvReadHaarClassifier()
2072 if( last_idx != classifier->count + 1 ) in icvReadHaarClassifier()