/external/chromium_org/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++;
|
/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 | 197 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY} 208 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 221 * @param days of this <code>Duration</code> 235 final BigInteger days, 242 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 250 * @param days of this <code>Duration</code> 263 * BigInteger days, 272 final int days, 283 // days may not be set 284 BigInteger realDays = (days != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) days) : null 414 long days = val \/ 24L; local 432 BigInteger days = BigInteger.valueOf(val); local [all...] |
/external/chromium_org/net/data/ssl/scripts/ |
generate-cross-signed-certs.sh | 47 -req -days 3650 \ 58 -req -days 3650 \ 79 -days 3650 \
|
generate-test-certs.sh | 34 -req -days 3650 \ 70 -days 3650 \
|
generate-bad-eku-certs.sh | 48 -req -days 3650 \
|
/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);
|
/external/chromium_org/third_party/icu/source/i18n/ |
islamcal.cpp | 192 * Return the day # on which the given year starts. Days are counted 204 * Return the day # on which the given month starts. Days are counted 313 * Return the length (in days) of the given month. 336 * Return the number of days in the given Islamic year 396 int32_t days = julianDay - 1948440; local 400 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 ); 401 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); 406 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); 415 if ( days - startDate >= 25 && age > 0) { 422 while ((startDate = trueMonthStart(months)) > days) { [all...] |
chnsecal.cpp | 72 * Value to be added or subtracted from the local days of a new moon to 197 * Override Calendar method to return the number of days in the given 206 kEpochStartAsJulianDay + 1; // Julian day -> local days 231 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days 435 * Convert local days to UTC epoch milliseconds. 436 * @param days days after January 1, 1970 0:00 Asia/Shanghai 439 double ChineseCalendar::daysToMillis(double days) { 440 return (days * kOneDay) - CHINA_OFFSET; 444 * Convert UTC epoch milliseconds to local days [all...] |
utmscale.c | 20 #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)},
|
/external/icu4c/i18n/ |
islamcal.cpp | 144 // a month as having 31 days. Since date parsing now uses range checks based 195 * Return the day # on which the given year starts. Days are counted 207 * Return the day # on which the given month starts. Days are counted 316 * Return the length (in days) of the given month. 339 * Return the number of days in the given Islamic year 399 int32_t days = julianDay - 1948440; local 403 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 ); 404 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); 409 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); 418 if ( days - startDate >= 25 && age > 0) [all...] |
chnsecal.cpp | 75 * Value to be added or subtracted from the local days of a new moon to 236 * Override Calendar method to return the number of days in the given 245 kEpochStartAsJulianDay + 1; // Julian day -> local days 270 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days 474 * Convert local days to UTC epoch milliseconds. 482 * @param days days after January 1, 1970 0:00 in the astronomical base zone 485 double ChineseCalendar::daysToMillis(double days) const { 486 double millis = days * (double)kOneDay; 499 * Convert UTC epoch milliseconds to local days [all...] |
utmscale.c | 20 #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)},
|
/external/llvm/ |
README.android | 50 ==> * 4f6bab9 - Drop the "2" suffix on some enums. (13 days ago) <Chris Lattner> 51 ==> * 96a74c5 - remove support for a bunch of obsolete instruction encodings and other backward compatibility hacks. (13 days ago) <Chris Lattner> 52 * 738f05a - Remove a useless copy of MCELFStreamer. Patch by Logan Chien! (13 days ago) <Benjamin Kramer> 53 * 981d826 - getSuccWeight returns now default 0 if Weights vector is empty. (13 days ago) <Jakub Staszak> 54 * 799a58a55 - missed a file. (13 days ago) <Chris Lattner> 55 ==> * 9d61dd9 - Remove some "2" suffixes from the metadata enums now that "1" is gone. (13 days ago) <Chris Lattner> 56 ==> * 020a5a4 - remove bitcode reader support for LLVM 2.7 metadata encoding. (13 days ago) <Chris Lattner>
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 74 StringBuilder days = new StringBuilder(); local 82 days.append(dayToString(recurrence.byday[i], dayOfWeekLength)); 83 days.append(", "); 85 days.append(dayToString(recurrence.byday[count], dayOfWeekLength)); 87 string = days.toString();
|
/development/tools/ |
make_key | 55 -days 10000 -subj "$2" &
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
WeightWatcher.java | 187 long days = sec / 86400; local 188 if (days > 0) { 189 sec -= days * 86400; 190 sb.append(days);
|
/external/chromium_org/chrome/browser/extensions/updater/ |
extension_updater.cc | 57 const int kMaxUpdateFrequencySeconds = 60 * 60 * 24 * 7; // 7 days 63 // When we've computed a days value, we want to make sure we don't send a 67 int SanitizeDays(int days) { 68 if (days < 0) 70 return days; 73 // Calculates the value to use for the ping days parameter. 75 int days = extensions::ManifestFetchData::kNeverPinged; local 77 days = SanitizeDays((Time::Now() - last_ping_day).InDays()); 79 return days; 176 int days = (now - last).InDays() local [all...] |
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 241 /** @hide Field length that can hold 999 days of time */ 321 int days = 0, hours = 0, minutes = 0; local 324 days = seconds / SECONDS_PER_DAY; 325 seconds -= days * SECONDS_PER_DAY; 339 int myLen = accumField(days, 1, false, 0); 356 pos = printField(formatStr, days, 'd', pos, false, 0);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
HandleApiCalls.java | 231 final ArrayList<Integer> days = intent.getIntegerArrayListExtra(EXTRA_DAYS); local 232 if (days != null) { 233 final int[] daysArray = new int[days.size()]; 234 for (int i = 0; i < days.size(); i++) { 235 daysArray[i] = days.get(i); 264 // Days is treated differently that other fields because if days is not specified, it
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 479 Log.i(TAG, "generated days list"); 486 * Fill in a bit set containing the days of the month on which this 496 int days = 0; local 538 days |= 1 << j; 549 days |= 1 << j; 565 days |= 1 << j; 583 days |= 1 << v; 587 days |= 1 << j; 596 if ((days&(1<<j)) != 0) { 602 days &= ~(1<<j) 762 DaySet days = mDays; local 1167 int days = month > 1 ? yearLength(year) : yearLength(year - 1); local [all...] |
/bionic/libc/bionic/ |
time64.c | 151 /* Number of days since epoch on Jan 1st, 2008 GMT */ 204 Time64_T days = 0; local 213 days += (Time64_T)cycles * days_in_gregorian_cycle; 218 days += (Time64_T)cycles * days_in_gregorian_cycle; 220 TRACE3("# timegm/ cycles: %d, days: %lld, orig_year: %lld\n", cycles, days, orig_year); 225 days += length_of_year[IS_LEAP(year)]; 232 days -= length_of_year[IS_LEAP(year)]; 238 days += julian_days_by_month[IS_LEAP(orig_year)][date->tm_mon]; 239 days += date->tm_mday - 1 [all...] |
/external/chromium_org/chrome/browser/extensions/activity_log/ |
activity_log_policy.cc | 132 int days) { 135 return (base_date + base::TimeDelta::FromDays(days) +
|