Lines Matching refs:timeout
37 // The timeout code to wait indefinitely
38 // Note: The timeout is encoded in seconds, -1 indicates to wait indefinitely
43 int32 timeout;
64 get_index_for_timeout(int32 timeout)
68 if (gTimeoutOptions[i].timeout == timeout)
71 if (gTimeoutOptions[i].timeout == kDefaultTimeout)
82 return gTimeoutOptions[0].timeout;
84 return gTimeoutOptions[kNumberOfTimeoutOptions-1].timeout;
85 return gTimeoutOptions[index].timeout;
90 get_label_for_timeout(int32 timeout)
92 int32 index = get_index_for_timeout(timeout);
145 int32 timeout = get_timeout_for_index(sliderValue);
146 fSettings->ReplaceInt32("timeout", timeout);
149 _GetTimeoutLabel(timeout, label);
168 << B_TRANSLATE("Please specify a default partition and a timeout.\n"
170 "the timeout unless you select another partition. You "
173 "Keep the 'ALT' key pressed to disable the timeout at boot time.");
190 // timeout slider
192 int32 timeout;
193 fSettings->FindInt32("timeout", &timeout);
195 _GetTimeoutLabel(timeout, timeoutLabel);
197 int32 sliderValue = get_index_for_timeout(timeout);
199 fTimeoutSlider = new BSlider(rect, "timeout", timeoutLabel.String(),
253 DefaultPartitionPage::_GetTimeoutLabel(int32 timeout, BString& label)
255 const char* text = B_TRANSLATE_NOCOLLECT(get_label_for_timeout(timeout));