/external/chromium_org/v8/src/ |
D | date.cc | 78 int days, int* year, int* month, int* day) { in YearMonthDayFromDays() argument 82 int new_day = ymd_day_ + (days - ymd_days_); in YearMonthDayFromDays() 85 ymd_days_ = days; in YearMonthDayFromDays() 92 int save_days = days; in YearMonthDayFromDays() 94 days += kDaysOffset; in YearMonthDayFromDays() 95 *year = 400 * (days / kDaysIn400Years) - kYearsOffset; in YearMonthDayFromDays() 96 days %= kDaysIn400Years; in YearMonthDayFromDays() 98 ASSERT(DaysFromYearMonth(*year, 0) + days == save_days); in YearMonthDayFromDays() 100 days--; in YearMonthDayFromDays() 101 int yd1 = days / kDaysIn100Years; in YearMonthDayFromDays() [all …]
|
D | date.h | 85 static int TimeInDay(int64_t time_ms, int days) { in TimeInDay() argument 86 return static_cast<int>(time_ms - days * kMsPerDay); in TimeInDay() 92 int Weekday(int days) { in Weekday() argument 93 int result = (days + 4) % 7; in Weekday() 147 int days = DaysFromTime(time_ms); in EquivalentTime() local 148 int time_within_day_ms = static_cast<int>(time_ms - days * kMsPerDay); in EquivalentTime() 150 YearMonthDayFromDays(days, &year, &month, &day); in EquivalentTime() 169 void YearMonthDayFromDays(int days, int* year, int* month, int* day);
|
/external/v8/src/ |
D | date.cc | 78 int days, int* year, int* month, int* day) { in YearMonthDayFromDays() argument 82 int new_day = ymd_day_ + (days - ymd_days_); in YearMonthDayFromDays() 85 ymd_days_ = days; in YearMonthDayFromDays() 92 int save_days = days; in YearMonthDayFromDays() 94 days += kDaysOffset; in YearMonthDayFromDays() 95 *year = 400 * (days / kDaysIn400Years) - kYearsOffset; in YearMonthDayFromDays() 96 days %= kDaysIn400Years; in YearMonthDayFromDays() 98 ASSERT(DaysFromYearMonth(*year, 0) + days == save_days); in YearMonthDayFromDays() 100 days--; in YearMonthDayFromDays() 101 int yd1 = days / kDaysIn100Years; in YearMonthDayFromDays() [all …]
|
D | date.h | 85 static int TimeInDay(int64_t time_ms, int days) { in TimeInDay() argument 86 return static_cast<int>(time_ms - days * kMsPerDay); in TimeInDay() 92 int Weekday(int days) { in Weekday() argument 93 int result = (days + 4) % 7; in Weekday() 147 int days = DaysFromTime(time_ms); in EquivalentTime() local 148 int time_within_day_ms = static_cast<int>(time_ms - days * kMsPerDay); in EquivalentTime() 150 YearMonthDayFromDays(days, &year, &month, &day); in EquivalentTime() 169 void YearMonthDayFromDays(int days, int* year, int* month, int* day);
|
/external/icu4c/samples/cal/ |
D | 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 [], 232 UChar *days [DAY_COUNT]; in cal() local 253 print_year(c, days, months, useLongNames, fdow, status); in cal() 269 print_month(c, days, useLongNames, fdow, status); in cal() 334 UChar *days [], in get_days() 347 get_symbols(fmt, dayType, days, DAY_COUNT, 1, fdow, status); in get_days() [all …]
|
/external/smack/src/org/xbill/DNS/ |
D | TTL.java | 90 long secs, mins, hours, days, weeks; in format() local 97 days = ttl % 7; in format() 102 if (days > 0) in format() 103 sb.append(days + "D"); in format() 108 if (secs > 0 || (weeks == 0 && days == 0 && hours == 0 && mins == 0)) in format()
|
/external/icu4c/i18n/ |
D | islamcal.cpp | 399 int32_t days = julianDay - 1948440; in handleComputeFields() local 403 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 ); in handleComputeFields() 404 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields() 409 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() 418 if ( days - startDate >= 25 && age > 0) { in handleComputeFields() 425 while ((startDate = trueMonthStart(months)) > days) { in handleComputeFields() 434 dayOfMonth = (days - monthStart(year, month)) + 1; in handleComputeFields() 437 dayOfYear = (days - monthStart(year, 0) + 1); in handleComputeFields()
|
D | chnsecal.cpp | 485 double ChineseCalendar::daysToMillis(double days) const { in daysToMillis() 486 double millis = days * (double)kOneDay; in daysToMillis() 568 int32_t ChineseCalendar::newMoonNear(double days, UBool after) const { in newMoonNear() argument 575 gChineseCalendarAstro->setTime(daysToMillis(days)); in newMoonNear() 600 int32_t ChineseCalendar::majorSolarTerm(int32_t days) const { in majorSolarTerm() 607 gChineseCalendarAstro->setTime(daysToMillis(days)); in majorSolarTerm() 675 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth, in computeChineseFields() argument 684 if (days < solsticeAfter) { in computeChineseFields() 696 int32_t thisMoon = newMoonNear(days + 1, FALSE); // Start of this month in computeChineseFields() 726 int32_t dayOfMonth = days - thisMoon + 1; in computeChineseFields() [all …]
|
D | chnsecal.h | 184 double daysToMillis(double days) const; 187 virtual int32_t newMoonNear(double days, UBool after) const; 189 virtual int32_t majorSolarTerm(int32_t days) const; 192 virtual void computeChineseFields(int32_t days, int32_t gyear,
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | islamcal.cpp | 396 int32_t days = julianDay - 1948440; in handleComputeFields() local 400 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 ); in handleComputeFields() 401 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields() 406 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() 415 if ( days - startDate >= 25 && age > 0) { in handleComputeFields() 422 while ((startDate = trueMonthStart(months)) > days) { in handleComputeFields() 431 dayOfMonth = (days - monthStart(year, month)) + 1; in handleComputeFields() 434 dayOfYear = (days - monthStart(year, 0) + 1); in handleComputeFields()
|
D | chnsecal.cpp | 439 double ChineseCalendar::daysToMillis(double days) { in daysToMillis() argument 440 return (days * kOneDay) - CHINA_OFFSET; in daysToMillis() 505 int32_t ChineseCalendar::newMoonNear(double days, UBool after) const { in newMoonNear() argument 512 gChineseCalendarAstro->setTime(daysToMillis(days)); in newMoonNear() 537 int32_t ChineseCalendar::majorSolarTerm(int32_t days) const { in majorSolarTerm() 544 gChineseCalendarAstro->setTime(daysToMillis(days)); in majorSolarTerm() 612 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth, in computeChineseFields() argument 621 if (days < solsticeAfter) { in computeChineseFields() 633 int32_t thisMoon = newMoonNear(days + 1, FALSE); // Start of this month in computeChineseFields() 659 int32_t dayOfMonth = days - thisMoon + 1; in computeChineseFields() [all …]
|
D | chnsecal.h | 165 static double daysToMillis(double days); 168 virtual int32_t newMoonNear(double days, UBool after) const; 170 virtual int32_t majorSolarTerm(int32_t days) const; 173 virtual void computeChineseFields(int32_t days, int32_t gyear,
|
D | utmscale.c | 20 #define days (hours * 24) macro 32 …{days, INT64_C(693594), INT64_C(-11368793), INT64_C(9981605), … 33 …{days, INT64_C(693594), INT64_C(-11368793), INT64_C(9981605), …
|
/external/chromium_org/v8/test/cctest/ |
D | test-date.cc | 47 int days = DaysFromTime(time_sec * 1000); in GetDaylightSavingsOffsetFromOS() local 48 int time_in_day_sec = TimeInDay(time_sec * 1000, days) / 1000; in GetDaylightSavingsOffsetFromOS() 50 YearMonthDayFromDays(days, &year, &month, &day); in GetDaylightSavingsOffsetFromOS() 91 int days = DaysFromYearMonth(year, month); in ComputeRuleDay() local 93 while (Weekday(days + day) != 6) day++; in ComputeRuleDay()
|
/external/v8/test/cctest/ |
D | test-date.cc | 47 int days = DaysFromTime(time_sec * 1000); in GetDaylightSavingsOffsetFromOS() local 48 int time_in_day_sec = TimeInDay(time_sec * 1000, days) / 1000; in GetDaylightSavingsOffsetFromOS() 50 YearMonthDayFromDays(days, &year, &month, &day); in GetDaylightSavingsOffsetFromOS() 91 int days = DaysFromYearMonth(year, month); in ComputeRuleDay() local 93 while (Weekday(days + day) != 6) day++; in ComputeRuleDay()
|
/external/tcpdump/ |
D | print-chdlc.c | 149 u_int sec,min,hrs,days; in chdlc_slarp_print() local 188 days = hrs / 24; hrs -= days * 24; in chdlc_slarp_print() 189 printf(", link uptime=%ud%uh%um%us",days,hrs,min,sec); in chdlc_slarp_print()
|
/external/llvm/ |
D | README.android | 50 ==> * 4f6bab9 - Drop the "2" suffix on some enums. (13 days ago) <Chris Lattner> 51 …bsolete 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 … 53 …* 981d826 - getSuccWeight returns now default 0 if Weights vector is empty. (13 days ago) <Jakub S… 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 ag… 56 …==> * 020a5a4 - remove bitcode reader support for LLVM 2.7 metadata encoding. (13 days ago) <Chris…
|
/external/chromium_org/chrome/browser/extensions/updater/ |
D | extension_updater.cc | 68 int SanitizeDays(int days) { in SanitizeDays() argument 69 if (days < 0) in SanitizeDays() 71 return days; in SanitizeDays() 76 int days = extensions::ManifestFetchData::kNeverPinged; in CalculatePingDays() local 78 days = SanitizeDays((Time::Now() - last_ping_day).InDays()); in CalculatePingDays() 80 return days; in CalculatePingDays() 176 int days = (now - last).InDays(); in DetermineFirstCheckDelay() local 177 if (days >= 30) { in DetermineFirstCheckDelay() 181 } else if (days >= 14) { in DetermineFirstCheckDelay() 185 } else if (days >= 3) { in DetermineFirstCheckDelay()
|
/external/chromium_org/net/data/ssl/scripts/ |
D | generate-cross-signed-certs.sh | 47 -req -days 3650 \ 58 -req -days 3650 \ 79 -days 3650 \
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509/ |
D | x509_r2x.c | 68 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509() argument 99 if (X509_gmtime_adj(xi->validity->notAfter,(long)60*60*24*days) == NULL) in X509_REQ_to_X509()
|
/external/openssl/crypto/x509/ |
D | x509_r2x.c | 68 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509() argument 99 if (X509_gmtime_adj(xi->validity->notAfter,(long)60*60*24*days) == NULL) in X509_REQ_to_X509()
|
/external/chromium_org/third_party/openssl/openssl/patches/ |
D | testssl.sh | 61 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey -extfile $CAconf -ex… 69 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uc…
|
/external/openssl/patches/ |
D | testssl.sh | 61 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey -extfile $CAconf -ex… 69 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uc…
|
/external/chromium_org/third_party/openssl/openssl/android.testssl/ |
D | testssl.sh | 61 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey -extfile $CAconf -ex… 69 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uc…
|
/external/openssl/android.testssl/ |
D | testssl.sh | 61 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey -extfile $CAconf -ex… 69 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uc…
|