/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | VTimeZone.java | 858 // Only support the rule using 7 continuous days in createRuleByRRULE() 863 int days[] = new int[7]; in createRuleByRRULE() 865 days[i] = ruleFields[3 + i]; in createRuleByRRULE() 869 days[i] = days[i] > 0 ? days[i] : MONTHLENGTH[month] + days[i] + 1; in createRuleByRRULE() 870 firstDay = days[i] < firstDay ? days[i] : firstDay; in createRuleByRRULE() 872 // Make sure days ar in createRuleByRRULE() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_paint_method.cpp | 136 if (!obtainedMonth_.days.empty()) { in DrawWeekAndDates() 137 calendarDays_.assign(obtainedMonth_.days.begin(), obtainedMonth_.days.end()); in DrawWeekAndDates() 703 std::vector<std::string> days; in IsOffDay() local 704 StringUtils::StringSplitter(offDays_, ',', days); in IsOffDay() 706 for (const auto& day : days) { in IsOffDay()
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-temporal-objects.cc | 91 int64_t days; member 169 Isolate* isolate, int64_t* days, int64_t* hours, int64_t* minutes, 270 int64_t TotalDurationNanoseconds(Isolate* isolate, int64_t days, int64_t hours, 386 * = (-9999 x 10^3, 9999 x 10^3) days => Because 60*60*24 = 86400 in ISODateTimeWithinLimits() 387 * 9999000 days is about 27376 years, 4 months and 7 days. in ISODateTimeWithinLimits() 388 * Therefore 9999000 days before Jan 1 1970 is around Auguest 23, -25407 and in ISODateTimeWithinLimits() 389 * 9999000 days after Jan 1 1970 is around April 9, 29346. in ISODateTimeWithinLimits() 795 int64_t years, int64_t months, int64_t weeks, int64_t days, int64_t hours, in CreateTemporalDuration() 800 // 1. If ! IsValidDuration(years, months, weeks, days, hour in CreateTemporalDuration() 793 CreateTemporalDuration( Isolate* isolate, Handle<JSFunction> target, Handle<HeapObject> new_target, int64_t years, int64_t months, int64_t weeks, int64_t days, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) CreateTemporalDuration() argument 846 CreateTemporalDuration( Isolate* isolate, int64_t years, int64_t months, int64_t weeks, int64_t days, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) CreateTemporalDuration() argument 3596 BalanceDuration(Isolate* isolate, int64_t* days, int64_t* hours, int64_t* minutes, int64_t* seconds, int64_t* milliseconds, int64_t* microseconds, int64_t* nanoseconds, Unit largest_unit, const char* method_name) BalanceDuration() argument 3609 BalanceDuration(Isolate* isolate, int64_t* days, int64_t* hours, int64_t* minutes, int64_t* seconds, int64_t* milliseconds, int64_t* microseconds, int64_t* nanoseconds, Unit largest_unit, Handle<Object> relative_to_obj, const char* method_name) BalanceDuration() argument 4013 int64_t days = date_difference.days; NanosecondsToDays() local 4561 int64_t days = floor_divide(hour, 24L); BalanceTime() local 4657 TotalDurationNanoseconds(Isolate* isolate, int64_t days, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds, int64_t offset_shift) TotalDurationNanoseconds() argument 4693 Constructor( Isolate* isolate, Handle<JSFunction> target, Handle<HeapObject> new_target, Handle<Object> years, Handle<Object> months, Handle<Object> weeks, Handle<Object> days, Handle<Object> hours, Handle<Object> minutes, Handle<Object> seconds, Handle<Object> milliseconds, Handle<Object> microseconds, Handle<Object> nanoseconds) Constructor() argument [all...] |
/third_party/python/Modules/ |
H A D | _datetimemodule.c | 68 * so that two delta days can be added w/o fear of overflowing a signed 116 #define GET_TD_DAYS(o) (((PyDateTime_Delta *)(o))->days) 120 #define SET_TD_DAYS(o, v) ((o)->days = (v)) 208 /* For each month ordinal in 1..12, the number of days in that month, 209 * and the number of days before that month in the same year. These 235 /* year, month -> number of days in that month in that year */ 247 /* year, month -> number of days in year preceding first day of month */ 251 int days; in days_before_month() local 255 days = _days_before_month[month]; in days_before_month() 257 ++days; in days_before_month() 439 check_delta_day_range(int days) check_delta_day_range() argument 1116 new_delta_ex(int days, int seconds, int microseconds, int normalize, PyTypeObject *type) new_delta_ex() argument 2163 int days = GET_TD_DAYS(left) + GET_TD_DAYS(right); delta_add() local 2222 int days = GET_TD_DAYS(left) - GET_TD_DAYS(right); delta_subtract() local 2685 int days = GET_TD_DAYS(self); delta_str() local 6018 int days, seconds; datetime_hash() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_datetime_component.h | 74 std::string GetMonthDayFormatString(bool lunar, uint32_t days) const;
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsrecover.c | 432 u32 days; in showdate() local 437 days = stamp/(86400*10000000LL); in showdate() 440 cnt = days/146097; in showdate() 441 days -= 146097*cnt; in showdate() 444 cnt = (3*days + 3)/109573; in showdate() 445 days -= 36524*cnt; in showdate() 448 cnt = days/1461; in showdate() 449 days -= 1461L*cnt; in showdate() 452 cnt = (3*days + 3)/1096; in showdate() 453 days in showdate() [all...] |
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | well_known_types.py | 118 days = (total_sec - seconds) // _SECONDS_PER_DAY 119 dt = datetime(1970, 1, 1) + timedelta(days, seconds) 169 seconds = td.seconds + td.days * _SECONDS_PER_DAY 375 self._NormalizeDuration(td.seconds + td.days * _SECONDS_PER_DAY,
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | req.c | 46 #define DEFAULT_DAYS 30 /* default cert validity period in days */ 129 {"days", OPT_DAYS, 'p', "Number of days cert is valid for"}, 260 int days = UNSET_DAYS; in req_main() local 416 days = atoi(opt_arg()); in req_main() 417 if (days < -1) { in req_main() 418 BIO_printf(bio_err, "%s: -days parameter arg must be >= -1\n", in req_main() 488 if (days != UNSET_DAYS) in req_main() 489 BIO_printf(bio_err, "Ignoring -days without -x509; not generating a certificate\n"); in req_main() 823 if (days in req_main() [all...] |
H A D | x509.c | 31 #define DEFAULT_DAYS 30 /* default cert validity period in days */ 136 {"days", OPT_DAYS, 'n', 137 "Number of days until newly generated certificate expires - default 30"}, 279 int days = UNSET_DAYS; /* not explicitly set */ in x509_main() local 375 days = atoi(opt_arg()); in x509_main() 376 if (days < -1) { in x509_main() 377 BIO_printf(bio_err, "%s: -days parameter arg must be >= -1\n", in x509_main() 604 if (preserve_dates && days != UNSET_DAYS) { in x509_main() 605 BIO_printf(bio_err, "Cannot use -preserve_dates with -days option\n"); in x509_main() 608 if (days in x509_main() [all...] |
/third_party/openssl/apps/ |
H A D | req.c | 46 #define DEFAULT_DAYS 30 /* default cert validity period in days */ 129 {"days", OPT_DAYS, 'p', "Number of days cert is valid for"}, 260 int days = UNSET_DAYS; in req_main() local 416 days = atoi(opt_arg()); in req_main() 417 if (days < -1) { in req_main() 418 BIO_printf(bio_err, "%s: -days parameter arg must be >= -1\n", in req_main() 488 if (days != UNSET_DAYS) in req_main() 489 BIO_printf(bio_err, "Ignoring -days without -x509; not generating a certificate\n"); in req_main() 821 if (days in req_main() [all...] |
H A D | x509.c | 31 #define DEFAULT_DAYS 30 /* default cert validity period in days */ 136 {"days", OPT_DAYS, 'n', 137 "Number of days until newly generated certificate expires - default 30"}, 279 int days = UNSET_DAYS; /* not explicitly set */ in x509_main() local 375 days = atoi(opt_arg()); in x509_main() 376 if (days < -1) { in x509_main() 377 BIO_printf(bio_err, "%s: -days parameter arg must be >= -1\n", in x509_main() 604 if (preserve_dates && days != UNSET_DAYS) { in x509_main() 605 BIO_printf(bio_err, "Cannot use -preserve_dates with -days option\n"); in x509_main() 608 if (days in x509_main() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_calendar.cpp | 165 std::vector<CalendarDay> days; in GetCalendarData() local 172 days.emplace_back(std::move(day)); in GetCalendarData() 190 days.emplace_back(std::move(day)); in GetCalendarData() 192 obtainedMonth.days = days; in GetCalendarData()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | verify_sig_setup.sh | 41 openssl req -new -nodes -utf8 -sha256 -days 36500 \
|
/third_party/node/deps/npm/node_modules/debug/node_modules/ms/ |
H A D | index.js | 53 var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( 72 case 'days':
|
/third_party/node/deps/npm/node_modules/ms/ |
H A D | index.js | 53 var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( 72 case 'days':
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-mt6397.c | 91 int days, sec, ret; in mtk_rtc_read_time() local 112 days = div_s64(time, 86400); in mtk_rtc_read_time() 113 tm->tm_wday = (days + 4) % 7; in mtk_rtc_read_time()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-mt6397.c | 91 int days, sec, ret; in mtk_rtc_read_time() local 112 days = div_s64(time, 86400); in mtk_rtc_read_time() 113 tm->tm_wday = (days + 4) % 7; in mtk_rtc_read_time()
|
H A D | rtc-rzn1.c | 81 unsigned int days; in rzn1_rtc_tm_to_wday() local 85 days = div_s64_rem(time, 86400, &secs); in rzn1_rtc_tm_to_wday() 88 return (days + 4) % 7; in rzn1_rtc_tm_to_wday()
|
/third_party/rust/crates/humantime/src/ |
H A D | date.rs | 159 let days = (year - 1970) * 365 + leap_years + ydays; in parse_rfc3339_weak() 184 let total_seconds = time + days * 86400; in parse_rfc3339_weak() 269 let days = (secs_since_epoch / 86400) as i64 - LEAPOCH; in fmt() 272 let mut qc_cycles = days / DAYS_PER_400Y; in fmt() 273 let mut remdays = days % DAYS_PER_400Y; in fmt()
|
/third_party/toybox/toys/pending/ |
H A D | crontab.c | 48 char days[]={"sun""mon""tue""wed""thu""fri""sat"}; in getindex() local 51 char *field = (size == 12) ? months : days; in getindex()
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
H A D | Durations.java | 276 /** Create a Duration from the number of days. */ 278 public static Duration fromDays(long days) { in fromDays() argument 280 .setSeconds(checkedMultiply(days, SECONDS_PER_DAY)) in fromDays() 335 * Convert a Duration to the number of days. The result will be rounded towards 0 to the nearest
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/ |
H A D | calendar_paint_method_test.cpp | 818 std::vector<CalendarDay> days; in HWTEST_F() local 819 obtainedMonth.days = days; in HWTEST_F() 866 std::vector<CalendarDay> days; in HWTEST_F() local 867 obtainedMonth.days = days; in HWTEST_F()
|
/kernel/linux/linux-6.6/certs/ |
H A D | Makefile | 48 cmd_gen_key = openssl req -new -nodes -utf8 -$(CONFIG_MODULE_SIG_HASH) -days 36500 \
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | asn1.rs | 171 /// Difference in days 172 pub days: c_int, 204 let mut days = 0; in diff() variables 208 let err = unsafe { ffi::ASN1_TIME_diff(&mut days, &mut secs, self.as_ptr(), other) }; in diff() 212 _ => Ok(TimeDiff { days, secs }), in diff() 221 if d.days > 0 || d.secs > 0 { in compare() 224 if d.days < 0 || d.secs < 0 { in compare() 236 .map(|t| t.days == 0 && t.secs == 0) in eq() 245 .map(|t| t.days == 0 && t.secs == 0) in eq() 254 .map(|t| t.days in eq() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | vtzone.cpp | 371 * domCount number of available days in dom (domCount is specifying the size of dom on input) 474 // Note: BYMONTHDAY may contain multiple days delimited by comma in parseRRULE() 534 int32_t days[7]; in createRuleByRRULE() local 535 int32_t daysCount = UPRV_LENGTHOF(days); in createRuleByRRULE() 538 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); in createRuleByRRULE() 548 // Only support the rule using 7 continuous days in createRuleByRRULE() 557 if (days[i] < 0) { in createRuleByRRULE() 558 days[i] = MONTHLENGTH[month] + days[i] + 1; in createRuleByRRULE() 560 if (days[ in createRuleByRRULE() [all...] |