HomeSort by relevance Sort by last modified time
    Searched refs:deadline (Results 1 - 25 of 44) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/concurrent/locks/
Condition.java 349 * or the specified deadline elapses.
362 * <li>The specified deadline elapses; or
383 * <p>The return value indicates whether the deadline has elapsed,
386 * boolean aMethod(Date deadline) {
393 * stillWaiting = theCondition.awaitUntil(deadline);
412 * of the specified deadline. In either case the implementation
416 * @param deadline the absolute time to wait until
417 * @return {@code false} if the deadline has elapsed upon return, else
422 boolean awaitUntil(Date deadline) throws InterruptedException;
LockSupport.java 204 * the specified deadline, unless the permit is available.
218 * <li>The specified deadline passes; or
231 * @param deadline the absolute time, in milliseconds from the Epoch,
235 public static void parkUntil(Object blocker, long deadline) {
238 unsafe.park(true, deadline);
321 * the specified deadline, unless the permit is available.
335 * <li>The specified deadline passes; or
346 * @param deadline the absolute time, in milliseconds from the Epoch,
349 public static void parkUntil(long deadline) {
350 unsafe.park(true, deadline);
    [all...]
  /external/valgrind/main/drd/tests/
pth_inconsistent_cond_wait.c 72 struct timespec deadline; local
77 memset(&deadline, 0, sizeof(deadline));
78 deadline.tv_sec = now.tv_sec + 2;
79 deadline.tv_nsec = now.tv_usec * 1000;
80 PTH_CALL(pthread_cond_timedwait(&s_cond, mutex, &deadline));
  /external/qemu/android/
looper-generic.c 37 Duration deadline; member in struct:GLoopTimer
55 if (tt->deadline != DURATION_INFINITE) {
57 tt->deadline = DURATION_INFINITE;
67 if (tt->deadline != DURATION_INFINITE)
74 tt->deadline = deadline_ms;
94 return (tt->deadline != DURATION_INFINITE);
102 if (tt->deadline != DURATION_INFINITE)
127 tt->deadline = DURATION_INFINITE;
291 Duration deadline = tt->deadline; local
    [all...]
sync-utils.h 125 * deadline - Absoulte deadline time to complete the reading.
132 int64_t deadline);
160 * deadline - Absoulte deadline time to complete the writing.
167 int64_t deadline);
195 * deadline - Absoulte deadline time to complete the reading.
197 * Number of chracters read on success, 0 on deadline expiration,
203 int64_t deadline);
    [all...]
sync-utils.c 172 int64_t deadline)
181 ret = iolooper_wait_absolute(ssocket->iolooper, deadline);
208 int64_t deadline)
219 ret = iolooper_wait_absolute(ssocket->iolooper, deadline);
261 int64_t deadline)
267 int ret = syncsocket_read_absolute(ssocket, &ch, 1, deadline);
  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
