/external/chromium_org/third_party/icu/source/test/perf/DateFmtPerf/ |
datedata.h | 11 static int days[] = { variable
|
/external/icu4c/test/perf/DateFmtPerf/ |
datedata.h | 11 static int days[] = { variable
|
/external/chromium_org/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...] |
/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 | 46 int days = 0, hours = 0, minutes = 0; local 48 days = seconds / SECONDS_PER_DAY; 49 seconds -= days * SECONDS_PER_DAY; 60 if (days > 0) { 62 days, hours, minutes, seconds)); 72 if (days > 0) { 74 days, hours, minutes));
|
/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 390 int days = daysInMonth(isLeapYear(fields[YEAR]), fields[MONTH]); local 391 if (fields[DATE] > days) { 463 long days = timeVal \/ 86400000; local 654 long days; local 790 long days = dayCount; local 810 long days = (year - 1970) * 365 + ((year - 1969) \/ 4); local 1026 long days = dayCount; local 1119 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);
|
/external/smack/src/org/xbill/DNS/ |
TTL.java | 90 long secs, mins, hours, days, weeks; local 97 days = ttl % 7; 102 if (days > 0) 103 sb.append(days + "D"); 108 if (secs > 0 || (weeks == 0 && days == 0 && hours == 0 && mins == 0))
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
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)
|
/system/core/fastboot/ |
genkey.sh | 16 -batch -days 10000
|
/external/chromium_org/third_party/icu/source/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,
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
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...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmUtils.java | 80 * format "Alarm set for 2 days 7 hours and 53 minutes from 87 long days = hours / 24; local 90 String daySeq = (days == 0) ? "" : 91 (days == 1) ? context.getString(R.string.day) : 92 context.getString(R.string.days, Long.toString(days)); 102 boolean dispDays = days > 0;
|
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 87 long days = duration; local 90 if (days != 0) { 91 result.append(days);
|
/external/chromium_org/third_party/openssl/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/chromium_org/third_party/openssl/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/icu4c/i18n/ |
chnsecal.h | 184 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/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/chromium_org/third_party/openssl/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/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)
|