Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/utils/ABITest/
H A DABITestGen.py596 if opts.maxIndex is None:
598 opts.maxIndex = 10000000
600 opts.maxIndex = ftg.cardinality
601 opts.maxIndex = min(opts.maxIndex, ftg.cardinality)
602 opts.minIndex = max(0,min(opts.maxIndex-1, opts.minIndex))
604 opts.count = min(opts.count, opts.maxIndex-opts.minIndex)
664 index = opts.minIndex + int((opts.maxIndex-opts.minIndex) * random.random())
/netbsd-src/sys/external/isc/atheros_hal/dist/ar5212/
H A Dar2317.c366 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; in ar2317getGainBoundariesAndPdadcsForPowers() local
446 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable; in ar2317getGainBoundariesAndPdadcsForPowers()
448 while (ss < (int16_t)maxIndex) in ar2317getGainBoundariesAndPdadcsForPowers()
458 if (tgtIndex > maxIndex) { /* need to extrapolate above */ in ar2317getGainBoundariesAndPdadcsForPowers()
462 (ss-maxIndex)*Vpd_step); in ar2317getGainBoundariesAndPdadcsForPowers()
H A Dar2316.c388 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; in ar2316getGainBoundariesAndPdadcsForPowers() local
468 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable; in ar2316getGainBoundariesAndPdadcsForPowers()
470 while (ss < (int16_t)maxIndex) in ar2316getGainBoundariesAndPdadcsForPowers()
480 if (tgtIndex > maxIndex) { /* need to extrapolate above */ in ar2316getGainBoundariesAndPdadcsForPowers()
484 (ss-maxIndex)*Vpd_step); in ar2316getGainBoundariesAndPdadcsForPowers()
H A Dar2413.c382 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; in ar2413getGainBoundariesAndPdadcsForPowers() local
462 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable; in ar2413getGainBoundariesAndPdadcsForPowers()
464 while (ss < (int16_t)maxIndex) in ar2413getGainBoundariesAndPdadcsForPowers()
474 if (tgtIndex > maxIndex) { /* need to extrapolate above */ in ar2413getGainBoundariesAndPdadcsForPowers()
478 (ss-maxIndex)*Vpd_step); in ar2413getGainBoundariesAndPdadcsForPowers()
H A Dar2425.c387 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; in ar2425getGainBoundariesAndPdadcsForPowers() local
463 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable; in ar2425getGainBoundariesAndPdadcsForPowers()
465 while (ss < (int16_t)maxIndex) in ar2425getGainBoundariesAndPdadcsForPowers()
475 if (tgtIndex > maxIndex) { /* need to extrapolate above */ in ar2425getGainBoundariesAndPdadcsForPowers()
479 (ss-maxIndex)*Vpd_step); in ar2425getGainBoundariesAndPdadcsForPowers()
H A Dar5413.c418 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; in ar5413getGainBoundariesAndPdadcsForPowers() local
498 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable; in ar5413getGainBoundariesAndPdadcsForPowers()
500 while (ss < (int16_t)maxIndex) in ar5413getGainBoundariesAndPdadcsForPowers()
510 if (tgtIndex > maxIndex) { /* need to extrapolate above */ in ar5413getGainBoundariesAndPdadcsForPowers()
514 (ss-maxIndex)*Vpd_step); in ar5413getGainBoundariesAndPdadcsForPowers()
/netbsd-src/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar9285_reset.c686 uint16_t sizeCurrVpdTable, maxIndex, tgtIndex; in ar9285GetGainBoundariesAndPdadcs() local
787 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable; in ar9285GetGainBoundariesAndPdadcs()
789 while ((ss < maxIndex) && (k < (AR5416_NUM_PDADC_VALUES - 1))) { in ar9285GetGainBoundariesAndPdadcs()
799 if (tgtIndex >= maxIndex) { /* need to extrapolate above */ in ar9285GetGainBoundariesAndPdadcs()
802 (ss - maxIndex +1) * vpdStep)); in ar9285GetGainBoundariesAndPdadcs()
H A Dar5416_reset.c1966 uint16_t sizeCurrVpdTable, maxIndex, tgtIndex; in ar5416GetGainBoundariesAndPdadcs() local
2063 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable; in ar5416GetGainBoundariesAndPdadcs()
2065 while ((ss < maxIndex) && (k < (AR5416_NUM_PDADC_VALUES - 1))) { in ar5416GetGainBoundariesAndPdadcs()
2075 if (tgtIndex > maxIndex) { /* need to extrapolate above */ in ar5416GetGainBoundariesAndPdadcs()
2078 (ss - maxIndex +1) * vpdStep)); in ar5416GetGainBoundariesAndPdadcs()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
H A Dsearching.d3819 sizediff_t maxIndex(alias pred = "a < b", Range)(Range range)
3831 assert(a.maxIndex == 2);
3835 assert(b.maxIndex == -1);
3840 assert(dogs.maxIndex!"a.age < b.age" == 1);
3847 assert(immArr.maxIndex == 0);
3851 assert(c.maxIndex == 1);
3856 assert(immArr2.maxIndex == 2);
3859 assert(["b", "a", "c"].maxIndex == 2);
3863 static assert(!__traits(compiles, cycle([1]).maxIndex));
3874 assert(d.maxIndex == 2);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dsearching.d4157 ptrdiff_t maxIndex(alias pred = "a < b", Range)(Range range)
4169 assert(a.maxIndex == 2);
4173 assert(b.maxIndex == -1);
4178 assert(dogs.maxIndex!"a.age < b.age" == 1);
4185 assert(immArr.maxIndex == 0);
4189 assert(c.maxIndex == 1);
4194 assert(immArr2.maxIndex == 2);
4197 assert(["b", "a", "c"].maxIndex == 2);
4201 static assert(!__traits(compiles, cycle([1]).maxIndex));
4212 assert(d.maxIndex == 2);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Duni.d3851 enum maxIndex = roughedMaxIndex < translatedMaxIndex ? variable
3857 enum maxIndex = deduceMaxIndex!(Prefix)(); variable
4095 static if (maxIndex != 0) // doesn't cover full range of size_t in build()
4097 assert(curIndex <= maxIndex); in build()
4098 addValue!lastLevel(defValue, maxIndex - curIndex); in build()
4110 return Trie!(V, Key, maxIndex, Prefix)(table); in build()
4132 private enum maxIndex = Args[0]; variable
4172 assert(mapTrieIndex!Prefix(key) < maxIndex);
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/uni/
H A Dpackage.d3841 enum maxIndex = roughedMaxIndex < translatedMaxIndex ?
3847 enum maxIndex = deduceMaxIndex!(Prefix)();
4084 static if (maxIndex != 0) // doesn't cover full range of size_t
4086 assert(curIndex <= maxIndex);
4087 addValue!lastLevel(defValue, maxIndex - curIndex);
4099 return Trie!(V, Key, maxIndex, Prefix)(table);
4121 private enum maxIndex = Args[0];
4161 assert(mapTrieIndex!Prefix(key) < maxIndex);