WaitingThread.java 125 * @param deadline when to time out, or <code>null</code> for no timeout
137 public boolean await(Date deadline)
156 if (deadline != null) {
157 success = this.cond.awaitUntil(deadline);
ConnPoolByRoute.java 268 Date deadline = null;
270 deadline = new Date
339 success = waitingThread.await(deadline);
351 if (!success && (deadline != null) &&
352 (deadline.getTime() <= System.currentTimeMillis())) {
  /external/qemu/android/protocol/
core-connection.c 88 int64_t deadline; local
115 deadline = iolooper_now() + CORE_PORT_TIMEOUT_MS;
117 status = syncsocket_read_line_absolute(ssocket, buf, sizeof(buf), deadline);
130 status = syncsocket_read_line_absolute(ssocket, buf, sizeof(buf), deadline);
260 int64_t deadline; local
279 deadline = iolooper_now() + CORE_PORT_TIMEOUT_MS;
281 syncsocket_read_line_absolute(desc->ssocket, buf, sizeof(buf), deadline);
299 deadline);
  /development/tools/emulator/opengl/tests/event_injector/
iolooper.h 68 * would be better to assign a deadline for both reads before the first read,
69 * and call iolooper_wait_absoulte with the same deadline value:
70 * int64_t deadline = iolooper_now() + TIMEOUT;
71 * if (iolooper_wait_absoulte(iol, deadline)) {
73 * (iolooper_wait_absoulte(iol, deadline)) {
79 * deadline Deadline (absoulte time in milliseconds) before which an I/O should
83 * occurred before the deadline, or -1 on error.
85 int iolooper_wait_absolute(IoLooper* iol, int64_t deadline);
iolooper-select.c 264 iolooper_wait_absolute(IoLooper* iol, int64_t deadline)
266 int64_t timeout = deadline - iolooper_now();
268 /* If the deadline has passed, set the timeout to 0, this allows us
  /external/qemu/
iolooper.h 49 * would be better to assign a deadline for both reads before the first read,
50 * and call iolooper_wait_absoulte with the same deadline value:
51 * int64_t deadline = iolooper_now() + TIMEOUT;
52 * if (iolooper_wait_absoulte(iol, deadline)) {
54 * (iolooper_wait_absoulte(iol, deadline)) {
60 * deadline Deadline (absoulte time in milliseconds) before which an I/O should
64 * occurred before the deadline, or -1 on error.
66 int iolooper_wait_absolute(IoLooper* iol, int64_t deadline);
iolooper-select.c 230 iolooper_wait_absolute(IoLooper* iol, int64_t deadline)
232 int64_t timeout = deadline - iolooper_now();
234 /* If the deadline has passed, set the timeout to 0, this allows us
  /packages/apps/Settings/src/com/android/settings/
ConfirmLockPattern.java 171 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(); local
172 if (deadline != 0) {
173 handleAttemptLockout(deadline);
175 // The deadline has passed, but the timer was cancelled...
270 long deadline = mLockPatternUtils.setLockoutAttemptDeadline();
271 handleAttemptLockout(deadline);
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
webkit.py 140 deadline = time.time() + timeout
146 timeout = deadline - time.time()
152 timeout = deadline - time.time()
153 output = sp.read_line(deadline)
416 deadline = time.time() + int(driver_input.timeout) / 1000.0
419 block = self._read_block(deadline)
426 block = self._read_block(deadline)
445 def _read_block(self, deadline):
458 timeout = deadline - time.time()
468 timeout = deadline - time.time(
    [all...]
server_process.py 125 """Read a single line from the subprocess, waiting until the deadline.
126 If the deadline passes, the call times out. Note that even if the
127 subprocess has crashed or the deadline has passed, if there is output
143 the deadline passes. If the deadline passes, any available data will be
144 returned. Note that even if the deadline has passed or if the
168 deadline = time.time() + timeout
177 if now > deadline:
194 deadline - now)
  /external/libvpx/vpx/
vpx_decoder.h 191 * \param[in] deadline Soft deadline the decoder should attempt to meet,
203 long deadline);
vpx_encoder.h 648 #define VPX_DL_REALTIME (1) /**< deadline parameter analogous to
650 #define VPX_DL_GOOD_QUALITY (1000000) /**< deadline parameter analogous to
652 #define VPX_DL_BEST_QUALITY (0) /**< deadline parameter analogous to
659 * The encoder supports the notion of a soft real-time deadline. Given a
660 * non-zero value to the deadline parameter, the encoder will make a "best
664 * best possible frame by specifying a deadline of '0'. This deadline
666 * Applications that wish to map these former settings to the new deadline
681 * \param[in] deadline Time to spend encoding, in microseconds. (0=infinite)
695 unsigned long deadline);
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
PasswordUnlockScreen.java 284 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(); local
285 if (deadline != 0) {
286 handleAttemptLockout(deadline);
309 long deadline = mLockPatternUtils.setLockoutAttemptDeadline(); local
310 handleAttemptLockout(deadline);
321 // Prevent user from using the PIN/Password entry until scheduled deadline.
PatternUnlockScreen.java 284 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(); local
285 if (deadline != 0) {
286 handleAttemptLockout(deadline);
363 long deadline = mLockPatternUtils.setLockoutAttemptDeadline(); local
364 handleAttemptLockout(deadline);
  /external/ping/
ping_common.h 89 extern int deadline; /* time to die */
154 if (npackets && ntransmitted >= npackets && !deadline)
  /external/chromium/chrome/browser/chromeos/login/
update_screen.cc 35 const char kUpdateDeadlineFile[] = "/tmp/update-check-response-deadline";
273 std::string deadline;
278 if (!file_util::ReadFileToString(update_deadline_file_path, &deadline) ||
279 deadline.empty()) {
  /external/libvpx/vpx/internal/
vpx_codec_internal.h 196 long deadline);
254 unsigned long deadline);
  /external/libvpx/vpx/src/
vpx_decoder.c 119 long deadline)
132 user_priv, deadline);
  /external/libvpx/vp8/
vp8_cx_iface.c 594 unsigned long deadline)
599 /* Use best quality mode if no deadline is given. */
602 if (deadline)
611 /* If the deadline is more that the duration this frame is to be shown,
614 new_qc = (deadline > duration_us) ? MODE_GOODQUALITY : MODE_REALTIME;
654 unsigned long deadline)
661 pick_quickcompress_mode(ctx, duration, deadline);
    [all...]

Completed in 821 milliseconds

1 2