Home
last modified time | relevance | path

Searched refs:jd (Results 1 – 25 of 72) sorted by relevance

123

/third_party/icu/icu4c/source/i18n/
Dindiancal.cpp151 static int32_t* jdToGregorian(double jd, int32_t gregorianDate[3]) { in jdToGregorian() argument
153 Grego::dayToFields(jd - kEpochStartAsJulianDay, in jdToGregorian()
164 double start, jd; in IndianToJD() local
179 jd = start + (date - 1); in IndianToJD()
181 jd = start + leapMonth; in IndianToJD()
189 jd += m * 31; in IndianToJD()
193 jd += m * 30; in IndianToJD()
195 jd += date - 1; in IndianToJD()
198 return jd; in IndianToJD()
222 double jd = IndianToJD(eyear ,imonth, 1); in handleComputeMonthStart() local
[all …]
Dgregocal.cpp477 int32_t jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay() local
481 jd >= fCutoverJulianDay) { in handleComputeJulianDay()
490 if ((fIsGregorian==true) != (jd >= fCutoverJulianDay)) { /* cutoverJulianDay)) { */ in handleComputeJulianDay()
493 __FILE__, __LINE__, jd); in handleComputeJulianDay()
496 jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay()
501 jd); in handleComputeJulianDay()
506 __FILE__, __LINE__, jd, fIsGregorian?"T":"F", fInvertGregorian?"T":"F", bestField); in handleComputeJulianDay()
515 __FILE__, __LINE__, fFields[bestField],jd, gregShift); in handleComputeJulianDay()
517 jd -= gregShift; in handleComputeJulianDay()
522 __FILE__, __LINE__, jd, weekShift); in handleComputeJulianDay()
[all …]
Dchnsecal.cpp807 int32_t jd = newMoon + kEpochStartAsJulianDay - 1 + dom; in offsetMonth() local
812 set(UCAL_JULIAN_DAY, jd-1); in offsetMonth()
821 set(UCAL_JULIAN_DAY, jd); in offsetMonth()
824 set(UCAL_JULIAN_DAY, jd); in offsetMonth()
/third_party/skia/third_party/externals/icu/source/i18n/
Dindiancal.cpp151 static int32_t* jdToGregorian(double jd, int32_t gregorianDate[3]) { in jdToGregorian() argument
153 Grego::dayToFields(jd - kEpochStartAsJulianDay, in jdToGregorian()
164 double start, jd; in IndianToJD() local
179 jd = start + (date - 1); in IndianToJD()
181 jd = start + leapMonth; in IndianToJD()
189 jd += m * 31; in IndianToJD()
193 jd += m * 30; in IndianToJD()
195 jd += date - 1; in IndianToJD()
198 return jd; in IndianToJD()
222 double jd = IndianToJD(eyear ,imonth, 1); in handleComputeMonthStart() local
[all …]
Dgregocal.cpp477 int32_t jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay() local
481 jd >= fCutoverJulianDay) { in handleComputeJulianDay()
490 if ((fIsGregorian==TRUE) != (jd >= fCutoverJulianDay)) { /* cutoverJulianDay)) { */ in handleComputeJulianDay()
493 __FILE__, __LINE__, jd); in handleComputeJulianDay()
496 jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay()
501 jd); in handleComputeJulianDay()
506 __FILE__, __LINE__, jd, fIsGregorian?"T":"F", fInvertGregorian?"T":"F", bestField); in handleComputeJulianDay()
515 __FILE__, __LINE__, fFields[bestField],jd, gregShift); in handleComputeJulianDay()
517 jd -= gregShift; in handleComputeJulianDay()
522 __FILE__, __LINE__, jd, weekShift); in handleComputeJulianDay()
[all …]
Dchnsecal.cpp807 int32_t jd = newMoon + kEpochStartAsJulianDay - 1 + dom; in offsetMonth() local
812 set(UCAL_JULIAN_DAY, jd-1); in offsetMonth()
821 set(UCAL_JULIAN_DAY, jd); in offsetMonth()
824 set(UCAL_JULIAN_DAY, jd); in offsetMonth()
/third_party/node/deps/icu-small/source/i18n/
Dindiancal.cpp151 static int32_t* jdToGregorian(double jd, int32_t gregorianDate[3]) { in jdToGregorian() argument
153 Grego::dayToFields(jd - kEpochStartAsJulianDay, in jdToGregorian()
164 double start, jd; in IndianToJD() local
179 jd = start + (date - 1); in IndianToJD()
181 jd = start + leapMonth; in IndianToJD()
189 jd += m * 31; in IndianToJD()
193 jd += m * 30; in IndianToJD()
195 jd += date - 1; in IndianToJD()
198 return jd; in IndianToJD()
222 double jd = IndianToJD(eyear ,imonth, 1); in handleComputeMonthStart() local
[all …]
Dgregocal.cpp479 int32_t jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay() local
483 jd >= fCutoverJulianDay) { in handleComputeJulianDay()
492 if ((fIsGregorian) != (jd >= fCutoverJulianDay)) { /* cutoverJulianDay)) { */ in handleComputeJulianDay()
495 __FILE__, __LINE__, jd); in handleComputeJulianDay()
498 jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay()
503 jd); in handleComputeJulianDay()
508 __FILE__, __LINE__, jd, fIsGregorian?"T":"F", fInvertGregorian?"T":"F", bestField); in handleComputeJulianDay()
517 __FILE__, __LINE__, fFields[bestField],jd, gregShift); in handleComputeJulianDay()
519 jd -= gregShift; in handleComputeJulianDay()
524 __FILE__, __LINE__, jd, weekShift); in handleComputeJulianDay()
[all …]
Dchnsecal.cpp819 int32_t jd = newMoon + kEpochStartAsJulianDay - 1 + dom; in offsetMonth() local
824 set(UCAL_JULIAN_DAY, jd-1); in offsetMonth()
833 set(UCAL_JULIAN_DAY, jd); in offsetMonth()
836 set(UCAL_JULIAN_DAY, jd); in offsetMonth()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DIndianCalendar.java426 double jd = IndianToJD(year ,imonth, 1); in handleComputeMonthStart() local
428 return (int)jd; in handleComputeMonthStart()
441 double start, jd; in IndianToJD() local
455 jd = start + (date - 1); in IndianToJD()
457 jd = start + leapMonth; in IndianToJD()
460 jd += m * 31; in IndianToJD()
463 jd += m * 30; in IndianToJD()
465 jd += date - 1; in IndianToJD()
468 return jd; in IndianToJD()
496 private static int[] jdToGregorian(double jd) { in jdToGregorian() argument
[all …]
DGregorianCalendar.java810 int jd = super.handleComputeJulianDay(bestField); in handleComputeJulianDay() local
814 if (isGregorian != (jd >= cutoverJulianDay)) { in handleComputeJulianDay()
816 jd = super.handleComputeJulianDay(bestField); in handleComputeJulianDay()
819 return jd; in handleComputeJulianDay()
DChineseCalendar.java522 int jd = newMoon + EPOCH_JULIAN_DAY - 1 + dom; in offsetMonth() local
527 set(JULIAN_DAY, jd-1); in offsetMonth()
534 set(JULIAN_DAY, jd); in offsetMonth()
537 set(JULIAN_DAY, jd); in offsetMonth()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIndianCalendar.java455 double jd = IndianToJD(year ,imonth, 1); in handleComputeMonthStart() local
457 return (int)jd; in handleComputeMonthStart()
470 double start, jd; in IndianToJD() local
484 jd = start + (date - 1); in IndianToJD()
486 jd = start + leapMonth; in IndianToJD()
489 jd += m * 31; in IndianToJD()
492 jd += m * 30; in IndianToJD()
494 jd += date - 1; in IndianToJD()
497 return jd; in IndianToJD()
DGregorianCalendar.java837 int jd = super.handleComputeJulianDay(bestField); in handleComputeJulianDay() local
841 if (isGregorian != (jd >= cutoverJulianDay)) { in handleComputeJulianDay()
843 jd = super.handleComputeJulianDay(bestField); in handleComputeJulianDay()
846 return jd; in handleComputeJulianDay()
DChineseCalendar.java538 int jd = newMoon + EPOCH_JULIAN_DAY - 1 + dom; in offsetMonth() local
543 set(JULIAN_DAY, jd-1); in offsetMonth()
550 set(JULIAN_DAY, jd); in offsetMonth()
553 set(JULIAN_DAY, jd); in offsetMonth()
/third_party/ffmpeg/libavutil/x86/
Dlls.asm70 cmp jd, -2
94 cmp jd, -2
97 test jd, jd
163 lea jd, [iq + 4]
164 cmp jd, count2d
191 add jd, 4
192 cmp jd, count2d
195 cmp jd, countd
227 mov jd, id
/third_party/openssl/crypto/
Do_time.c68 static void julian_to_date(long jd, int *y, int *m, int *d);
186 static void julian_to_date(long jd, int *y, int *m, int *d) in julian_to_date() argument
188 long L = jd + 68569; in julian_to_date()
/third_party/node/deps/openssl/openssl/crypto/
Do_time.c68 static void julian_to_date(long jd, int *y, int *m, int *d);
186 static void julian_to_date(long jd, int *y, int *m, int *d) in julian_to_date() argument
188 long L = jd + 68569; in julian_to_date()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DAstroTest.java338 double jd = astro.getJulianDay() - 2447891.5; in TestBasics() local
340 if (jd == exp) { in TestBasics()
341 logln(d3.format(cal3.getTime()) + " => " + jd); in TestBasics()
343 errln("FAIL: " + d3.format(cal3.getTime()) + " => " + jd + in TestBasics()
DCopticTest.java154 int jd = CopticCalendar.copticToJD(y, m, d); in TestCopticToJD() local
155 cal.set(Calendar.JULIAN_DAY, jd); in TestCopticToJD()
165 " --> jd: " + jd + in TestCopticToJD()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DAstroTest.java341 double jd = astro.getJulianDay() - 2447891.5; in TestBasics() local
343 if (jd == exp) { in TestBasics()
344 logln(d3.format(cal3.getTime()) + " => " + jd); in TestBasics()
346 errln("FAIL: " + d3.format(cal3.getTime()) + " => " + jd + in TestBasics()
DCopticTest.java157 int jd = CopticCalendar.copticToJD(y, m, d); in TestCopticToJD() local
158 cal.set(Calendar.JULIAN_DAY, jd); in TestCopticToJD()
168 " --> jd: " + jd + in TestCopticToJD()
DCalendarRegressionTest.java2515 int jd, month, dayOfMonth;
2516 … for (jd = 67023580; jd <= 67023584; jd++) { // year 178171, int32_t overflow if jd >= 67023582
2518 cal.set(Calendar.JULIAN_DAY, jd);
2522 …errln("Error: localeID " + localeID + ", julianDay " + jd + "; maxMonth " + maxMonth + ", got mont…
2534 int jd, year, month, dayOfMonth;
2535 … for (jd = 73530872; jd <= 73530876; jd++) { // year 202002, int32_t overflow if jd >= 73530874
2537 cal.set(Calendar.JULIAN_DAY, jd);
2542 …errln("Error: localeID " + localeID + ", julianDay " + jd + "; got year " + year + "; maxMonth " +…
/third_party/icu/icu4c/source/test/intltest/
Dastrotst.cpp411 double jd = astro->getJulianDay() - 2447891.5; in TestBasics() local
413 if (jd == exp) { in TestBasics()
415 logln(d3->format(cal3.getTime(status),s) + " => " + jd); in TestBasics()
418 errln("FAIL: " + d3->format(cal3.getTime(status), s) + " => " + jd + in TestBasics()
/third_party/json/docs/mkdocs/docs/features/types/
Dnumber_handling.md239 json jd = d; // stores double value 42.3
240 std::int64_t i = jd.get<std::int64_t>(); // now i==42; no warning or error is produced
244 exception if `jd` is not a numerical type, for instance a string.
258 // check if jd is really integer-valued
259 if (jd.is_number_integer())
262 std::int64_t i = jd.get<std::int64_t>();

123