Lines Matching defs:last
256 * Check first and last elements for out-of-bounds conditions.
467 * for last gain, pdGainBoundary == Pmax_t2, so will
649 int totalD,totalF, totalMin,last, i;
683 for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue);
684 last = i++);
685 totalD = data[i].channelValue - data[last].channelValue;
687 totalF = ar2413GetMaxPower(ah, &data[i]) - ar2413GetMaxPower(ah, &data[last]);
688 *maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) +
689 ar2413GetMaxPower(ah, &data[last])*totalD)/totalD);
690 totalMin = ar2413GetMinPower(ah, &data[i]) - ar2413GetMinPower(ah, &data[last]);
691 *minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) +
692 ar2413GetMinPower(ah, &data[last])*totalD)/totalD);