Searched defs:days (Results 1 - 25 of 62) sorted by relevance

123

/external/icu/icu4c/source/test/perf/DateFmtPerf/
H A Ddatedata.h15 static int days[] = { variable
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/
H A Dbios_timer.c41 static int days = 0; local
57 days += 0x1800b0;
60 return ( days + ticks );
/external/boringssl/src/crypto/x509/
H A Dx509_r2x.c66 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) argument
101 if (X509_gmtime_adj(xi->validity->notAfter, (long)60 * 60 * 24 * days) ==
/external/toybox/toys/other/
H A Duptime.c30 unsigned int days, hours, minutes; local
60 days = info.uptime/24;
61 if (days) xprintf("%d day%s, ", days, (days!=1)?"s":"");
/external/ltp/testcases/kernel/io/disktest/
H A Dsfunc.h114 time_t days; member in struct:fmt_time
/external/google-tv-pairing-protocol/cpp/src/polo/util/
H A Dcertificateutil.cc88 uint32_t days) {
93 X509_gmtime_adj(X509_get_notAfter(x509), (int64_t) 60 * 60 * 24 * days);
86 GenerateSelfSignedCert(EVP_PKEY* pkey, std::string subject_name, uint32_t days) argument
/external/icu/icu4c/source/i18n/
H A Dutmscale.c22 #define days (hours * 24) macro
34 {days, INT64_C(693594), INT64_C(-11368793), INT64_C(9981605), U_INT64_MIN, U_INT64_MAX, INT64_C(693595), INT64_C(693593), INT64_C(432000000000), INT64_C(-9223371604854775808), INT64_C(9223371604854775807)},
35 {days, INT64_C(693594), INT64_C(-11368793), INT64_C(9981605), U_INT64_MIN, U_INT64_MAX, INT64_C(693595), INT64_C(693593), INT64_C(432000000000), INT64_C(-9223371604854775808), INT64_C(9223371604854775807)},
H A Dislamcal.cpp281 // a month as having 31 days. Since date parsing now uses range checks based
503 * Return the length (in days) of the given month.
529 * Return the number of days in the given Islamic year
610 int32_t days = julianDay - CIVIL_EPOC; local
614 days = julianDay - ASTRONOMICAL_EPOC;
617 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 );
618 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 );
623 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH);
632 if ( days - startDate >= 25 && age > 0) {
639 while ((startDate = trueMonthStart(months)) > days) {
[all...]
H A Dchnsecal.cpp80 * Value to be added or subtracted from the local days of a new moon to
234 * Override Calendar method to return the number of days in the given
243 kEpochStartAsJulianDay + 1; // Julian day -> local days
268 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days
472 * Convert local days to UTC epoch milliseconds.
480 * @param days days after January 1, 1970 0:00 in the astronomical base zone
483 double ChineseCalendar::daysToMillis(double days) const {
484 double millis = days * (double)kOneDay;
497 * Convert UTC epoch milliseconds to local days
566 newMoonNear(double days, UBool after) const argument
673 computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth, UBool setAllFields) argument
[all...]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
H A DEpochOffsets.java44 private static final long days = hours * 24; field in class:EpochOffsets
46 private static final long javaDays = days / milliseconds;
79 // more than 719164 days before 1970.
H A DGenerateCTimeScaleData.java43 private static final long days = hours * 24; field in class:GenerateCTimeScaleData
90 } else if (units == days) {
91 cargs[0] = "days";
/external/toybox/toys/pending/
H A Dlast.c74 unsigned days, hours, mins; local
81 days = (mins = diff/60)/(24*60);
84 sprintf(toybuf+28, "(%u+%02u:%02u)", days, hours, mins); // Duration.
H A Dcrontab.c48 char days[]={"sun""mon""tue""wed""thu""fri""sat"}; local
51 char *field = (size == 12) ? months : days;
/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/www/projectName/
H A Dsearchcvs.php9 $days = 7; variable
13 $where = "WHERE `date` >= DATE_SUB(CURDATE(), INTERVAL $days DAY)";
19 array("regex" => "/days: ?(\d+)/", "sql" => "`date` >= DATE_SUB(CURDATE(), INTERVAL %d DAY)", "sqlpart" => "where"),
78 $title = "<span>$rows results total</span>Showing results " . ($offset + 1) . "-" . ($offset + $pagesize > $rows ? $rows : $offset + $pagesize) . " for " . ($_GET["q"] == "" ? "last $days days of commits" : "$et" . sanitize($_GET["q"], "text"));
116 <li><a href="?q=file%3A+org.eclipse.emf%2F+days%3A+7">file: org.eclipse.emf/ days: 7</a></li>
117 <li><a href="?q=days%3A200+author%3Amerks">days:200 author:merks</a></li>
/external/pdfium/fpdfsdk/
H A Dcpdfsdk_datetime.cpp322 CPDFSDK_DateTime& CPDFSDK_DateTime::AddDays(short days) { argument
323 if (days == 0)
330 int ldays = days;
393 int days; local
397 days = (n - 86399) / 86400;
398 n -= days * 86400;
400 days = n / 86400;
408 if (days != 0)
409 AddDays(days);
/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/icu/android_icu4j/src/main/java/android/icu/util/
H A DChineseCalendar.java95 // days.' This is the number of days after January 1, 1970 Gregorian,
98 // 1970 0:00 Asia/Shanghai. Conversion of local days to and from
124 * Cache that maps Gregorian year to local days of winter solstice.
130 * Cache that maps Gregorian year to local days of Chinese new year.
368 * DAY_OF_YEAR In a non-leap year there are 353, 354, or 355 days. In
369 * a leap year there are 383, 384, or 385 days.
371 * WEEK_OF_YEAR The least maximum occurs if there are 353 days in the
373 * we have 49 full weeks and 4 days in the last week: 6 + 49*7 + 4 =
375 * 385 days i
655 daysToMillis(int days) argument
712 newMoonNear(int days, boolean after) argument
737 majorSolarTerm(int days) argument
834 computeChineseFields(int days, int gyear, int gmonth, boolean setAllFields) argument
[all...]
H A DUniversalTimeScale.java100 * is days since December 31, 1899.
106 * is days since December 31, 1899.
255 private static final long days = hours * 24; field in class:UniversalTimeScale
311 new TimeScaleData(days, 599265216000000000L, -9223372036854775808L, 9223372036854775807L, -11368793L, 9981605L), // EXCEL_TIME
312 new TimeScaleData(days, 599265216000000000L, -9223372036854775808L, 9223372036854775807L, -11368793L, 9981605L), // DB2_TIME
/external/icu/icu4c/source/samples/cal/
H A 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 [],
90 /* Number of days in a week */
236 UChar *days [DAY_COUNT]; local
257 print_year(c, days, months, useLongNames, fdow, status);
273 print_month(c, days, useLongNames, fdow, status);
333 form. Also, reorder the days s
354 free_days(UChar *days[]) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DChineseCalendar.java95 // days.' This is the number of days after January 1, 1970 Gregorian,
98 // 1970 0:00 Asia/Shanghai. Conversion of local days to and from
124 * Cache that maps Gregorian year to local days of winter solstice.
130 * Cache that maps Gregorian year to local days of Chinese new year.
378 * DAY_OF_YEAR In a non-leap year there are 353, 354, or 355 days. In
379 * a leap year there are 383, 384, or 385 days.
381 * WEEK_OF_YEAR The least maximum occurs if there are 353 days in the
383 * we have 49 full weeks and 4 days in the last week: 6 + 49*7 + 4 =
385 * 385 days i
673 daysToMillis(int days) argument
730 newMoonNear(int days, boolean after) argument
755 majorSolarTerm(int days) argument
853 computeChineseFields(int days, int gyear, int gmonth, boolean setAllFields) argument
[all...]
H A DUniversalTimeScale.java115 * is days since December 31, 1899.
123 * is days since December 31, 1899.
293 private static final long days = hours * 24; field in class:UniversalTimeScale
349 new TimeScaleData(days, 599265216000000000L, -9223372036854775808L, 9223372036854775807L, -11368793L, 9981605L), // EXCEL_TIME
350 new TimeScaleData(days, 599265216000000000L, -9223372036854775808L, 9223372036854775807L, -11368793L, 9981605L), // DB2_TIME
/external/valgrind/coregrind/
H A Dm_libcprint.c377 UInt t, ms, s, mins, hours, days; local
393 t /= 24; /* now in days */
395 days = t;
397 VG_(sprintf)(buf, "%02u:%02u:%02u:%02u.%03u ", days, hours, mins, s, ms);
/external/libchrome/base/time/
H A Dtime.h110 static constexpr TimeDelta FromDays(int days);
611 constexpr TimeDelta TimeDelta::FromDays(int days) { argument
612 return days == std::numeric_limits<int>::max()
614 : TimeDelta(days * Time::kMicrosecondsPerDay);

Completed in 1086 milliseconds

123