/third_party/typescript/tests/baselines/reference/ |
D | declFileTypeofEnum.js | 2 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 …]
|
D | declFileTypeofEnum.types | 2 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 …]
|
D | declFileTypeofEnum.symbols | 2 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/ |
D | testdata_en.txt | 67 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/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/test/duration/testdata/ |
D | testdata_en.txt | 67 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/ltp/lib/ |
D | tst_rtctime.c | 61 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/ |
D | uptime.c | 31 unsigned int days, hours, minutes; in uptime_main() local 55 days = info.uptime/24; in uptime_main() 58 int weeks = days/7; in uptime_main() 59 days %= 7; in uptime_main() 63 days, (days!=1)?"s":"", in uptime_main() 70 if (days) xprintf("%d day%s, ", days, (days!=1)?"s":""); in uptime_main()
|
/third_party/nghttp2/src/ |
D | timegm.c | 38 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/flutter/skia/third_party/externals/icu/source/samples/cal/ |
D | cal.c | 62 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/icu/icu4c/source/samples/cal/ |
D | cal.c | 62 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/ |
D | cal.c | 62 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/boost/libs/date_time/example/gregorian/ |
D | days_alive.cpp | 20 days days_alive = today - birthday; in main() 21 days one_day(1); in main() 25 else if (days_alive < days(0)) { in main() 26 std::cout << "Not born yet, hmm: " << days_alive.days() in main() 30 std::cout << "Days alive: " << days_alive.days() << std::endl; in main()
|
D | days_between_new_years.cpp | 21 days days_since_year_start = today - new_years_day.get_date(today.year()); in main() 22 std::cout << "Days since Jan 1: " << days_since_year_start.days() in main() 25 days days_until_year_start = new_years_day.get_date(today.year()+1) - today; in main() 26 std::cout << "Days until next Jan 1: " << days_until_year_start.days() in main()
|
/third_party/openssl/test/smime-certs/ |
D | mksmime-certs.sh | 18 -keyout smroot.pem -out smroot.pem -newkey rsa:2048 -days 3650 24 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ 29 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ 34 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ 43 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ 47 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ 51 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ 61 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ 65 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ 69 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ [all …]
|
/third_party/musl/porting/liteos_a/kernel/src/time/ |
D | __secs_to_tm.c | 13 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.c | 13 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.c | 13 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.c | 13 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/openssl/test/certs/ |
D | mkcert.sh | 113 cert "$cert" "$exts" -signkey "${key}.pem" -set_serial 1 -days "${DAYS}" 148 -set_serial 2 -days "${DAYS}" "$@" 169 -set_serial 2 -days "${DAYS}" 191 -set_serial 2 -days "${DAYS}" 213 -set_serial 2 -days "${DAYS}" 245 -set_serial 2 -days "${DAYS}" "$@" 274 -set_serial 2 -days "${DAYS}" "$@" 291 -set_serial 1 -days "${DAYS}" "$@" 300 cert "$cert" "" -signkey "${key}.pem" -set_serial 1 -days -1 "$@"
|
/third_party/boost/libs/date_time/test/gregorian/ |
D | testgenerators.cpp | 101 check("Days until weekday" , days_until_weekday(saturday, sund) == days(1)); in main() 102 check("Days until weekday" , days_until_weekday(friday, tue) == days(4)); in main() 103 check("Days until weekday" , days_until_weekday(tuesday, fri) == days(3)); in main() 104 check("Days until weekday" , days_until_weekday(sunday, sat) == days(6)); in main() 105 check("Days until weekday" , days_until_weekday(sunday, sund) == days(0)); in main() 106 check("Days until weekday" , days_until_weekday(tuesday, tue) == days(0)); in main() 108 check("Days before weekday" , days_before_weekday(saturday, sund) == days(6)); in main() 109 check("Days before weekday" , days_before_weekday(friday, tue) == days(3)); in main() 110 check("Days before weekday" , days_before_weekday(tuesday, fri) == days(4)); in main() 111 check("Days before weekday" , days_before_weekday(sunday, sat) == days(1)); in main() [all …]
|
D | testdate_duration.cpp | 34 check("add", tenDays.days() == 10); in test_date_duration() 45 check("Division", oneDay.days() == 1); in test_date_duration() 47 check("Division", oneDayDivide.days() == 1); in test_date_duration() 50 check("Division", hundred.days() == -10 && hundred.is_negative()); in test_date_duration() 54 check("unary-", neg_dur.days() == -123); in test_date_duration()
|
/third_party/typescript/tests/cases/compiler/ |
D | declFileTypeofEnum.ts | 3 enum days { enum 13 var weekendDay = days.saturday; 14 var daysOfMonth = days; 15 var daysOfYear: typeof days;
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | islamcal.cpp | 610 int32_t days = julianDay - CIVIL_EPOC; in handleComputeFields() local 614 days = julianDay - ASTRONOMICAL_EPOC; in handleComputeFields() 617 year = (int32_t)ClockMath::floorDivide(30 * (int64_t)days + 10646, (int64_t)10631); in handleComputeFields() 618 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields() 623 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() 632 if ( days - startDate >= 25 && age > 0) { in handleComputeFields() 639 while ((startDate = trueMonthStart(months)) > days) { in handleComputeFields() 648 if( days < umalquraStartdays){ in handleComputeFields() 650 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 ); in handleComputeFields() 651 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields() [all …]
|
/third_party/mesa3d/bin/ |
D | gen_calendar_entries.py | 114 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/openssl/demos/certs/apps/ |
D | mkxcerts.sh | 8 -keyout tsha1.pem -out tsha1.pem -new -days 3650 -sha1 11 -keyout tsha256.pem -out tsha256.pem -new -days 3650 -sha256 14 -keyout tsha512.pem -out tsha512.pem -new -days 3650 -sha512 24 -days 3650 -sha256 29 -days 3650 -sha384
|