/external/icu4c/test/perf/DateFmtPerf/ |
datedata.h | 11 static int days[] = { variable
|
/external/v8/src/ |
date.cc | 78 int days, int* year, int* month, int* day) { 80 // Check conservatively if the given 'days' has 81 // the same year and month as the cached 'days'. 82 int new_day = ymd_day_ + (days - ymd_days_); 85 ymd_days_ = days; 92 int save_days = days; 94 days += kDaysOffset; 95 *year = 400 * (days / kDaysIn400Years) - kYearsOffset; 96 days %= kDaysIn400Years; 98 ASSERT(DaysFromYearMonth(*year, 0) + days == save_days) [all...] |
date.h | 84 // days = floor(time_ms / kMsPerDay). 85 static int TimeInDay(int64_t time_ms, int days) { 86 return static_cast<int>(time_ms - days * kMsPerDay); 90 // Given the number of days since the epoch, computes the weekday. 92 int Weekday(int days) { 93 int result = (days + 4) % 7; 147 int days = DaysFromTime(time_ms); local 148 int time_within_day_ms = static_cast<int>(time_ms - days * kMsPerDay); 150 YearMonthDayFromDays(days, &year, &month, &day); 167 // Given the number of days since the epoch, compute [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
Utils.java | 42 int days = 0, hours = 0, minutes = 0; local 44 days = seconds / SECONDS_PER_DAY; 45 seconds -= days * SECONDS_PER_DAY; 55 if (days > 0) { 57 days, hours, minutes, seconds));
|
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 67 * {@code getMinimalDaysInFirstWeek()} days from that year. It thus 81 * days of 1998 then are part of week 53 of 1997. 85 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 88 * contiguous days in that month, ending on the day before 90 * month may be shorter than 7 days, need not start on 91 * {@code getFirstDayOfWeek()}, and will not include days of the 92 * previous month. Days of a month before week 1 have a 98 * January 1998 is Sunday, January 4 through Saturday, January 10. These days 400 int days = daysInMonth(isLeapYear(fields[YEAR]), fields[MONTH]); local 401 if (fields[DATE] > days) { 484 long days = timeVal \/ 86400000; local 788 long days; local 924 long days = dayCount; local 946 long days = (year - 1970) * 365 + ((year - 1969) \/ 4); local 1189 long days = dayCount; local 1300 int days, day, mod, maxWeeks, newWeek; local [all...] |
/system/core/toolbox/ |
uptime.c | 42 int seconds, minutes, hours, days; local 49 days = time / 24; 51 if (days > 0) 52 sprintf(buffer, "%d days, %02d:%02d:%02d", days, hours, minutes, seconds);
|
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
Duration.java | 24 * | DAYS [ HOURS [ MINUTES [ SECONDS ] ] ] 33 public int days; field in class:Duration 51 days = 0; 113 days = n; 132 cal.add(Calendar.DAY_OF_MONTH, sign*days); 145 + (24*60*60*days)
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 38 StringBuilder days = new StringBuilder(); local 45 days.append(dayToString(recurrence.byday[i])); 46 days.append(","); 48 days.append(dayToString(recurrence.byday[count])); 50 return String.format(format, days.toString());
|
/system/core/fastboot/ |
genkey.sh | 16 -batch -days 10000
|
/external/icu4c/i18n/ |
chnsecal.h | 165 static double daysToMillis(double days); 168 virtual int32_t newMoonNear(double days, UBool after) const; 170 virtual int32_t majorSolarTerm(int32_t days) const; 173 virtual void computeChineseFields(int32_t days, int32_t gyear,
|
islamcal.cpp | 145 // a month as having 31 days. Since date parsing now uses range checks based 196 * Return the day # on which the given year starts. Days are counted 208 * Return the day # on which the given month starts. Days are counted 317 * Return the length (in days) of the given month. 340 * Return the number of days in the given Islamic year 400 int32_t days = julianDay - 1948440; local 404 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 ); 405 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); 410 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); 419 if ( days - startDate >= 25 && age > 0) [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/ |
DurationTest.java | 27 int sign, int weeks, int days, int hours, 35 assertEquals("Duration days is not equal for " + str, days, duration.days);
|
/bionic/libc/netbsd/nameser/ |
ns_ttl.c | 57 int secs, mins, hours, days, weeks, x; local 63 days = src % 7; src /= 7; 71 if (days) { 72 T(fmt1(days, 'D', &dst, &dstlen)); 83 if (secs || !(weeks || days || hours || mins)) {
|
/external/icu4c/samples/cal/ |
cal.c | 58 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 so that they are in the proper orde [all...] |
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 87 long days = duration; local 90 if (days != 0) { 91 result.append(days);
|
/external/openssl/android.testssl/ |
testssl.sh | 61 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey -extfile $CAconf -extensions v3_ca 69 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uconf -extensions v3_ee
|
/external/openssl/patches/ |
testssl.sh | 61 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey -extfile $CAconf -extensions v3_ca 69 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uconf -extensions v3_ee
|
/external/openssl/crypto/x509/ |
x509_r2x.c | 68 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) 99 if (X509_gmtime_adj(xi->validity->notAfter,(long)60*60*24*days) == NULL)
|
/external/llvm/ |
README.android | 39 ==> * 4f6bab9 - Drop the "2" suffix on some enums. (13 days ago) <Chris Lattner> 40 ==> * 96a74c5 - remove support for a bunch of obsolete instruction encodings and other backward compatibility hacks. (13 days ago) <Chris Lattner> 41 * 738f05a - Remove a useless copy of MCELFStreamer. Patch by Logan Chien! (13 days ago) <Benjamin Kramer> 42 * 981d826 - getSuccWeight returns now default 0 if Weights vector is empty. (13 days ago) <Jakub Staszak> 43 * 799a58a55 - missed a file. (13 days ago) <Chris Lattner> 44 ==> * 9d61dd9 - Remove some "2" suffixes from the metadata enums now that "1" is gone. (13 days ago) <Chris Lattner> 45 ==> * 020a5a4 - remove bitcode reader support for LLVM 2.7 metadata encoding. (13 days ago) <Chris Lattner>
|
/external/v8/test/cctest/ |
test-date.cc | 47 int days = DaysFromTime(time_sec * 1000); local 48 int time_in_day_sec = TimeInDay(time_sec * 1000, days) / 1000; 50 YearMonthDayFromDays(days, &year, &month, &day); 91 int days = DaysFromYearMonth(year, month); local 93 while (Weekday(days + day) != 6) day++;
|
/frameworks/support/v4/java/android/support/v4/util/ |
TimeUtils.java | 28 /** @hide Field length that can hold 999 days of time */ 102 int days = 0, hours = 0, minutes = 0; local 105 days = seconds / SECONDS_PER_DAY; 106 seconds -= days * SECONDS_PER_DAY; 120 int myLen = accumField(days, 1, false, 0); 137 pos = printField(formatStr, days, 'd', pos, false, 0);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 194 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY} 205 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 218 * @param days of this <code>Duration</code> 232 final BigInteger days, 239 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 247 * @param days of this <code>Duration</code> 260 * BigInteger days, 269 final int days, 280 // days may not be set 281 BigInteger realDays = (days != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) days) : null 411 long days = val \/ 24L; local 429 BigInteger days = BigInteger.valueOf(val); local [all...] |
/external/webkit/Tools/QueueStatusServer/handlers/ |
queuestatus.py | 75 def _fetch_trailing_days_pass_count(self, queue, bot_id, days): 78 days_ago = datetime.datetime.now() - datetime.timedelta(days=days)
|
/build/tools/signapk/test/ |
run | 22 umask 0077 && openssl req -new -x509 -key $@.pk -out $@ -days 1095 \
|
/external/tcpdump/ |
print-chdlc.c | 149 u_int sec,min,hrs,days; local 188 days = hrs / 24; hrs -= days * 24; 189 printf(", link uptime=%ud%uh%um%us",days,hrs,min,sec);
|