Lines Matching defs:sort
465 int16_t sort[HAL_NF_CAL_HIST_LEN_FULL]; /* upper bound for hist_len */
470 sort[i] = h->nf_cal_buffer[i][reading];
472 "nf_cal_buffer[%d][%d] = %d\n", i, reading, (int)sort[i]);
476 if (sort[j] > sort[j - 1]) {
477 nfval = sort[j];
478 sort[j] = sort[j - 1];
479 sort[j - 1] = nfval;
483 nfval = sort[(hist_len - 1) >> 1];
6219 //sort mag and phs