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

123

/external/icu/icu4c/source/test/perf/DateFmtPerf/
H A Ddatedata.h11 static int days[] = { variable
/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/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/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.c20 #define days (hours * 24) macro
32 {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)},
33 {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.cpp279 // a month as having 31 days. Since date parsing now uses range checks based
501 * Return the length (in days) of the given month.
527 * Return the number of days in the given Islamic year
608 int32_t days = julianDay - CIVIL_EPOC; local
612 days = julianDay - ASTRONOMICAL_EPOC;
615 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 );
616 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 );
621 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH);
630 if ( days - startDate >= 25 && age > 0) {
637 while ((startDate = trueMonthStart(months)) > days) {
[all...]
H A Dchnsecal.cpp78 * Value to be added or subtracted from the local days of a new moon to
232 * Override Calendar method to return the number of days in the given
241 kEpochStartAsJulianDay + 1; // Julian day -> local days
266 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days
470 * Convert local days to UTC epoch milliseconds.
478 * @param days days after January 1, 1970 0:00 in the astronomical base zone
481 double ChineseCalendar::daysToMillis(double days) const {
482 double millis = days * (double)kOneDay;
495 * Convert UTC epoch milliseconds to local days
564 newMoonNear(double days, UBool after) const argument
671 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.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.
H A DGenerateCTimeScaleData.java41 private static final long days = hours * 24; field in class:GenerateCTimeScaleData
88 } else if (units == days) {
89 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.c47 char days[]={"sun""mon""tue""wed""thu""fri""sat"}; local
50 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/opencv3/apps/traincascade/
H A Dcascadeclassifier.cpp270 int days = int(seconds) / 60 / 60 / 24; local
274 cout << "Training until now has taken " << days << " days " << hours << " hours " << minutes << " minutes " << seconds_left <<" seconds." << endl;
/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/v8/test/cctest/
H A Dtest-date.cc46 int days = DaysFromTime(time_sec * 1000); local
47 int time_in_day_sec = TimeInDay(time_sec * 1000, days) / 1000;
49 YearMonthDayFromDays(days, &year, &month, &day);
90 int days = DaysFromYearMonth(year, month); local
92 while (Weekday(days + day) != 6) day++;
/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 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.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/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...]
H A DUniversalTimeScale.java113 * is days since December 31, 1899.
121 * is days since December 31, 1899.
291 private static final long days = hours * 24; field in class:UniversalTimeScale
347 new TimeScaleData(days, 599265216000000000L, -9223372036854775808L, 9223372036854775807L, -11368793L, 9981605L), // EXCEL_TIME
348 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.h109 static TimeDelta FromDays(int days);
581 inline TimeDelta TimeDelta::FromDays(int days) { argument
582 if (days == std::numeric_limits<int>::max())
584 return TimeDelta(days * Time::kMicrosecondsPerDay);
/external/libweave/third_party/chromium/base/time/
H A Dtime.h109 static TimeDelta FromDays(int days);
555 inline TimeDelta TimeDelta::FromDays(int days) { argument
556 if (days == std::numeric_limits<int>::max())
558 return TimeDelta(days * Time::kMicrosecondsPerDay);

Completed in 1879 milliseconds

123