/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
|
/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/icu/source/i18n/ |
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)},
|
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...] |
/external/icu4c/i18n/ |
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)},
|
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...] |
/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));
|
/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/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/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/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);
|
/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();
|
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_service_impl.cc | 47 int days = (now - last).InDays(); local 48 if (days > 0) { 52 (last + base::TimeDelta::FromDays(days)).ToInternalValue());
|
/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...] |
/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;
|
/external/chromium_org/v8/src/ |
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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/www/projectName/ |
searchcvs.php | 9 $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/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...] |
/external/stlport/src/ |
time_facets.cpp | 181 /* The number of days from the first day of the first ISO week of this 394 int days = __iso_week_days (t->tm_yday, t->tm_wday); variable 395 if (days < 0) { 398 days = __iso_week_days (t->tm_yday + (365 + __is_leap (year)), t->tm_wday); 405 days = d; 417 val = (long)days / 7 + 1;
|
/external/v8/src/ |
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...] |