/external/qemu/distrib/sdl-1.2.15/src/thread/irix/ |
SDL_syssem.c | 142 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) 152 if ( timeout == 0 ) { 155 if ( timeout == SDL_MUTEX_MAXWAIT ) { 160 timeout += SDL_GetTicks(); 167 } while ( SDL_GetTicks() < timeout );
|
/packages/apps/Stk/src/com/android/stk/ |
ToneDialog.java | 60 // Message id to signal tone duration timeout. 91 int timeout = StkApp.calculateDurationInMilis(settings.duration); local 92 if (timeout == 0) { 93 timeout = StkApp.TONE_DFEAULT_TIMEOUT; 95 mToneStopper.sendEmptyMessageDelayed(MSG_ID_STOP_TONE, timeout); 97 mVibrator.vibrate(timeout);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
argvemulator.py | 34 def mainloop(self, mask = highLevelEventMask, timeout = 1*60): 38 stoptime = Evt.TickCount() + timeout 40 self._dooneevent(mask, timeout) 43 print "argvemulator: timeout waiting for arguments" 47 def _dooneevent(self, mask = highLevelEventMask, timeout = 1*60): 48 got, event = Evt.WaitNextEvent(mask, timeout)
|
/external/chromium_org/tools/site_compare/scrapers/ie/ |
ie7.py | 67 def Scrape(urls, outdir, size, pos, timeout=20, **kwargs): 75 timeout: amount of time to wait for page to load 105 tab_window, (6, 8, 22, 24), timeout) 127 return "timeout" 130 def Time(urls, size, timeout, **kwargs): 136 timeout: amount of time to wait for page to load 140 A list of tuples (url, time). "time" can be "crashed" or "timeout" 166 tab_window, (6, 8, 22, 24), timeout) 170 load_time = "timeout" 175 if not windowing.WaitForProcessExit(proc, timeout) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
p2p_disconnect.py | 40 global timeout 49 def __init__(self,interface_name,wpas_dbus_interface,timeout): 53 self.timeout = timeout 104 # Required for timeout implementation 113 timeout = 5 variable 152 wpas_dbus_interface,timeout) 163 time.sleep(int(p2p_disconnect_test.timeout))
|
p2p_flush.py | 40 global timeout 49 def __init__(self,interface_name,wpas_dbus_interface,timeout): 53 self.timeout = timeout 104 # Required for timeout implementation 113 timeout = 5 variable 151 p2p_flush_test = P2P_Flush(interface_name, wpas_dbus_interface,timeout) 162 time.sleep(int(p2p_flush_test.timeout))
|
p2p_stop_find.py | 42 global timeout 51 def __init__(self,interface_name,wpas_dbus_interface,timeout): 55 self.timeout = timeout 109 # Required for timeout implementation 118 timeout = 5 variable 157 wpas_dbus_interface,timeout) 168 time.sleep(int(p2p_stop_find_test.timeout))
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
chrome_browser_backend.py | 103 def _WaitForBrowserToComeUp(self, timeout=None): 106 self.Request('', timeout=timeout) 113 util.WaitFor(IsBrowserUp, timeout=30) 136 util.WaitFor(AllExtensionsLoaded, timeout=30) 165 def Request(self, path, timeout=None, throw_network_exception=False): 170 req = urllib2.urlopen(url, timeout=timeout) 200 timeout=web_contents.DEFAULT_WEB_CONTENTS_TIMEOUT): 209 self._tracing_backend.BeginTracing(custom_categories, timeout) [all...] |
/external/ppp/pppd/plugins/radius/ |
buildreq.c | 64 int timeout, int retries) 69 data->timeout = timeout; 195 int timeout = rc_conf_int("radius_timeout"); local 224 authserver->port[i], timeout, retries); 253 int timeout = rc_conf_int("radius_timeout"); local 268 authserver->port[i], timeout, retries); 299 int timeout = rc_conf_int("radius_timeout"); local 337 acctserver->port[i], timeout, retries); 382 int timeout = rc_conf_int("radius_timeout") local 420 int timeout = rc_conf_int("radius_timeout"); local [all...] |
/external/chromium_org/content/gpu/ |
gpu_watchdog_thread.cc | 26 GpuWatchdogThread::GpuWatchdogThread(int timeout) 29 timeout_(base::TimeDelta::FromMilliseconds(timeout)), 38 DCHECK(timeout >= 0); 163 // be pretty sluggish, so allow some extra time before the next timeout. 164 base::TimeDelta timeout = timeout_ * (after_suspend ? 3 : 1); local 165 suspension_timeout_ = base::Time::Now() + timeout * 2; 181 timeout);
|
/external/chromium_org/native_client_sdk/src/tools/tests/ |
httpd_test.py | 48 def _Run(self, args=None, timeout=None): 60 thread.join(timeout) 84 _, stdout, _ = self._Run(args, timeout=20) 91 returncode, stdout, _ = self._Run(args, timeout=10) 97 returncode, stdout, _ = self._Run(args, timeout=20) 104 returncode, stdout, _ = self._Run(args, timeout=20)
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
Session.java | 332 * InputStreams. One can also specify a timeout. NOTE: do NOT call this 337 * @param timeout The (non-negative) timeout in <code>ms</code>. <code>0</code> means no 338 * timeout, the call may block forever. 342 * <li><code>-1</code> if a timeout occurred.</li> 348 public int waitUntilDataAvailable(long timeout) throws IOException 350 if (timeout < 0) 351 throw new IllegalArgumentException("timeout must not be negative!"); 353 int conditions = cm.waitForCondition(cn, timeout, ChannelCondition.STDOUT_DATA | ChannelCondition.STDERR_DATA 356 if ((conditions & ChannelCondition.TIMEOUT) != 0 [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
Uninterruptibles.java | 34 * continues to block until the result is available or the timeout elapses, 43 // Implementation Note: As of 3-7-11, the logic for each blocking/timeout 71 * await(timeout, unit)} uninterruptibly. 74 long timeout, TimeUnit unit) { 77 long remainingNanos = unit.toNanos(timeout); 146 * {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)} 154 Future<V> future, long timeout, TimeUnit unit) 158 long remainingNanos = unit.toNanos(timeout); 180 * timedJoin(toJoin, timeout)} uninterruptibly. 183 long timeout, TimeUnit unit) [all...] |
/external/junit/src/org/junit/internal/runners/ |
MethodRoadie.java | 45 long timeout= fTestMethod.getTimeout(); local 46 if (timeout > 0) 47 runWithTimeout(timeout); 55 private void runWithTimeout(final long timeout) { 69 boolean terminated= service.awaitTermination(timeout, 75 addFailure(new Exception(String.format("test timed out after %d milliseconds", timeout)));
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testgamma.c | 83 Uint32 then, timeout; local 142 timeout = (5*1000); 143 while ( (SDL_GetTicks()-then) < timeout ) { 149 timeout = 0; 154 timeout += (5*1000); 165 timeout = 0;
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/ |
prettyload.js | 60 function timeout() { 83 } else { timeout(); } 85 } else { timeout(); }
|
/external/chromium_org/base/process/ |
kill_mac.cc | 30 // Waits for |timeout| seconds for the given |child| to exit and reap it. If 35 // timeout, so this method is preferred to wait for a specified period of 38 // before the timeout expires, or if the kqueue fails or misbehaves, the 67 void WaitForChildToDie(pid_t child, int timeout) { 69 DCHECK(timeout > 0); 117 TimeDelta remaining_delta = TimeDelta::FromSeconds(timeout);
|
/external/chromium_org/v8/tools/testrunner/local/ |
verbose.py | 38 * %(timeout)4d tests are expected to timeout sometimes 47 skipped = timeout = nocrash = passes = fail_ok = fail = 0 56 if statusfile.TIMEOUT in o: timeout += 1 64 "timeout": timeout,
|
/external/qemu/distrib/sdl-1.2.15/src/thread/win32/ |
SDL_syssem.c | 87 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) 97 if ( timeout == SDL_MUTEX_MAXWAIT ) { 100 dwMilliseconds = (DWORD)timeout;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ap.h | 22 int timeout); 25 const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout); 28 int timeout);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
TimeUnit.java | 23 * the following code will timeout in 50 milliseconds if the {@link 30 * while this code will timeout in 50 seconds: 35 * Note however, that there is no guarantee that a particular timeout 267 * This is a convenience method that converts timeout arguments 275 * public synchronized Object poll(long timeout, TimeUnit unit) 278 * unit.timedWait(this, timeout); 284 * @param timeout the maximum time to wait. If less than 288 public void timedWait(Object obj, long timeout) 290 if (timeout > 0) { 291 long ms = toMillis(timeout); [all...] |
/bionic/libc/include/sys/ |
atomics.h | 79 int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout);
|
/development/host/windows/usb/winusb/ |
adb_winusb_endpoint_object.h | 89 @param[in] time_out A timeout (in milliseconds) required for this I/O to
91 timeout set for this I/O.
108 @param[in] time_out A timeout (in milliseconds) required for this I/O to
110 timeout set for this I/O.
125 /** \brief Sets read / write operation timeout.
127 @param[in] timeout Timeout value in milliseconds to use for current read
129 not timeout at all. Note that timeout that is set with this method is
134 WinUsb framework will accept a timeout parameter in WinUsb_Read/Write [all...] |
/development/ndk/platforms/android-3/include/sys/ |
atomics.h | 79 int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout);
|
epoll.h | 67 int epoll_wait(int epfd, struct epoll_event *events, int max, int timeout);
|