/external/libvpx/libvpx/test/ |
decode_test_driver.h | 44 Decoder(vpx_codec_dec_cfg_t cfg, unsigned long deadline) 45 : cfg_(cfg), deadline_(deadline) { 59 void set_deadline(unsigned long deadline) { 60 deadline_ = deadline;
|
encode_test_driver.h | 84 Encoder(vpx_codec_enc_cfg_t cfg, unsigned long deadline, 86 : cfg_(cfg), deadline_(deadline), init_flags_(init_flags), stats_(stats) { 115 void set_deadline(unsigned long deadline) { 116 deadline_ = deadline;
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
Condition.java | 348 * or the specified deadline elapses. 361 * <li>The specified deadline elapses; or 382 * <p>The return value indicates whether the deadline has elapsed, 385 * boolean aMethod(Date deadline) { 392 * stillWaiting = theCondition.awaitUntil(deadline); 411 * of the specified deadline. In either case the implementation 415 * @param deadline the absolute time to wait until 416 * @return {@code false} if the deadline has elapsed upon return, else 421 boolean awaitUntil(Date deadline) throws InterruptedException;
|
LockSupport.java | 206 * the specified deadline, unless the permit is available. 220 * <li>The specified deadline passes; or 233 * @param deadline the absolute time, in milliseconds from the Epoch, 237 public static void parkUntil(Object blocker, long deadline) { 240 unsafe.park(true, deadline); 327 * the specified deadline, unless the permit is available. 341 * <li>The specified deadline passes; or 352 * @param deadline the absolute time, in milliseconds from the Epoch, 355 public static void parkUntil(long deadline) { 356 unsafe.park(true, deadline); [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
GcFinalization.java | 120 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); local 139 } while (System.nanoTime() - deadline < 0); 155 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); local 169 } while (System.nanoTime() - deadline < 0); 208 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); local 220 } while (System.nanoTime() - deadline < 0);
|
/external/valgrind/main/drd/tests/ |
pth_inconsistent_cond_wait.c | 78 struct timespec deadline; local 83 memset(&deadline, 0, sizeof(deadline)); 84 deadline.tv_sec = now.tv_sec + 2; 85 deadline.tv_nsec = now.tv_usec * 1000; 86 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...] |
async-socket.h | 198 /* Asynchronously reads data from an asynchronous socket with a deadline. 204 * deadline - Deadline to complete the read. 210 Duration deadline); 226 /* Asynchronously writes data to an asynchronous socket with a deadline. 232 * deadline - Deadline to complete the write. 238 Duration deadline); 254 /* Get a deadline for the given time interval relative to "now". 259 * A deadline for the given time interval relative to "now" [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);
|
async-socket.c | 87 /* Deadline for this I/O */ 88 Duration deadline; member in struct:AsyncSocketIO 120 * deadline - Deadline to complete the I/O. 131 Duration deadline) 154 asio->deadline = deadline; 157 loopTimer_startAbsolute(asio->timer, deadline); 228 * deadline - Deadline to complete the operation [all...] |
/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);
|
/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);
|
/external/guava/guava/src/com/google/common/collect/ |
Queues.java | 211 long deadline = System.nanoTime() + unit.toNanos(timeout); local 218 E e = q.poll(deadline - System.nanoTime(), TimeUnit.NANOSECONDS); 245 long deadline = System.nanoTime() + unit.toNanos(timeout); local 257 e = q.poll(deadline - System.nanoTime(), TimeUnit.NANOSECONDS);
|
/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 | 232 iolooper_wait_absolute(IoLooper* iol, int64_t deadline) 234 int64_t timeout = deadline - iolooper_now(); 236 /* If the deadline has passed, set the timeout to 0, this allows us
|
/sdk/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);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardAbsKeyInputView.java | 85 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(); local 86 if (deadline != 0) { 87 handleAttemptLockout(deadline); 161 long deadline = mLockPatternUtils.setLockoutAttemptDeadline(); local 162 handleAttemptLockout(deadline); 169 // Prevent user from using the PIN/Password entry until scheduled deadline.
|
KeyguardPatternView.java | 195 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(); local 196 if (deadline != 0) { 197 handleAttemptLockout(deadline); 280 long deadline = mLockPatternUtils.setLockoutAttemptDeadline(); local 281 handleAttemptLockout(deadline);
|
/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... 273 long deadline = mLockPatternUtils.setLockoutAttemptDeadline(); 274 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...] |
/external/libvpx/libvpx/vpx/ |
vpx_decoder.h | 211 * \param[in] deadline Soft deadline the decoder should attempt to meet, 223 long deadline);
|
/external/ping/ |
ping_common.c | 26 int deadline = 0; /* time to die */ variable 145 deadline = atoi(optarg); 146 if (deadline < 0) { 289 if (exiting || (npackets && ntransmitted >= npackets && !deadline)) 485 if (deadline) { 490 it.it_value.tv_sec = deadline; 526 if (deadline && nerrors) 829 exit(!nreceived || (deadline && nreceived < npackets));
|
ping_common.h | 95 extern int deadline; /* time to die */ 160 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()) {
|