Lines Matching defs:def
76 // If user provides no input, def (default value) is returned.
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) {
94 response = def;
125 // inclues a "-", subtracts from high. If IeeeValue is empty, returns def.
139 uint64_t IeeeToInt(string inValue, uint64_t sSize, uint64_t low, uint64_t high, uint32_t sectorAlignment, uint64_t def) {
140 uint64_t response = def, bytesPerUnit, mult = 1, divide = 1;
176 // If no response, or if response == 0, use default (def)
178 response = def;
206 if ((high - def) < sectorAlignment) {
214 if (response > (UINT64_MAX - def))
217 response = response + def;