Lines Matching defs:high
74 // Get a numeric value from the user, between low and high (inclusive).
77 // (If def is outside of the low-high range, an explicit response
79 uint64_t GetNumber(uint64_t low, uint64_t high, uint64_t def, const string & prompt) {
83 if (low != high) { // bother only if low and high differ...
91 if ((response < low) || (response > high))
96 } while ((response < low) || (response > high));
97 } else { // low == high, so return this value
125 // inclues a "-", subtracts from high. If IeeeValue is empty, returns def.
128 // inValue works out to something outside the range low-high, returns the
139 uint64_t IeeeToInt(string inValue, uint64_t sSize, uint64_t low, uint64_t high, uint32_t sectorAlignment, uint64_t def) {
202 // sectorAlignment sectors of high, which should be the case when
204 // further away from the high value, which should be the case for the
206 if ((high - def) < sectorAlignment) {
220 if (response > high)
223 response = high - response;