/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)},
|
vtzone.cpp | 375 * domCount number of availble days in dom (domCount is specifying the size of dom on input) 478 // Note: BYMONTHDAY may contain multiple days delimitted by comma 538 int32_t days[7]; local 539 int32_t daysCount = sizeof(days)/sizeof(days[0]); 542 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); 552 // Only support the rule using 7 continuous days 561 if (days[i] < 0) { 562 days[i] = MONTHLENGTH[month] + days[i] + 1 [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
SetAlarm.java | 327 * format "Alarm set for 2 days 7 hours and 53 minutes from 334 long days = hours / 24; local 337 String daySeq = (days == 0) ? "" : 338 (days == 1) ? context.getString(R.string.day) : 339 context.getString(R.string.days, Long.toString(days)); 349 boolean dispDays = days > 0;
|
/development/tools/ |
make_key | 55 -days 10000 -subj "$2" &
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
RecurrenceProcessor.java | 361 Log.i(TAG, "generated days list"); 368 * Fill in a bit set containing the days of the month on which this 378 int days = 0; local 420 days |= 1 << j; 431 days |= 1 << j; 447 days |= 1 << j; 465 days |= 1 << v; 469 days |= 1 << j; 478 if ((days&(1<<j)) != 0) { 484 days &= ~(1<<j) 641 DaySet days = mDays; local 1023 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/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, 161 int create,int days, int clrext, CONF *conf, char *section, 195 int x509req=0,days=DEF_DAYS,modulus=0,pubkey=0; local 274 else if (strcmp(*argv,"-days") == 0) 277 days=atoi(*(++argv)); 278 if (days == 0) 280 BIO_printf(STDout,"bad number of days\n"); 646 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", 202 char *enddate, long days, int batch, char *ext_sect, CONF *conf, 208 char *startdate, char *enddate, long days, int batch, 215 char *startdate, char *enddate, long days, char *ext_sect, 221 int email_dn, char *startdate, char *enddate, long days, int batch, 291 long days=0 local 2022 X509_time_adj_ex(X509_get_notAfter(ret),days, 0, NULL); local [all...] |
req.c | 162 int ex=1,x509=0,days=30; local 356 else if (strcmp(*argv,"-days") == 0) 359 days= atoi(*(++argv)); 360 if (days == 0) days=30; 431 BIO_printf(bio_err," -days number of days a certificate generated by -x509 is valid for.\n"); 841 if (!X509_time_adj_ex(X509_get_notAfter(x509ss), days, 0, NULL)) goto end; [all...] |
/external/webkit/WebCore/platform/qt/ |
Localizations.cpp | 464 int days = seconds / (60 * 60 * 24); local 469 if (days) { 470 return QCoreApplication::translate("QWebPage", "%1 days %2 hours %3 minutes %4 seconds", "Media time description").arg(days).arg(hours).arg(minutes).arg(seconds);
|
/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/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 | 51 static TimeDelta FromDays(int64 days); 376 inline TimeDelta TimeDelta::FromDays(int64 days) { 377 return TimeDelta(days * Time::kMicrosecondsPerDay);
|
/external/webkit/WebCore/platform/gtk/ |
LocalizedStringsGtk.cpp | 464 int days = seconds / (60 * 60 * 24); local 469 if (days) { 470 GOwnPtr<gchar> string(g_strdup_printf("%d days %d hours %d minutes %d seconds", days, hours, minutes, seconds));
|
/external/webkit/WebKit/win/ |
WebCoreLocalizedStrings.cpp | 215 int days = seconds / (60 * 60 * 24); local 220 if (days) { 221 static RetainPtr<CFStringRef> format(AdoptCF, UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day")); 222 RetainPtr<CFStringRef> result(AdoptCF, CFStringCreateWithFormat(0, 0, format.get(), 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/android/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;
|
/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";
|
/external/chromium/third_party/icu/source/i18n/ |
olsontz.cpp | 141 double days = ClockMath::floorDivide(((double)transitionTimes[jj])*1000.0, (double)U_MILLIS_PER_DAY, millis); local 143 Grego::dayToFields(days, year, month, dom, dow); 388 double days = ClockMath::floorDivide(((double)ms), (double)U_MILLIS_PER_DAY, millis); local 390 Grego::dayToFields(days, year, month, dom, dow); 508 int32_t days = (int32_t)ClockMath::floorDivide(uprv_getUTCtime(), (double)U_MILLIS_PER_DAY); // epoch days local 512 Grego::dayToFields(days, year, month, dom, dow); [all...] |
vtzone.cpp | 375 * domCount number of availble days in dom (domCount is specifying the size of dom on input) 478 // Note: BYMONTHDAY may contain multiple days delimitted by comma 538 int32_t days[7]; local 539 int32_t daysCount = sizeof(days)/sizeof(days[0]); 542 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); 552 // Only support the rule using 7 continuous days 561 if (days[i] < 0) { 562 days[i] = MONTHLENGTH[month] + days[i] + 1 [all...] |
/external/webkit/WebKit/mac/WebCoreSupport/ |
WebViewFactory.mm | 765 int days = seconds / (60 * 60 * 24); 770 if (days) 771 return [NSString stringWithFormat: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];
|
/packages/apps/Calendar/src/com/android/calendar/ |
Event.java | 256 * Loads <i>days</i> days worth of instances starting at <i>start</i>. 259 long start, int days, int requestId, AtomicInteger sequenceNumber) { 274 int endDay = startDay + days; 276 local.monthDay += days;
|
EditEvent.java | 1363 String[] days = new String[] { local 1949 int days = (seconds + DAY_IN_SECONDS - 1) \/ DAY_IN_SECONDS; local 2112 long days = (end - start + DateUtils.DAY_IN_MILLIS - 1) \/ DateUtils.DAY_IN_MILLIS; local 2165 int[] days = new int[1]; local [all...] |
/external/webkit/WebKitTools/Scripts/ |
validate-committer-lists | 214 committer_cuttof = date.today() - timedelta(days=365)
|