/external/llvm/utils/ |
parseNLT.pl | 12 $day = $2; 23 { print "\n$day $mon $year $prefix/$output"; } 34 { print "\n$day $mon $year $prefix/$output"; $output = ""; }
|
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->errstr; 45 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-beta-compile', $llcbetacompile)") || die DBI->errstr; 50 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'jit-compile', $jitcompile)") || die DBI->errstr; 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->errstr [all...] |
/external/icu4c/test/compat/ |
tzone.pl | 8 print "Usage: tzone [year month day hour minute]\n"; 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`;
|
tzdate.c | 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 39 int year, month, day, hour, minute; local 44 sysyear = year = month = day = 0; 53 day = atoi(argv[3]); 61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { 121 ts.tm_mday = day;
|
/external/bluetooth/glib/tests/ |
testgdate.c | 39 d->day, 53 GDateDay day; local 94 TEST("Returned day is 1", g_date_get_day(d) == 1); 99 TEST("Bad day is invalid", !g_date_valid_day(G_DATE_BAD_DAY)); 100 TEST("Day 32 is invalid", !g_date_valid_day(32)); 133 TEST("GDate's \"Julian\" epoch's first day is valid", g_date_valid(d)); 194 day = 1; 198 while (day <= dim) 203 TEST("DMY triplet is valid", g_date_valid_dmy(day,m,y)); 207 d = &days[day-1] [all...] |
date-test.c | 43 GDateDay day; local 87 TEST("Returned day is 1", g_date_get_day(d) == 1); 92 TEST("Bad day is invalid", !g_date_valid_day(G_DATE_BAD_DAY)); 93 TEST("Day 32 is invalid", !g_date_valid_day(32)); 126 TEST("GDate's \"Julian\" epoch's first day is valid", g_date_valid(d)); 187 day = 1; 191 while (day <= dim) 196 TEST("DMY triplet is valid", g_date_valid_dmy(day,m,y)); 200 d = &days[day-1]; 202 TEST("Cleared day is invalid", !g_date_valid(d)) [all...] |
/frameworks/base/core/java/android/util/ |
MonthDisplayHelper.java | 44 * @param weekStartDay What day of the week the week should start. 85 * @return The first day of the month using a constants such as 102 * box. For example, if the calendar is set to display the first day of 132 * @return The day at a particular row, column 140 int day = 7 * row + column - mOffset + 1; local 142 return (day > mNumDaysInMonth) ? 143 day - mNumDaysInMonth : day; 147 * @return Which row day is in. 149 public int getRowOf(int day) { 189 int day = 7 * row + column - mOffset + 1; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 53 // There is no "BYDAY" specifier, so use the day of the 61 int day = EventRecurrence.timeDay2Day(recurrence.startDate.weekDay); local 62 return String.format(format, dayToString(day)); 76 * Converts day of week to a String. 77 * @param day a EventRecurrence constant 78 * @return day of week as a string 80 private static String dayToString(int day) { 81 return DateUtils.getDayOfWeekString(dayToUtilDay(day), DateUtils.LENGTH_LONG); 85 * Converts EventRecurrence's day of week to DateUtil's day of week [all...] |
/libcore/luni/src/main/java/java/util/ |
Grego.java | 86 * Convert a year, month, and day-of-month, given in the proleptic
90 * @param dom 1-based day of month
91 * @return the day number, with day 0 == Jan 1 1970
99 return julian - JULIAN_1970_CE; // JD => epoch day
103 * Return the day of week on the 1970-epoch day
104 * @param day the 1970-epoch day (integral value)
105 * @return the day of week 175 long day = floorDivide(time, 24*60*60*1000 \/* milliseconds per day *\/, remainder); local [all...] |
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 36 private final int day;
field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
46 this.day = day;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
71 c.set(year, month - 1, day, hour, minute, second);
95 return day;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ |
shell.js | 259 * year-month-day mode: dt = new Date(2000, 5, 1, ...); 275 // Use our date arithmetic functions to determine the local hour, day, etc. 277 ResultArray[DAY] = WeekDay(t); 288 // Use our date arithmetic functions to determine the UTC hour, day, etc. 299 function Day( t ) { 379 var day = DayWithinYear( t ); 382 if ( (0 <= day) && (day < 31) ) { 385 if ( (31 <= day) && (day < (59+leap)) ) [all...] |
jsref.js | 258 function Day( t ) { 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)) ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
shell.js | 251 function Day( t) 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; [all...] |
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_time.h | 47 uint16_t day; member in struct:__db_system_time_
|
/external/icu4c/i18n/ |
coptccal.cpp | 78 int32_t eyear, month, day, era, year; local 79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 93 internalSet(UCAL_DATE, day); 94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 169 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 171 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
|
hebrwcal.cpp | 32 * time of day in sync with that of the Gregorian calendar, we use 33 * midnight, rather than sunset the day before. 363 // counting from noon on the day before. BAHARAD is an abbreviation of 368 * Finds the day # of the first day in the given Hebrew year. 390 int32_t day = CalendarCache::get(&gCache, year, status); local 392 if (day == 0) { 395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # 396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation 397 frac = frac % DAY_PARTS; // Time of day 641 int32_t day = startOfYear(eyear, status); local [all...] |
/external/icu4c/test/cintltst/ |
ccaltst.h | 81 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day); 83 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
|
/external/v8/src/ |
dateparser.cc | 37 // Day and month defaults to 1. 44 int day = kNone; local 51 day = comp_[2]; 55 day = comp_[1]; 62 day = comp_[0]; 66 day = comp_[1]; 69 day = comp_[0]; 77 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 81 output->set(DAY, Smi::FromInt(day)); [all...] |
dateparser-inl.h | 44 DayComposer day; local 75 if (!day.Add(n)) return false; 76 in.Skip('-'); // Ignore suffix '-' for year, month, or day. 91 day.SetNamedMonth(KeywordTable::GetValue(index)); 122 return day.Write(out) && time.Write(out) && tz.Write(out);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/ |
jsref.js | 218 function Day( t ) { 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)) ) [all...] |
/frameworks/base/media/libdrm/mobile1/include/parser/ |
parser_rel.h | 43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\ 44 date = year * 10000 + mon * 100 + day;\ 54 int32_t date; /**< year * 10000 + mon *100 + day */ 95 * \param day day of the date 103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec);
|
/frameworks/base/media/mtp/ |
MtpUtils.cpp | 31 DD replaced by the day (01-31), T is a constant character 'T' delimiting time from date, 37 int year, month, day, hour, minute, second; local 41 &year, &month, &day, &hour, &minute, &second) != 6) 57 tm.tm_mday = day;
|
/external/webkit/Source/WebCore/html/ |
DateComponents.cpp | 76 static int dayOfWeek(int year, int month, int day) 91 int result = (day + 13 * shiftedMonth / 5 + lowYear + lowYear / 4 + highYear / 4 + 5 * highYear + 6) % 7; 97 int day = dayOfWeek(m_year, 0, 1); // January 1. local 98 return day == Thursday || (day == Wednesday && isLeapYear(m_year)) ? 53 : 52; 189 int day = m_monthDay + dayDiff; local 190 if (day > maxDayOfMonth(m_year, m_month)) { 191 day = m_monthDay; 196 ++day; 197 if (day > maxDay) 368 int day; local [all...] |
/external/chromium/net/ftp/ |
ftp_util.h | 36 // columns. The first one contains month, the second one contains day 40 const string16& day,
|
/external/icu4c/test/intltest/ |
calcasts.h | 8 * conversion between julian-day to fields and vice versa. 32 int32_t day; member in struct:CalendarCaseTest::TestCase
|