/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | Grego.java | 227 int millis = fields[5]; in timeToString() local 228 int hour = millis / MILLIS_PER_HOUR; in timeToString() 229 millis = millis % MILLIS_PER_HOUR; in timeToString() 230 int min = millis / MILLIS_PER_MINUTE; in timeToString() 231 millis = millis % MILLIS_PER_MINUTE; in timeToString() 232 int sec = millis / MILLIS_PER_SECOND; in timeToString() 233 millis = millis % MILLIS_PER_SECOND; in timeToString() 236 fields[0], fields[1] + 1, fields[2], hour, min, sec, millis); in timeToString()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 225 int millis = fields[5]; in timeToString() local 226 int hour = millis / MILLIS_PER_HOUR; in timeToString() 227 millis = millis % MILLIS_PER_HOUR; in timeToString() 228 int min = millis / MILLIS_PER_MINUTE; in timeToString() 229 millis = millis % MILLIS_PER_MINUTE; in timeToString() 230 int sec = millis / MILLIS_PER_SECOND; in timeToString() 231 millis = millis % MILLIS_PER_SECOND; in timeToString() 234 fields[0], fields[1] + 1, fields[2], hour, min, sec, millis); in timeToString()
|
/third_party/libusb/libusb/os/ |
D | threads_windows.c | 27 DWORD millis; in usbi_cond_timedwait() local 29 millis = (DWORD)(tv->tv_sec * 1000L) + (tv->tv_usec / 1000L); in usbi_cond_timedwait() 32 millis++; in usbi_cond_timedwait() 34 if (SleepConditionVariableCS(cond, mutex, millis)) in usbi_cond_timedwait()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | ICUDurationTest.java | 49 ICUTestDuration(long millis) { in ICUTestDuration() argument 51 if (millis > 0) { in ICUTestDuration() 53 } else if (millis == 0) { in ICUTestDuration() 58 millis = -millis; in ICUTestDuration() 60 long d = millis / 86400000L; in ICUTestDuration() 61 millis %= 86400000L; in ICUTestDuration() 65 long h = millis / 3600000L; in ICUTestDuration() 66 millis %= 3600000L; in ICUTestDuration() 70 long m = millis / 60000L; in ICUTestDuration() 71 millis %= 60000L; in ICUTestDuration() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
D | ICUDurationTest.java | 52 ICUTestDuration(long millis) { in ICUTestDuration() argument 54 if (millis > 0) { in ICUTestDuration() 56 } else if (millis == 0) { in ICUTestDuration() 61 millis = -millis; in ICUTestDuration() 63 long d = millis / 86400000L; in ICUTestDuration() 64 millis %= 86400000L; in ICUTestDuration() 68 long h = millis / 3600000L; in ICUTestDuration() 69 millis %= 3600000L; in ICUTestDuration() 73 long m = millis / 60000L; in ICUTestDuration() 74 millis %= 60000L; in ICUTestDuration() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | simpletz.cpp | 397 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const in getOffset() argument 411 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset() 416 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 435 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset() 443 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 456 || millis < 0 in getOffset() 457 || millis >= U_MILLIS_PER_DAY in getOffset() 479 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 493 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 523 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); in getOffsetFromLocal() local [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | simpletz.cpp | 397 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const in getOffset() argument 411 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset() 416 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 435 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset() 443 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 456 || millis < 0 in getOffset() 457 || millis >= U_MILLIS_PER_DAY in getOffset() 479 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 493 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 523 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); in getOffsetFromLocal() local [all …]
|
D | gregoimp.h | 253 static inline int32_t millisToJulianDay(double millis); 297 inline int32_t Grego::millisToJulianDay(double millis) { in millisToJulianDay() argument 298 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay)); in millisToJulianDay()
|
/third_party/icu/icu4c/source/i18n/ |
D | simpletz.cpp | 397 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const in getOffset() argument 411 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset() 416 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 435 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset() 443 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 456 || millis < 0 in getOffset() 457 || millis >= U_MILLIS_PER_DAY in getOffset() 479 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 493 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 523 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); in getOffsetFromLocal() local [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | simpletz.cpp | 396 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const in getOffset() argument 410 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset() 415 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 434 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset() 442 uint8_t dayOfWeek, int32_t millis, in getOffset() argument 455 || millis < 0 in getOffset() 456 || millis >= U_MILLIS_PER_DAY in getOffset() 478 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 492 (int8_t)day, (int8_t)dayOfWeek, millis, in getOffset() 520 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); in getOffsetFromLocal() local [all …]
|
D | gregoimp.h | 253 static inline int32_t millisToJulianDay(double millis); 297 inline int32_t Grego::millisToJulianDay(double millis) { in millisToJulianDay() argument 298 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay)); in millisToJulianDay()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | SimpleTimeZone.java | 626 int dayOfWeek, int millis) in getOffset() argument 639 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); in getOffset() 648 int dayOfWeek, int millis, in getOffset() argument 661 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset() 666 int dayOfWeek, int millis, in getOffset() argument 680 || millis < 0 in getOffset() 681 || millis >= Grego.MILLIS_PER_DAY in getOffset() 735 day, dayOfWeek, millis, in getOffset() 752 day, dayOfWeek, millis, in getOffset() 830 int dayOfWeek, int millis, int millisDelta, in compareToRule() argument [all …]
|
D | DateTimeRule.java | 266 int millis = time % 1000; in toString() local 287 buf.append(millis/100); in toString() 288 buf.append((millis/10)%10); in toString() 289 buf.append(millis%10); in toString()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | SimpleTimeZone.java | 647 int dayOfWeek, int millis) in getOffset() argument 660 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); in getOffset() 669 int dayOfWeek, int millis, in getOffset() argument 682 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset() 687 int dayOfWeek, int millis, in getOffset() argument 701 || millis < 0 in getOffset() 702 || millis >= Grego.MILLIS_PER_DAY in getOffset() 756 day, dayOfWeek, millis, in getOffset() 773 day, dayOfWeek, millis, in getOffset() 852 int dayOfWeek, int millis, int millisDelta, in compareToRule() argument [all …]
|
D | DateTimeRule.java | 301 int millis = time % 1000; in toString() local 322 buf.append(millis/100); in toString() 323 buf.append((millis/10)%10); in toString() 324 buf.append(millis%10); in toString()
|
/third_party/openssl/crypto/ts/ |
D | ts_rsp_utils.c | 194 int TS_ACCURACY_set_millis(TS_ACCURACY *a, const ASN1_INTEGER *millis) in TS_ACCURACY_set_millis() argument 198 if (a->millis == millis) in TS_ACCURACY_set_millis() 200 if (millis != NULL) { in TS_ACCURACY_set_millis() 201 new_millis = ASN1_INTEGER_dup(millis); in TS_ACCURACY_set_millis() 207 ASN1_INTEGER_free(a->millis); in TS_ACCURACY_set_millis() 208 a->millis = new_millis; in TS_ACCURACY_set_millis() 214 return a->millis; in TS_ACCURACY_get_millis()
|
/third_party/icu/icu4c/source/samples/date/ |
D | date.c | 53 static UDate getWhen(const char *millis, const char *seconds, const char *format, const char *local… 81 char *millis = NULL; in main() local 129 millis = argv[optInd]; in main() 173 when = getWhen(millis, seconds, format, locale, style, parse, tz, &status); in main() 305 static UDate getWhen(const char *millis, const char *seconds, const char *format, const char *local… in getWhen() argument 313 if(millis != NULL) { in getWhen() 314 sscanf(millis, "%lf", &when); in getWhen()
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/date/ |
D | date.c | 52 static UDate getWhen(const char *millis, const char *seconds, const char *format, const char *local… 80 char *millis = NULL; in main() local 128 millis = argv[optInd]; in main() 172 when = getWhen(millis, seconds, format, locale, style, parse, tz, &status); in main() 304 static UDate getWhen(const char *millis, const char *seconds, const char *format, const char *local… in getWhen() argument 312 if(millis != NULL) { in getWhen() 313 sscanf(millis, "%lf", &when); in getWhen()
|
/third_party/skia/third_party/externals/icu/source/samples/date/ |
D | date.c | 53 static UDate getWhen(const char *millis, const char *seconds, const char *format, const char *local… 81 char *millis = NULL; in main() local 129 millis = argv[optInd]; in main() 173 when = getWhen(millis, seconds, format, locale, style, parse, tz, &status); in main() 305 static UDate getWhen(const char *millis, const char *seconds, const char *format, const char *local… in getWhen() argument 313 if(millis != NULL) { in getWhen() 314 sscanf(millis, "%lf", &when); in getWhen()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | callimts.cpp | 56 CalendarLimitTest::test(UDate millis, icu::Calendar* cal, icu::DateFormat* fmt) in test() argument 62 cal->setTime(millis, exception); in test() 64 fmt->format(millis, theDate); in test() 67 if(! withinErr(dt, millis, kDrift)) { in test() 69 dt, millis, uprv_fabs(millis-dt), uprv_fabs(dt*kDrift)); in test() 72 logln(UnicodeString("OK: got ") + dt + ", wanted " + millis); in test() 366 UDate millis = ucal_getNow(); in doLimitsTest() local 367 UDate mark = millis + 5000; // 5 sec in doLimitsTest() 368 millis -= testDuration * 1000; // stop time if testDuration<0 in doLimitsTest() 372 : ucal_getNow() < millis; in doLimitsTest()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | exec_ctx.cc | 83 gpr_timespec grpc_millis_to_timespec(grpc_millis millis, in grpc_millis_to_timespec() argument 87 if (millis == GRPC_MILLIS_INF_FUTURE) { in grpc_millis_to_timespec() 90 if (millis == GRPC_MILLIS_INF_PAST) { in grpc_millis_to_timespec() 95 return gpr_time_from_millis(millis, GPR_TIMESPAN); in grpc_millis_to_timespec() 98 gpr_time_from_millis(millis, GPR_TIMESPAN)); in grpc_millis_to_timespec()
|
/third_party/typescript/tests/baselines/reference/convertToAsyncFunction/ |
D | convertToAsyncFunction_noArgs2.ts | 3 function delay(millis: number): Promise<void> { 17 function delay(millis: number): Promise<void> {
|
D | convertToAsyncFunction_noArgs1.ts | 3 function delay(millis: number): Promise<void> { 17 function delay(millis: number): Promise<void> {
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timescale/ |
D | TimeScaleDataTest.java | 231 long ticks, millis; in TestDotNet() local 241 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet() 247 if(millis != icuDate) { in TestDotNet() 250 (millis/dayMillis) + " != " + (icuDate/dayMillis) + in TestDotNet()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
D | TimeScaleDataTest.java | 228 long ticks, millis; in TestDotNet() local 238 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet() 244 if(millis != icuDate) { in TestDotNet() 247 (millis/dayMillis) + " != " + (icuDate/dayMillis) + in TestDotNet()
|