Home
last modified time | relevance | path

Searched refs:days (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/third_party/typescript/tests/baselines/reference/
DdeclFileTypeofEnum.js2 enum days {
12 var weekendDay = days.saturday;
13 var daysOfMonth = days;
14 var daysOfYear: typeof days;
17 var days; variable
18 (function (days) { argument
19 days[days["monday"] = 0] = "monday";
20 days[days["tuesday"] = 1] = "tuesday";
21 days[days["wednesday"] = 2] = "wednesday";
22 days[days["thursday"] = 3] = "thursday";
[all …]
DdeclFileTypeofEnum.types2 enum days {
3 >days : days
6 >monday : days.monday
9 >tuesday : days.tuesday
12 >wednesday : days.wednesday
15 >thursday : days.thursday
18 >friday : days.friday
21 >saturday : days.saturday
24 >sunday : days.sunday
27 var weekendDay = days.saturday;
[all …]
DdeclFileTypeofEnum.symbols2 enum days {
3 >days : Symbol(days, Decl(declFileTypeofEnum.ts, 0, 0))
6 >monday : Symbol(days.monday, Decl(declFileTypeofEnum.ts, 0, 11))
9 >tuesday : Symbol(days.tuesday, Decl(declFileTypeofEnum.ts, 1, 11))
12 >wednesday : Symbol(days.wednesday, Decl(declFileTypeofEnum.ts, 2, 12))
15 >thursday : Symbol(days.thursday, Decl(declFileTypeofEnum.ts, 3, 14))
18 >friday : Symbol(days.friday, Decl(declFileTypeofEnum.ts, 4, 13))
21 >saturday : Symbol(days.saturday, Decl(declFileTypeofEnum.ts, 5, 11))
24 >sunday : Symbol(days.sunday, Decl(declFileTypeofEnum.ts, 6, 13))
27 var weekendDay = days.saturday;
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/test/duration/testdata/
Dtestdata_en.txt67 3 days ago
68 2 days ago
70 0 days
72 2 days from now
73 3 days from now
74 5 days from now
75 10 days from now
76 11 days from now
77 12 days from now
78 20 days from now
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/
Dtestdata_en.txt67 3 days ago
68 2 days ago
70 0 days
72 2 days from now
73 3 days from now
74 5 days from now
75 10 days from now
76 11 days from now
77 12 days from now
78 20 days from now
[all …]
/third_party/node/deps/v8/src/date/
Ddate.cc82 void DateCache::YearMonthDayFromDays(int days, int* year, int* month, in YearMonthDayFromDays() argument
87 int new_day = ymd_day_ + (days - ymd_days_); in YearMonthDayFromDays()
90 ymd_days_ = days; in YearMonthDayFromDays()
97 int save_days = days; in YearMonthDayFromDays()
99 days += kDaysOffset; in YearMonthDayFromDays()
100 *year = 400 * (days / kDaysIn400Years) - kYearsOffset; in YearMonthDayFromDays()
101 days %= kDaysIn400Years; in YearMonthDayFromDays()
103 DCHECK_EQ(save_days, DaysFromYearMonth(*year, 0) + days); in YearMonthDayFromDays()
105 days--; in YearMonthDayFromDays()
106 int yd1 = days / kDaysIn100Years; in YearMonthDayFromDays()
[all …]
Ddate.h60 static int TimeInDay(int64_t time_ms, int days) { in TimeInDay() argument
61 return static_cast<int>(time_ms - days * kMsPerDay); in TimeInDay()
69 int Weekday(int days) { in Weekday() argument
70 int result = (days + 4) % 7; in Weekday()
123 int days = DaysFromTime(time_ms); in EquivalentTime() local
124 int time_within_day_ms = static_cast<int>(time_ms - days * kMsPerDay); in EquivalentTime()
126 YearMonthDayFromDays(days, &year, &month, &day); in EquivalentTime()
145 void YearMonthDayFromDays(int days, int* year, int* month, int* day);
/third_party/ltp/lib/
Dtst_rtctime.c61 int days; in tst_rtc_time_to_tm() local
64 days = time / 86400; in tst_rtc_time_to_tm()
68 tm->tm_wday = (days + 4) % 7; in tst_rtc_time_to_tm()
70 year = 1970 + days / 365; in tst_rtc_time_to_tm()
71 days -= (year - 1970) * 365 in tst_rtc_time_to_tm()
74 while (days < 0) { in tst_rtc_time_to_tm()
76 days += 365 + is_leap_year(year); in tst_rtc_time_to_tm()
79 tm->tm_yday = days + 1; in tst_rtc_time_to_tm()
84 newdays = days - rtc_month_days(month, year); in tst_rtc_time_to_tm()
87 days = newdays; in tst_rtc_time_to_tm()
[all …]
/third_party/toybox/toys/other/
Duptime.c31 unsigned int weeks, days, hours, minutes; in uptime_main() local
55 days = info.uptime/24; in uptime_main()
58 weeks = days/7; in uptime_main()
59 days %= 7; in uptime_main()
62 days, (days!=1)?"s":"", in uptime_main()
67 if (days) xprintf("%d day%s, ", days, (days!=1)?"s":""); in uptime_main()
/third_party/icu/icu4c/source/samples/cal/
Dcal.c62 UChar *days [], UBool useLongNames,
65 static void free_days(UChar *days[]);
75 static void print_days(UChar *days [], FILE *f, UErrorCode *status);
78 UChar *days [],
83 UChar *days [], UChar *months [],
236 UChar *days [DAY_COUNT]; in cal() local
257 print_year(c, days, months, useLongNames, fdow, status); in cal()
273 print_month(c, days, useLongNames, fdow, status); in cal()
338 UChar *days [], in get_days()
351 get_symbols(fmt, dayType, days, DAY_COUNT, 1, fdow, status); in get_days()
[all …]
/third_party/skia/third_party/externals/icu/source/samples/cal/
Dcal.c62 UChar *days [], UBool useLongNames,
65 static void free_days(UChar *days[]);
75 static void print_days(UChar *days [], FILE *f, UErrorCode *status);
78 UChar *days [],
83 UChar *days [], UChar *months [],
236 UChar *days [DAY_COUNT]; in cal() local
257 print_year(c, days, months, useLongNames, fdow, status); in cal()
273 print_month(c, days, useLongNames, fdow, status); in cal()
338 UChar *days [], in get_days()
351 get_symbols(fmt, dayType, days, DAY_COUNT, 1, fdow, status); in get_days()
[all …]
/third_party/nghttp2/src/
Dtimegm.c38 int days; in nghttp2_timegm() local
45 days = (tm->tm_year - 70) * 365 + num_leap_year + tm->tm_yday; in nghttp2_timegm()
46 t = ((int64_t)days * 24 + tm->tm_hour) * 3600 + tm->tm_min * 60 + tm->tm_sec; in nghttp2_timegm()
67 int days; in nghttp2_timegm_without_yday() local
74 days = (tm->tm_year - 70) * 365 + num_leap_year + daysum[tm->tm_mon] + in nghttp2_timegm_without_yday()
77 ++days; in nghttp2_timegm_without_yday()
79 t = ((int64_t)days * 24 + tm->tm_hour) * 3600 + tm->tm_min * 60 + tm->tm_sec; in nghttp2_timegm_without_yday()
/third_party/node/deps/icu-small/source/i18n/
Dislamcal.cpp515 int32_t days = julianDay - getEpoc(); in handleComputeFields() local
518 int32_t month = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields()
527 if ( days - startDate >= 25 && age > 0) { in handleComputeFields()
534 while ((startDate = trueMonthStart(month)) > days) { in handleComputeFields()
541 int32_t dayOfMonth = (days - monthStart(year, month)) + 1; in handleComputeFields()
544 int32_t dayOfYear = (days - monthStart(year, 0)) + 1; in handleComputeFields()
639 int32_t days = getActualMaximum(UCAL_DAY_OF_YEAR, status); in inTemporalLeapYear() local
641 return days == 355; in inTemporalLeapYear()
751 int32_t days = julianDay - getEpoc(); in handleComputeFields() local
755 ClockMath::floorDivide(30 * static_cast<int64_t>(days) + 10646, in handleComputeFields()
[all …]
/third_party/openssl/test/certs/
Dmkcert.sh115 cert "$cert" "$exts" -signkey "${key}.pem" -set_serial 1 -days "${DAYS}"
157 -set_serial 2 -days "${DAYS}" "$@"
178 -set_serial 2 -days "${DAYS}"
200 -set_serial 2 -days "${DAYS}"
217 -set_serial 2 -days "${DAYS}"
267 -set_serial 2 -days "${DAYS}" "$@"
301 -set_serial 2 -days "${DAYS}" "$@"
330 -set_serial 2 -days "${DAYS}" "$@"
347 -set_serial 1 -days "${DAYS}" "$@"
356 cert "$cert" "" -signkey "${key}.pem" -set_serial 1 -days -1 "$@"
[all …]
/third_party/openssl/test/smime-certs/
Dmksmime-certs.sh18 -keyout smroot.pem -out smroot.pem -newkey rsa:2048 -days 36501
24 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \
29 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \
34 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \
43 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \
47 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \
51 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \
61 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \
65 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \
81 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \
/third_party/musl/porting/liteos_a/kernel/src/time/
D__secs_to_tm.c13 long long days, secs, years; in __secs_to_tm() local
25 days = secs / 86400; in __secs_to_tm()
29 days--; in __secs_to_tm()
32 wday = (3+days)%7; in __secs_to_tm()
35 qc_cycles = days / DAYS_PER_400Y; in __secs_to_tm()
36 remdays = days % DAYS_PER_400Y; in __secs_to_tm()
/third_party/musl/porting/uniproton/kernel/src/time/
D__secs_to_tm.c13 long long days, secs, years; in __secs_to_tm() local
25 days = secs / 86400; in __secs_to_tm()
29 days--; in __secs_to_tm()
32 wday = (3+days)%7; in __secs_to_tm()
35 qc_cycles = days / DAYS_PER_400Y; in __secs_to_tm()
36 remdays = days % DAYS_PER_400Y; in __secs_to_tm()
/third_party/musl/src/time/
D__secs_to_tm.c13 long long days, secs, years; in __secs_to_tm() local
25 days = secs / 86400; in __secs_to_tm()
29 days--; in __secs_to_tm()
32 wday = (3+days)%7; in __secs_to_tm()
35 qc_cycles = days / DAYS_PER_400Y; in __secs_to_tm()
36 remdays = days % DAYS_PER_400Y; in __secs_to_tm()
/third_party/musl/porting/liteos_m/kernel/src/time/
D__secs_to_tm.c13 long long days, secs, years; in __secs_to_tm() local
25 days = secs / 86400; in __secs_to_tm()
29 days--; in __secs_to_tm()
32 wday = (3+days)%7; in __secs_to_tm()
35 qc_cycles = days / DAYS_PER_400Y; in __secs_to_tm()
36 remdays = days % DAYS_PER_400Y; in __secs_to_tm()
/third_party/icu/icu4c/source/i18n/
Dislamcal.cpp609 int32_t days = julianDay - CIVIL_EPOC; in handleComputeFields() local
613 days = julianDay - ASTRONOMICAL_EPOC; in handleComputeFields()
616 year = (int32_t)ClockMath::floorDivide(30 * (int64_t)days + 10646, (int64_t)10631); in handleComputeFields()
617 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
622 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields()
631 if ( days - startDate >= 25 && age > 0) { in handleComputeFields()
638 while ((startDate = trueMonthStart(months)) > days) { in handleComputeFields()
647 if( days < umalquraStartdays){ in handleComputeFields()
650 (30 * (int64_t)days + 10646) , (int64_t)10631.0 ); in handleComputeFields()
651 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
[all …]
/third_party/mesa3d/bin/
Dgen_calendar_entries.py114 date = date + datetime.timedelta(days=7)
116 date = date + datetime.timedelta(days=7)
142 return date + datetime.timedelta(days=delta)
158 date = date + datetime.timedelta(days=14)
160 date = date + datetime.timedelta(days=14)
209 days = 7
213 days = 14
217 date = date + datetime.timedelta(days=days)
220 if days == 14:
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DIslamicCalendar.java819 long days = julianDay - CIVIL_EPOC; in handleComputeFields() local
823 days = julianDay - ASTRONOMICAL_EPOC; in handleComputeFields()
826 year = (int)Math.floor( (30 * days + 10646) / 10631.0 ); in handleComputeFields()
827 month = (int)Math.ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
831 int months = (int)Math.floor(days / CalendarAstronomer.SYNODIC_MONTH); in handleComputeFields()
835 if ( days - monthStart >= 25 && moonAge(internalGetTimeInMillis()) > 0) { in handleComputeFields()
842 while ((monthStart = trueMonthStart(months)) > days) { in handleComputeFields()
851 if( days < umalquraStartdays) { in handleComputeFields()
853 year = (int)Math.floor( (30 * days + 10646) / 10631.0 ); in handleComputeFields()
854 month = (int)Math.ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dislamcal.cpp609 int32_t days = julianDay - CIVIL_EPOC; in handleComputeFields() local
613 days = julianDay - ASTRONOMICAL_EPOC; in handleComputeFields()
616 year = (int32_t)ClockMath::floorDivide(30 * (int64_t)days + 10646, (int64_t)10631); in handleComputeFields()
617 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
622 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields()
631 if ( days - startDate >= 25 && age > 0) { in handleComputeFields()
638 while ((startDate = trueMonthStart(months)) > days) { in handleComputeFields()
647 if( days < umalquraStartdays){ in handleComputeFields()
650 (30 * (int64_t)days + 10646) , (int64_t)10631.0 ); in handleComputeFields()
651 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIslamicCalendar.java847 long days = julianDay - CIVIL_EPOC; in handleComputeFields() local
851 days = julianDay - ASTRONOMICAL_EPOC; in handleComputeFields()
854 year = (int)Math.floor( (30 * days + 10646) / 10631.0 ); in handleComputeFields()
855 month = (int)Math.ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
859 int months = (int)Math.floor(days / CalendarAstronomer.SYNODIC_MONTH); in handleComputeFields()
863 if ( days - monthStart >= 25 && moonAge(internalGetTimeInMillis()) > 0) { in handleComputeFields()
870 while ((monthStart = trueMonthStart(months)) > days) { in handleComputeFields()
879 if( days < umalquraStartdays) { in handleComputeFields()
881 year = (int)Math.floor( (30 * days + 10646) / 10631.0 ); in handleComputeFields()
882 month = (int)Math.ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
[all …]
/third_party/typescript/tests/cases/compiler/
DdeclFileTypeofEnum.ts3 enum days { enum
13 var weekendDay = days.saturday;
14 var daysOfMonth = days;
15 var daysOfYear: typeof days;

12345678910>>...18