Lines Matching defs:sort
415 int16_t sort[HAL_NF_CAL_HIST_LEN_FULL]; /* upper bound for hist_len */
419 sort[i] = h->nf_cal_buffer[i][reading];
421 "nf_cal_buffer[%d][%d] = %d\n", i, reading, (int)sort[i]);
425 if (sort[j] > sort[j - 1]) {
426 nfval = sort[j];
427 sort[j] = sort[j - 1];
428 sort[j - 1] = nfval;
432 nfval = sort[(hist_len - 1) >> 1];
5885 //sort mag and phs