Searched refs:days (Results 1 - 25 of 142) sorted by relevance

123456

/external/icu/icu4c/source/test/perf/DateFmtPerf/
H A Ddatedata.h11 static int days[] = { variable
/external/toybox/toys/other/
H A Duptime.c28 unsigned int days, hours, minutes; local
49 days = info.uptime/24;
50 if (days) xprintf("%d day%s, ", days, (days!=1)?"s":"");
/external/v8/src/
H A Ddate.cc54 int days, int* year, int* month, int* day) {
56 // Check conservatively if the given 'days' has
57 // the same year and month as the cached 'days'.
58 int new_day = ymd_day_ + (days - ymd_days_);
61 ymd_days_ = days;
68 int save_days = days;
70 days += kDaysOffset;
71 *year = 400 * (days / kDaysIn400Years) - kYearsOffset;
72 days %= kDaysIn400Years;
74 DCHECK_EQ(save_days, DaysFromYearMonth(*year, 0) + days);
53 YearMonthDayFromDays( int days, int* year, int* month, int* day) argument
[all...]
H A Ddate.h64 // days = floor(time_ms / kMsPerDay).
65 static int TimeInDay(int64_t time_ms, int days) { argument
66 return static_cast<int>(time_ms - days * kMsPerDay);
70 // Given the number of days since the epoch, computes the weekday.
72 int Weekday(int days) { argument
73 int result = (days + 4) % 7;
165 int days = DaysFromTime(time_ms); local
166 int time_within_day_ms = static_cast<int>(time_ms - days * kMsPerDay);
168 YearMonthDayFromDays(days, &year, &month, &day);
185 // Given the number of days sinc
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
H A Dlifecycle.py53 self.expiration = Expiration(days=expiration)
98 :ivar days: The number of days until the object expires
103 def __init__(self, days=None, date=None):
104 self.days = days
112 self.days = int(value)
117 if self.days is None:
120 how_long = "in: %s days" % self.days
[all...]
/external/autotest/site_utils/
H A Dcount_jobs_unittest.py37 count_jobs.number_of_jobs_since(timedelta(days=999)))
43 Furthermore, 0 jobs should be counted within 0 or (-1) days.
55 for count, days in ((i, 1), (0, 0), (0, -1)):
58 count_jobs.number_of_jobs_since(timedelta(days=days)))
H A Dcount_jobs.py33 count = number_of_jobs_since(timedelta(days=1))
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/
H A Djquery.timeago.js39 days: "%d days",
62 var days = hours / 24;
63 var years = days / 365;
77 days < 30 && substitute($l.days, Math.floor(days)) ||
78 days < 60 && substitute($l.month, 1) ||
79 days < 365 && substitute($l.months, Math.floor(days / 3
[all...]
/external/chromium-trace/catapult/dashboard/dashboard/
H A Dmain.py30 days: Number of days to show anomalies for (optional).
37 days = int(self.request.get('days', _DEFAULT_DAYS_TO_SHOW))
42 anomalies = _GetRecentAnomalies(days, sheriff)
49 'num_days': days,
58 def _GetRecentAnomalies(days, sheriff):
62 days: Number of days old of the oldest Anomalies to fetch.
68 oldest_time = datetime.datetime.now() - datetime.timedelta(days
[all...]
H A Dmr.py38 _DEPRECATION_REVISION_DELTA = datetime.timedelta(days=14)
41 _REMOVAL_REVISON_DELTA = datetime.timedelta(days=183)
45 _DEPRECATE_JOB_INTERVAL = datetime.timedelta(days=2)
144 is non-zero -- the value of this property is the number of days that should
161 warn_sheriff_delta = datetime.timedelta(days=warn_sheriff_delay_days)
/external/chromium-trace/catapult/catapult_build/perfbot_stats/
H A Dchrome_perf_stats.py40 days = None
51 days = range(1, calendar.monthrange(year, month)[1] + 1)
57 days = [day]
62 yesterday = datetime.date.today() - datetime.timedelta(days=1)
65 days = [yesterday.day]
69 success_rates = CalculateSuccessRates(year, month, days, builders)
138 def CalculateSuccessRates(year, month, days, builders):
140 for day in days:
/external/chromium-trace/catapult/third_party/WebOb/webob/
H A Ddatetime_utils.py52 return td.seconds + (td.days*24*60*60)
54 day = timedelta(days=1)
60 month = timedelta(days=30)
61 year = timedelta(days=365)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/
H A Dtest_lifecycle.py68 self.assertEqual(rule.expiration.days, 365)
71 self.assertEqual(transition.days, 30)
82 t = Transition(days=30, storage_class='GLACIER')
/external/icu/icu4c/source/samples/cal/
H A Dcal.c58 UChar *days [], UBool useLongNames,
61 static void free_days(UChar *days[]);
71 static void print_days(UChar *days [], FILE *f, UErrorCode *status);
74 UChar *days [],
79 UChar *days [], UChar *months [],
86 /* Number of days in a week */
232 UChar *days [DAY_COUNT]; local
253 print_year(c, days, months, useLongNames, fdow, status);
269 print_month(c, days, useLongNames, fdow, status);
329 form. Also, reorder the days s
350 free_days(UChar *days[]) argument
[all...]
/external/vogar/src/vogar/util/
H A DTimeUtilities.java87 long days = duration;
90 if (days != 0) {
91 result.append(days);
/external/google-tv-pairing-protocol/cpp/src/polo/util/
H A Dcertificateutil.h63 // @param days the number of days before the certificate expires
67 uint32_t days);
/external/icu/icu4c/source/i18n/
H A Dchnsecal.h184 double daysToMillis(double days) const;
187 virtual int32_t newMoonNear(double days, UBool after) const;
189 virtual int32_t majorSolarTerm(int32_t days) const;
192 virtual void computeChineseFields(int32_t days, int32_t gyear,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
H A Dtest_bucket.py220 transition = Transition(days=30, storage_class='GLACIER')
227 self.assertEqual(transition.days, 30)
236 lifecycle.add_rule("2", "2/", "Enabled", Expiration(days=2))
239 Transition(days=4, storage_class=sc))
249 self.assertEqual(rule.expiration.days, 1)
252 self.assertEqual(rule.expiration.days, 2)
258 self.assertEqual(rule.transition.days, 4)
271 days = 30
273 lifecycle.add_rule(name, prefix, "Enabled", days)
280 self.assertEqual(rule.expiration.days, day
[all...]
/external/boringssl/src/crypto/x509/
H A Dx509_r2x.c67 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) argument
98 if (X509_gmtime_adj(xi->validity->notAfter,(long)60*60*24*days) == NULL)
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DChineseCalendar.java93 // days.' This is the number of days after January 1, 1970 Gregorian,
96 // 1970 0:00 Asia/Shanghai. Conversion of local days to and from
122 * Cache that maps Gregorian year to local days of winter solstice.
128 * Cache that maps Gregorian year to local days of Chinese new year.
366 * DAY_OF_YEAR In a non-leap year there are 353, 354, or 355 days. In
367 * a leap year there are 383, 384, or 385 days.
369 * WEEK_OF_YEAR The least maximum occurs if there are 353 days in the
371 * we have 49 full weeks and 4 days in the last week: 6 + 49*7 + 4 =
373 * 385 days i
653 daysToMillis(int days) argument
710 newMoonNear(int days, boolean after) argument
735 majorSolarTerm(int days) argument
832 computeChineseFields(int days, int gyear, int gmonth, boolean setAllFields) argument
[all...]
H A DIslamicCalendar.java31 * about 354 days long, so each successive Islamic year starts about 11 days
37 * we treat days and months as beginning at midnight,
55 * by up to three days.
372 * bit map array where a bit turned on represents a month with 30 days.
530 // * @param day The # of days since the start of the Islamic calendar.
702 * Return the length (in days) of the given month.
733 * Return the number of days in the given Islamic year
801 long days = julianDay - CIVIL_EPOC;
805 days
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DChineseCalendar.java93 // days.' This is the number of days after January 1, 1970 Gregorian,
96 // 1970 0:00 Asia/Shanghai. Conversion of local days to and from
122 * Cache that maps Gregorian year to local days of winter solstice.
128 * Cache that maps Gregorian year to local days of Chinese new year.
376 * DAY_OF_YEAR In a non-leap year there are 353, 354, or 355 days. In
377 * a leap year there are 383, 384, or 385 days.
379 * WEEK_OF_YEAR The least maximum occurs if there are 353 days in the
381 * we have 49 full weeks and 4 days in the last week: 6 + 49*7 + 4 =
383 * 385 days i
671 daysToMillis(int days) argument
728 newMoonNear(int days, boolean after) argument
753 majorSolarTerm(int days) argument
851 computeChineseFields(int days, int gyear, int gmonth, boolean setAllFields) argument
[all...]
/external/tcpdump/
H A Dprint-chdlc.c140 u_int sec,min,hrs,days; local
178 days = hrs / 24; hrs -= days * 24;
179 ND_PRINT((ndo, ", link uptime=%ud%uh%um%us",days,hrs,min,sec));
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
H A DEpochOffsets.java42 private static final long days = hours * 24; field in class:EpochOffsets
44 private static final long javaDays = days / milliseconds;
77 // more than 719164 days before 1970.
/external/autotest/site_utils/suite_scheduler/
H A Dtimed_event_unittest.py105 fake_now += datetime.timedelta(days=days_to_jump, hours=hours_to_jump)
111 def doTestGetBranchBuilds(self, days):
115 since_date = self.BaseTime() - datetime.timedelta(days=days)
209 new._deadline += datetime.timedelta(days=1)
227 fake_now += datetime.timedelta(days=1) # Jump to tomorrow night.
263 self.doTestGetBranchBuilds(days=1)
335 new._deadline += datetime.timedelta(days=7)
344 fake_now = self.BaseTime() + datetime.timedelta(days=0.5)
353 fake_now += datetime.timedelta(days
[all...]

Completed in 1655 milliseconds

123456