/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ |
D | shell.js | 379 var day = DayWithinYear( t ); 382 if ( (0 <= day) && (day < 31) ) { 385 if ( (31 <= day) && (day < (59+leap)) ) { 388 if ( ((59+leap) <= day) && (day < (90+leap)) ) { 391 if ( ((90+leap) <= day) && (day < (120+leap)) ) { 394 if ( ((120+leap) <= day) && (day < (151+leap)) ) { 397 if ( ((151+leap) <= day) && (day < (181+leap)) ) { 400 if ( ((181+leap) <= day) && (day < (212+leap)) ) { 403 if ( ((212+leap) <= day) && (day < (243+leap)) ) { 406 if ( ((243+leap) <= day) && (day < (273+leap)) ) { [all …]
|
D | jsref.js | 338 var day = DayWithinYear( t ); 341 if ( (0 <= day) && (day < 31) ) { 344 if ( (31 <= day) && (day < (59+leap)) ) { 347 if ( ((59+leap) <= day) && (day < (90+leap)) ) { 350 if ( ((90+leap) <= day) && (day < (120+leap)) ) { 353 if ( ((120+leap) <= day) && (day < (151+leap)) ) { 356 if ( ((151+leap) <= day) && (day < (181+leap)) ) { 359 if ( ((181+leap) <= day) && (day < (212+leap)) ) { 362 if ( ((212+leap) <= day) && (day < (243+leap)) ) { 365 if ( ((243+leap) <= day) && (day < (273+leap)) ) { [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
D | shell.js | 346 var day = DayWithinYear( t ); 350 if ( (0 <= day) && (day < 31) ) {return 0;} 351 if ( (31 <= day) && (day < (59+leap) )) {return 1;} 352 if ( ((59+leap) <= day) && (day < (90+leap) )) {return 2;} 353 if ( ((90+leap) <= day) && (day < (120+leap) )) {return 3;} 354 if ( ((120+leap) <= day) && (day < (151+leap) )) {return 4;} 355 if ( ((151+leap) <= day) && (day < (181+leap) )) {return 5;} 356 if ( ((181+leap) <= day) && (day < (212+leap) )) {return 6;} 357 if ( ((212+leap) <= day) && (day < (243+leap)) ) {return 7;} 358 if ( ((243+leap) <= day) && (day < (273+leap) )) {return 8;} [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/ |
D | jsref.js | 298 var day = DayWithinYear( t ); 301 if ( (0 <= day) && (day < 31) ) { 304 if ( (31 <= day) && (day < (59+leap)) ) { 307 if ( ((59+leap) <= day) && (day < (90+leap)) ) { 310 if ( ((90+leap) <= day) && (day < (120+leap)) ) { 313 if ( ((120+leap) <= day) && (day < (151+leap)) ) { 316 if ( ((151+leap) <= day) && (day < (181+leap)) ) { 319 if ( ((181+leap) <= day) && (day < (212+leap)) ) { 322 if ( ((212+leap) <= day) && (day < (243+leap)) ) { 325 if ( ((243+leap) <= day) && (day < (273+leap)) ) { [all …]
|
/external/bluetooth/glib/tests/ |
D | testgdate.c | 39 d->day, in g_date_debug_print() 53 GDateDay day; in main() local 194 day = 1; in main() 198 while (day <= dim) in main() 203 TEST("DMY triplet is valid", g_date_valid_dmy(day,m,y)); in main() 207 d = &days[day-1]; in main() 211 g_date_set_dmy(d,day,m,y); in main() 215 if (m == G_DATE_JANUARY && day == 1) in main() 225 TEST("Day of month accessor works", g_date_get_day(d) == day); in main() 239 if (m == G_DATE_DECEMBER && day == 31) in main() [all …]
|
D | date-test.c | 43 GDateDay day; in main() local 187 day = 1; in main() 191 while (day <= dim) in main() 196 TEST("DMY triplet is valid", g_date_valid_dmy(day,m,y)); in main() 200 d = &days[day-1]; in main() 204 g_date_set_dmy(d,day,m,y); in main() 208 if (m == G_DATE_JANUARY && day == 1) in main() 218 TEST("Day of month accessor works", g_date_get_day(d) == day); in main() 232 if (m == G_DATE_DECEMBER && day == 31) in main() 261 if ((m == G_DATE_JANUARY && day <= 4) || in main() [all …]
|
/external/llvm/utils/ |
D | importNLT.pl | 25 ($day, $mon, $year, $prog, $gccas, $bc, $llccompile, $llcbetacompile, $jitcompile, 30 … ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'gccas', $gccas)") || die DBI->errstr; 35 … ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'bytecode', $bc)") || die DBI->errstr; 40 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-compile', $llccompile)") || die DBI-… 45 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-beta-compile', $llcbetacompile)") ||… 50 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'jit-compile', $jitcompile)") || die DBI-… 55 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'machine-code', $mc)") || die DBI->errstr; 60 … ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'gcc', $gcc)") || die DBI->errstr; 65 … ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc', $llc)") || die DBI->errstr; 70 …('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-beta', $llcbeta)") || die DBI->errst… [all …]
|
D | parseNLT.pl | 12 $day = $2; 23 { print "\n$day $mon $year $prefix/$output"; } 34 { print "\n$day $mon $year $prefix/$output"; $output = ""; }
|
/external/webkit/Source/WebCore/html/ |
D | DateComponents.cpp | 76 static int dayOfWeek(int year, int month, int day) in dayOfWeek() argument 91 …int result = (day + 13 * shiftedMonth / 5 + lowYear + lowYear / 4 + highYear / 4 + 5 * highYear + … in dayOfWeek() 97 int day = dayOfWeek(m_year, 0, 1); // January 1. in maxWeekNumberInYear() local 98 return day == Thursday || (day == Wednesday && isLeapYear(m_year)) ? 53 : 52; in maxWeekNumberInYear() 189 int day = m_monthDay + dayDiff; in addDay() local 190 if (day > maxDayOfMonth(m_year, m_month)) { in addDay() 191 day = m_monthDay; in addDay() 196 ++day; in addDay() 197 if (day > maxDay) { in addDay() 198 day = 1; in addDay() [all …]
|
/external/icu4c/i18n/ |
D | hebrwcal.cpp | 390 int32_t day = CalendarCache::get(&gCache, year, status); in startOfYear() local 392 if (day == 0) { in startOfYear() 396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 399 int32_t wd = (day % 7); // Day of week (0 == Monday) in startOfYear() 403 day += 1; in startOfYear() 404 wd = (day % 7); in startOfYear() 410 day += 2; in startOfYear() 416 day += 1; in startOfYear() 418 CalendarCache::put(&gCache, year, day, status); in startOfYear() 420 return day; in startOfYear() [all …]
|
D | coptccal.cpp | 78 int32_t eyear, month, day, era, year; in handleComputeFields() local 79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 93 internalSet(UCAL_DATE, day); in handleComputeFields() 94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); in handleComputeFields() 169 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 171 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
|
D | japancal.cpp | 38 int8_t day; member 344 int32_t day = 1; in getDefaultDayInMonth() local 348 return kEraInfo[era].day; in getDefaultDayInMonth() 352 return day; in getDefaultDayInMonth() 412 …diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH… in handleComputeFields() 424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; in handleComputeFields() 516 int32_t nextEraDate = kEraInfo[era + 1].day; in getActualMaximum()
|
D | gregoimp.cpp | 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, in dayToFields() argument 100 day += JULIAN_1970_CE - JULIAN_1_CE; in dayToFields() 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length in dayToFields() 120 dow = (int32_t) uprv_fmod(day + 1, 7); in dayToFields() 137 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay); in timeToFields() local 139 dayToFields(day, year, month, dom, dow, doy); in timeToFields() 142 int32_t Grego::dayOfWeek(double day) { in dayOfWeek() argument 144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow); in dayOfWeek()
|
D | gregoimp.h | 180 static void dayToFields(double day, int32_t& year, int32_t& month, 192 static inline void dayToFields(double day, int32_t& year, int32_t& month, 214 static int32_t dayOfWeek(double day); 273 inline void Grego::dayToFields(double day, int32_t& year, int32_t& month, in dayToFields() argument 276 dayToFields(day,year,month,dom,dow,doy_unused); in dayToFields()
|
/external/v8/src/ |
D | dateparser.cc | 44 int day = kNone; in Write() local 51 day = comp_[2]; in Write() 55 day = comp_[1]; in Write() 62 day = comp_[0]; in Write() 66 day = comp_[1]; in Write() 69 day = comp_[0]; in Write() 77 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; in Write() 81 output->set(DAY, Smi::FromInt(day)); in Write()
|
D | date.js | 112 var day = MakeDay(EquivalentYear(YearFromTime(t)), 115 return MakeDate(day, TimeWithinDay(t)); 365 function MakeDate(day, time) { argument 366 var time = day * msPerDay + time; 451 var day = MakeDay(year, month, date); 453 value = TimeClip(UTC(MakeDate(day, time))); 538 var day = MakeDay(arr[0], arr[1], arr[2]); 540 var date = MakeDate(day, time); 562 var day = MakeDay(year, month, date); 564 return %_SetValueOf(this, TimeClip(MakeDate(day, time))); [all …]
|
D | dateparser-inl.h | 44 DayComposer day; in Parse() local 75 if (!day.Add(n)) return false; in Parse() 91 day.SetNamedMonth(KeywordTable::GetValue(index)); in Parse() 122 return day.Write(out) && time.Write(out) && tz.Write(out); in Parse()
|
/external/iptables/extensions/ |
D | libxt_time.c | 90 unsigned int month = 1, day = 1, hour = 0, minute = 0, second = 0; in time_parse_date() local 111 day = strtoul(s, &e, 10); in time_parse_date() 112 if ((*e != 'T' && *e != '\0') || day > 31) in time_parse_date() 139 tm.tm_mday = day; in time_parse_date() 212 char day[3], *err = NULL; in time_parse_monthdays() local 216 while (my_strseg(day, sizeof(day), &arg, ',') != NULL) { in time_parse_monthdays() 217 i = strtoul(day, &err, 0); in time_parse_monthdays() 220 "%s is not a valid day for --monthdays", day); in time_parse_monthdays() 229 char day[4], *err = NULL; in time_parse_weekdays() local 233 while (my_strseg(day, sizeof(day), &arg, ',') != NULL) { in time_parse_weekdays() [all …]
|
/external/icu4c/test/compat/ |
D | tzdate.c | 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int… 39 int year, month, day, hour, minute; in main() local 44 sysyear = year = month = day = 0; in main() 53 day = atoi(argv[3]); in main() 61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); in main() 109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int… in getSystemCurrentTime() argument 121 ts.tm_mday = day; in getSystemCurrentTime()
|
D | tzone.pl | 20 my $day = 0; 26 ($year, $month, $day, $hour, $minute) = @ARGV; 27 print "The date we are using is: $month-$day-$year $hour:$minute.\n"; 52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | DateMath.cpp | 321 double dateToDaysFrom1970(int year, int month, int day) in dateToDaysFrom1970() argument 335 return yearday + monthday + day - 1; in dateToDaysFrom1970() 472 double day = dateToDaysFrom1970(equivalentYear, month, dayInMonth); in calculateDSTOffset() local 473 ms = (day * msPerDay) + msToMilliseconds(ms); in calculateDSTOffset() 490 static inline double ymdhmsToSeconds(long year, int mon, int day, int hour, int minute, double seco… in ymdhmsToSeconds() argument 492 double days = (day - 32075) in ymdhmsToSeconds() 598 long day; in parseES5DateFromNullTerminatedCharacters() local 601 if (!parseLong(currentPosition, &postParsePosition, 10, &day)) in parseES5DateFromNullTerminatedCharacters() 657 if (day < 1 || day > daysPerMonth[month - 1]) in parseES5DateFromNullTerminatedCharacters() 659 if (month == 2 && day > 28 && !isLeapYear(year)) in parseES5DateFromNullTerminatedCharacters() [all …]
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
D | date-format-xparb.js | 316 var day = (this.getDay() - (this.getDate() - 1)) % 7; 317 return (day < 0) ? (day + 7) : day; 321 var day = (this.getDay() + (Date.daysInMonth[this.getMonth()] - this.getDate())) % 7; 322 return (day < 0) ? (day + 7) : day;
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
D | date-format-xparb.js | 316 var day = (this.getDay() - (this.getDate() - 1)) % 7; 317 return (day < 0) ? (day + 7) : day; 321 var day = (this.getDay() + (Date.daysInMonth[this.getMonth()] - this.getDate())) % 7; 322 return (day < 0) ? (day + 7) : day;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | SIPDate.java | 106 protected int day; field in SIPDate 140 this.day == other.day && in equals() 153 day = -1; in SIPDate() 201 day = javaCal.get(Calendar.DAY_OF_MONTH); in SIPDate() 258 if (day < 10) { in encode() 259 dayString = "0" + day; in encode() 261 dayString = "" + day; in encode() 362 if (day != -1) in setJavaCal() 363 javaCal.set(Calendar.DAY_OF_MONTH, day); in setJavaCal() 411 day = d; in setDay()
|
/external/bluetooth/glib/glib/ |
D | gdate.h | 113 guint day : 6; member 123 GDate* g_date_new_dmy (GDateDay day, 135 gboolean g_date_valid_day (GDateDay day) G_GNUC_CONST; 140 gboolean g_date_valid_dmy (GDateDay day, 184 GDateDay day); 188 GDateDay day,
|