HomeSort by relevance Sort by last modified time
    Searched refs:days (Results 26 - 50 of 117) sorted by null

12 3 4 5

  /packages/apps/DeskClock/src/com/android/deskclock/
Alarm.java 89 * Days of week coded as integer
243 * Days of week code as a single int.
265 // Bitmask of all repeating days
268 DaysOfWeek(int days) {
269 mDays = days;
275 // no days
286 // count selected days
287 int dayCount = 0, days = mDays; local
288 while (days > 0) {
289 if ((days & 1) == 1) dayCount++
    [all...]
SetAlarm.java 400 * format "Alarm set for 2 days 7 hours and 53 minutes from
407 long days = hours / 24; local
410 String daySeq = (days == 0) ? "" :
411 (days == 1) ? context.getString(R.string.day) :
412 context.getString(R.string.days, Long.toString(days));
422 boolean dispDays = days > 0;
  /external/icu4c/i18n/
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)},
vtzone.cpp 377 * domCount number of availble days in dom (domCount is specifying the size of dom on input)
480 // Note: BYMONTHDAY may contain multiple days delimitted by comma
540 int32_t days[7]; local
541 int32_t daysCount = sizeof(days)/sizeof(days[0]);
544 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status);
554 // Only support the rule using 7 continuous days
563 if (days[i] < 0) {
564 days[i] = MONTHLENGTH[month] + days[i] + 1
    [all...]
  /development/tools/
make_key 55 -days 10000 -subj "$2" &
  /frameworks/base/core/java/android/util/
TimeUtils.java 238 /** @hide Field length that can hold 999 days of time */
312 int days = 0, hours = 0, minutes = 0; local
315 days = seconds / SECONDS_PER_DAY;
316 seconds -= days * SECONDS_PER_DAY;
330 int myLen = accumField(days, 1, false, 0);
347 pos = printField(formatStr, days, 'd', pos, false, 0);
  /frameworks/opt/calendar/src/com/android/calendarcommon/
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
1165 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/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/openssl/apps/
x509.c 130 " -days arg - How long till expiry of a signed certificate - def 30 days\n",
157 static int sign (X509 *x, EVP_PKEY *pkey,int days,int clrext, const EVP_MD *digest,
162 char *serial, int create ,int days, int clrext,
197 int x509req=0,days=DEF_DAYS,modulus=0,pubkey=0; local
285 else if (strcmp(*argv,"-days") == 0)
288 days=atoi(*(++argv));
289 if (days == 0)
291 BIO_printf(STDout,"bad number of days\n");
655 X509_time_adj_ex(X509_get_notAfter(x),days, 0, NULL) local
    [all...]
ca.c 155 " -crldays days - Days is when the next CRL is due\n",
158 " -enddate YYMMDDHHMMSSZ - certificate validity notAfter (overrides -days)\n",
159 " -days arg - number of days to certify the certificate for\n",
203 char *enddate, long days, int batch, char *ext_sect, CONF *conf,
210 char *startdate, char *enddate, long days, int batch,
218 char *startdate, char *enddate, long days, char *ext_sect,
225 int email_dn, char *startdate, char *enddate, long days, int batch,
295 long days=0 local
2045 X509_time_adj_ex(X509_get_notAfter(ret),days, 0, NULL); local
    [all...]
  /libcore/luni/src/main/java/javax/xml/datatype/
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
906 BigInteger days = (BigInteger) getField(DatatypeConstants.DAYS); local
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_updater.cc 64 static const int kMaxUpdateFrequencySeconds = 60 * 60 * 24 * 7; // 7 days
86 // looks like r=DAYS or a=DAYS for extensions in the Chrome extensions gallery.
89 // the number of days since the last time it was present in an update check.
179 // When we've computed a days value, we want to make sure we don't send a
183 static int SanitizeDays(int days) {
184 if (days < 0)
186 return days;
189 // Calculates the value to use for the ping days parameter.
191 int days = ManifestFetchData::kNeverPinged local
527 int days = (now - last).InDays(); local
    [all...]
  /external/bluetooth/glib/tests/
date-test.c 181 GDate days[31]; /* This is the fast way, no allocation */ local
183 TEST("Sensible number of days in month", (dim > 0 && dim < 32));
189 g_date_clear(days, 31);
200 d = &days[day-1];
234 TEST("Last day of year equals number of days in year",
238 g_print("last day: %u days in year: %u\n",
243 TEST("Day of year is not more than number of days in the year",
317 /***** Days ******/
321 TEST("Adding days gives a value greater than previous",
325 TEST("Forward days then backward days returns us to current day"
    [all...]
testgdate.c 188 GDate days[31]; /* This is the fast way, no allocation */ local
190 TEST("Sensible number of days in month", (dim > 0 && dim < 32));
196 g_date_clear(days, 31);
207 d = &days[day-1];
241 TEST("Last day of year equals number of days in year",
245 g_print("last day: %u days in year: %u\n",
250 TEST("Day of year is not more than number of days in the year",
324 /***** Days ******/
328 TEST("Adding days gives a value greater than previous",
332 TEST("Forward days then backward days returns us to current day"
    [all...]
  /external/chromium/base/
time.h 58 static TimeDelta FromDays(int64 days);
418 inline TimeDelta TimeDelta::FromDays(int64 days) {
419 return TimeDelta(days * Time::kMicrosecondsPerDay);
  /external/webkit/Source/WebKit/wince/WebCoreSupport/
PlatformStrategiesWinCE.cpp 617 int days = seconds / (60 * 60 * 24); local
622 if (days)
623 return String::format(UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day"), days, hours, minutes, seconds);
  /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;
  /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;
  /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);
  /external/webkit/Source/WebCore/platform/
DefaultLocalizationStrategy.cpp 849 int days = seconds / (60 * 60 * 24); local
854 if (days)
855 return formatLocalizedString(WEB_UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day"), days, hours, minutes, seconds);
    [all...]
  /external/webkit/Source/WebCore/platform/gtk/
LocalizedStringsGtk.cpp 536 int days = seconds / (60 * 60 * 24); local
541 if (days) {
542 GOwnPtr<gchar> string(g_strdup_printf("%d days %d hours %d minutes %d seconds", days, hours, minutes, seconds));
  /external/webkit/Source/WebKit/qt/WebCoreSupport/
WebPlatformStrategies.cpp 658 int days = seconds / (60 * 60 * 24); local
663 if (days)
664 return QCoreApplication::translate("QWebPage", "%1 days %2 hours %3 minutes %4 seconds", "Media time description").arg(days).arg(hours).arg(minutes).arg(seconds);
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 316 long days = 1; local
318 days = (mDtend - mDtstart) / DateUtils.DAY_IN_MILLIS;
320 mDuration = "P" + days + "D";

Completed in 7453 milliseconds

12 3 4 5