Lines Matching refs:response
80 uint64_t response, num; in GetNumber() local
89 num = sscanf(line, "%" PRIu64, &response); in GetNumber()
91 if ((response < low) || (response > high)) in GetNumber()
94 response = def; in GetNumber()
96 } while ((response < low) || (response > high)); in GetNumber()
99 response = low; in GetNumber()
101 return (response); in GetNumber()
106 char response; in GetYN() local
115 response = toupper(line[0]); in GetYN()
116 } while ((response != 'Y') && (response != 'N')); in GetYN()
117 return response; in GetYN()
138 uint64_t response = def, bytesPerUnit, mult = 1, divide = 1; in IeeeToInt() local
163 inString >> response >> suffix; in IeeeToInt()
167 if ((inValue.length() == 0) || (response == 0)) { in IeeeToInt()
168 response = def; in IeeeToInt()
183 if (response > (UINT64_MAX / mult)) in IeeeToInt()
186 response *= mult; in IeeeToInt()
188 response /= divide; in IeeeToInt()
198 if (response > 0) in IeeeToInt()
199 response--; in IeeeToInt()
200 if (response > (UINT64_MAX - low)) in IeeeToInt()
203 response = response + low; in IeeeToInt()
205 if (response > (UINT64_MAX - def)) in IeeeToInt()
208 response = response + def; in IeeeToInt()
211 if (response > high) in IeeeToInt()
214 response = high - response; in IeeeToInt()
218 response = UINT64_C(0); in IeeeToInt()
220 return response; in IeeeToInt()