/external/icu/icu4c/source/test/intltest/ |
D | simplethread.cpp | 123 SimpleThread::sleep(int32_t millis) in sleep() argument 258 void SimpleThread::sleep(int32_t millis) in sleep() argument 260 ::Sleep(millis); in sleep() 291 SimpleThread::sleep(int32_t millis) in sleep() argument 428 void SimpleThread::sleep(int32_t millis) in sleep() argument 435 cma_sleep(millis/100); in sleep() 437 millis *= 1000; in sleep() 438 while(millis >= 1000000) { in sleep() 440 millis -= 1000000; in sleep() 442 if(millis > 0) { in sleep() [all …]
|
D | callimts.cpp | 52 CalendarLimitTest::test(UDate millis, icu::Calendar* cal, icu::DateFormat* fmt) in test() argument 58 cal->setTime(millis, exception); in test() 60 fmt->format(millis, theDate); in test() 63 if(! withinErr(dt, millis, kDrift)) { in test() 65 dt, millis, uprv_fabs(millis-dt), uprv_fabs(dt*kDrift)); in test() 68 logln(UnicodeString("OK: got ") + dt + ", wanted " + millis); in test() 330 UDate millis = ucal_getNow(); in doLimitsTest() local 331 UDate mark = millis + 5000; // 5 sec in doLimitsTest() 332 millis -= testDuration * 1000; // stop time if testDuration<0 in doLimitsTest() 336 : ucal_getNow() < millis; in doLimitsTest()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | simplethread.cpp | 113 SimpleThread::sleep(int32_t millis) in sleep() argument 248 void SimpleThread::sleep(int32_t millis) in sleep() argument 250 ::Sleep(millis); in sleep() 281 SimpleThread::sleep(int32_t millis) in sleep() argument 418 void SimpleThread::sleep(int32_t millis) in sleep() argument 425 cma_sleep(millis/100); in sleep() 427 millis *= 1000; in sleep() 428 while(millis >= 1000000) { in sleep() 430 millis -= 1000000; in sleep() 432 if(millis > 0) { in sleep() [all …]
|
D | callimts.cpp | 52 CalendarLimitTest::test(UDate millis, U_NAMESPACE_QUALIFIER Calendar* cal, U_NAMESPACE_QUALIFIER Da… in test() argument 58 cal->setTime(millis, exception); in test() 60 fmt->format(millis, theDate); in test() 63 if(! withinErr(dt, millis, kDrift)) { in test() 65 dt, millis, uprv_fabs(millis-dt), uprv_fabs(dt*kDrift)); in test() 68 logln(UnicodeString("OK: got ") + dt + ", wanted " + millis); in test() 329 UDate millis = ucal_getNow(); in doLimitsTest() local 330 UDate mark = millis + 5000; // 5 sec in doLimitsTest() 331 millis -= testDuration * 1000; // stop time if testDuration<0 in doLimitsTest() 335 : ucal_getNow() < millis; in doLimitsTest()
|
/external/mockito/src/org/mockito/verification/ |
D | Timeout.java | 29 public Timeout(int millis, VerificationMode delegate) { in Timeout() argument 30 this(10, millis, delegate); in Timeout() 36 Timeout(int treshhold, int millis, VerificationMode delegate) { in Timeout() argument 37 this.impl = new VerificationWithTimeoutImpl(treshhold, millis, delegate); in Timeout()
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ |
D | InfoBarTestAnimationListener.java | 35 public boolean waitAndExpire(long millis) throws InterruptedException { in waitAndExpire() argument 37 while (!mCondition && millis > 0) { in waitAndExpire() 39 mLock.wait(millis); in waitAndExpire() 40 millis -= (SystemClock.elapsedRealtime() - start); in waitAndExpire()
|
/external/icu/icu4c/source/i18n/ |
D | simpletz.cpp | 394 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const in getOffset() argument 408 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset() 413 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 432 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset() 440 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 453 || millis < 0 in getOffset() 454 || millis >= U_MILLIS_PER_DAY in getOffset() 476 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 490 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 518 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); in getOffsetFromLocal() local [all …]
|
D | gregoimp.h | 240 static inline int32_t millisToJulianDay(double millis); 284 inline int32_t Grego::millisToJulianDay(double millis) { in millisToJulianDay() argument 285 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay)); in millisToJulianDay()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | simpletz.cpp | 393 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const in getOffset() argument 407 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset() 412 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 431 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset() 439 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 452 || millis < 0 in getOffset() 453 || millis >= U_MILLIS_PER_DAY in getOffset() 475 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 489 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 517 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); in getOffsetFromLocal() local [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowTime.java | 67 long millis = time.toMillis(true); in isEpoch() local 68 return getJulianDay(millis, 0) == Time.EPOCH_JULIAN_DAY; in isEpoch() 73 public static int getJulianDay(long millis, long gmtoff) { in getJulianDay() argument 75 long julianDay = (millis + offsetMillis) / DAY_IN_MILLIS; in getJulianDay() 85 long millis = (julianDay - Time.EPOCH_JULIAN_DAY) * DAY_IN_MILLIS; in setJulianDay() local 86 set(millis); in setJulianDay() 90 int approximateDay = getJulianDay(millis, time.gmtoff); in setJulianDay() 98 millis = time.normalize(true); in setJulianDay() 99 return millis; in setJulianDay() 103 public void set(long millis) { in set() argument [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TimeTest.java | 201 long millis = time.normalize(true); in testGetJulianDay() local 204 int julianDay = Time.getJulianDay(millis, time.gmtoff); in testGetJulianDay() 211 millis = time.normalize(true); in testGetJulianDay() 212 int day = Time.getJulianDay(millis, time.gmtoff); in testGetJulianDay() 224 long millis = time.normalize(true); in testSetJulianDay() local 226 int julianDay = Time.getJulianDay(millis, time.gmtoff); in testSetJulianDay() 233 millis = time.toMillis(false); in testSetJulianDay() 234 int day = Time.getJulianDay(millis, time.gmtoff); in testSetJulianDay()
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
D | threads_windows.c | 183 DWORD millis; in usbi_cond_timedwait() local 199 millis = 0; in usbi_cond_timedwait() 201 millis = delta_time.tv_usec/1000; in usbi_cond_timedwait() 202 millis += delta_time.tv_sec *1000; in usbi_cond_timedwait() 204 millis++; in usbi_cond_timedwait() 207 return usbi_cond_intwait(cond, mutex, millis); in usbi_cond_timedwait()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/execution/ |
D | ExecutionUtils.java | 42 public static void sleep(final int millis) { in sleep() argument 46 Thread.sleep(millis); in sleep() 56 public static void waitEventLoop(int millis) { in waitEventLoop() argument 59 long nanos = millis * 1000000L; in waitEventLoop() 68 sleep(millis); in waitEventLoop()
|
/external/icu/icu4c/source/samples/date/ |
D | date.c | 48 static UDate getWhen(const char *millis, const char *seconds, const char *format, UDateFormatStyle … 75 char *millis = NULL; in main() local 123 millis = argv[optInd]; in main() 161 when = getWhen(millis, seconds, format, style, parse, tz, &status); in main() 291 static UDate getWhen(const char *millis, const char *seconds, const char *format, in getWhen() argument 299 if(millis != NULL) { in getWhen() 300 sscanf(millis, "%lf", &when); in getWhen()
|
/external/valgrind/main/drd/tests/ |
D | tsan_thread_wrappers_pthread.h | 218 bool ReaderLockWhenWithTimeout(Condition cond, int millis) in ReaderLockWhenWithTimeout() argument 219 { Lock(); return WaitLoopWithTimeout(cond, millis); } in ReaderLockWhenWithTimeout() 220 bool LockWhenWithTimeout(Condition cond, int millis) in LockWhenWithTimeout() argument 221 { Lock(); return WaitLoopWithTimeout(cond, millis); } in LockWhenWithTimeout() 222 bool AwaitWithTimeout(Condition cond, int millis) in AwaitWithTimeout() argument 223 { return WaitLoopWithTimeout(cond, millis); } in AwaitWithTimeout() 235 bool WaitLoopWithTimeout(Condition cond, int millis) { in WaitLoopWithTimeout() argument 240 timeval2timespec(&now, &timeout, millis); in WaitLoopWithTimeout() 281 bool WaitWithTimeout(Mutex *mu, int millis) { in WaitWithTimeout() argument 285 timeval2timespec(&now, &timeout, millis); in WaitWithTimeout()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | JSR166TestCase.java | 485 static void delay(long millis) throws InterruptedException { in delay() argument 487 long ns = millis * 1000 * 1000; in delay() 489 if (millis > 0L) in delay() 490 Thread.sleep(millis); in delay() 495 millis = d / (1000 * 1000); in delay() 527 void assertThreadStaysAlive(Thread thread, long millis) { in assertThreadStaysAlive() argument 530 delay(millis); in assertThreadStaysAlive() 548 void assertThreadsStayAlive(long millis, Thread... threads) { in assertThreadsStayAlive() argument 551 delay(millis); in assertThreadsStayAlive() 709 void sleep(long millis) { in sleep() argument [all …]
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/ |
D | InputDialogContainerTest.java | 359 int hourOfDay, int minute, int second, int millis, int week, in setShowDialogExpectation() argument 368 mExpectedMillis = millis; in setShowDialogExpectation() 378 int hourOfDay, int minute, int second, int millis, int week, in showPickerDialog() argument 387 assertEquals(mExpectedMillis, millis); in showPickerDialog() 396 int hourOfDay, int minute, int second, int millis, in setFieldDateTimeValue() argument 400 hourOfDay, minute, second, millis, in setFieldDateTimeValue()
|
/external/chromium_org/third_party/icu/source/test/testdata/ |
D | format.txt | 25 // date: either 'MILLIS=####' where #### is millis, 27 … // or RELATIVE_MILLIS=### where ### is a signed value which is added to the current millis 124 // date: either 'MILLIS=####' where #### is millis, 126 … // or RELATIVE_MILLIS=### where ### is a signed value which is added to the current millis 307 // date: either 'MILLIS=####' where #### is millis, 309 … // or RELATIVE_MILLIS=### where ### is a signed value which is added to the current millis 396 // date: either 'MILLIS=####' where #### is millis, 398 … // or RELATIVE_MILLIS=### where ### is a signed value which is added to the current millis 425 // date: either 'MILLIS=####' where #### is millis, 427 … // or RELATIVE_MILLIS=### where ### is a signed value which is added to the current millis
|
/external/junit/src/org/junit/rules/ |
D | Timeout.java | 42 public Timeout(int millis) { in Timeout() argument 43 fMillis= millis; in Timeout()
|
/external/chromium_org/tools/perf/page_sets/tough_scrolling_cases/ |
D | busy.js | 5 function busyLoop(millis) { argument 6 for (var d = Date.now(); Date.now() - d < millis; ) { }
|
/external/icu/icu4c/source/test/threadtest/ |
D | threadtest.cpp | 48 static void Sleep(int millis) {::Sleep(millis);}; in Sleep() argument 97 static void Sleep(int millis); 103 void ThreadFuncs::Sleep(int millis) in Sleep() argument 105 int seconds = millis/1000; in Sleep()
|
/external/chromium_org/third_party/icu/source/test/threadtest/ |
D | threadtest.cpp | 47 static void Sleep(int millis) {::Sleep(millis);}; in Sleep() argument 96 static void Sleep(int millis); 102 void ThreadFuncs::Sleep(int millis) in Sleep() argument 104 int seconds = millis/1000; in Sleep()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | OkHttpClient.java | 91 long millis = unit.toMillis(timeout); in setConnectTimeout() local 92 if (millis > Integer.MAX_VALUE) { in setConnectTimeout() 95 connectTimeout = (int) millis; in setConnectTimeout() 115 long millis = unit.toMillis(timeout); in setReadTimeout() local 116 if (millis > Integer.MAX_VALUE) { in setReadTimeout() 119 readTimeout = (int) millis; in setReadTimeout()
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
D | SystemMessageHandler.java | 39 private void scheduleDelayedWork(long delayedTimeTicks, long millis) { in scheduleDelayedWork() argument 44 sendEmptyMessageDelayed(DELAYED_SCHEDULED_WORK, millis); in scheduleDelayedWork()
|
/external/mockito/src/org/mockito/internal/verification/ |
D | VerificationWithTimeoutImpl.java | 17 public VerificationWithTimeoutImpl(int treshhold, int millis, VerificationMode delegate) { in VerificationWithTimeoutImpl() argument 19 this.timeout = millis; in VerificationWithTimeoutImpl()
|