/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/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 | 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));
|
/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/ceres-solver/docs/ |
introduction.tex | 12 While there is some debate as to who invented of the method of Least Squares~\cite{stigler1981gauss}. There is no debate that it was Carl Friedrich Gauss's prediction of the orbit of the newly discovered asteroid Ceres based on just 41 days of observations that brought it to the attention of the world~\cite{tennenbaum-director}. We named our solver after Ceres to celebrate this seminal event in the history of astronomy, statistics and optimization.
|
/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...] |
Duration.java | 34 * which consists of six fields (years, months, days, hours, 56 * <p>For example, 30 days cannot be meaningfully compared to one month. 68 * subtract 15 days from 1 month. See the javadoc of those methods 160 boolean daySet = isSet(DatatypeConstants.DAYS); 247 * Obtains the value of the DAYS field as an integer value, 251 * that this method works on the DAYS field. 253 * @return Days of this <code>Duration</code>. 256 return getFieldValueAsInt(DatatypeConstants.DAYS); 383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned 388 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS 902 BigInteger days = (BigInteger) getField(DatatypeConstants.DAYS); local [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...] |
/external/valgrind/main/coregrind/ |
m_libcprint.c | 328 UInt t, ms, s, mins, hours, days; local 342 t /= 24; /* now in days */ 344 days = t; 346 VG_(sprintf)(buf, "%02u:%02u:%02u:%02u.%03u ", days, hours, mins, s, ms);
|
/ndk/sources/cxx-stl/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;
|
/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...] |
/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/ |
Alarm.java | 91 * Days of week coded as integer 260 * Days of week code as a single int. 290 // Bitmask of all repeating days 293 DaysOfWeek(int days) { 294 mDays = days; 308 // no days 319 // count selected days 320 int dayCount = 0, days = mDays; local 321 while (days > 0) { 322 if ((days & 1) == 1) dayCount++ [all...] |